Most pic chips are equiped with multiple Analog to Digital channels. This lets us monitor multiple voltages values if we want to. The total amount of channels sampled will depend on different factors like how many channels the chip has. Channels are sampled one at a time so the more voltages you monitor, the less samples per second you get.
How the Analog to Digital Converter works
The pic chip A/D Converter works by comparing the voltage you're measuring to a known voltage. In our case the known voltage is the voltage supply 5v. The 10bit value measured is a ratio of the pic chips known voltage 10bit value. So for example a sample thats 10bit value is 387, the voltage value would be V = (5v/1024) * 387 which equals 1.89v
Remove these ads by
Signing UpStep 1: Experience, Tools and Parts Needed
• Basic understanding of electronics. (Ohms law for example..)
• How to use a bread board and voltage meter.
• How to solder.
• A little knowledge of pic chips will help, but is not really required since all the pic chip code for the examples is already written.
Tools:
• Voltmeter
• Triwing Screwdriver for wimote. ($2 on ebay)
• Soldering Iron, solder
• Breadboard and Jumper wires
• Pic Chip Programmer (Im using the “Enhanced PICKit 2”)
• PC with Bluetooth
Parts: ($20 + $1 + $1 + $5 + $7) = $34
• Wiimote - note that while generic wiimotes will work, a genuine wiimote has best compatibility. (< $20)
• Transistors 2N3904 or any General Purpose NPN Qt: 11 ($1)
• Resistor values 470K (390K to 560K will work): Qt: 11 ($1)
• Pic Chips (any of these will work since I have included multiple examples)
- PIC12F683-I/P or PIC12F675-I/P – 2 examples ($1.25)x2
- PIC16F616-I/P - - 2 examples - ($1.10)x2
- shipping for all 4 pic chips ($7)
• 5v supply for the Pic Chip



























Not Nice















Visit Our Store »
Go Pro Today »



