LCD Add-on for the Arduino DUE (Original Build)

Adding a LCD module to your DEF Simulator is a fun extra project for the slightly more techie people.  The current Simulator code already has support for the LCD module included.  The module can display the initialization status, simulated tank level and simulated DEF temperature.

The LCD module uses different digital I/O pins on the Arduino DUE vs the UNO/ATMega2560.

The module can be built on simple perforated board or you can buy a bare “Shield” board from vendors on Amazon.  As this is for the more “techie” people, I won’t get into how to solder or use a wire wrap tool.

Material needed:

1602 LCD Module: https://www.amazon.com/HiLetgo-Display-Backlight-Controller-Character/dp/B00HJ6AFW6/ref=sr_1_4?crid=3DMBSMF5F24RN&dchild=1&keywords=1602+lcd&qid=1631224484&sr=8-4

Bare shield board: https://www.amazon.com/Electronics-Salon-Prototype-Arduino-Shield-CZH-LABS/dp/B01J1KM3RM/ref=sr_1_13?dchild=1&keywords=UNO+shield&qid=1631224556&sr=8-13

Even though this shield board is for a UNO, it can also be used on a DUE.

Header pins: https://www.amazon.com/MCIGICM-Header-2-45mm-Arduino-Connector/dp/B07PKKY8BX/ref=sr_1_1?dchild=1&keywords=berg+header&qid=1631224735&sr=8-1

5K ohm variable resistor (pot): https://www.jameco.com/z/3262X-1-502LF-Bourns-1-4-Square-5k-8486-1-4W-12-Turn-Sealed-Trimming-Potentiometer_769080.html

Hook-up wire: https://www.jameco.com/z/901-2-Jameco-Valuepro-Wire-Wrap-Kynar-Red-100-Feet-30AWG-100-Foot-Rolls-_22631.html

Wire wrap tool: https://www.jameco.com/z/WWT-100-Jameco-Benchpro-30AWG-Wire-Wrap-Tool_2150361.html

Note: I used 30 AWG wire wrap wire, other small gauge wire can be used, but requires a soldering iron.

Schematic:

Pictures of completed assembly:

Authors

7 Comments to LCD Add-on for the Arduino DUE (Original Build)

  1. Randall G Rich says:

    Can you add this to the Arduino UNO? and if so, do you have directions? thank you for all your hard work on this.

    • RadarEng says:

      The pin-out for the UNI is slightly different. The schematic for the LCD shows the pins needed for both the DUE and the UNO/atmega.

  2. Roger B says:

    Any possibility of adding a thermistor to communicate actual DEF temperature? Everything works great with UNO and CanBus shield, but frozen DEF will be a problem.

  3. Don L says:

    Has anyone tried this LCD add-on with the can-bed board?

  4. Jeff H says:

    First, thanks for the detailed instructions. I found an interesting comment regarding contrast pots that claims that you do not need to connect one side of the pot to 5V. It is post #28 in this thread:

    https://forum.arduino.cc/t/replace-potentiometer-with-resistor-for-lcd-contrast/97022/27.

    I wired my display up with just a 2K variable resistor between LCD pin 3 and ground and it’s working well.

  5. Ron Sz says:

    A kind request for the LCD pin mapping for the CanBed with the ATmega32U4 processor. Having the LCD readout would provide a great deal of confidence that the simulator is functioning correctly.

  6. Ron Sz says:

    Sorry, I forgot to mention it is a V1 board. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2024: DEF Sensor Simulator | Easy Theme by: D5 Creation | Powered by: WordPress
WordPress Cookie Notice by Real Cookie Banner