- Adafruit 10DOF
- Adafruit BMP085
- Adafruit GFX
- Adafruit ILI9341
- Adafruit L3GD20 U
- Adafruit LSM303DLHC
- Adafruit STMPE610
- Adafruit Unified Sensor
- DS3232RTC
- Time
- Ultrasonic HC-SR04
All hardware is tested to work off 5V USB power. All sensors use the Arduino 5V rails.
Two digital pins are required of the 10-DOF, SCL
and SDA
. Connect these to the SCL
and SDA pins
, pins 21
and 20
of the MEGA, respectively. Connect VIN
to 5V, and GND
to ground.
Two digital pins are required of the DS3231 RTC, SCL
and SDA
. Connect these to the SCL
and SDA pins
, pins 21
and 20
of the MEGA, respectively. Connect VIN
to 5V, and GND
to ground.
To safely use the DS3231 RTC with a non-rechargeable battery, such as the CR2032, the diode left of the 201
resistor must be removed, thereby disabling the default battery charging circuit.
Two digital pins are required of the HC-SR04. TRIG
is configured to connect to pin 22
, and ECHO
to pin 23
. Modify #define trigPin
and #define echoPin
to use different pins.
When using the shield form factor, all pins are predefined. If the shield is connected, but not directly on top of the MEGA, TFT_DC
, TFT_CS
and SD_CS
may be modified if needed.
The TFT is not quite ready to work with a MEGA out of the box. The 11
, 12
& 13
pads must be cut, and the ISCP
pads must be soldered together.
The MIT License (MIT)
Copyright (c) 2015 Ellis Clayton
See LICENSE for full license
Neither the AirDuino software, or connected hardware is a replacement for any certified aircraft instrument. Any use of this software and hardware is done at your own risk.