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.

Opto-interuptor (from mouse) to drive a PIC input line

Status
Not open for further replies.

Err404

Junior Member level 1
Junior Member level 1
Joined
Mar 20, 2011
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
London
Activity points
1,429
What if any amplification/conditioning will I need before the PIC (PIC10f) to detect the broken-pulse from the slotted wheel in a mouse?
 

You should expect the sensor to be almost open circuit when shaded from IR and less than 0.6V when illuminated. All you need is a pull-up resistor (suggest 10K) to ensure the input can rise to supply voltage, it can then be connected directly to the PIC input pin. If interference is a problem, try a capacitor from the output to ground. I suggest a starting value of 1nF. Larger values might help but will also make the circuit less responsive to fast pulses.

Brian.
 
  • Like
Reactions: Err404

    Err404

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top