Step 2Connect the sensors
So if your touch sensor is 'normally open' (like the tongue and belly sensor on the furby) then you'll want to program your PIC to wait for a high on the IO line (a high signifies the touch sensor has been touched). If you touch sensor is 'normally closed' (like the springy bump sensors I made and will describe later), do the oposite obviously.
To connect a light sensor (a light sensors resistance changes according to the amount of light shining on it) use the second circuit. Connect it to the analog to digital converter (ADC) pin of your PIC. Mess with the potentiometer setting to get the voltage to a range that works with your program.
To connect a small speaker (like the 32ohm one on the furby) to the PIC use either the third or fourth circuit. I used the capacitor circuit initially, and it worked great, til I added motors to the PIC (later step), then for some reason the PIC was having trouble supplying the current needed for the speaker. So the fourth circuit (the one with the transistor) would be better to use cause it wouldn't tax the PIC's power output capabilities.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|



















































