This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
digispark:tutorials:lcd [2012/12/18 23:39] digistump created |
digispark:tutorials:lcd [2016/06/09 12:03] (current) |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| Soldering Basics (http://www.sparkfun.com/tutorials/106) and Soldering Crash Course from the folks at Sparkfun (http://www.sparkfun.com/tutorials/354). | Soldering Basics (http://www.sparkfun.com/tutorials/106) and Soldering Crash Course from the folks at Sparkfun (http://www.sparkfun.com/tutorials/354). | ||
| How to solder from the Curious Inventor: http://store.curiousinventor.com/guides/How_to_Solder | How to solder from the Curious Inventor: http://store.curiousinventor.com/guides/How_to_Solder | ||
| + | |||
| + | Adafruit has this excellent guide that starts with the tools needed and then shows detailed pictures, including some of the common problems that beginners experience (http://learn.adafruit.com/adafruit-guide-excellent-soldering) | ||
| **We assume for these assembly instructions that you know the basics of thru-hole soldering. If you don't check out the links above, these boards are very easy to solder - we promise!** | **We assume for these assembly instructions that you know the basics of thru-hole soldering. If you don't check out the links above, these boards are very easy to solder - we promise!** | ||
| Line 32: | Line 34: | ||
| =====Assembly:===== | =====Assembly:===== | ||
| - | **NOTE:** If you have a "Model B" board you may need to cut the trace to the onboard LED before using any I2C devices - Find out how to tell which board you have and what to do here: [[digispark:tutorials:modelbi2c]] | + | **NOTE:** If you have a "Model B" board you may need to cut the trace to the onboard LED before using any I²C devices - Find out how to tell which board you have and what to do in [[digispark:tutorials:modelbi2c]]. |
| - | Empty kit bag (or if using a raw PCB, aquire parts) and verify contents. | + | Empty kit bag (or if using a raw PCB, acquire parts) and verify contents. |
| **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. | ||
| Line 57: | Line 59: | ||
| Connect the LCD module to the board using the included cable, ensure that the connection at the board match up with the connection at the LCD - the black wire should be connect to the ground pin on each of them. | Connect the LCD module to the board using the included cable, ensure that the connection at the board match up with the connection at the LCD - the black wire should be connect to the ground pin on each of them. | ||
| - | |||
| [[https://s3.amazonaws.com/digispark/images/m/lcd5.jpg|{{https://s3.amazonaws.com/digispark/images/t/lcd5.jpg}}]] | [[https://s3.amazonaws.com/digispark/images/m/lcd5.jpg|{{https://s3.amazonaws.com/digispark/images/t/lcd5.jpg}}]] | ||
| Line 64: | Line 65: | ||
| [[https://s3.amazonaws.com/digispark/images/m/lcd6.jpg|{{https://s3.amazonaws.com/digispark/images/t/lcd6.jpg}}]] | [[https://s3.amazonaws.com/digispark/images/m/lcd6.jpg|{{https://s3.amazonaws.com/digispark/images/t/lcd6.jpg}}]] | ||
| + | |||
| + | **NOTE:** If your back light won't turn on check that the jumper is present on the back of the LCD screen on the pins labeled LED - if not you can bend and solder these pins together. | ||
| =====Programming:===== | =====Programming:===== | ||
| Line 70: | Line 73: | ||
| Digispark P0 -> SDA | Digispark P0 -> SDA | ||
| - | Digispark P3 -> SCL | + | |
| + | Digispark P2 -> SCL | ||
| The I2C Address is 0x27 | The I2C Address is 0x27 | ||
| Please refer to the LCD example in the Digispark LCD library included with the Digispark Arduino Addon. | Please refer to the LCD example in the Digispark LCD library included with the Digispark Arduino Addon. | ||
| + | |||
| + | Also see [[digispark:tutorials:usb2lcd|USB2LCD]] | ||
| + | |||
| + | **Nothing appears on my LCD:** | ||
| + | When the Digispark powers up the LCD should light up right away and show some dark boxes on the top line for about 5 seconds. If it lights up but there are no dark boxes try adjusting the contrast - the blue box with the phillips head thing on the back of the screen. | ||
| + | |||
| + | After 5 seconds the boxes should disappear and say Digispark! (if using the BasicUsage LCD example) instead - if they aren't disappearing this could also be a contrast issue - try adjusting it the other direction. | ||