This is a repository for model rocketry projects. Currently, there is only one: an altimeter and accelerometer based on commonly-available parts.
If you've ever launched a model rocket, you've probably also wondered how high it went, how fast it traveled, and what sort of g-forces it experienced. There are some commercially-available altimeters and accelerometers, but I wanted to make my own.
The project website has all the information you're probably looking for:
- Hardware assembly, software installation, and usage instructions
- Software design considerations, in particular power-saving techniques / optimizations
- Hardware selection considerations, as well as tradeoffs and ideas for improvement
- Sample output, in the form of graphs generated from actual launches
- Photos and discussion of the types of rockets this has been tested on
If you don't want to read the full instructions, the short version is:
- Install micropython on an ESP32s3.
- Copy the files in the
picofolder to that computer and connect it to a BMP390 pressure sensor, ICM20649 accelerometer, and A27 battery. - Put the device in a model rocket and launch it.
- Connect the device to a USB power source (battery, computer, car, etc.) and hold the
bootbutton until the blue LED stays lit. - Connect to the ESP32s3's wifi network and copy the folders (via FTP) in the
datafolder -- they should be numbered, i.e.1,2... - Copy the files in the
terafolder to the directory that you copied the numbered folders to. - Install the dependencies: Python, and (via pip)
bokeh,more-itertools, andwhittaker-eilers - Run the
main-icm20649-bmp390.pyscript. - HTML files with the recorded data will be generated in the current directory.