Hardware Reference
In-Depth Information
Figure 16-13:
he mounting of
a sensor board.
Now all that remains is to wire up the sensor modules to the Arduino. he wiring for this is
shown in Figure 16-14. he sensors are wired up in a daisy chain coniguration with the data
from the farthest sensor passing through all the others before it gets to the Arduino. It is com-
mon to have multiple sensors wired like this, and it eliminates the need for having a data select
line for each chip. I placed a single white LED on the Arduino to indicate if there are any prob-
lems with the data from the chips. I drew this module wiring to make the wiring clear; however,
in practice I wired it up in a star coniguration. hat means that the wires are taken directly
from each sensor module to the Arduino and not chained, from one sensor board to the next.
his ensures that any problems with grounding loops and power distribution are minimised.
Mount the Arduino on pillars on top the pendulum frame as shown in Figure 16-15. Solder
the wires to small pieces of copper strip board to which you should solder pin connectors for
attaching to the pin headers on the Arduino. Mount the white error LED onto one of these
strips close to pin A5. he wiring of the whole thing is shown in Figure 16-16. I used cable
ties to make the wiring look neat.
 
Search WWH ::




Custom Search