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 / Topics / May anyone help me to interface rs232 with 8051 to recieve data from PC and to again send it to PC

May anyone help me to interface rs232 with 8051 to recieve data from PC and to again send it to PC

|

Microcontroller › 8051 › May anyone help me to interface rs232 with 8051 to recieve data from PC and to again send it to PC

  • This topic has 6 replies, 4 voices, and was last updated 14 years, 1 month ago by romel emperado.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • April 30, 2011 at 1:09 pm #895
    Amit Kumar
    Participant

    I just copied and pasted the programe that is given in engineer garage site to interface rs232 with pc. I also configured hyperterminal as that is given in the video. But as i press small letters from the keyboard, capital letters are not getting on the hyperterminal. Only the small letters that i pressing on the keyboard are displaying on the hyperterminal window. Capital letters are not displaying.

     

    May anyone help me.

    May 1, 2011 at 10:30 pm #6069
    romel emperado
    Participant

    are you doing this in real hardware of in simulation?

    May 5, 2011 at 6:50 pm #6084
    Amit Kumar
    Participant

    Yes, i am trying to do this practical on hardware. I made a circuit on breadboard and i am tested that circuit. But  whenever i wrote programmes to send, that programe worked. But when i used the programe that is written on the site, project did not work.  

    May 5, 2011 at 7:24 pm #6085
    SaLMAN Ahmed Khan
    Participant

    hello amit

     

    are you doing in assembly language plz paste the code here there may be a bug……

     

     

    May 6, 2011 at 9:51 am #6094
    dagakshay
    Participant

    hi amit send the link which you following…

    May 10, 2011 at 5:16 am #6125
    Amit Kumar
    Participant

    http://www.engineersgarage.com/microcontroller/8051projects/interface-serialport-RS232-AT89C51-circuit

     

    Dear sir,

     

    I am sending link for RS232 interfacing.

    May 11, 2011 at 2:36 pm #6156
    romel emperado
    Participant
    void recieve()  //Function to receive serial data
    {
    unsigned char value;
    while(RI==0);
    SBUF=value;
    P1=SBUF;
    RI=0;
    }

    void transmit() // Funtion to transmit serial data
    {
    P2=P1-32;
    SBUF=P2;
    while(TI==0);
    TI=0;
    SBUF=P1;
    while(TI==0);
    TI=0;
    }





     

     

    actually the description of this project is not correct...
    the authot must edit his post..


    check the code above there is no fucntion to
    convert small letters to capital its only receive and transmit function.





     

     

    you can make your own function to do that..

     

    study the ASCII equivalents.. here’s the example you want

     

     

    A = 65 in ASCII

    a = 97 in ASCII

     

    actually you just need to add 32H to have the lowe case equivalent or vice versa..

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Can I make two inputs from one?? June 21, 2025
  • Beats Solo 4 June 21, 2025
  • Behlke swich June 21, 2025
  • Is AI making embedded software developers more productive? June 21, 2025
  • Simple LED Analog Clock Idea June 21, 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