Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how does the output from sensors is sensed by micro controllers

Status
Not open for further replies.

shinysharon

Newbie level 1
Newbie level 1
Joined
Feb 22, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,287
can i know how the micro controllers take the information sensed by an infrared sensor
 

yes dear ...we are all here to share knowledge...

generally micro controller reads input as voltage... what voltage you supply to specific pin of mcu...

and in other sensor you can use ADC pins to take input from the sensors...
 

IR sensor o/p will be digital that is logic 0 or 1 and it will be represented by 0v and 5v. So, when your mcu pins are configured as digital input pin and interfeced with any digital sensor the bits coming into the pin affects the register of that port. If RB0 pin is used for IR input then the 0th bit of the PORTB register is toggled depending on 0v or 5v received. IR burst data is read serially.
 

jayanth.devarayanadurga has explained it above.

You should keep in mind that most IR receivers have a logic 'one' output when idle. So, keep that in mind.

Since the output is either a one or zero, you'll need to be able to read the state off the digital pin.

There will be some sort of timing involved that you must handle. You can do this using software loops and delays or you can use the capture (or similar) module of the microcontroller, if it has one.

The IR signals are 'decoded' according to a specific protocol. Here you can find information on the most common protocols and on IR in general: https://www.sbprojects.com/knowledge/ir/index.php

Hope this helps.
Tahmid.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top