Using Digital LED Strip + serial to computer?

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Using Digital LED Strip + serial to computer?

Postby sadsully » Tue Nov 20, 2012 8:06 pm

Hey there!

I'm pretty new to electronics in general, but have been having a really good time learning it all. I recently received a strip of the digital addressable LEDs, which I have running perfectly with the example program. However, I was trying to write a program that interfaces to my computer via the serial interface, to communicate to an app I have written in processing that allows color selection and pattern selection for the led strip.

The program + serial communication works perfectly when I do it with some RGB leds for testing, but as soon as I connect the strip everything goes to pot. I am assuming it is some kind of conflict in using the serial, since both the strip and the computer connection want to use the Serial interface?

Am I on the right track? Any pointers on how I can sort this out?
sadsully
 
Posts: 1
Joined: Tue Nov 20, 2012 8:02 pm

Re: Using Digital LED Strip + serial to computer?

Postby pburgess » Wed Nov 21, 2012 1:23 am

The two should work together fine. If this is an Arduino Uno, the Serial port will tie up digital pins 0 & 1, while the LEDs can use most any other two pins.

I'd suggest having a read through our Digital RGB LED Strip tutorial if you haven't already. This explains the wiring, the code, the whole deal.

You might also have a look at the source code for Adalight, especially the LEDstream sketch. This is a pretty complex program, but you might be able to pick out the bits that make sense to what you're doing...this sketch works in conjunction with Processing code on a host PC.
User avatar
pburgess
 
Posts: 1332
Joined: Sun Oct 26, 2008 1:29 am


Return to Glowy things (LCD, LED, TFT, EL) purchased at Adafruit

Who is online

Users browsing this forum: adafruit_support_mike and 8 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]