
.
.
Social Distancing Monitor with Alarm, Arduino NANO and I2C LCD2004 Display
In previous tutorial we were using an LCD1602 display, this time we will use an LCD2004 display which gives us the opportunity to display on four (4) lines. That enables us to display more accurate text.
The wiring is exactly the same as already mentioned in previous tutorial, there is ONLY to make a few changes in the code, please check:
The complete Code fr an LCD1602 display could get downloaded in “.doc” format below.
Download and open the document, copy it and bring it in a NEW Sketch of the Arduino IDE. Upload it to the Arduino Nano and have fun with it!
SO, once uploaded we will need to change some code to make it work for an LCD2004 display, we will see how below.
.
.
.
Well, as you can see there isn’t a lot of changes, easy!! A 5 minutes project 😉 Once you have changed the mentioned lines, upload the code again.
And IF you want to START straight on, here below is the code in .doc format:
.
Stay tuned for next blog post(s) 😉
.
.
The author Gust MEES is ICT Course Instructor, ”Member of the Advisory Board” from “Luxembourg Safer Internet” (LuSI), BEESECURE, Official Partner (Consultant) from the Ministry of Education in Luxembourg, project “MySecureIT“, Official Partner from the Ministry of Commerce in Luxembourg, project “CASES” (Cyberworld Awareness and Security Enhancement Structure). The author was also a winner of an electronics contest (Germanic countries) in 1979 and got his project published in the “Electronics Magazine ELO”. |
.
.
.
.