Fun, Learning, Friendship and Mutual Respect START  HERE


Unregistered
Go Back   HeliFreak > R/C Helicopters > Night Flying


Night Flying Night Flying Helis Info


Reply
 
LinkBack Thread Tools Display Modes
Old 01-29-2012, 06:43 PM   #1 (permalink)
Registered Users
 

Join Date: Mar 2011
Default Individually Addressable RGB LEDS

I was hoping to have some pics of my finished night rig to post up but thanks to some late night soldering half my lights are reversed. Also finding a working digital camera which isn't a phone has proved somewhat difficult. The whole project has been a bit rushed as I had planned to do it over the course of the year but am now attending a funfly at the end of February with some night flying!!

The lights I'm using are individually addressable rgb lights. This means each one can be turned on and off and the colour can be changed. There's more info on the strip here: http://www.adafruit.com/products/306 The only downside is its got 32 LED's per meter, not the more common (for night helis) 60 LEDS per meter. I got 5 meters, just enough to cover my trex 600.

Its all being controlled by an Atmega 32u4 breakout board from the same place I got the strip from: http://www.adafruit.com/products/296 Best 20 bucks I ever spent! Runs on 5 volts, same as the lights! This little guy can be plugged in directly to your pc via usb and programmed just like an Arduino.

To power it I am using my receiver pack, a 2500mah lipo, more than enough for 5 minutes of flight. I got a cheap 7amp max 5 volt regulator from hobby king. Which is a little low if the specs of the strip are to be believed. The 5 meter strip can draw a max of 10 amps if every light is white. From various tests people have found it only draws 2 to 4 amps all white, so I figured 7 amps would be plenty given that its never going to be all white.
I also picked up hobby kings receiver operated switch to hook up to the gear channel on my dx7. This will allow me to switch between effects. Eventually I want the lights to have their own receiver and be controlled directly from a computer.

I've attached a dodgy iphone picture so you can get an idea of what the lights look like. When I get them all running I'll go find a decent camera and take a video as well. (yes that's an ironing board, my temporary work bench when the kitchen table isn't clear).
Attached Thumbnails
Click image for larger version

Name:	IMG_0188.JPG
Views:	333
Size:	354.4 KB
ID:	284813  
Dan E is offline        Reply With Quote Quick reply to this message
Sponsored Links
Advertisement
 
Old 01-31-2012, 08:22 PM   #2 (permalink)
Registered Users
 
Posts: 5,112
 
My HF Map location
Join Date: Jun 2006
Location: Chrisitansburg VA USA
Default

Why not just sample one of your receiver channels with your 32u4? I'm looking into tapping one of my satellite receivers and decoding the full stream of data to use as an input for mine.
prototype3a is offline        Reply With Quote Quick reply to this message
Old 01-31-2012, 09:58 PM   #3 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Default

Yeah that would be the ideal situation, but it would take me a while to get my head around it all. It's all still very new to me and I need it finished in a hurry.
Even better would be if you could then simply send any signal down that channel. The possibilities are endless.
In the meantime I re-did the faulty wiring and its now all running. Excuse the messy photo but here it is running one of the demos. You can see the lights under the skids reflecting off the table!! Neater photos and maybe a video will come later. I'm aiming for a test flight later this week.
Attached Thumbnails
Click image for larger version

Name:	IMG_0197.JPG
Views:	357
Size:	302.9 KB
ID:	285419  
Dan E is offline        Reply With Quote Quick reply to this message
Old 02-01-2012, 09:19 AM   #4 (permalink)
Registered Users
 
My HF Map location
Join Date: Jun 2009
Default

That looks good. I would really question 60 leds per meter. The 32 leds looks fine to me.

prototype: I presume you've seen this project: spectrum-receiver-satellite-to-arduino
u8mydog is offline        Reply With Quote Quick reply to this message
Old 02-01-2012, 02:16 PM   #5 (permalink)
Registered Users
 
Posts: 5,112
 
My HF Map location
Join Date: Jun 2006
Location: Chrisitansburg VA USA
Default

Yeah, I'm just not sure if you can 'listen in' when they're connected to a FBL unit. I need to make a cable and test it.
prototype3a is offline        Reply With Quote Quick reply to this message
Old 02-17-2012, 09:29 PM   #6 (permalink)
Registered Users
 

Join Date: Feb 2012
Default

I ordered the same individually addressable rgb strips for 119 bucks, and am ready to do the similar projects, as soon as I get everything I need.
ethan75 is offline        Reply With Quote Quick reply to this message
Old 02-19-2012, 03:39 PM   #7 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Default

Awesome!! That's very cheap. Soon as I get some spare dollars I'll have to grab another strip.
I put my night flyer into the dirt no-one thought to get a video of it. I'm rebuilding it for a funfly this weekend and will be sure to get videos of it in the air.
Dan E is offline        Reply With Quote Quick reply to this message
Old 02-19-2012, 05:35 PM   #8 (permalink)
Registered Users
 

Join Date: Jan 2012
Default

You should look at the pololu wixel microcontroller. It supports and has source examples for reading serial (I.e. satellite receivers), i2c, and pwm lines. It also can run off of 5v, connects with a USB cable, and supports wireless communication with other wixels over 2.4ghz. They cost $20 each. You can have one on your pc and another in the heli. Range is not far but if you are just wanting to push new patterns while it is on the ground it would be very convenient. I'd avoid sending much from the heli for RF interference reasons.
__________________
aclysma is offline        Reply With Quote Quick reply to this message
Old 05-21-2012, 07:28 AM   #9 (permalink)
Registered Users
 

Join Date: Jul 2011
Default

Hello Dan E!

I've seen you're Led strips and have one too wright now. Very cool stuf.
And I've bought a teensys2.0++ with it too.

My question is...would you mind to make your program file and hex file public.
I'm not that good with programming and then I can experiment a bit.

Kind Regards, Gertjan (Netherlands)
gertjan33 is offline        Reply With Quote Quick reply to this message
Old 05-21-2012, 11:43 PM   #10 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Default

Hi GertJan,

I used the Arduino 1.0-Rc2 software to build the source code for it. You may have to download the LPD8806 and SPI libraries seperatly, get the LPD8806 one anyways as it has a pretty cool strand test in it.
PM me your email address and I'll happily send the source to you.
Dan E is offline        Reply With Quote Quick reply to this message
Old 05-22-2012, 02:09 AM   #11 (permalink)
Registered Users
 

Join Date: Jul 2011
Default

Hey Dan!

I sended you a pm

Don't have experience with Arduino but, I have a teensys 2.0++ and about 3ft of ledstrip.

Have a nice day!
gertjan33 is offline        Reply With Quote Quick reply to this message
Old 05-22-2012, 04:09 PM   #12 (permalink)
Registered Users
 

Join Date: Jul 2011
Default

Hey Dan!

Thanks for you're help.
I can open the program in arduino but, if i want to compile it, then it goes wrong.
It says: 'LPD8806' does not name a type

Do you maybe know what i did wrong?

Like i told you, i'm a newbe in programming
Click image for larger version

Name:	Arduino failure.JPG
Views:	192
Size:	62.9 KB
ID:	318809
Attached Images
File Type: bmp naamloos.bmp (1.45 MB, 135 views)
File Type: bmp Arduino failure.bmp (1.45 MB, 157 views)
gertjan33 is offline        Reply With Quote Quick reply to this message
Old 05-24-2012, 12:15 AM   #13 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Default

Hi Gert,

You need the LDP8806 library. You can get it here: https://github.com/adafruit/LPD8806
Here's a full tutorial on the strip and some code, pretty good for those who haven't come across it yet: http://www.ladyada.net/products/digi...rip/index.html

First thing I suggest you do is load that library, pull up the strand test example and load it onto your teensy then have some fun with it
Dan E is offline        Reply With Quote Quick reply to this message
Old 05-24-2012, 02:14 AM   #14 (permalink)
Registered Users
 

Join Date: Jul 2011
Default

Hey Dan!

Thanx for ur help. It's already working. I think my library was corrupt
I checked it this morning just before I went to work.

When I'm back home I'll check ur program.
gertjan33 is offline        Reply With Quote Quick reply to this message
Old 05-24-2012, 03:49 PM   #15 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Default

sweet!
Oh, don't forget to adjust the number of lights in the strip length from 160 (or 158 I crashed it and broke some hah) to however many you have.
Dan E is offline        Reply With Quote Quick reply to this message
Old 06-04-2012, 11:49 PM   #16 (permalink)
Registered Users
 

Join Date: Jun 2012
Default

Instead of using the LPD8806 LED strips, I would like to use the WS2801 strips, which LED can also be Individually Addressable, and I did some work on the WS2801 library and used the hardware SPI to get the per-pixel time down to 27.5uS.
Andrewh is offline        Reply With Quote Quick reply to this message
Old 06-05-2012, 06:27 PM   #17 (permalink)
Registered Users
Thread Starter Thread Starter
 

Join Date: Mar 2011
Default

That's nice n fast. If you're more comfortable using that strip do it. The only reason I chose the LDP8806 was because of the adafruit tutorials (for me it was my first venture into this sort of thing so it was good to have something to go on).

Just having a quick look at your link, what's the amp draw of the strip? It mentions 3.2 amps but is that per meter? The LDP8806 draws 10amps over 5 meters.
Its no problem just have to keep it in mind when setting up the power source cause you need a regulator to get to 5 volts.

Post up the results when you have it on your heli, I'm keen to see it go
Dan E is offline        Reply With Quote Quick reply to this message
Old 09-12-2012, 03:06 AM   #18 (permalink)
Registered Users
 

Join Date: Sep 2012
Thumbs up

Hi Dan E,
your project looks very nice.
About the LPD8806 led strips you used, I happened to get them directly from a Chinese manufacturer, with much lower price than from USA. Now I'm having time with the strips too.
Also I find they have 52pixels/m LPD8806 led strips.
A 60pixels/m addressable led strip is also available from them.
You can check here:
http://www.gree-leds.com/productshow...eID=TS7X2X7VTP
http://www.gree-leds.com/productshow...eID=T0PZ386YP6
http://www.gree-leds.com/productshow...eID=V495PRYXTP
Andrea MaGill is offline        Reply With Quote Quick reply to this message
Old 07-30-2015, 11:37 AM   #19 (permalink)
Registered Users
 

Join Date: Jul 2015
Smile

Quote:
Originally Posted by Dan E View Post
I was hoping to have some pics of my finished night rig to post up but thanks to some late night soldering half my lights are reversed. Also finding a working digital camera which isn't a phone has proved somewhat difficult. The whole project has been a bit rushed as I had planned to do it over the course of the year but am now attending a funfly at the end of February with some night flying!!

The lights I'm using are individually addressable rgb lights. This means each one can be turned on and off and the colour can be changed. There's more info on the strip here: http://www.adafruit.com/products/306 The only downside is its got 32 LED's per meter, not the more common (for night helis) 60 LEDS per meter. I got 5 meters, just enough to cover my trex 600.

Its all being controlled by an Atmega 32u4 breakout board from the same place I got the strip from: http://www.adafruit.com/products/296 Best 20 bucks I ever spent! Runs on 5 volts, same as the lights! This little guy can be plugged in directly to your pc via usb and programmed just like an Arduino.

To power it I am using my receiver pack, a 2500mah lipo, more than enough for 5 minutes of flight. I got a cheap 7amp max 5 volt regulator from hobby king. Which is a little low if the specs of the strip are to be believed. The 5 meter strip can draw a max of 10 amps if every light is white. From various tests people have found it only draws 2 to 4 amps all white, so I figured 7 amps would be plenty given that its never going to be all white.
I also picked up hobby kings receiver operated switch to hook up to the gear channel on my dx7. This will allow me to switch between effects. Eventually I want the lights to have their own receiver and be controlled directly from a computer.

I've attached a dodgy iphone picture so you can get an idea of what the lights look like. When I get them all running I'll go find a decent camera and take a video as well. (yes that's an ironing board, my temporary work bench when the kitchen table isn't clear).
The LED change a person's life.and quality of life are certainly higher.the new led product will be updated. particularly in led dispay.The lpd8806 strip led would come out on top

The LED change a person's life.and quality of life are certainly higher.the new led product will be updated. particularly in led dispay.The lpd8806 led strip would come out on top
gvexiemin@outlook.com is offline        Reply With Quote Quick reply to this message
Reply




Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the HeliFreak forums, you must first register.
Please enter your desired user name, your REAL and WORKING email address and other required details in the form below.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself. Use a real email address or you will not be granted access to the site. Thank you.
Email Address:
Location
Where do you live? ie: Country, State, City or General Geographic Location please.
Name and Lastname
Enter name and last name here. (This information is not shown to the general public. Optional)
Helicopter #1
Enter Helicopter #1 type and equipment.
Helicopter #2
Enter Helicopter #2 type and equipment.
Helicopter #3
Enter Helicopter #3 type and equipment.
Helicopter #4
Enter Helicopter #4 type and equipment.

Log-in


Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Copyright © Website Acquisitions Inc. All rights reserved.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

SEO by vBSEO 3.6.1