# Edinburgh Hacklab

### Site Tools

workshops:arduino_to_the_next_level:lcd

# Differences

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

 workshops:arduino_to_the_next_level:lcd [2017-04-10 16:01]Simon workshops:arduino_to_the_next_level:lcd [2017-04-10 16:01] (current)Simon Both sides previous revision Previous revision 2017-04-10 16:01 Simon 2017-04-10 16:01 Simon 2017-04-10 16:00 Simon 2017-04-05 12:42 external edit 2017-04-10 16:01 Simon 2017-04-10 16:01 Simon 2017-04-10 16:00 Simon 2017-04-05 12:42 external edit Line 10: Line 10: *  Following the [[http://​arduino.cc/​en/​Tutorial/​LiquidCrystal|LiquidCrystal tutorial]] connect up the LCD and display Hello World. To power the backlight and make the display easier to read connect the "​A"​ pin of the LCD to 5V and "​K"​ to 0V. *  Following the [[http://​arduino.cc/​en/​Tutorial/​LiquidCrystal|LiquidCrystal tutorial]] connect up the LCD and display Hello World. To power the backlight and make the display easier to read connect the "​A"​ pin of the LCD to 5V and "​K"​ to 0V. - | {{workshops:​challenge_yourself.jpg?​200x0}}| **Easier** \\ **(1)** Using the examples from the tutorial scroll a message that is longer than 16 characters across the display. \\ \\ **Intermediate** \\ **(2)** Connect up a push switch to the Arduino and display "​Switch On" when the button is pressed and "​Switch Off" when the button is not pressed. \\ \\ **Hard** \\ **(3)** Display an arrow pointing to the right (→) on the screen.{{workshops:​lcd-arrow.jpg?​400x0}} \\ Tip: The ''​createChar()''​ function in the [[http://​arduino.cc/​en/​Reference/​LiquidCrystal|LiquidCrystal Library]] may be very useful. \\ Note that ''​createChar''​ example needs a [[http://​forum.arduino.cc/​index.php?​topic=94914.0|tweak]] \\ \\ **(4)** Scroll the arrow pointing to the right (→) across the screen. As demonstrated in this video http://​youtu.be/​rztILQ1G0tI | + | {{workshops:​challenge_yourself.jpg?​200x0}}| **Easier** \\ **(1)** Using the examples from the tutorial scroll a message that is longer than 16 characters across the display. \\ \\ **Intermediate** \\ **(2)** Connect up a push switch to the Arduino and display "​Switch On" when the button is pressed and "​Switch Off" when the button is not pressed. \\ \\ **Hard** \\ **(3)** Display an arrow pointing to the right (→) on the screen.{{workshops:​lcd-arrow.jpg?​400x0}} \\ Tip: The ''​createChar()''​ function in the [[http://​arduino.cc/​en/​Reference/​LiquidCrystal|LiquidCrystal Library]] may be very useful. \\ Note that ''​createChar''​ example needs a [[http://​forum.arduino.cc/​index.php?​topic=94914.0|tweak]] \\ \\ **(4)** Scroll the arrow pointing to the right (→) across the screen. As demonstrated in [[http://​youtu.be/​rztILQ1G0tI|this video]]. ​| We'll use the LCD in later tutorials. It is amazing how much more professional a project can look with an LCD! We'll use the LCD in later tutorials. It is amazing how much more professional a project can look with an LCD!