Community - Arduino Example - RGB LED
Community - Arduino Example - RGB LED
VERSION 4
Before opening this example, make sure to install the LabVIEW Interface for Arduino. Description: This example shows how to control a RGB LED connected to the Arduino using the LabVIEW Interface for Arduino. Tutorial: 1. Make sure you have installed the LabVIEW Interface for Arduino. 2. Open the RGB LED Example VI (search for "Arduino" in the example finder once the toolkit is installed). 3. Build the circuit schematic shown on the block diagram. 4. Connect your Arduino to your PC with a USB cable. Optionally you can specify the COM port associated with your Arduino to the VISA resource terminal of the Init.vi to decrease the time require for LabVIEW to connect to the Arduino. 5. Click Run. 6. Vary the levels of Red, Green, and Blue on the Front Panel.
https://decibel.ni.com/content/docs/DOC-16083?decorator=print
1/3
6/13/13
6956 View s
Categories: Examples
Like (1)
Comments (4)
him elspike Oct 27, 2011 12:30 AM
Thats a great tutorial to learn. I am a student and trying to do a project thats someway similar to this. my goal is to turn on/off a LED in Arduino with labview and change the brightness directly from the VI without using any slider adapter. But I am new to Labview and having hard time. Can anyone please help ?
himlspike, You can certainly do this, but if you are not using a slider how do you want to control the brightness? If you want it to change automatically you can do something based on the loop iteration. Create a new discussion and provide us with as much info as possible and we will be able to
https://decibel.ni.com/content/docs/DOC-16083?decorator=print 2/3
6/13/13
I just tried this tutorial and got it to work on my UNO. I'm trying to take it to the next level and do it via a couple of Xbee's. I've been fiddling around with Labview and can't seem to get it to work. In order to communicate wirelessly, do you need to go from USB to an adruino w/ and Xbee on it; transmit wirelessly to another Xbee that is attached to another arduino with the RGB LED wired up (i.e do you need 2 arduinos?)? I'm currently trying to transmit on an Xbee via a sparkfun USB explorer to an arduino powered w/ a battery pack with another Xbee on it. (yes, I am very sure that my Xbees are working).
Okay I can understand why the example only shows three Arduino designs. But what about this one, "Duemilanove"? According to the designers, the name simply means the year it was created, 2009. I only saw the Uno one and the Mega, and something else, Dimuela. Was the one I named not included for the sake of simplicity?
https://decibel.ni.com/content/docs/DOC-16083?decorator=print
3/3