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 / Interfacing two serial devices with AT89S52

Interfacing two serial devices with AT89S52

|

Microcontroller › 8051 › Interfacing two serial devices with AT89S52

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 3 months ago by SHAH DISHANT H..
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 22, 2014 at 5:14 pm #2884
    Manu
    Participant

    I have two serial devices SM630 and MAX232. I have to interface these two with MCU if directly interfaced data from both devices may mixup and when MCU is communicating with SM630 at this time it is better to switch off communication with MAX232 and vice versa how to do this please give a solution.

    February 23, 2014 at 4:59 am #11084
    SHAH DISHANT H.
    Participant

    Hi,

     

    You have two options.

     

    1. RELAY

     

    Connect controller data bus on common point of relay output and pins of ur modules on NO and NC point. By switching relay, you can select device to communicate with from controller driven relay.

     

    2. MUX/DEMUX

     

    When you have to use more than 2 devices on UART, you can use MUX and by selecting pins of MUX, you can use those on single UART.

     

    I hope this solves your query.

     

    Fell free to write back if required.

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

RSS Recent Posts

  • Back to the old BASIC days May 24, 2025
  • Fluke 123 scopemeter not reading ANY voltage, please help May 24, 2025
  • Capacitive Touch On The Profile May 24, 2025
  • Cpu coin acceptor and zero delay arcade board. May 24, 2025
  • Actin group needed for effective PCB software tutorials May 24, 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