• 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.

Which PIC is right for me?

Not open for further replies.


New Member
Thanks for all the responses to my previous question.

I have a circuit that basically has 5 inputs, which have to
be periodically polled and the on/off nature recorded to
a serial eeprom.

Currently, I am using a 16F628A, but I am wondering
whether it would be possible to downgrade to an 8 pin

I use 2 lines to connect to the serial eeprom.

Since 5 + 2 is greater than the # of I/O lines on an 8 pin
device, is it easy to make one pin bidirectional? I am
thinking that one pin could do double duty, but since
all I did was cut and paste the code to interface to the
serial eeprom from a website, I'm not quie sure how to do it

Thank you.

Nigel Goodwin

Super Moderator
Most Helpful Member
If you really want to move to an 8 pin device, you could do it very simply using a 12F675. This has internal analogue to digital converters, you could use the 5 buttons to switch different value resistors feeding a single analogue input pin, and two digital pins for the EEPROM.

This would only use three of the available pins.
Not open for further replies.

Latest threads

EE World Online Articles