Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Acceptable range for I/O on PIC16F877A

Status
Not open for further replies.

Shipton

New Member
Hi there, if I have a sensor that produces 0V LO and 2.65V HI, is that valid for use on the I/O pins of a PIC16F877A? I looked through the datasheet but can't seem to find this anywhere.
 

kchriste

New Member
Forum Supporter
It depends on the input and the supply voltage of the PIC.
For 4.5V ≤ VDD ≤ 5.5V:
Some inputs use TTL levels and for them, anything higher than 2V is considered a "high" Anything less than 0.8V is a low.
Other inputs are Schmitt Trigger types and for those a high would be 4V (Vdd * 0.8 = 4V) and a low 1V (Vdd * 0.2 = 1V) if Vdd = 5V.
You'll find this info under ELECTRICAL CHARACTERISTICS in the datasheet.
 
Last edited:
Status
Not open for further replies.

Latest threads

Top