From 9e624a7901f4aaa7aab83c52edf964eee16857ca Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 30 Aug 2021 00:06:35 +0200 Subject: [PATCH] s/accelerometer/gyroscope/g --- ...ource-drone-with-a-Raspberry-Pi-and-Platypush.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/static/pages/Build-an-open-source-drone-with-a-Raspberry-Pi-and-Platypush.md b/static/pages/Build-an-open-source-drone-with-a-Raspberry-Pi-and-Platypush.md index 1faa770..a237f45 100644 --- a/static/pages/Build-an-open-source-drone-with-a-Raspberry-Pi-and-Platypush.md +++ b/static/pages/Build-an-open-source-drone-with-a-Raspberry-Pi-and-Platypush.md @@ -492,10 +492,10 @@ higher voltage. - A **camera** to take your amazing pictures and videos from above. We'll use a Raspberry Pi Camera in this tutorial, since it already comes with a RPi native interface, and it doesn't require extra USB dongles and cables. -- (_Optional_) an **accelerometer**: if you want to bring your drone to the next level then you can also add an - accelerometer to the Raspberry Pi. The accelerometer measures the gravity acceleration along the three axes. You can - easily add some logic to stabilize a drone if the input data from the accelerometer shows that it's leaning too much - in one direction. +- (_Optional_) a **gyroscope**: if you want to bring your drone to the next level then you can also add an gyroscope to + the Raspberry Pi or a connected microcontroller. The gyroscope measures the gravity acceleration along the three axes. + You can easily add some logic to stabilize a drone if the input data from the gyroscope shows that it's leaning + too much in one direction. - (_Optional_) a **distance sensor**: ultrasound, laser or lidar sensors are very useful to study the environment around the drone. You can place one at the bottom of the drone to detect when the drone has touched the ground, or some @@ -1563,9 +1563,8 @@ made it so far, congratulations on building and flying drone from scratch! By the end of this article you have learned how to design, build and fly your drone from scratch, but many improvements can be applied to the base model we've put together here. Some ideas: -- Integrate an accelerometer to detect whether the drone "leans" too much in a direction other than the expected one, - and automatically adjust the thrusts to keep the drone stable. Platypush provides built-in support for some types of - accelerometers connected over I2C or SPI. +- Integrate a gyroscope to detect whether the drone "leans" too much in a direction other than the expected one, + and automatically adjust the thrusts to keep the drone stable. - Move from a Bluetooth or IR joystick to an RC (radio-controlled) one, so you can control your drone over longer ranges. If the RC controller is mapped as a standard joystick on Linux then all the code we've written for the controller shouldn't require any changes.