Arduino Tutorial #4 - LCD displays, Libraries and Troubleshooting

------------------------------ Click "Show more" -------------------------------------------
A tutorial on interfacing LCDs (liquid crystal displays) with Arduino. We take a look at libraries and the role they play...and the potential issues, errors and troubleshooting involved.
We look at several types of displays but concentrate on the 4x20 Sparkfun serial enabled LCD display.

SparkFun kit from my Amazon Store:
http://astore.amazon.com/m0711-20?_encoding=UTF8&node=33

A link to the SparkSoftLCD library for the Arduino by C. A. Church - fixes issue with float variables on serial enabled LCD displays:
http://mjlorton.com/forum/index.php?topic=425.0

Link to new Arduino software / IDE 1.0.5:
http://arduino.cc/en/main/software

Link to the LiquidCrystal library with examples and wiring:
http://arduino.cc/en/Tutorial/LiquidCrystal

Link to the SparkFun SerLCD 2.5 datasheet:
https://www.sparkfun.com/datasheets/LCD/SerLCD_V2_5.PDF

Link to the Hitachi HD44780U dot-matrix liquid crystal display controller datasheet:
https://www.sparkfun.com/datasheets/LCD/HD44780.pdf

SparkFun LCD displays:
https://www.sparkfun.com/categories/76?page=all

How to install Arduino libraries / Installing Additional Arduino Libraries:
http://arduino.cc/en/Guide/Libraries

How to create a library for Arduino / Writing a Library for Arduino:
http://arduino.cc/en/Hacking/LibraryTutorial

Troubleshooting compiling errors:
error: WConstants.h: No such file or directory
error: Wires.h: No such file or directory
Change / point library to Arduino.h
------------------------------------------------------------------------------------------------------
My website and forum:- http://www.mjlorton.com
Donations and contributions:- http://www.mjlorton.com
My techie channel MJLorton - Solar Power and Electronic Measurement Equipment - http://www.youtube.com/MJLorton
My Techie Amazon Store: http://astore.amazon.com/m0711-20
My other channel VBlogMag - For almost any topic under the sun! - http://www.youtube.com/VBlogMag
My VBlogMag Amazon Store: http://astore.amazon.com/vblogmag-20
------------------------------------------------------------------------------------------------------
===================================================
Video sponsor, Pass Ltd - their websites:
At checkout use the discount / promotion code "mjlorton" for 5% off.
http://www.tester.co.uk/?cmid=QmhzQjcxYjVlc1E9&afid=bFcwbzliNzVDc289&ats=K2EyUjZNTDh3UTA9 - Test Equipment and Test-meter suppliers and
http://www.calibrate.co.uk/?cmid=QmhzQjcxYjVlc1E9&afid=bFcwbzliNzVDc289&ats=S3Yxd2tOMjVISzA9 - Calibration and service of test equipment
===================================================
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Bitcoin (BTC) Donations: 1K7PeF55e7ssE7W3WVCoa7c4j2PHzy6ASv
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
**********************************************************************************
Music clip from PatternMusic by Richard Lawler
www.PatternMusic.com
(used under creative commons Attribution-ShareAlike Unported 3.0)
http://creativecommons.org/licenses/by-sa/3.0/
**********************************************************************************"

  • Aucune note. Soyez le premier à attribuer une note !

Ajouter un commentaire

 

7 choses à savoir si Tu débutes en automatisme...

7 choses que tu dois savoir si tu debutes en automatismeCliquez ici pour télécharger le guide PDF

Superv 3