ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino MEGA to creating DANCING LIGHT

Dear Friends, 

 

I recently bought ARDUINO MEGA to make a dancing light. A small entertainmaint tool for my newborn. Since this is first time for me, please give me some pointers to achieve this goal. I have 16 lights (LED bulbs) that are connected to the board and I want to generate a sequence to switch on these lights for a brief moment and off and switch on the next one for a brief moment. In theory, it is similar to SWEEP cycles. I want to change programatically how long these bulbs remain on and control which one to be on at a time. Once set, they dance in a specific pattern until reset by new pattern.

 

Your help would be highjly appreciated. Thanks

RY
0 Kudos
Message 1 of 6
(3,273 Views)

I wouldn't use LabVIEW for this- your Arduino would have to remain tethered to a PC.

 

The Arduino is pretty easy to program using sketches.

http://arduino.cc/en/Guide/HomePage

0 Kudos
Message 2 of 6
(3,258 Views)

Thanks, I want to achieve this via LABVIEW.

 

 

RY
0 Kudos
Message 3 of 6
(3,230 Views)

Okay- what stage are you at?

 

Have you got the labview arduino communication toolkit (or whatever it is called) installed?

0 Kudos
Message 4 of 6
(3,202 Views)

I have installed LIFA and also did a simple communication, blink one LED. I will update you in sometime my experiments 🙂

RY
0 Kudos
Message 5 of 6
(3,149 Views)

Cool - you have the basics. If you've got any specific questions, show us your code and we can discuss.

0 Kudos
Message 6 of 6
(3,137 Views)