Electronics calculator using Arduino uno and TFT Display Shield
Today i have something new to show you. As earlier mention in the title i designed a ELECTRONIC CALCULATOR using Arduino uno and 2.4" TFT Lcd Display Shield. Construction
The system is build around arduino uno r3 microcontroller and 2.4" tft lcd shield. The shield is designed in such way that no connection error will occur. Arduino uno can be powers by 9v or 12v adapted or USB cable. on board 3.3v regulator is available on LCD shield. LCD shield gets 5v supply from arduino and convert it into 3.3v using regulator ic 1117-3.3. further this supply is given to the LCD. LCD consist of 2.4" resistive touch pad which use as input device for the system.The LCD is interfaced to arduino with 8 bit data bus and 5 bit control bus. this control bus is connect to 5 analg pins of arduino and data bus is connected to digital i/o pins. Touch pad is also interface…
Here you need following components to complete the task. Raspberry pipower supply adapter for Raspberry pi16x2 lcd displaypotentiometer 10kconnecting wiresbreak board or any 16x2 display shield
Circuit connections Connections are shown in this image. But its not mandatory to use this GPIO's. You can use any GPIO for connect the LCD. But you have to mention same GPIO's in Programming. variable resistor is connected to adjust contrast of the display. Display is powered from Raspberry pi. R/W pin is connected to ground because i am not performing any read operation on display.
I designed an display library namely lcd.py In this library i write some functions to which can be called by user. In order to drive lcd it is mandatory to include this library in your code. More details about library is available in library.
First of all you have to execute begin() function and pass the pins which you are going to use for interface display.
Here Print() fun…