Arduino Mega HMI touch screen calibration and programming

 

HMI TOUCH SCREEN

Description:

In this project, we will learn how to use the TFT LCD Touch Screen to create an Arduino or Mega based HMI system. This is very basic tutorial in which we will control led and display in seconds the On Controller Time. 

While I’m using this HMI touch screen in my upcoming tutorials

  1. To view data from sensors on this screen
  2. To make real-time map tracking system, will integrate this with the Neo GPS unit.
  3. To manage multiple loads
  4. I’m also going to use this RFID touch screen to display images.

We will use this with the fingerprint module to create voting system for our upcoming tutorial. And so on and so forth. In so many other things I’m going to use this touch screen. So sign up for my website and YouTube channel right now, so you’ll never miss any of my upcoming tutorials.

Nowadays, the HMI Touch screens are most commonly used in the control and monitoring industries. This removes the need to change hardware. In addition, it’s easy to use the HMI touch screen. It is possible to add new functionsthe interface configuration can be changed at any time. Specific pages can be configured for electrical device or sensor control and monitoring.

The HMI touch screens are used with PLC ‘S in Industries and such HMIC touch screens are expensive. The aim of this tutorial is to support you guys, how you can use 5-inch TFT touch  screen to build  your own HMI  control system for the Arduino Mega.



The Amazon Purchase links are given below:

ITDB02 Arduino mega shield 2.1: https://amzn.to/2T3quE9
7 Inch TFT LCD Touch Screen: https://amzn.to/35r6Fcl
Arduino Uno: https://amzn.to/39aq6ZT
Mega 2560: https://amzn.to/2SszMsI
lm7805 Voltage Regulator: https://amzn.to/2ERYoTJ
330-ohm resistors pack: https://amzn.to/2Qj1Igg
female DC power jack socket: https://amzn.to/377Pg9M
470uf capacitors: https://amzn.to/2MrN3xR
5×7 cm Vero board: https://amzn.to/37b7KWO
female headers: https://amzn.to/350w6RE
connection wires: https://amzn.to/2MvOJXd
Super Starter kit for Beginners: https://amzn.to/398dliF
Jumper Wires: https://amzn.to/2SrnBwo
Bread Board: https://amzn.to/2MxV5FM
12v Adaptor: https://amzn.to/2MuOlZk
PCB plate: https://amzn.to/2MuwNMB
Variable Supply: https://amzn.to/39d0KdP
Digital Multimeter: https://amzn.to/34WbVoa
Vero Board / stripboard: https://amzn.to/39nL9Zg
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2PVwexF
Solder wire: https://amzn.to/2QlOvTS
Wire Stripper: https://amzn.to/353tYJa
wirecutter: https://amzn.to/2tV2lFj
PCB small portable drill machine: https://amzn.to/2MvQqnx

DISCLAIMER:

Please Note: these are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

HMI Touch screen Breakout board soldering:

Touch screen break-out board

HMI TOUCH SCREEN

As you can currently see, this module can not be used with output devices such as relays, led’s, etc. We will have to make some changes for external hardware interfacing, we must solder some wires with the appropriate pins so that electronic signals can be transferred to the controlling circuit.

HMI TOUCH SCREEN

started by soldering with the ground some jumper wires and 13,12,11 and 10 pins.   After the solder is done, carry  out the short circuit test and ensure that there is no soldering bridge. Also  check  the continuity  of  the  jumper  wires, sometimes the wires are broken inside the jumper wires. say this from my practical experience, because so many times this has happened to me.


HMI TOUCH SCREEN

It will use this breakout board with Mega. As you can see, the breakout board occupies all the pin’s of the mega, so that’s why we had to solder the breakout jumper wires. Now, with the breakout board, any sensor you want to use will need to solder wires. So, our HMI touch screen setup is finished for now.


Numbers images:

The following is the number of pictures used to show the numbers.

HMI TOUCH SCREEN

HMI TOUCH SCREEN

 

HMI TOUCH SCREEN

HMI TOUCH SCREEN

 

HMI TOUCH SCREEN


HMI TOUCH SCREEN

HMI TOUCH SCREEN

HMI TOUCH SCREEN

HMI TOUCH SCREEN

HMI TOUCH SCREEN

HMI TOUCH SCREEN Programming:

First of all, make sure you download all the necessary libraries before you start the programming. The functions used in this program are explained in the downloadable pdf files by clicking on the links below.

Download: UTFT: UTFT

Download: UTFT_Buttons: UTFT_Buttons

Download: UTouch: UTouch



Watch Video Tutorial

Recommended For You

Leave a Reply

%d bloggers like this: