
Robbie McNally CpE Aero Week 10 Optimus Prime Startup Code
Discover the innovative technologies featured in Robbie McNally's CpE Aero Week 10 project, including Optimus Prime Startup Code, Drop Detection IR ToF Sensor, microSD Shield on Arduino, Airspeed Sensor, and XBee Pro S3B. Explore the functionalities and setups of each component to enhance accuracy and communication in humanitarian care package drops.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Aero Week 10 Robbie McNally CpE
Optimus Prime Startup Code Sends a message saying program has started Checks for SD card and notifies user of result Checks if a package is mounted correctly and notifies ground station Sends a message to indicate attitude calibration is started Sends a message once calibration is completed
Drop Detection IR ToF Sensor VL6180 IR sensor mounted beneath fuselage pointing at package Startup code tells ground station that package is secure before takeoff IR sensor notifies ground station as soon as package is dropped
microSD Shield on Aruino Using stackable headers the SD shield can be placed on top of Xbee shield Advantages: pinouts for all Uno ports microSD card slot 16GB of non volatile local memory large prototyping area on shield eliminate need for headers Easy way to access/interpret data after flights Disadvantages: Makes DAS slightly taller Can write to a .txt file or .csv file Can use a card reader in a laptop to process data in excel/matlab/python
Airspeed Sensor Should aid in accuracy of humanitarian care package drop Pitot tube mounted on wing of plane Same sensor from Joey s blackbox last year Setup the sensor in Third Party Mode Struggled to correctly read data until I found code on an RC forum Use the I2cMaster libraries to communicate via I2C TheWire doesn t work Arduino polls sensor every 315ms XBee sends data to ground station SD Card records information on plane
XBee Pro S3B Software selectable power output up to 250mW Old XBee Pro 900 power output was 50mW Configured the new modules to be on the same network and communicate Set the PL (Power Level) parameter to 4 (highest +24.0 dBm) Not working reliably yet
DAS Battery Calculations DAS will be its own separate, contained system Box will contain battery, Arduino, Xbee, SD Card, and altitude sensor Antenna, ToF sensor, airspeed sensor, and external reset will be wired from DAS Standalone DAS Battery Calculations Component Arduino Uno R3 XBee Pro XSC MPL3115A2 Airspeed v3 VL6180 Total Current Draw: Current Draw (mA) Voltage Range 80 215 2 0 1.7 298.7 7-12V 2.4-3.6V 1.95-3.6V 3-16V 2.7-3.3V 2S LiPo Battery Never discharge LiPo past 80% Capacity 1000 mAh * 0.80 = 800 mAh = 2.68 hours of operation = 160.70 minutes 1300 mAh * 0.80 = 1040 mAh = 3.48 hours of operation = 208.91 minutes 1800 mAh * 0.80 = 1440 mAh = 4.82 hours of operation = 289.25 minutes 2200 mAh * 0.80 = 1760 mAh = 5.89 hours of operation = 353.53 minutes 2S LiPo (7.4V) with 1000 mAh capacity
XCTU Issues Connecting to new XSC modules Might need firmware update Alternatives: Python script with pySerial XCTU serial console can only hold up to 8000 bytes Might be cause of range problems before Program buffer filled and stopped displaying data from remote XBee
To do Meet with Professor Hedrick to test new antennas Physically build DAS enclosure Build FPV Enclosure Order batteries for Ground Station, FPV system and DAS Shrink Arduino libraries Comment/finalize Arduino code Solder DAS sensors to SD Shield Write design report Update website Order new 12V camera? Radio Link Budget Calculations