Welcome to the Water Rocket Forum, sponsored by The Water Rocket Achievement World Record Association.

Since our founding in 2003, we've become the largest, most sophisticated and ground breaking group supporting you, the serious water rocket flyer! Whether you are a beginner or an expert, the WRA2 has something for everyone.

A water rocket is a type of model rocket using water as its reaction mass. The pressure vessel (the engine of the rocket) is constructed from thin plastic or other non metallic materials (usually a used plastic soft drink bottle) weighing 1,500 grams or less. The water is forced out by compressed air. It is an example of Newton's third law of motion.


Hello Everyone. It is that time of year again. Time to approve changes to the competition rules for the new year.

You Can vote at:
viewtopic.php?f=32&p=19486#p19486

Please take the time to vote. TH:

arduino altimeter with micro sd and servomotor

Discussion about deployment systems including altimeters, timers, air speed flaps, servo systems, and chemical reactions.
Post Reply
User avatar
anoymous
Senior Member
Senior Member
Posts: 127
Joined: Thu Mar 19, 2015 2:52 pm

arduino altimeter with micro sd and servomotor

Post by anoymous » Tue Jun 30, 2015 2:55 pm

Hi all! For our research competences we needed an altimeter with servomotor, because this is the easiest and most reliable way for parachute deployment (I don't trust timers- too much can go wrong). We tried to find the parts for the launchpad alTImeter from USWR, but there was one thing we couldn't find. Then we stumbled upon Arduino, and with a bit of experimenting it was a sound alternative to the alTImeter. The biggest disadvantage was the weight: it weighed about 100 g (for England and US: about 0,22 lb), shell included. However, if one could make it a little bit more compact, it would weigh less. There is much room for improvements. the attachment is the program. You need to seek the libraries yourself, I couldn't upload them. The drawing below is the scheme:
img012.jpg
Some notes:
- I placed it in a pdf because everyone can open that kind of file. just copy paste it in the arduino program. (you can also download the pdf to get some ideas for programming an altimeter for another brand of motherboard)
- We used the Arduino Leonardo motherboard, so probably there are a few adaptations needed if you use another Arduino motherboard.
- On sites with info about Arduino they say that it is very fragile and can't survive a crash. Well, we had quiet some crashes and we only had to repair the solder and change the servomotor.
- the LED is only because it is easy if you can check if it is turned on and the Leonardo doesn't have a light integrated.
- probably it will also work with one button, but the programming is easier with two buttons.
- I think this one costs more than the launchpad alTImeter, so only try to build it if you want an altimeter with memory and/ or you don't find the parts for the alTImeter
-Don't forget to press the button to arm the altimeter and press the other button to disarm the altimeter after it lands!!!!! If you don't, the servomotor won't activate the deployment system again.
- Without a micro sd inserted, the altimeter won't activate the deployment
-If you want extra information, post your question here.
- To WRA2: was this the right place to post this? Or was there a better place?
- A little disclaimer: I wasn't the first one using an arduino as altimeter for a rocket, I am only the first (I think) to post the code. The other one was (at least when we needed it) too egoïstic to post the code online. If you are curious about it, google ALTduino.

So. I think I said everything. I will post here if I did forget something
Have fun!
You do not have the required permissions to view the files attached to this post.


"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein

Sorry for malconstructions in my sentences, I am Belgian. And I was never good at making easy sentences.

User avatar
Jamie5335
WRA2 Member
WRA2 Member
Posts: 89
Joined: Sun Jun 02, 2013 1:15 pm

Re: arduino altimeter with micro sd and servomotor

Post by Jamie5335 » Fri Aug 14, 2015 2:31 pm

Hello there,

That all looks pretty cool. I have started using the Arduino myself. I uses the Nano. If you are looking for a more lightweight solution with the LED integrated, then I recommend the Nano as it has the LED built onto the board connected to pin 13. Plus it has a on board regulator for the 9V.

This project is similar to mine! I too have decided to move on from the timer approach. The Barometirc deployment system is a good idea and is well presented by US Water Rockets. It seams that your approach is another great example of a cool new water rocket deployment system that uses these 'breakout boards' you can buy. I looked at the code to see that you were making use of the i2C library which I am a big fan of! Does the SD card have some files on that the Arduino accesses? Plus what size is the capacitor between the servo +ve and -ve rails? Is that used to remove electrical noise?

Just wanted to say that it looks great and I look forward to seeing a launch video at some point.

Cheers, Jamie B


JSB Rocketry
Website: www.jsbrocketry.webs.com
Youtube: https://www.youtube.com/channel/UCczlD-uBjlYdJyBFEfuCEbg/feed

Jamie Bignell,
jamie.s.bignell@gmail.com
Somerset UK

"The important thing is to know how to take all things quietly" -Michael Faraday.

User avatar
anoymous
Senior Member
Senior Member
Posts: 127
Joined: Thu Mar 19, 2015 2:52 pm

Re: arduino altimeter with micro sd and servomotor

Post by anoymous » Sun Aug 16, 2015 2:08 pm

I am busy at the moment, but I will give a good answer in a few days.


"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein

Sorry for malconstructions in my sentences, I am Belgian. And I was never good at making easy sentences.

User avatar
anoymous
Senior Member
Senior Member
Posts: 127
Joined: Thu Mar 19, 2015 2:52 pm

Re: arduino altimeter with micro sd and servomotor

Post by anoymous » Mon Aug 17, 2015 2:37 pm

The capacitor is used as a buffer against the electricity peaks due to the servo motor. I can't find our altimeter right now, so I don't know what size the capacitor was. I'll try to find it before this weekend.
The program makes a txt file where it posts its readings. It isn't the easiest thing to convert to excel, so if you know a way to write it directly in excel, feel free to try. I'll try if I can find some of the raw readings somewhere on a computer (we worked on at least 4 different computers).
actually, we never "moved on" from a timer: we never used it. we needed quick a reliable deploy system, and from what I heard, the timer can fail fairly easy. At first I was planning to make USWR's altimeter, but I couldn't find the same pressure sensor and I didn't want to risk that the ports weren't at the same place. We aren't active in the field right now, but I'll try to post a launch video we already made. that will probably be somewhere next week.


"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein

Sorry for malconstructions in my sentences, I am Belgian. And I was never good at making easy sentences.

User avatar
sebswift
WRA2 Member
WRA2 Member
Posts: 4
Joined: Tue Nov 01, 2016 6:57 am

Re: arduino altimeter with micro sd and servomotor

Post by sebswift » Sun Dec 25, 2016 11:59 am

I have had great luck using these low-cost arduino products from adafruit for altitude detection:

$10US processor:
https://www.adafruit.com/products/2010

$10US altitude sensor:
https://www.adafruit.com/products/2651

Connect them with 4 wires (I2C) and the sample programs from Adafruit can be adapted easily. The board will drive a mini servo directly (libraries are included with Arduino). Power with 3-4 AAA batteries. Great tutorials on their site:

https://learn.adafruit.com/trinket-gemm ... g?view=all

I use this vibration sensor to detect launch:

https://www.adafruit.com/products/1766

Cheers,
Dave



User avatar
anoymous
Senior Member
Senior Member
Posts: 127
Joined: Thu Mar 19, 2015 2:52 pm

Re: arduino altimeter with micro sd and servomotor

Post by anoymous » Tue Dec 27, 2016 10:34 am

we actually didnt think about launch detecting lol
the program included will just start recording from the moment you turn it on untill you turn it off again
it gives quite a lot of garbage data, but the launch detecting can't fail


"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein

Sorry for malconstructions in my sentences, I am Belgian. And I was never good at making easy sentences.

User avatar
Water Rocket Expert
WRA2 Member
WRA2 Member
Posts: 621
Joined: Fri Nov 22, 2013 10:39 am

Re: arduino altimeter with micro sd and servomotor

Post by Water Rocket Expert » Wed Jan 04, 2017 2:21 am

When I was building rockets reguarly, USWR had a texas instruments device they used as a timer for a service and you made your own g sensor with thin wire and coiled it. I think that was the best mechanism for recovery.


Water Rocket Expert
I'm 18
Maryland
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein

User avatar
Blenderite
WRA2 Member
WRA2 Member
Posts: 438
Joined: Mon Apr 09, 2012 3:49 pm

Re: arduino altimeter with micro sd and servomotor

Post by Blenderite » Sat Jan 07, 2017 11:01 pm

Personally I love the latest USWR system. I only wished that it would be possible to make it smaller. Anonymous, you said you couldn't find the same altitude sensor? I buy mine from SparkFun. Do they not ship to Belgium?

I am not sure how the TI boards are programmed, but I am guessing it isn't something that could be put on a Arduino. The Mini would make for a much smaller package (https://www.sparkfun.com/products/11303).

Although this appears to be a self-contained Arduino board and a OLED screen (https://www.sparkfun.com/products/12923)!! Would that be viable? Just think of the possibilities of this!


-Blenderite

Check out my YouTube channel: https://www.youtube.com/c/Blenderite

"Get it right, then go for GREATNESS!"

User avatar
Water Rocket Expert
WRA2 Member
WRA2 Member
Posts: 621
Joined: Fri Nov 22, 2013 10:39 am

Re: arduino altimeter with micro sd and servomotor

Post by Water Rocket Expert » Tue Jan 10, 2017 10:26 pm

I had a problem with an Arduino OLED screen getting screen burn after being on for about an hour. It was a timer I was making.


Water Rocket Expert
I'm 18
Maryland
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein

User avatar
anoymous
Senior Member
Senior Member
Posts: 127
Joined: Thu Mar 19, 2015 2:52 pm

Re: arduino altimeter with micro sd and servomotor

Post by anoymous » Fri Jan 13, 2017 9:07 am

Blenderite wrote:Personally I love the latest USWR system. I only wished that it would be possible to make it smaller. Anonymous, you said you couldn't find the same altitude sensor? I buy mine from SparkFun. Do they not ship to Belgium?

I am not sure how the TI boards are programmed, but I am guessing it isn't something that could be put on a Arduino. The Mini would make for a much smaller package (https://www.sparkfun.com/products/11303).

Although this appears to be a self-contained Arduino board and a OLED screen (https://www.sparkfun.com/products/12923)!! Would that be viable? Just think of the possibilities of this!
-the shipping time was a bit too slow :P
i was kinda in a hurry when we needed our parachute deployment
shipping was technically possible, but it would've taken too long b4 it was here.
-i dont think TI boards are compatible with arduino, i thought they had another programming language
-and i don't think the OLED screen is a good idea, it looks kinda fragile... if the parachute fails a single time, the OLED could be broken.
of course, if you want to risk it, it would definitely look good
Water Rocket Expert wrote:I had a problem with an Arduino OLED screen getting screen burn after being on for about an hour. It was a timer I was making.
since when do LED screens get a screen burn that quickly?
you could always try programming some sort of screen saver on it, so it only shows the time when you press a certain button or something :P


"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein

Sorry for malconstructions in my sentences, I am Belgian. And I was never good at making easy sentences.

Post Reply