Hardware Reference
In-Depth Information
Cut a small slit in each of the monkey's armpits to insert
the sensors. If you don't want to damage the monkey, you
can use tie-wraps or tape to secure the sensors to the
outsides of his arms, as shown in Figure 2-13. Position the
sensors so that their movement is consistent. You should
add some sort of support that keeps them in position
relative to each other—a piece of flexible modeling wire
will do the job nicely. Make sure that both sensors are
facing the same direction, because flex sensors give
different readings when flexed one direction than they do
when flexed the other direction. Insulate the connections
well, because the foam inside the monkey might generate
considerable static electricity when he's moving. Hot glue
will work well.
Figure 2-13
A stable support for the sensors is essential if you want good
readings from them. Once you know your support works,
move it inside the monkey and test it.
Make sure that the sensors and electrical connections
are stable and secure before you start to work on code.
Debugging is much harder if the electrical connections
aren't consistent.
X
 
Search WWH ::




Custom Search