by joebar.rc » Sun Jun 30, 2013 7:01 pm
Hi James,
On the Jdrones board the extra ports are a bit limited, I dont have it in front of me but I believe a couple of 'D' ports are available, numbers 5 to 7.
One of those is already defined for the HoTT telemetry if you use that, so that leaves at least 2.
What you can do is enter those numbers in the rgbleds.ino file (cant mis, I commented it with dataline and clockline)
And the ldp8806 dont work as 'standard' leds, it is using a communication bus (CI/CO DI/DO)
So, what you can do is divide a strip in 2 equal parts, lets say a strip with 8 leds and divide that in 2. The datalines need however be connected, so the DO/CO goes to the DI/CI on the second strip.
The first part for example on the frontarms, the leds 5-8 on the aft arms.'
You have to define the number of leds and groups in the code, I just made an example how I use it but if you look in the code you probably get the idea.
It is possible to also control the other arms separately but I did not write that in the code.
What I did is connect the second set (of 2 x 4 leds) parallel to the first set.
So, dont use the specific led outputs of the jdrones, those use a high voltage driver but instead use the other available digital ports on the board.
5V bec is no problem, I'm using that too. With all white leds it uses about 200mA with 16 leds, with other colors less..
Menno