Hardware Reference
In-Depth Information
Figure 16-20:
Some of the
patterns
generated with
this project.
Over to You
I think the best patterns are achieved when the long and short pendulums are an integer
harmonic of each other, so you might want to change the way the long pendulum's length is
adjusted to get a iner degree of control over it. You could write some software to measure
the period of the pendulum to allow you to adjust the period even more accurately.
You could make the frame higher so that you could use longer pendulums and get higher
ratios of swing. A pendulum of just over three meters might be pushing how much space you
have in a domestic environment, however.
You could add the automatic Facebook posting of the pictures as shown in the last chapter.
One enhancement that would involve changing the Arduino software is to use one of the
pendulums to send information that changes the colour of the trace in a gradual way. hat
would produce smoothly changing multicolour traces - although you might want to try that
idea purely in the Python software based on the number of samples received. You can explore
the diference between RGB colour space and HSV colour space in the colour changing.