You are on page 1of 5

2017 2nd IEEE International Conference On Recent Trends in Electronics Information & Communication Technology (RTEICT), May 19-20,

2017, India

DESIGNING HMI USING RX SERIES RX63N


MICROCONTROLLER
Gireesh N P Deepa
Department of Electronics and Instrumentation Engineering, Department of Electronics and Instrumentation Engineering,
gireeshgowdanp@gmail.com rmdeepa@yahoo.com
Abstract— At present days an Electronic system is flooded with convenience, information, and entertainment in a safe and
all types of electronics devices. Most embedded system products seamless fashion. These are among the most popular and
must incorporate an Human Machine Interface (HMI) that highly used functions in the vehicle. These functions provide
enables the electronics in the machine to communicate with users. the greatest opportunity to adopt latest technologies. Finally
Specifically, the HMI receives the instructions and other authors are concluded that, in order to allow future cars to
communications from the people operating the devices and obtain the benefits of internet connections and access to
systems, and it communicates the system status information back remote services, it is important to implement today’s
to them. HMI stands for Human Machine Interface and also technology in the vehicle system.
called as Man Machine Interface (MMI), is where people and
technology meet. This is interface between the operator and
controller. This project involves the design of HMI to control II. PROPOSED SYSTEM
home automation system using RX63N microcontroller, and
relays. The home automation is the next technology trend,
because it gives the user the comfortable life. Project is designed
to control many devices such as fans, lights and TVs. Via relays
are going to control home appliances, and it also uses TFT touch
LCD. Lights, fan and TV options will be displayed on LCD
screen.

Keywords—RX63N microntroller, TFT touch LCD, Relay

I. INTRODUCTION
HMI stands for Human Machine Interface. Earlier HMI
used mechanical switches, push buttons and legacy panels. It
is very complicated to operate any devices, in order to
overcome this problem, a new technology is introduced such
as touch screens and touch panels with color graphical
interfaces (GUI). Christopher martin and Sven savarin
describes that, HMI can be used during the development of
production plants, the resulting engineering data represent the
basis for the development of the corresponding HMI [1]. Figure 1: Proposed system of HMI.
However, this development is usually still performed manually
to a great extent. This paper explains a model based approach
for the integrated design of HMIs for production plants. James A. Resistive touch sensing unit(RTSU)
George Jenner and Luis Mejia’s Alvarez also explains how A resistive touchscreen displays are currently most popular
human machine interface is used in unmanned vehicles, touch screen in the market. A touch or pressure applied to the
developed and operated in various countries around the world, surface of the display by a finger which causes the response in
such as India, Algeria, Brazil, China, Iran and Poland etc [2]. the electrical circuits and tells the device where the user is
An unmanned aerial vehicle, commonly known as a Drone, touched or sensed. Resistive type of touchscreens requires
unmanned Aircraft System. Unmanned vehicles mainly used much more pressure to activate. This touch screen is used in
in sports such as cricket and football etc. The unmanned aerial verity of applications such as laptops, smart phones displays,
vehicles play very important role in cricket. It covers all music players and many more.
people throughout stadium and focuses the cricket players who
are playing in the stadium. Finally authors have concluded B. JPEG Codec (JPEG)
that, the unmanned vehicles can also be implemented to The project incorporates JPEG codec that conforms to the
monitor multiple vehicles. Communication between a vehicle JPEG baseline compression and decompression standard. This
and server is established to monitor vehicles. Marius orfgen provides high speed compression of image data and high-
and Gerrit meixner describes the human machine interface speed decoding of JPEG data.
also developed in automotive for connectivity functions that
allows the driver and passengers to interact with the vehicle C. SPI Port
and touch LCD panel [3]. The touch panel is interfaced with SPI stands for serial peripheral interface (Synchronous
the music system inside the car itself. This delivers the serial data) protocol used for communicating between master
978-1-5090-3704-9/17/$31.00 © 2017 IEEE
1049
2017 2nd IEEE International Conference On Recent Trends in Electronics Information & Communication Technology (RTEICT), May 19-20, 2017, India

and slave devices over short distances. Communicating slave human finger and can handle multi touch gestures and
devices such as flash memory, SD card, sensors, RFID and proximity sensing for enhanced usability. This is different than
many more, all use SPI to communicate with microcontroller. other touch screens that rely on pressure from a finger or
stylus to indicate a touch in one location.
D. ExDMA Controller
ExDMA stands for external direct memory access it is L. Relay
used to transfer the data (16bits) to TFT LCD which is present A relay is an electromagnetic switch operated by efficient
in the RAM memory. small electric current that can switch ON or OFF a much
larger electric current. The electromagnet is the heart of the
E. VSync relay. In this project we are using sugar cube relays for
VSync provides synchronization for each frame of data switching purpose. This is high quality single pole double
presented to the panel. Each period of VSync is equivalent in throw (SPDT) requiring a 12V sugar cube relays. By using
time to one complete refresh of the LCD panel. Typical VSync this relays can switch upto high voltage of 240AC, and high
rates range from 30Hz to 80Hz. current devices of 7A. This relay coil is rated up to 14V, with
a minimum switching voltage of 10V.
F. HSync
HSync provides synchronization for each line of data III. INTERFACE WITH RX63N MICROCONTROLLER
presented to the panel. Each period of HSync is equivalent in
time to one complete line on the panel. A. E1 Emulator interface
G. Data Enable
Many panel require an additional signal to frame the valid
data. This enable signal is driven active while valid data is
present on the RGB bus. The LCD Direct drive solution
utilizes a 16bit data bus, the format of the data presented to the
RGB bus. The RGB bus consist of 16bit data which is
R5:G6:B5 (corresponding to D15:D0). The color information
provided by the MCU represents the most significant bit of
color for the channel.
H. Clock
Clock referred to as the Dot clock or Pixel clock, the panel
requires a synchronous clock signal to provide logic edges for
clocking in data. The Red-Green-Blue (RGB) parallel data
should be present on the data bus at the time of each rising Figure 2: Interface diagram of E1 emulator interface.
edge of the clock this provides the color setting for each pixel.
The interface diagram of E1 emulator is as shown in figure
I. ADC 2. It shows the standard architecture format of E1 emulator.
An analog to digital convertor (ADC) this is very useful The program is given as input given to E1 emulator for
feature that converts analog voltage in to a digital value, the programming and the output for debugging the code. The 2V
RX63N controller has 12bit ADC. If the someone have to 4V voltage is given to the emulator. Emulator is used for
pressed on the TFT LCD screen then the ADC will read that at debugging software for Rennes’s microcontroller. It provides
which location they have pressed. all the basic debugging functions while serving as a flash
programmer at the same time. In addition, it incorporates the
J. Device RX63N board
Hot Plugin function.
The RX is the family name and it is a 32 bit
microcontroller developed and manufactured by rennsas B. Touch Panel Interface
electronics. That combines with superior power efficiency and
excellent operation performance. This is one of the popular
families of microcontroller are being used all across the world.
The RX63N has been utilized in a wide number of Touch
screens devices. This microcontroller providers incorporate
touch sensing capabilities in their designs, portable electronics
such as cell phones, media players and gaming devices are
examples of RX63N micro controller based touch screens. It is
also used in automobiles, medical devices and many more.

K. TFT LCD
TFT touch is currently the most popular touch screen option Figure 3: Interface diagram of touch panel.
on the market. TFT touch screens respond to the touch of a
1050
2017 2nd IEEE International Conference On Recent Trends in Electronics Information & Communication Technology (RTEICT), May 19-20, 2017, India

The Interface diagram of touch panel is as shown in the E. LCD Connector Interface
figure 3. It is used for giving input data into the application
and LCD display screen can show the output message. It
means a user can give input or controls the information
processing system through simple or multi touch by touching
the screen with a special style with and one or more fingers by
giving the 3.3v input supply
C. RS232 UART Interface

Figure 6: Pin diagram of LCD connector.

The Interface diagram of LCD connector is as shown in the


figure 6.It is interfaced for connecting TFT LCD display to the
RX63N controller board. After the connection, a user can
operate on the LCD Board. By giving the input like sensing or
pressing on the LCD display screen.
F. TFT LCD Display

Figure 4: Interface diagram of RS232 UART.

RS232 UART is interfaced with RX63N board is as shown


in the figure 4, it is mainly used for transmit and receive the
serial data asynchronously at the baud rate of 9600. While
transmitting data it does not required clock signal to
synchronize the outputs, it adds only start and stop bit to data
packet being transferred, uart converts parallel data into serial
form. It transmits the serial data to the receiving uart, which
then converts the serial data back into parallel data to the Figure 7: Picture of TFT LCD display.
receiving device.
A display technology, TFT stands for Thin Film Transistor
is interfaced in this project, it help us operate any device
D. LCD Backlight Interface
faster, and this is a new type of technology instead of
mechanical switches and push buttons, used to improve the
image quality of an LCD. This is more simple and user
friendly than other devices. Currently this TFT touch screens
are becoming more popular because of reliability and
increases the functionality of the devices. Currently computer
LCD screens are using TFT displays since 2000, older ones
had slower response times, poor color and costlier. Enhance
product with the addition of our 4.3 inch TFT LCD module is
as shown the figure 8. This display module has 480x272 RGB
resolutions. The TFT driver IC is interfaced via 24 bit digital
display data and can support up to 16M colors to showcase
crisp, detailed images and graphics. The 4.3 inch displays
include a variety of technology upgrades such as resistive
touchscreens (single-finger or stylus pressure), capacitive
Figure 5: Interface diagram of LCD backlight. touchscreens (five-finger, multi-gesture) touch technology.
High resolution displays is available with a touch screen panel.
LCD back light is a form of illumination used in LCDs This project is using the resistive touch screen technology.
displays to turning on the LCD device is as shown in the This resistive touch screen is used in variety of applications
figure 5, by providing 5v DC input supply.
1051
2017 2nd IEEE International Conference On Recent Trends in Electronics Information & Communication Technology (RTEICT), May 19-20, 2017, India

such as mobile phones, remote controls, control panels,


laptops and medical devices etc.

IV. HOME AUTOMATION TEST RESULTS

Figure 11: Medical devices (Courtesy by SM Electronics).

Figure 8: Design of home automation (screen 1).

Created the Buttons and named as Hall, Room1 and Room2


are implemented and displayed on the TFT LCD screen is as
shown in the figure8. If we pressing any one of these buttons
the following will be displayed on the next screen is as shown
below figure 9.

Figure 12: Weather monitor (Courtesy by SM Electronics).

Figure10 (Industrial automation), Figure11 (Medical


devices) and Figure12 (Weather monitor) explains the how
Figure 9: Design of home automation (screen 2). HMI can also be customized in industrial automation, medical
Figure 9 recognizes the 4 buttons such as light 1, light 2 devices and weather monitor. Instead of mechanical switches,
TV and Fan are the controlled devices, If we press any of push buttons and legacy panels, a new technology that is TFT
among these buttons as shown in the figure 9, for example if touch screen is implemented in these applications and operates
press Light 1 then the relay gets triggered then Light 1 gets to certain things. It help us operate any device faster, usually
switched on and similarly for rest of the buttons. It avoids the have more simple and more user friendly than other devices.
mechanical switches, push buttons and legacy panels This resistive touch screen is becoming more popular because
of its easy use, this proven reliability, expended functionality
The application of HMI is customized and used in and decreasing cost, it does not required mechanical switches,
industrial automation, medical devices and weather monitor. push buttons and legacy panels. Figure 12 weather monitor
provides the forecasting predictions of future result based on
past and present data for each and every day, figure 11
medical devices used to measure the ECG (human heart beat
value). And figure 10 explains HMI is customized in specific
industrial application to operate any certain things like for
controlling the meter reading and checking the how much
current and voltage is present, locking unlocking certain
functions and many more.
V. ACKNOWLEDGEMENT
Special thanks to Siddaganga Institute of Technology and
SM Electronic Technologies Pvt. Ltd. For their motivation and
invaluable support well through the development of this
Figure 10: Industrial automation (Courtesy by SM Electronics).
.. project. And I thank to my Parents, Brother, Sister and Friends
for their constant encouragement without which this project
would not have been possible.

1052
2017 2nd IEEE International Conference On Recent Trends in Electronics Information & Communication Technology (RTEICT), May 19-20, 2017, India

CONCLUSION
In this paper we have presented The Human Machine
Interface for home automation with Resistive TFT touch LCD
display screen is designed based on RX SERIES RX63N
microcontroller by providing high performance, low power,
reliability and reduces the complexity. RX63N is a RX family
that provides excellent operation performance with superior
power efficiency. The resistive TFT used in very fast and
backlight is very bright compared other capacitive touch
screen, with resistive TFT the HMI has good performance than
already available hmi. HMI consists of a range of applications
in the field of home and building automation, entertainment,
vending machine, medical devices, business and automotive
etc. In home automation we were able to control many devices
such fans, lights by using switches and their range value exists
between around 10 to 15, to perform a specific operation as
per the relay device is connected in the home. In future we can
extend this project to control many electrical devices with
modifications. We can implement surveillance camera system
to see what is going inside the home by sitting in the office or
somewhere.
REFERENCES
[1] Christopher martin and Sven sever, “Development of human machine
interface for production plants” 2015 IEEE 20th conference on emerging
technologies and factory automation (ETFA), pp. 1-6, Year 2015.
[2] James George Jenner, Luis Mejia’s Alvarez “Development of human
machine interface for unmanned aerial vehicles” 2014 international
conference on unmanned aircraft system (ICUAS), pp. 211-221, Year
2014.
[3] Marius orfgen, Gerrit meixner, “HMI can also be developed in the
autimatuive HMI”, pp. 1-3

1053

You might also like