Scott Penrose

Arduino AnalogInput2LCD

Scott is an expert software developer with over 30 years experience, specialising in education, automation and remote data.

A quick test / terminal Arduino I built.

Purpose:

  • Box an arduino, so my kids don't keep kicking the wires
  • 4+ inputs
  • LCD display
  • WiFi

I also built another one for Ethernet - see Arduino EthernetLCD

  • TODO - photo
  • TODO - Sketch for Analog input to LCD

Hardware Build

http://www.daddycrumbs.com/Electronics/Arduino-Projects/i-Ngg24x9/0/S/IMG0023-S.jpg http://www.daddycrumbs.com/Electronics/Arduino-Projects/i-6Sms5TR/0/S/IMG0024-S.jpg

  • Take one old Backup tape case
  • One dremel
  • About 20 minutes

This is rough, as I did not have much time - but it does the job. Nice thing is it is very easy to change, open etc. I can even leave it open with metre connected.

Hardware is:

  • Freetronics Eleven (Arduino Uno compat)
  • Async WiShield (no longer made unfortunately - looking at alternatives)
  • I2C LCD (handy, just 2 wires)
  • 5 buttons (resistor network analog input)

For this project I also need to add:

  • Temperature sensor
  • Piezo speaker

Analog Input to LCD

To get the values for the analog resistor network for my buttons, I wrote up this quick sketch.

#!CPP
#include <xxx.h>

Using ButtonEvent

See Arduino EBL

  • Arduino