You will learn how to create a Human Machine Interface with Arduino and LCD 16 x 2.

You will learn how to create a Human Machine Interface with Arduino and LCD 16 x 2.

Presentation of the Project

Following, I'll introduce you to the full explanation of how to develop your menu options using Flowcode 7 with Arduino. Subscribe on my channel for more projects.

Introduction

In this project you will learn how to creating and modeling your machine human interface with MENU using an Arduino Uno and the LCD 16 x 2.

There are several projects using MENU for configure parameters and receive other informations of the world by the machine users.

In this article, you will see how to modeling easily your Menu using Arduino and two buttons.

For this project, we'll use the following components:

Bill of Materials

Now, we'll explain the project.

The Project

For modeling easily your menu with Arduino, I use the Flowcode 7. With the Flowcode 7, you can create a flowchart and modeling your programming logic, because it allows you see how your code will execute in real time through the flowchart constructed. accordingto it presented in Figure below. The Figure can be downloaded on the link of topic: Files for Download.

                                Figure 1 - Flowchart constructed using Flowcode 7.

In the project was used two buttons. The first button is used to move down the options of MENU and the second button is used to move up in the options of the MENU.

Each time of the first or second button is pressed, the variable count is incremented or decremented according with the pressed button.

According to the value of count variable, will be presented the names in the Menu of LCD 16 x 2.

Acknowledgment

To finish, we thank you for your reading and the support of PCBWAY.COM for supporting Silício Lab in the production of this article for you.

Silícios Lab thanks UTSOURCE to offer the electronic components to create this project.

Files for Download

In this link are all files of project and image of Figure 1.

Silícios Lab

Contributors