Page 278 - Making PIC Microcontroller Instruments and Controllers
P. 278
GnlutY sEt{son ExERctsErs ,tt
*&reX Picture of the cardboard table mechanism wilh servos installed.
(l\,lechanical will be compsnsaled tor by the software.)
inaccuracies
The Memsic detector we arc using needs four wires between ihe sensor aDd the PIC.
A simple extension cable with a four-point female end can be made to fit to drc high
nibble of PORTC. Since we are using a rclatively expensive senso! we will not want
to solder to it. Therefore, suitable slip-on connections should be provided on the sensor
end also.
It is left up to you to modify the softwarc to increase the speed with which the table
retums to horizontal after the base has been moved.
Gravitv Sensor Exercises
l. Make a sensor to investigate the gravify chaDges your body exp€riences as you
travel up and down in a commercial elevator How do the values vary between a
hyalraulic elevator in a small building and a traction elevator in a tall building. Were
you surprised by what you found? (Investigate both drc magnitude and dudtion of
the accelerations.)
2. Investigate the gravity changes experienced by a passenger in a car Both sidoways
motion and forwad motion/acceleration should be studied.