During week 10 I hooked multiple sensors up to the Arudino Uno and tested them individually and together. I implemented an IR sensor, altitude sensor, and airspeed sensor. These 3 sensors all reside on the I2C bus of the Uno. I also added the microSD shield to the Arduino. This allows me to save data locally on the plane to a microSD card. When the plane lands I can put the card into the reader in my laptop and write code to graph or perform calculations on the data. Startup code was added to the Arduino sketch. The code checks for a microSD card, that the package is secure on the IR sensor, and calibrates the altitude sensor readings. Battery capacity calculations were performed to determine that a 2S 1000mAh LiPo would be suitable to power the Data Acquisition System. The new XBee Pro XSC’s came in but I have had trouble getting them to reliably connect to XCTU, the XBee configuration software. I will reset the new XBees and re-upload firmware to check if the issue is with software or hardware.
Circuit Schematic for Sensors and Arduino:
Week 10 Progress Update PowerPoint Below: