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 / How to interface MOC7811 sensor with 8051 Microcntroller

How to interface MOC7811 sensor with 8051 Microcntroller

|

Microcontroller › 8051 › How to interface MOC7811 sensor with 8051 Microcntroller

  • This topic has 2 replies, 3 voices, and was last updated 8 years, 8 months ago by Ashutosh Bhatt.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 9, 2011 at 4:42 pm #4741
    Vishal
    Participant

     

    Hello Everybody,

     

    I am new in this field kindly help me regarding "How to interface MOC7811 sensor with 8051 Microcntroller"?

     

    I have made following connection but before making connection with Microcontroller I am able to see the sensor output (+5V) pulse, but once I connect the sensor output to controller no +5V pulse is obtained and not sense by controller. Please correct me in this case.

     

     

    Thanks,

    Vishal

    October 5, 2016 at 4:43 am #14181
    GANEEV SINGH
    Participant

    Hi Vishal

    Make connections in the following manner: Short both these pins, anode of RX (emmiter) and cathode of TX, and then connect them to the GND pin of microcontroller. Also give +5 V to TX's anode using a current limiting resistor(1K would be fine) in series. Pull-up the RX's cathode (collector) using a 10K. This cathode-10K junction would now give you the analog voltage that you'll need to work with. This is so because the RX part behaves like a 3 pin NPN transistor with its emmiter and collector pins as told above while the base pin is the IR light it receives from the TX part.

    Hope this helps

    Good luck :)

    October 5, 2016 at 6:49 pm #14182
    Ashutosh Bhatt
    Participant

    how you connect sensor with micro controller?

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

RSS Recent Posts

  • Adhesive Defibrillator Pad Cable June 25, 2025
  • Epson crystal oscillators June 25, 2025
  • Simple LED Analog Clock Idea June 24, 2025
  • Fun with AI and swordfish basic June 24, 2025
  • Microinverters and storeage batteries? June 23, 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