User Tools

Site Tools


digispark:tutorials:littlewire

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:littlewire [2013/11/13 22:26]
digistump [Product Description:]
digispark:tutorials:littlewire [2016/06/09 12:03] (current)
Line 3: Line 3:
 =====Product Description:​===== =====Product Description:​=====
 [[https://​s3.amazonaws.com/​digispark/​images/​m/​lw1.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw1.jpg}}]] [[https://​s3.amazonaws.com/​digispark/​images/​m/​lw1.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw1.jpg}}]]
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw2.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw2.jpg}}]][[https://​s3.amazonaws.com/​digispark/​images/​m/​lw3.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw3.jpg}}]]+[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw6.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw6.jpg}}]][[https://​s3.amazonaws.com/​digispark/​images/​m/​lw7.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw7.jpg}}]]
  
-The Little Wire on Digispark Shield Kit connects ​provides a Little Wire compatible pinout on the Digispark. This allows the Digispark to be easily used as a Little Wire device, with the Little Wire firmware and libraries. The shield also provide pull-ups for the I2C lines, which can be enabled by an included jumper, and an external power jumper. The kit also includes a 6 pin IDC cable for connecting to other circuits or to standard 6-pin AVR ISP headers for programming AVR chips.+The Little Wire on Digispark Shield Kit provides a Little Wire compatible pinout on the Digispark. This allows the Digispark to be easily used as a Little Wire device, with the Little Wire firmware and libraries. The shield also provide pull-ups for the I2C lines, which can be enabled by an included jumper, and an external power jumper. The kit also includes a 6 pin IDC cable for connecting to other circuits or to standard 6-pin AVR ISP headers for programming AVR chips.
  
-Little Wire is multi-featured USB controlled Open Source Hardware tool packed in a minimal form factor designed by Ihsan Kehribar. Little Wire appears as usbtinyisp device and provides a tethered interface between hardware and a computer.+Little Wire is multi-featured USB controlled Open Source Hardware tool packed in a minimal form factor designed by Ihsan Kehribar. ​The Little Wire for Digispark shield was designed by Ihsan in collaboration with Digistump. The Little Wire firmware can be easily loaded on to Digispark for use with the Little Wire for Digispark shield.
  
 Little Wire has the following features: Little Wire has the following features:
Line 26: Line 26:
 | Little Wire Shield PCB|1| | | Little Wire Shield PCB|1| |
 | 6-pin IDC Cable|1| | | 6-pin IDC Cable|1| |
-| 4.7k ohm 1/4W 5% resistor|2| ​Brown Black Yellow|+| 4.7k ohm 1/4W 5% resistor|2| ​Yellow ​Violet ​Red|
 | 0.1" pitch Jumper/​Shunt |2| | | 0.1" pitch Jumper/​Shunt |2| |
 | 1x40pin male 0.1" pitch header| 22 pins worth| | | 1x40pin male 0.1" pitch header| 22 pins worth| |
Line 43: Line 43:
 **Note for Kickstarter Backers and Pre-orders:​** Headers are not included in each kit bag, but the entire order came with more than enough headers for all kits. **Note for Kickstarter Backers and Pre-orders:​** Headers are not included in each kit bag, but the entire order came with more than enough headers for all kits.
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​temp1.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​temp1.jpg}}]]+[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw1.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw1.jpg}}]]
  
-Insert the the DS18B20 Temperature Sensor, matching the shape of it with the printing on the board and solder all pins. 
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​temp2.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​temp2.jpg}}]]+Insert resistorsSolder the leads and clip off the excess
  
-Insert resistorSolder the leads and clip off the excess+[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw2.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw2.jpg}}]]
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​temp3.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​temp3.jpg}}]] 
  
-Cut a length ​of male headers 3 pins long and insert into the jumper location ​(labeled P1 DAT P5). Solder the pins on the back.+Cut two lengths ​of male headers 3 pins long and insert ​(from the top) into the 6 pin (2x3 pinsheader. Solder the pins on the back.
  
 +[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw3.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw3.jpg}}]]
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​temp4.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​temp4.jpg}}]] 
  
-Place the jumper/​shunt on top of the pins just solderedPosition it over DAT and P5 or DAT and P1 based on whether you'd like to use P1 or P5 to communicate with the sensor.+Cut a two lengths of male headers 2 pins long and insert (from the top) into the two jumper locationsSolder the pins on the back.
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​temp5.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​temp5.jpg}}]]+[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw4.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw4.jpg}}]]
  
-Insert the 3-pin screw terminal with the hookup openings facing outward. Solder the two pins. 
  
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​temp6.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​temp6.jpg}}]]+Place the jumper/​shunt on top of each set of pins just soldered. Optional: Placing the jumper on the I2C pins connects the I2C pull-ups (remove if not using I2C). Placing one on the Ext. Power pins connects the 5V lien to the 6 pin header (remove if using external power). 
 + 
 +[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw5.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw5.jpg}}]]
  
 Cut a length of male headers 6 pins long and one 3 pins long. Insert into corresponding positions (on the bottom of the board) and solder each pin. Cut a length of male headers 6 pins long and one 3 pins long. Insert into corresponding positions (on the bottom of the board) and solder each pin.
- 
-[[https://​s3.amazonaws.com/​digispark/​images/​m/​temp7.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​temp7.jpg}}]] 
  
 **Tip:** Inseting the headers into a breadboard and then placing the board on top can make this process easier. **Tip:** Inseting the headers into a breadboard and then placing the board on top can make this process easier.
Line 74: Line 71:
 **Note:** If you are using stackable headers, use them here instead of the standard male headers. **Note:** If you are using stackable headers, use them here instead of the standard male headers.
  
 +[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw6.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw6.jpg}}]]
 +
 +
 +If using the cable - plug into 6 pin header.
 +
 +[[https://​s3.amazonaws.com/​digispark/​images/​m/​lw7.jpg|{{https://​s3.amazonaws.com/​digispark/​images/​t/​lw7.jpg}}]]
  
-=====Using external 1-wire deivces:​===== 
  
-External 1-wire devices can be added to the same 1-wire bus by connecting them to the 3 pin screw terminal - following the labeled pin outs on the board. ​ 
  
-Sensors other than the DS18B20 will not be covered in the included examples, but many examples are readily available online. ​+=====Loading ​the firmware:​=====
  
 +Download the Little Wire firmware installer for your platform here - Under "​Single click installers for v1.3 firmware"​ - http://​littlewire.cc/​downloads.html
  
-=====Programming:​=====+Run the executable and when prompted plug in the Digispark that you will be using with the shield. When complete the Digispark will now appear as a Little Wire device 5 seconds after it is plugged into the computer. ​
  
-With the newest version of the Digispark Arduino IDE goto Examples->​OneWire->​Digispark Example 
  
-This example uses P5 by default - to use P1 change this lineOneWire ds(5); to OneWire ds(1);+=====Use:=====
  
 +See http://​littlewire.cc for documentation,​ libraries, and more!
  
digispark/tutorials/littlewire.1384410406.txt.gz · Last modified: 2013/11/13 22:26 by digistump