Thursday, December 26, 2013

Interfacing DS18s20 with AT89s52


In the previous post, we interfaced an analog temperature sensor i,e LM35 .Today, its time to interface DS18s20 with AT89s52 ,a microcontroller from 8051 family which is an digital temperature sensor of 9 bit resolution.

Thursday, December 12, 2013

Interfacing LM35 with AT89s52

   Today, we are going to interface LM35 temperature sensor with AT89s52 microcontroller. As most of all already know that AT89s52 is a microcontroller from 8051 microcontroller family and it has no any feature of internally built analog to digital converter and since LM35 being an anlog sensor, we will require a suitable means of converting the analog signal obtained from LM35 to a discrete time signal. So, by now you must have already known that interfacing LM35 requires knowledge of interfacing analog to digital converter with AT89s52. If you donot have knowledge on interfacing analog to digital converter with AT89s52, you are recommended to read this post Interfacing ADC with AT89s52 first.

Sunday, December 1, 2013

Interfacing ADC0804 with AT89s52

    Today in this tutorial we will learn to interface ADC0804 with AT89s52 (a microcontroller from 8051 family). ADC0804 uses successive approximation for analog to digital conversion. If you are interested to know how successive approximation works or if you don't know about working principle of successive approximation method of conversion from analog to digital signal,I recommend you to read the post on successive approximation ADC.

Friday, November 15, 2013

Successive Approximation ADC

    Today in this paper we will be understanding how an successive approximation ADC works. We are learning this basic working principle because sooner we will be dealing on how to interface an analog to digital converter with AT89s52 microcontroller. And because most of analog to digital converter uses successive approximation analog to digital conversion method for conversion of analog signal to digital signal it is important to understand successive approximation method of digital conversion before interfacing an analog to digital converter with any microcontrollers.

Wednesday, November 6, 2013

HM-TR interfacing with AT89s52

HM-TR 434 is a wireless radio frequency module with default configuration(9600,8,N,1). In this post i am going to give a tutorial on interfacing HM-TR with AT89S52 microcontroller.But first you are encouraged to read this post UART in AT89s52 / Serial communication using AT89s52.The pin configuration of this module is shown below.

Saturday, September 21, 2013

GPS interfacing with AT89s52

   Today, I am going to provide a brief description on interfacing GPS receiver with AT89s52( a microcontroller from 8051 family). The GPS receiver used is GT3221R. The specification of this GPS receiver (GT3221R) can be found in the manufacturers website.Before we go to this post first it is recommended to read a post on serial communication using AT89s52. First, I will be telling how this GPS receiver works and then we will go in the process of interfacing it with AT89s52.

Thursday, August 15, 2013

PWM using AT89s52

  Today,we are  learning to implement PWM (pulse width modulation) using AT89s52, a microcontroller from 8051 family. Pulse Width Modulation can be used to vary the speed of a DC motor varying the width of the pulse provided to motors.Increasing the width of pulse provided to the motor increases the speed of the motor while decreasing the width of the pulse supplied to the motor decreases the speed of the motor.

Wednesday, July 31, 2013

Interfacing PIR sensor with AT89s52

    Today,I am going to tell you about the technique of interfacing Passive Infrared Sensor (PIR) with AT89s52 MCU (a microcontroller from 8051 family) with a detailed description about this sensor. This is an easily available sensor and figure of this sensor

Saturday, July 27, 2013

LCD interfacing in 4 bit mode using AT89s52

   Today I am going to make you learn to interface LCD(based on HD44780 LCD controller) in four bit mode using AT89s52 MCU. First, I will tell some basic knowledge about 16*2 LCD, then I will go with all the process required while interfacing this device with MCU. This paper will provide all the knowledge required like sending command , sending data which is required to display and reading data from display

Friday, July 26, 2013

Reading Data From 16*2 LCD using AT89s52

     In this paper I am going to show the technique of reading data from HD44780 based LCD in 8 bit mode using AT89s52 microcontroller.

figure a:- Pin Layout of 16*2 LCD
The pin configuration of LCD is shown in figure a.

Eight data pins D0-D7 are connected with any one port of AT89s52 microcontroller. Three control pins of LCD i,e RS, RW and EN are connected to any three pins of MCU(Microcontroller unit). In this example, I am connecting the data pins of LCD with PORT2 of MCU and the control pins are connected with first three pins of PORT1 of MCU.