Posts

How to interface 16x2 LCD with Raspberry Pi using GPIO & Python

Image
Components Required: 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 shieldCircuit 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.


Working video:
Code: 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 Pri…

Real Time Clock(How to interface DS1307 RTC to AT89S52 microcontroller)

Image
Construction


          The circuit is designed in two separate parts. Fig. 1 Shows the RTC DS 1307 IC connection. This connection is done by using zero PCB. The connection is the same as shown in Fig. 2.
          I used AT89s52 Development Board which I designed a few months ago using Screen print technique for PCB design. The SCL pin of RTC is connected to pin  P1.1 and SDA  pin is connected to pin P1.0 of 89s52 microcontroller. LCD 16x2 is interfaced in the following way.

PIN OF LCD       PIN OF AT89s52
           D7          -    P3.7
           D6          -    P3.6
           D5          -    P3.5
           D4          -    P3.4
           RS          -   P1. 6
           RW         -   P1. 5
           E            -    P1.4

Working Video



Code The program is designed in Keil uvision 5 software. Separate library files are used for each interface. please go through the readme file before proceeding further. The description of each function is also available in this attachment Cl…

Real Time Clock(How to interface DS1307 RTC to pic18f452 microcontroller)

Image
Welcome to you,

              Here I am designed a Real Time Clock using a PIC18F452 microcontroller.
I will explain how to design the Real Time Clock using PIC microcontroller.
RTC Using PIC18F452 PIC is advance microcontroller series. In PIC microcontroller I2C(Inter-Integrated Circuit) Bus is available on board. RTC used in this project is DS1307 which needed the I2C interface to read and write data from and to RTC. Because I2C bus is on board in PIC microcontroller Interfacing becomes easy. There will no need to write separate code for the I2C bus. 
Construction
The circuit is designed in two separate parts. Fig. 1 Shows the RTC DS 1307 IC connection. This connection is done by using zero PCB. The connection is the same as shown in Fig. 3. I used the PIC18F452 Development Board which I designed a few months ago using Screen print technique for PCB design. The SCL pin of RTC is connected to pin  18 and SDA  pin is connected to pin 23 of PIC microcontroller. LCD 16x2 is interfaced i…

How to Build Electronics calculator using Arduino uno and TFT Display Shield

Image
Electronics calculator using Arduino UNO and TFT Display Shield Hello  friends,
                     Today I have something new to show you. As earlier mention in the title, I designed an ELECTRONIC  CALCULATOR  using Arduino UNO and 2.4" TFT Lcd Display Shield.
Construction                        The system is built around Arduino UNO r3 microcontroller and 2.4" TFT LCD shield. The shield is designed in such a way that no connection error will occur. Arduino UNO can be powered 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 an 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…

USB AVR & AT89Sxx ISP Programmer (usbasp)

Image
Welcome to you, This is shubham and today ,I have something special for you. Yes as you can saw its a USBASP programmer a tool for all beginners of embedded system. This programmer is most commonly used to program micro-controller. This circuit is build around ATmega8a microcontroller. It can be use for both 89xxx series as well as AVR microcontrollers. A most important feature of this program is IN-SYSTEM PROGRAMMING(ISP). Yes as name implies it is used to program any controller on given system. There is no need to remove chip from system. FRC cable is used to connect target microcontroller to this programmer. For more detail about this programmer please download the following attachment.
click here for drivers and details


Thank you

samsung c3303 battery connector jumper solution

Image
All the three terminals are connected to pcb. so make the jumper as shown in above diagram. I am sure you will do this. Its very easy and this will also solve auto restart problem during start up.