User Tools

Site Tools


digispark:tutorials:digiled

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
digispark:tutorials:digiled [2014/12/02 03:14]
pfeerick Added another sample sketch for a single DigiLED
digispark:tutorials:digiled [2016/06/09 12:03] (current)
Line 37: Line 37:
  
  
-When inserting the LED into the board ensure the two longer ​leasd of the LED goes through the holes marked data out and ground (see photo) - this ensures you have the LED oriented properly. Solder the LED leads and clip off the excess.+When inserting the LED into the board ensure the two longer ​leads of the LED goes through the holes marked data out and ground (see photo) - this ensures you have the LED oriented properly. Solder the LED leads and clip off the excess.
  
 [[https://​s3.amazonaws.com/​digispark/​images/​m/​digiled2.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​digiled2.jpg}}]] [[https://​s3.amazonaws.com/​digispark/​images/​m/​digiled2.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​digiled2.jpg}}]]
Line 54: Line 54:
  
  
-When inserting the LED into the board ensure the two longer ​leasd of the LED goes through the holes marked data out and ground (see photo) - this ensures you have the LED oriented properly. Solder the LED leads and clip off the excess.+When inserting the LED into the board ensure the two longer ​leads of the LED goes through the holes marked data out and ground (see photo) - this ensures you have the LED oriented properly. Solder the LED leads and clip off the excess.
  
 [[https://​s3.amazonaws.com/​digispark/​images/​m/​digiled5.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​digiled5.jpg}}]] [[https://​s3.amazonaws.com/​digispark/​images/​m/​digiled5.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​digiled5.jpg}}]]
Line 60: Line 60:
 Your DigiLED shield is complete! Your DigiLED shield is complete!
  
-**Note:** On the back of the shield there is a solder patch to activate pin 5 instead of pin 1 as the digital input.+**Note:** On the back of the shield there is a solder patch to activate pin 5 instead of pin 1 as the digital input.  If you are not using the DigiLED as a shield onto the DigiSpark Pro and planning on running it at a distance, you only need to connect the specified digital pin (Pin 1) and bottom 3 pins (5V, GND, VIN).  You do not need to connect all 6 pins on the right-hand side of the shield.
  
 +=====Chaining:​=====
  
 +When chaining multiple DigiLED'​s together, you only need to connect 3 points as a daisy chain using VCC, DO>DI and GND.  ​
 +
 +For example, LED #1 would need the top 3 pins VCC, DO (out) and GND to connect to DigiLED #2's VCC, DI (in) and GND on the second row from the bottom of the board.  ​
 +
 +If you added LED #3 you would need to connect DigiLED #2's top three pins to the second row from the bottom on DigiLED #3 and so-on and so forth. ​ After DigiLED 1, the side pins and 5V, GND, VIN should not be connected, only the three input and output points for chaining. ​
  
 =====Programming:​===== =====Programming:​=====
digispark/tutorials/digiled.1417518897.txt.gz · Last modified: 2014/12/02 03:14 by pfeerick