{"id":1482,"date":"2020-11-29T08:03:06","date_gmt":"2020-11-29T13:03:06","guid":{"rendered":"https:\/\/teakdata.com\/blog\/?p=1482"},"modified":"2021-01-20T00:41:10","modified_gmt":"2021-01-20T05:41:10","slug":"water-rocket-with-raspberry-pi-flight-computer-version-1","status":"publish","type":"post","link":"https:\/\/teakdata.com\/blog\/water-rocket-with-raspberry-pi-flight-computer-version-1\/","title":{"rendered":"Water Rocket with Raspberry Pi &#8211; V1"},"content":{"rendered":"\n<p>We have started to learn about rockets. Not only theoretical learning, but also practical. We have build a type of rocket that can theoretically reach (based on current records) close to 1 km altitude. Clearly we will not reach that altitude, that is the record hold by very experienced builders, we are aiming to have tens of meters altitude.<\/p>\n\n\n\n<p>The type of rocket we have build is called Water Rocket.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>In short, this technology is based on a plastic bottle (coca cola or others) that can hold well high pressured air. A special nozzle is build to have a small opening that allows water to be pushed out at high speed. Fill the bottle with 1\/3 water, with a bicycle pump fill the rest of the bottle with highly pressured air. When you release the water from the bottle through the nozzle, the water that is pushed out of the bottle pushes the bottle with the same force, thus gradually building higher speed.<\/p>\n\n\n\n<p>This is an example how it works:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"video-container\"><iframe loading=\"lazy\" title=\"Water Rocket - how water pushes the rocket\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/D4bzXI2MsD8?feature=oembed&#038;wmode=opaque\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><figcaption>Water Rocket &#8211; water bottle test <\/figcaption><\/figure>\n\n\n\n<p>The parts needed for water rocket:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Bottle<\/li><li>Nozzle<\/li><li>Fins<\/li><li>Release mechanism<\/li><li>Head of rocket (holding parachute &amp; flight computer)<\/li><li>Parachute<\/li><li>Flight Computer (hardware and software)<\/li><\/ol>\n\n\n\n<p>Most of the tutorials were taken from this website: <a href=\"http:\/\/www.aircommandrockets.com\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.aircommandrockets.com<\/a><\/p>\n\n\n\n<p>We are not describing the entire process and parts in details in this article, the aircommandrockets.com has so great tutorials and we will provide links to tutorials.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Bottle<\/h2>\n\n\n\n<p>Got Coca Cola 2.5 liters.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Nozzle<\/h2>\n\n\n\n<p>Complete tutorials how to make nozzle here: <a href=\"http:\/\/www.aircommandrockets.com\/construction.htm#Nozzle\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.aircommandrockets.com\/construction.htm#Nozzle<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> The Fins<\/h2>\n\n\n\n<p>Created a 3D printed fin holder: <a href=\"https:\/\/www.tinkercad.com\/things\/ciDU5cki01k-perry-wing-holders\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.tinkercad.com\/things\/ciDU5cki01k-perry-wing-holders<\/a><\/p>\n\n\n\n<p>And we have cut some fins from a plastic box.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Release Mechanism<\/h2>\n\n\n\n<p>We have used gardena hose mechanism and nozzle like in this tutorial: <a href=\"http:\/\/www.aircommandrockets.com\/construction_4.htm#Launcher\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.aircommandrockets.com\/construction_4.htm#Launcher<\/a> <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Head of Rocket<\/h2>\n\n\n\n<p>The first version (this article) we have built the nose from cut plastic bottle and just 3d printed a small cone.<\/p>\n\n\n\n<p>Tutorial how to create the head: <a href=\"http:\/\/www.aircommandrockets.com\/construction.htm#Nosecone\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.aircommandrockets.com\/construction.htm#Nosecone<\/a><\/p>\n\n\n\n<p>3D printed cone: <a href=\"https:\/\/www.tinkercad.com\/things\/3e0UlLhuJyB\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.tinkercad.com\/things\/3e0UlLhuJyB<\/a> <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Parachute<\/h2>\n\n\n\n<p>Made from old umbrella like in this tutorial: <a href=\"http:\/\/www.aircommandrockets.com\/parachutes.htm\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.aircommandrockets.com\/parachutes.htm<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Flight Computer<\/h2>\n\n\n\n<p>This is the part we have designed our own Flight Computer using Raspberry Pi.<\/p>\n\n\n\n<p>Flight Computer Hardware Parts<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Raspberry Pi Zero (with wifi)<\/li><li>Li Ion battery (Lithium Ion Cylindrical Battery &#8211; 3.7v 2200mAh)<\/li><li>Battery charger: PowerBoost 500 Basic &#8211; 5V USB Boost @ 500mA from 1.8V+ and Adafruit Mini Lipo w\/Mini-B USB Jack &#8211; USB LiIon\/LiPoly charger &#8211; v1<\/li><li>Altitude sensor: BMP180 Barometric Pressure\/Temperature\/Altitude Sensor- 5V&nbsp;<\/li><li>Accelerometer sensor: ADXL345 &#8211; Triple-Axis Accelerometer (+-2g\/4g\/8g\/16g) w\/ I2C\/SPI<\/li><li>SG90 servo motor (low power)<\/li><li>Raspberry Pi Camera<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Flight Computer Software<\/h2>\n\n\n\n<p>Full source code can be found here: <a href=\"https:\/\/github.com\/smarcu\/dnd-water-rocket-raspberry\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/smarcu\/dnd-water-rocket-raspberry<\/a><\/p>\n\n\n\n<p>How version 1 looked<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/IMG_3829-1024x768.jpg\" alt=\"water rocket v1 - raspberry pi\" class=\"wp-image-1486\" srcset=\"https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/IMG_3829-1024x768.jpg 1024w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/IMG_3829-300x225.jpg 300w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/IMG_3829-768x576.jpg 768w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/IMG_3829-1536x1152.jpg 1536w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/IMG_3829.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>water rocket v1 &#8211; raspberry pi<\/figcaption><\/figure>\n\n\n\n<p>Due to some software issues the parachute did not deploy properly and the nosecone was destroyed.<\/p>\n\n\n\n<p>The issues were related to using the altimeter (pressure sensor) to detect the beginning of the descent. After several experiments we have discovered that the pressure sensor is not a good option since the air movement it affects dramatically the measurements.<\/p>\n\n\n\n<p>In the next version we have used accelerometer to detect the max altitude.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Launches<\/h2>\n\n\n\n<p>You have to be careful where you launch these rockets. They are heavy (300-400g) and falling from high altitude can be very dangerous.<\/p>\n\n\n\n<p>The launching of V1 failed due to several factors. One mentioned above was software. Another one was low pressure in the bottle was not enough to launch the rocket high enough.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"570\" src=\"https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.47.01-PM-1024x570.jpg\" alt=\"water rocket v2 - launch\" class=\"wp-image-1510\" srcset=\"https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.47.01-PM-1024x570.jpg 1024w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.47.01-PM-300x167.jpg 300w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.47.01-PM-768x427.jpg 768w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.47.01-PM-1536x854.jpg 1536w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.47.01-PM.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>water rocket v2 &#8211; launch<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"573\" src=\"https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.46.18-PM-1024x573.jpg\" alt=\"water rocket v1 - launch\" class=\"wp-image-1509\" srcset=\"https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.46.18-PM-1024x573.jpg 1024w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.46.18-PM-300x168.jpg 300w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.46.18-PM-768x430.jpg 768w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.46.18-PM-1536x860.jpg 1536w, https:\/\/teakdata.com\/blog\/wp-content\/uploads\/2020\/10\/Screen-Shot-2020-10-06-at-5.46.18-PM.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>water rocket v1 &#8211; launch<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"video-container\"><iframe loading=\"lazy\" title=\"water rocket launch v1\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/rBxvIe_iY90?feature=oembed&#038;wmode=opaque\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><figcaption>Water Rocket V1 Lauch (failed)<\/figcaption><\/figure>\n\n\n\n<p>Soon more details in the V2 of the rocket: improved nosecone fully 3D printed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have started to learn about rockets. Not only theoretical learning, but also practical. We have build a type of rocket that can theoretically reach (based on current records) close to 1 km altitude.&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1484,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,12,40,10],"tags":[3,90,91],"class_list":["post-1482","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d","category-linux","category-python","category-raspberrypi","tag-raspberry-pi","tag-rocket","tag-water-rocket"],"_links":{"self":[{"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/posts\/1482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/comments?post=1482"}],"version-history":[{"count":14,"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/posts\/1482\/revisions"}],"predecessor-version":[{"id":1533,"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/posts\/1482\/revisions\/1533"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/media\/1484"}],"wp:attachment":[{"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/media?parent=1482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/categories?post=1482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teakdata.com\/blog\/wp-json\/wp\/v2\/tags?post=1482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}