Dynamic Arduino LCD Menu

by MyHomeThings in Circuits > Arduino

180 Views, 1 Favorites, 0 Comments

Dynamic Arduino LCD Menu

Dynamic Arduino LCD menu.png

The following Dynamic Arduino LCD menu is easy to use and edit. You can add as many menu items as you want. Just enter the menu items, enter the appropriate function and you're done. All of this at the beginning of the arduino sketch, you don’t have to look in the code to insert the code snippets. It can be a good solution for both beginners and advanced if you need to create an LCD menu quickly.

A suitable external power source is recommended, the USB port current may be low for the LCD display and Arduino UNO. You can also use other boards, such as: Arduino Nano, Mini, Leonardo, Mega or the appropriate ESP 8266, ESP32.

You can find the Arduino sketch here.

.

Supplies

Usage

DynamicArduinoLCDmenuSchem.png
lcd.jpg

It is very easy to use. In the MenuItems [] String array, enter the names of the menu items, and then type the function for the menu item in an if () statement in the menuFunctions () function. the condition for if () must be the serial number of the menu item. That’s it, you can use the dynamic arduino menu.

I have written a few examples in the arduino sketch, you can delete or rewrite them, I just intended them as guidelines for easier understanding.

You can find the Arduino sketch here.

.

Have fun!