After yesterday's success of using potentiometers on a breadboard to simulate the x and y-axes of an accelerometer, we took the next step and finally implemented the control system with an accelerometer. We used a piece of 2-inch foam to make a bridging plate in the hamster ball. This allowed us to strap the accelerometer, Xbee radio, and necessary circuit boards down rigidly. Once that was all done we tried driving the RC boat prototype around (see video below). It was very fun, and once we fine-tune some motor mapping, the control system should be very intuitive.
Other accomplishments today include:
Other accomplishments today include:
- The implementation of the 10 LEDs (actually 5 LEDs with red and green leads) using two daisy-chained shift registers (74HC595) which are controlled using the SPI (SSP on PIC) communication protocol.
- Getting SPI communication to work between the AVC Xbee PIC and the main AVC PIC, as well as between the Security Controller PIC and the main PIC.