This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:learn:lcd:charlcd.html [2011/10/22 14:54] dc42 |
tutorials:learn:lcd:charlcd.html [2016/01/28 18:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Introduction ==== | ==== Introduction ==== | ||
- | + | [[http://www.adafruit.com/category/63_96|We sell tons of lovely character LCDs for use with Arduino]], they are extremely common and a fast way to have your project show status messages. This tutorial will show how you can easily connect a character LCD, either 16x2 or [[http://www.adafruit.com/products/198|20x4]]. | |
- | This is a bit of a side note, there's no LCD included with the Arduino starter pack, but I figure its a popular request, so here we go! | + | |
- | + | ||
The LCDs we sell at Adafruit have a low power LED backlight, run on +5v and require only 6 data pins to talk to. You can use **any** data pins you want! | The LCDs we sell at Adafruit have a low power LED backlight, run on +5v and require only 6 data pins to talk to. You can use **any** data pins you want! | ||
Line 10: | Line 7: | ||
- | This tutorial will cover character LCDs | + | This tutorial will cover character LCDs carried at Adafruit - [[https://www.adafruit.com/category/63_96|such as our "standard" blue&white 16x2, RGB 16x2 LCDs, "standard" blue&white 20x4 |
+ | and RGB 20x4]]. We don't guarantee it will work with any other LCDs. If you need help getting other LCDs to work, please contact the place you purchased it from, they'll be happy to help! | ||
==== What you'll need ==== | ==== What you'll need ==== | ||
<class table> | <class table> | ||
- | |[[http://www.ladyada.net/images/parts/attiny2313dip.jpg|{{ http://www.ladyada.net/images/arduino/diecimilla.jpg?nolink&230x172 |}}]]|Assembled Arduino board, preferrably a Duemilanove, or Diecimila (or whatever the latest version is) but NG is OK too |[[http://www.adafruit.com/index.php?main_page=product_info&cPath=17&products_id=50|Adafruit]] \\ $30| | + | |[[http://www.ladyada.net/images/parts/attiny2313dip.jpg|{{ http://www.ladyada.net/images/arduino/diecimilla.jpg?nolink&230x172 |}}]]|Assembled Arduino board, preferrably a Duemilanove, or Diecimila (or whatever the latest version is) but NG is OK too |[[http://www.adafruit.com/products/50|Adafruit]] \\ $30| |
- | |[[http://www.ladyada.net/images/parts/10MHzcermosc.jpg|{{ http://www.ladyada.net/images/arduino/usbcable.jpg?nolink&232x174 |}}]]|USB Cable. Standard A-B cable is required. Any length is OK. |[[http://www.adafruit.com/index.php?main_page=product_info&products_id=62|Adafruit]] \\ Or any computer supply store \\ $4| | + | |{{ http://www.ladyada.net/images/arduino/usbcable.jpg?nolink&232x174 |}}|USB Cable. Standard A-B cable is required. Any length is OK. |[[http://www.adafruit.com/index.php?main_page=product_info&products_id=62|Adafruit]] \\ $4| |
- | |{{ http://www.ladyada.net/images/arduino/lcdtut/parts_t.jpg?nolink |}}|Character LCD with parallel interface \\ The one from Adafruit comes with extra parts below|[[http://www.adafruit.com/index.php?main_page=product_info&cPath=37&products_id=181|Adafruit]] \\ $12| | + | |{{ http://www.ladyada.net/images/arduino/lcdtut/parts_t.jpg?nolink |}}|Character LCD with parallel interface \\ The one from Adafruit comes with extra parts below|[[http://www.adafruit.com/index.php?main_page=product_info&cPath=37&products_id=181|Adafruit]] \\ $10| |
- | |{{ http://www.ladyada.net/images/parts/headerm36_t.jpg?nolink&200x84 |}}|Strip of 0.1" header - at least 16 pins long \\ This comes with the Adafruit LCD's but if you got some elsewhere you'll want to buy some|[[http://www.ladyada.net/wiki/partselector/header#male_header|Generic]]| | + | |{{ http://www.ladyada.net/images/parts/headerm36_t.jpg?nolink&200x84 |}}|Strip of 0.1" header - at least 16 pins long \\ This comes with the Adafruit LCD's but if you got some elsewhere you'll want to buy some|[[https://www.adafruit.com/products/392|Adafruit male header pack]]| |
- | |{{ http://www.ladyada.net/images/parts/bbpot_t.gif?nolink&151x120 |}}|10K linear potentiometer \\ The one that comes with the Adafruit kit is perfect, but you can use any 10K potentiometer or trimmer|[[http://www.ladyada.net/wiki/partselector/pots|Generic]]| | + | |{{ http://www.ladyada.net/images/parts/bbpot_t.gif?nolink&151x120 |}}|10K linear potentiometer \\ The one that comes with the Adafruit kit is perfect, but you can use any 10K potentiometer or trimmer|[[https://www.adafruit.com/products/356|Adafruit]]| |
- | |{{ http://www.ladyada.net/images/tools/100ftsolid_t.jpg?nolink&150x150 |}}|Hookup Wire \\ Make sure its //not// stranded wire!| Any hardware store | | + | |{{ http://www.ladyada.net/images/tools/100ftsolid_t.jpg?nolink&150x150 |}}|Hookup Wire \\ Make sure its //not// stranded wire!| [[https://www.adafruit.com/products/153|Adafruit]] | |
</class> | </class> | ||
Line 358: | Line 355: | ||
{{ http://www.ladyada.net/images/thermocouple/thermolcd_t.jpg?nolink&500x385 |}} | {{ http://www.ladyada.net/images/thermocouple/thermolcd_t.jpg?nolink&500x385 |}} | ||
- | You can do that with the **createChar** command, and to help you out [[http://icontexto.com/charactercreator/|we're going to point you to this really great website that does the hard work for you!]] | + | You can do that with the **createChar** command, and to help you out [[http://www.quinapalus.com/hd44780udg.html|we're going to point you to this really great website that does the hard work for you!]] |