Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

Project ON cash register prototype hardware design

USING Arduino atmeg2560 microcontroller

BY:
TARIKU MANTAFO

MILLION TESHOME
DEMELASH BEHRU
block diagram of proposed cash register
Hardware (Components) required
 Arduino mega
 Switch
 Light-E mitting Diode (LEDS)
 5V and 9v regulated power supply
 Main and customer Lcd
 RS-232C serial communication
 Thermal printer
 6*5 matrix keypad
 Buzzer
Arduino mega
How Does It Work?
 This is the body and the brain of our project. We use Arduino to receive
signals, interpret them and control all the components in our project.
 Arduino is a tool for making smart devices that can sense and control.
 The physical world Arduino is an open-source electronics prototyping platform
based on flexible, easy-to-use hardware and software.
 Arduino microcontroller is programmed using: Arduino programming language
(based on Wiring—C libraries) Arduino development environment (based on
Processing), Arduino integrated development environment (IDE
Switch

How Does It Work?


 A simple on-off switch (SPST) Single Pole, Single Throw
 This type can be used to switch the power supply to a circuit.
RS-232C serial communication
 is serial input/output.
 it allows us to send/receive any data we need from our microcontroller to a
computer's serial port. These two devices are compatible from a software
perspective,
RS-232C
Atmeg
computer Serial RS-232 level MAX-232 IC TTL level microcontr
communication oller
The male sockets are used on the DTE (Data Terminal Equipment ) or PC side.
The female sockets are on the DCE (Data Communication Equipment ) or
microcontroller side .

pins RS-232 function purpose

3 Transmit data(TD) Carries data from DTE to DCE

2 Receive data(RD) Carries data from DCE to DTE

7 Request to send(RTS) DTE requests DCE to prepare to


receive data

8 Clear to send(CTS) Indicates DCE is ready accept data

6 DCE ready(DSR) DCE is ready to receive commands or


data

1 Received Line Detector(DCD) DCE is connected to the line

4 DTE ready(DTR) Indicates presence of DTE to DCE

9 Ring indicator(RI) DCE has detected and incoming ring


signal on the line

5 GND Signal ground


 Most microcontrollers these days have built in UARTs (universally asynchronous
receiver/transmitter) that can be used to receive and transmit data serially.
 This method of serial communication is sometimes referred to as TTL serial (transistor-
transistor logic).
 Serial communication at a TTL level will always remain between the limits of 0V and
Vcc, which is often 5V or 3.3V. A logic high ('1') is represented by Vcc, while a logic
low ('0') is 0V.
 RS-232 signals are similar to your microcontroller's serial signals in that they transmit
one bit at a time, at a specific baud rate
 both a TTL and RS-232 signal sending binary data between two devices
 the problem lies in interfacing these two signals.
 To connect these two ports you not only have to invert the signals, but you also
have to deal with regulating the potentially harmful RS-232 voltages to something
that won't destroy a microcontroller's serial pins.
 There are a handful of solutions to this problem of voltage converting and
inverting.
 plugging a MAX-232 in between the two devices:
our RS-232 Shifter, use transistors or inverters to flip the signals, and charge
pumps to get the voltages high enough to be RS-232 compliant:
Next we come up with simulated circuit and Firmware Source
Code

THANK YOU FOR YOUR ATTENTION

You might also like