Run out of pins on your PIC chip?
I remember when I was building my line following robot that I ran out of output pins. I was using two sensors as inputs, and just didn’t have enough output pins left to control the motors the way that I wanted to. Here is an article on how to make an external multiplexor that will allow you to have more inputs.
…This device was created to allow more analog sensors to be added to a robot. It is simply a 8 port switcher for analog or digital signals. The device is controled by a PIC 12F675 microcontroler, and gives eight analoge outputs from one analoge input, and one digital input….
This link was submitted by Richard from rmcybernetics
[Link]
One Response to “Run out of pins on your PIC chip?”
Leave a Reply



Another way to add digital outputs to a PIC is to use the PWM command (pulse width modulation). this, used with a cap and resister, uses a pulsating digital out to output a varying voltage. this then can be plugged into an ADC to give you as many digital outputs as you have resolution for.