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 to connect a 24V photocell to a microcontroller input?

Status
Not open for further replies.

1icarus1

Junior Member level 3
Joined
Aug 1, 2007
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,526
photocell and micro

Hi there,

How would you connect a comercial 24V npn photocell to a microcontroller input (Vcc = 5V). Also, would you debounce the signal in order to avoid the very fast noise pulses and also to have a fast enough system.

Does anybody have the experience on photocells?


Thanks,
Michael


Note: I am not talking about components as a phototransistor, photodiode or photoresistance. I am talking about automation components known as intermatic photocells (if I am right).
 

Re: photocell and micro

Hi,
Attenuate the voltage using two resistors and connect to Micro. Is bouncing specified? For high frequency noise, if any, you could use a small capacitive filter.
Regards,
Laktronics
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top