Showing posts with label Microcontroller51. Show all posts
Showing posts with label Microcontroller51. Show all posts

Saturday, February 4, 2012

Schematic MAX 232 Interfacing with Microcontroller 8052

MAX232 is used to interface the microcontroller to standard RS-232 port of personal computer. It is a signal level converter necessary for conversion between TTL and RS-232 standards.

MAX 232 Interfacing with Microcontroller 8052, how to develp circuit diagram of microcontroller and RS-232


PIN configuration of IC MAX232, function of PINs of RS-232 serial communication

The MAX232 requires 5 external 10uF capacitors. These are used by the internal charge pump to create +10 volts and -10 volts. The MAX232 includes 2 receivers and 2 transmitters so two serial ports can be used with a single chip. We will only use one transmitter for this project. The only connection that must be made to the 8052 is one jumper from pin 3 of the 8052 to pin 11 of the MAX232.
The circuit diagram shown below illustrates the connection of RS232 with microcontroller and serial port DB9 connector.Data is transmitted and received on pins 2 and 3 respectively. Data Set Ready (DSR) is an indication from the Data Set (i.e., the modem or DSU/CSU) that it is on. Similarly, DTR indicates to the Data Set that the DTE is on. Data Carrier Detect (DCD) indicates that a good carrier is being received from the remote modem.

Pins 4 RTS (Request To Send - from the transmitting computer) and 5 CTS (Clear To Send - from the Data set) are used to control. In most Asynchronous situations, RTS and CTS are constantly on throughout the communication session. However where the DTE is connected to a multipoint line, RTS is used to turn carrier on the modem on and off. On a multipoint line, it's imperative that only one station is transmitting at a time (because they share the return phone pair). When a station wants to transmit, it raises RTS. The modem turns on carrier, typically waits a few milliseconds for carrier to stabilize, and then raises CTS. The DTE transmits when it sees CTS up. When the station has finished its transmission, it drops RTS and the modem drops CTS and carrier together.

Clock signals (pins 15, 17, & 24) are only used for synchronous communications. The modem or DSU extracts the clock from the data stream and provides a steady clock signal to the DTE. Note that the transmit and receive clock signals do not have to be the same, or even at the same baud rate.

Note: Transmit and receive leads (2 or 3) can be reversed depending on the use of the equipment - DCE Data Communications Equipment or a DTE Data Terminal Equipment.

CTS Clear To Send
DCD Data Carrier Detected (Tone from a modem)
DCE Data Communications Equipment eg. modem
DSR Data Set Ready
DSRS Data Signal Rate Selector (Not commonly used)
DTE Data Terminal Equipment eg. computer, printer
DTR Data Terminal Ready
FG Frame Ground (screen or chassis)
NC No Connection
RCk Receiver (external) Clock input
RI Ring Indicator (ringing tone detected)
RTS Request To Send
RxD Received Data
SG Signal Ground
SCTS Secondary Clear To Send
SDCD Secondary Data Carrier Detected (Tone from a modem)
SRTS Secondary Request To Send
SRxD Secondary Received Data
STxD Secondary Transmitted Data
TxD Transmitted Data
The RS232 connector was originally developed to use 25 pins. In this DB25 connector pinout provisions were made for a secondary serial RS232 communication channel.
Tags:-
MAX 232 Interfacing with Microcontroller 8052, PIN configuration of MAX232, microcontroller 8052 and serial communication, Microcontroller51, circuit diagram of serial communication via rs232,Serial Port Pinout, USB communication,messages through RS232 Cable, wiring the RS232 9 Pin, how to interface RS232 and Data Interfaces with microcontroller,RS232 serial connector pin assignment ,RS232 DB9 to DB25 converter ,RS232 serial loopback test plugs ,RS232 null modem cables , monitor cable ,Serial printer cables ,Yost RS232 on RJ45 standard RS232 support,USB to RS232 converter,Use tan delta measurement to confirm reliability of your cables,Connect USB Printer to PC Parallel Port with LPT2USB Adapter,Virtual port COM, Ethernet 10/100 Rail DIN, Isolated, Industrial Use,how to use the ic RS232, converters from RS232 to RS485, formation of RS 232 Cable, connector RS232 a RJ45,rs-232 pinout,circuit diagram of rs-232c,connector rj-45,serial communication based on rs-485,RS-232 is a standard for communication between devices, such as a modem and computer.Interfacing The Serial / RS-232 PortDetailed explanations on interfacing the serial port.RS232: RS232 Connector wiring RS232 configuration - diagrams of PC connectors for conection of RS232 devices, with and without handshaking. RS232 Specifications and standardPractical discussion of the RS232 standard and its specifications RS232 serial cable pinout information RS232 serial cables and adapters. Pinout and wiring layout for many situations. DB9 to DB25 conversion and null modem wiring diagrams. microcontroller to pc interaction using vb gui application control projects with micro voltmeter using 89c51 with lcd display with circuit diagrams
read more "Schematic MAX 232 Interfacing with Microcontroller 8052"

Tuesday, November 29, 2011

Schematic Humidity Sensing and Digital Clock Employing Memory Mapping

Humidity Sensing and Digital Clock Employing Memory Mapping

As the name of the project shows, here we are going to discuss three things togerther,

1. Measuring Humidity, using Humidity sensors, Interfacing of Humidity sensor with microcontroller 8051
2. Developement of digital clock using microcontroller 8051
3. Understanding the memory Mapping of microcontroller 8051

So here is

Introduction of the Project:-

The main focus of this project is to implement the methods to obtain the data from the low voltage operated sensors and their digital interface to microcontroller or microprocessor, a part from this the technique of memory mapping is also implemented along with the serial interface for both transmission and reception with hyper terminal.


The input to this project is a time varying voltage from sensor calibrated by the ADC as +10 to –10 volts. The output is the actuation of the alarm after every 1 hour also it can be made to alarm when the humidity exceeds some threshold value.

The serial communication techniques are also a part of this project, when the system is booted the initial messages from the controller is transmitted to the PC, and can be viewed on the hyper terminal and then user update the system by sending time from the hyper terminal, hence we have implemented both transmission and reception.

Humidity Sensing and Digital Clock Employing Memory Mapping

Table of Contents

1 Objective of the project based on microcontroller 8051
2 Implementation Details of Humidity sensing project
2.1 Humidity Sensors
2.2 Humidity Transducers or Humidity Transmitters
2.3 Humidity Display and transducer consideration
2.4 Selection of Humidity Sensor
3 LCD Overview (Liquid crystal display)
3.1 Function Description of LCD
3.1.1 Registers of LCD
3.1.2 Busy Flag (BF) of LCD
3.1.3 Address Counter (AC) of LCD
3.1.4 Initializing by Internal Reset Circuit of LCD
3.1.5 Pin Assighnment of LCD
3.1.6 Data Write into LCD
3.1.7 Assembly Language program for LCD code
4  MAX 232 serial communication of microcontroller and PC
4.1 DB9 connector used for serial data communication and RS232 cable
4.2 Testing Circuit of humidity sensing project
5 ADC0804 introduction and features
5.1 Interfacing the ADC0804 to the AT89C51
6 DAC0800 introduction

7. 82C55 PROGRAMMABLE PERIPHERAL INTERFACE
8. Circuit Diagram
9. Code (program written in C51 for microcontroller 8051)

After going through this project or tutorial of 8051 you would be able to do following tasks.

1. You would have idea of hardware and software of the microcontroller 8051.
2. you will come to know the usuage of microcontroller ATMEL AT89c51 or AT89s51.
3. You will get information about the working of different general purpose components and their usuage along together to make some useful project or application based on microcontroller 8051.
4. The function and features of ADC0804, DAC0800 are discussed, you would come to know how these components can be interfaced with microcontroller.
5. LCD is discussed in detail so, after going through this project you would feel easy to work with LCD.
6. You would be able to interface the LCD with Microcontroller 8051.
7. Humidity sensors are also discussed here in some detail, so you would be able to handle these sensors with now fear.
digital humidity controller and sensor lesson on triacs ti 8051 microcontroller development solenoid lcd humidity transducer for high temp ovens how to program ir sensor in assembly language humidity sensing dsp embedded keil analog digita converter program affordable female pelvic ultrasound wiring humidity switch for motors application based on 8051 in industry
read more "Schematic Humidity Sensing and Digital Clock Employing Memory Mapping"