EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home

Harsh Pandya

  • Profile
  • Topics Started
  • Replies Created
  • Engagements

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 10, 2012 at 3:00 am in reply to: serial communication between pc and AT89c52 #7694
    Harsh Pandya
    Participant

     

     Serial Communication

    UART (Universal Asynchronous Receiver Transmitter) or USART (Universal Synchronous Asynchronous Receiver Transmitter) are one of the basic interface which you will find in almost all the controllers available in the market till date. This interface provides a cost effective simple and reliable communication between one controller to another controller or between a controller and PC.

     

     RS-232 Basics

    RS-232 (Recommended Standard 232) is a standard for serial binary data signals connecting between a DTE (Data terminal equipment) and a DCE (Data Circuit-terminating Equipment).

     

     

     

     

     

    RS-232 Level Converters
    Usually all the digial ICs works on TTL or CMOS voltage levels which cannot be used to communicate over RS-232 protocol. So a voltage or level converter is needed which can convert TTL to RS232 and RS232 to TTL voltage levels. The most commonly used RS-232 level converter is MAX232. This IC includes charge pump which can generate RS232 voltage levels (-10V and +10V) from 5V power supply. It also includes two receiver and two transmitters and is capable of full-duplex UART/USART communication.

    MAX232 Pin description
    MAX232 Pin Description
    MAX232 typical circuit
    MAX232 Typical Connection Circuit

    FIG 3.28 MAX232

     

     MAX232 Interfacing with Microcontrollers

    To communicate over UART or USART, we just need three basic signals which are namely, RXD (receive), TXD (transmit), GND (common ground). So to interface MAX232 with any microcontroller (AVR, ARM, 8051, PIC etc..) we just need the basic signals. A simple schematic diagram of connections between a microcontroller and MAX232 is shown below

    MAX232 connections with microcontroller

     

    May 10, 2012 at 3:00 am in reply to: serial communication between pc and AT89c52 #7713
    Harsh Pandya
    Participant

     

     Serial Communication

    UART (Universal Asynchronous Receiver Transmitter) or USART (Universal Synchronous Asynchronous Receiver Transmitter) are one of the basic interface which you will find in almost all the controllers available in the market till date. This interface provides a cost effective simple and reliable communication between one controller to another controller or between a controller and PC.

     

     RS-232 Basics

    RS-232 (Recommended Standard 232) is a standard for serial binary data signals connecting between a DTE (Data terminal equipment) and a DCE (Data Circuit-terminating Equipment).

     

     

     

     

     

    RS-232 Level Converters
    Usually all the digial ICs works on TTL or CMOS voltage levels which cannot be used to communicate over RS-232 protocol. So a voltage or level converter is needed which can convert TTL to RS232 and RS232 to TTL voltage levels. The most commonly used RS-232 level converter is MAX232. This IC includes charge pump which can generate RS232 voltage levels (-10V and +10V) from 5V power supply. It also includes two receiver and two transmitters and is capable of full-duplex UART/USART communication.

    MAX232 Pin description
    MAX232 Pin Description
    MAX232 typical circuit
    MAX232 Typical Connection Circuit

    FIG 3.28 MAX232

     

     MAX232 Interfacing with Microcontrollers

    To communicate over UART or USART, we just need three basic signals which are namely, RXD (receive), TXD (transmit), GND (common ground). So to interface MAX232 with any microcontroller (AVR, ARM, 8051, PIC etc..) we just need the basic signals. A simple schematic diagram of connections between a microcontroller and MAX232 is shown below

    MAX232 connections with microcontroller

     

    April 8, 2012 at 3:15 pm in reply to: NEED HELP with Data Acquisition System With LCD 16*2 #7402
    Harsh Pandya
    Participant

    well , have you connected pull-up resistors on port 0 ? because port zero doesnot have an internal pull-up like other 3 ports

    April 3, 2012 at 5:35 am in reply to: AT89C51 START PROBLEM ..PLEASE NEED HELP.. #7385
    Harsh Pandya
    Participant

    Firstly you need to understand , a controller works at faster speed compared to lcd so before initializing LCD you need to keep a delay of min 20ms in controller programming.

     

    Secondly check foll voltages at controller pins :

     

    Vcc – 5V

    ALE – 1.68V

    PIN 18 and 19 – (around) 2.18 to 2.8 V

     

    and then tell me if the problem remains !!!

    April 3, 2012 at 5:28 am in reply to: PROBLEM RELATED TO LCD…… #7384
    Harsh Pandya
    Participant

    This simply means that your controller pins are not properly in contact with the socket (if you are using one)

    April 2, 2012 at 7:03 am in reply to: Need – reg51.h – file #7381
    Harsh Pandya
    Participant

    SOME IDENTIFIERS REDEFINED does not mean that the header file is faulty , it means you have some problem in source code , and even after all you have some problem shift to KEIL uVISION its much better than mikroC

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)

RSS Recent Posts

  • Failure of polypropylene motor-run capacitors June 14, 2025
  • a point I can't understand about the sinc expression June 14, 2025
  • Quick advice on remote car starter? June 14, 2025
  • Wideband matching an electrically short bowtie antenna; 50 ohm, 434 MHz June 14, 2025
  • how can we detect a stack overflow June 14, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise