ARDUINO MicroControllers used in my Experiments:

http://www.solutions-for-education.com


04/23/2014

Sketches (Routines) for these devices, with LCDs (Parallel, Serial, 2x16, 4x20)

With these boards in constant revision, you should visit the official Arduino site for the latest availablity/ Some are no longer available.

http://www.arduino.cc (for source info)

ARDUINO UNO

 

ARDUINO MEGA

 

ARDUINO DUE

 

Adafruit MENTA

 

NETDUINO 2

 

NETDUINO Plus 2

 

 

The ARDUINO DUE Requires Arduino Version 1.5.0 (vs 1.05) to program
All NETDUINO Modules require the following downloads:
My all around favorite is any version of the "ARDUINO MEGA", mostly because of the many extra pinouts.

LCD Modules used for evaluation purposes:

Parallel 2x16 Green Backlight, White Lettering

Provided with most kits, and if the wiring corresponds to the example codes, works quite well, but beware that there are a number of "correct examples", and a number of "correct wirings" that are NOT compatable with each other. See the table I provided , for a few examples of these situations.

Code:

Parallel 2x16 Blue Backlight, White Lettering

As illustrated above, if the wiring corresponds to the example codes, works quite well, but beware that there are a number of "correct examples", and a number of "correct wirings" that are NOT compatable with each other. See the table I provided , for a few examples of these situations.

Code:

 

Parallel 4x20 Blue Backlight, White Lettering

 

Code:

SeinSmart 2x16 Blue Backlight "Key-Pad Shield"

Worked quite well, with my code, but could not get the examples given to compile, excepth the one one "Ultrasonic-Distance-Measurement". Take a look at the schematic, on both their Interface-Pins, and also the way that a number of folks use an Analog Scaling of o Voltage-Divider, for determining which switch has been pressed.

Code:

Serial 2x16 Blue Backlight, White Lettering (3-wire)

Code:

Photo:

Serial 4x20 Serial (4-wire) SeinSmart

Code:

Serial 2x16 Parallax (3-wire). The example for this Serial LCD worked right away, with no complications. One consideration that I ran into was that I did not find cursor positioning available. Perhaps my own ignorance.

 

Code:

 

LCD Modules as used with Arduino Modules: (All source codes are going to be released to public domain)

4x20 Blue Background/White Lettering, Parallel, Mounted directly on the "End" connector of a "Mega" device, requiring only a single +5V "Booster" wire.

{ code }

4x20 Blue Background/White Lettering, Parallel, minimal direct wiring to the "End" connector of a "Mega" device, again requiring only a single +5V "Booster" wire. A "Contrast" pot was added (for variance noted between blue vs green LCDs

{ code }

2x16 Green Background/Black Lettering, Parallel, minimal directl wiring to the "End" connector of a "Mega" device, again requiring only a single +5V "Booster" wire. A "Contrast" pot was added (for variance noted between blue vs green LCDs

{ code }

"Top" Mounted Parallel 2x16 LCD, using a wire-wrapped Interface on a UNO Shield, mounted on a Mega device. Input and Output wiring is utilizing the multi-pin connector on the "End" of the Mega. The circuit board on the right is a "proto-type" to allow me to simulate the "Tri-Mode" Morse Code Keyer that I designed and produced with TTL devices in 1973. I was quite successful, with all "5-Modes".

{ code }

New "Interface Board", with pre-wired straight connections to the Mega "End" for LCD display, and using a pot to simulate Battery voltages for 4 banks of batteries. Sampled voltages from the pot (0-5V) are mathematically calculated to represent battery sources up to 16.6V and solar panels up to 22V. A 2x16 LCD is shown here.

{ code }

New "Interface Board", with pre-wired straight connections to the Mega "UNO" type of requirement, for LCD display, and using a pot to simulate Battery voltages for 4 banks of batteries. Sampled voltages from the pot (0-5V) are mathematically calculated to represent battery sources up to 16.6V and solar panels up to 22V. A 4x20 LCD is shown here.

{ code }

I originally could only get one of the SainSmart "KeyPad" examples to work, until I found the "Ultrasonic" one, which only partially worked. By comparing the schematic against that one example, I made my own routine, which now works quite well.

{ code }

The AdaFruit "MENTA" requires either the FTDI Friend or FTDI Cable to program this module like a UNO, and then it behaves just like a UNO. Mine would not fit inside the Mint Can.

{ code }

Special circuit boards (from ExpressPCB) used for testing and evaluation purposes:

Project Notes

Sketches

 
 
Back to Study Guides
Back to TOPICS
Back to Main Page
 
MicroControllers.html ... SfE-DCS ...solutions-for-education.com - ddf ... 01/31/2014