Hardware Reference
In-Depth Information
Figure 3-7
The networked cat system.
panel opposite the sensors so that they press down on the
sensors. If the wood or cardboard panels have some flex
in them, position an extra rubber foot or two at the center
of the panel to reduce the flex. Figures 3-8, 3-9, and 3-10
show a working version of the sensor board.
You're using multiple sensors so you can sense a
large area under the mat, but it doesn't matter much
which one gets triggered. Connect the sensors to an
analog input of the microcontroller in parallel with
each other, using the voltage divider circuit shown in
Figure 3-10. This circuit combines the input from all
four into one input.
X
Next, attach long wires to the force-sensing resistors to
reach from the mat to the nearest possible place to put the
microcontroller module.
 
Search WWH ::




Custom Search