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 / Replies / Hi JulesWhat I have

Hi JulesWhat I have

|

Microcontroller › 8051 › Using multiple inputs on the same port of 8051 › Hi JulesWhat I have

September 22, 2016 at 9:44 am #14148
GANEEV SINGH
Participant

Hi Jules

What I have interpreted from your doubt is that you want to dedicate only one PORT for interfacing light,proximity and temperature sensors, also you might be using ADC concept with this, is it so? If yes, then of course you can do this. There are many ways of performing the same but the main idea lies in multiplexing these sensors. You could use a multiplexer (4:1 in this case) or make your own using BJTs, I would suggest you the former. It is simple, the output pin of multiplexer will be connected to the input pin of ADC IC like ADC0804/08/09. The three sensors will be connected to individual input pins of the multiplexer. You'll also need some I/O pins as selection pins for multiplexing.

This might help.

RSS Recent Posts

  • analog logic of shmidt trigger bjt circuit February 15, 2026
  • Convenient audio FFT module? February 15, 2026
  • CR2/CR123A Batteries In Projects February 15, 2026
  • Harman Kardon radio module BMW noise February 15, 2026
  • RC Electronic Speed Control Capacitors February 15, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 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