The aim of the project is to creat a simple model rocket altimeters to hobbysts that are new to the world of model rockets. The Bmp280 reads temperature and pressure, we need pressure to determine the altitude of the rocket. All the data from the flight is written into an micro sd card for later viewing. To power the device you can attach a small lipo battery to the VCC and GND pins of the Seeeduino Xiao or plugging the Usb C port from the board to a portable battery. The micro sd card MUST BE SMALLER THAN 2GB, else it won't work. The total weight of the device is around 25 grams.
The board that powers the project is called Seeeduino Xiao by Seeed Studio. These are the specs:
Seeeduino XIAO carries the powerful CPU-ARM Cortex-M0+(SAMD21G18) which is a low-power Arduino microcontroller. Its small footprint and low power consumption, combined with its high performance, make this ideal for Arduino wearable devices and small projects.
In addition to the strong CPU, Seeeduino XIAO also has 14 GPIO PINs, which can be used for 11 analog PINs, 11 digital PINs, an I2C interface, a UART interface, and an SPI interface.
The pinout is the following:
VCC (from Seeeduino Xiao) to VCC (from BMP280)
VCC (from Seeeduino Xiao) to VCC (from MicroSd Card Module)
GND (from Seeeduino Xiao) to GND (from BMP280)
GND (from Seeeduino Xiao) to GND (from MicroSd Card Module)
SDA (from BMP280) to D4 (from Seeeduino Xiao)
SCL (from BMP280) to D5 (from Seeeduino Xiao)
MISO (from MicroSd Card Module) to D9 (from Seeeduino Xiao)
MOSI (from MicroSd Card Module) to D10 (from Seeeduino Xiao)
SCK (from MicroSd Card Module) to D8 (from Seeeduino Xiao)
CS (from MicroSd Card Module) to D3 (from Seeeduino Xiao)
The code of the project is written in Arduino code (which is a variant of C++).
The libraries being used in the code are:
SD.h (makes possible the communication between the micro sd card module and the Arduino)
Wire.h (This library is needed for the I2C communication between the BMP280 Module and the Arduino)
SPI.h (This library is needed for the SPI communication between the Micro Sd Card Module and the Arduino)
Adafruit_BMP280.h (This library is needed for the communication between the BMP280 and the Arduino, It also calculates the altitude)
In future projects I'm thinking on adding servo controlling and more sensors, so I'll keep you updated.
Hope It helps on rocketry projects! Godspeed!
Comments