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.

pic16f84 i/o port doubt

Status
Not open for further replies.

mihir08

Member level 4
Joined
Dec 28, 2009
Messages
70
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,288
Location
India
Activity points
1,787
im making a line folllower with pic16f84a
i am using port b as i/p lines from sensors . i am using portb.0 to portb.4 .
i wanted to know if the remaining lines are open , are they considerd to be at logic 0 .
 

You can turn on the internal pull up resistors, then they will read as logic 1.
It's not good to have unconnected inputs, their state is unknown and they can oscillate.
Another solution is to configure them as outputs and set them to 0.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top