I’m doing a project for school involving bottle rockets.
I need to measure the altitude that it goes to, as well as release a parachute.
The RF transmitter/receiver set I got didn’t work that great, so I opted to have the Arduino log the altitude to an SD card.
The basics of what I want the sketch to do is: detect if a button is pressed, and set the button count to 1, which tells the loop to start the launch sequence. Three seconds after, the parachute is released by a servo. All the while, the Arduino reads the BMP085 altimeter and logs the results to the SD card.
My code is attached, but I just cannot get it to work. I’m starting to tear my hair out. I’m only 18, but I’ll look 3 times that if I don’t solve this!!!
Many thanks in advance!
bottlerocketcode.zip (1.4 KB)