Measure Altitude with an Arduino Project

In this video lesson I show you how you can create a project for measuring altitude using an arduino and a BMP180 Pressure Sensor. We go through the physics, math, circuit and coding to make this project work. For our example, we are using a GY-87 module, which has a BMP180 sensor on it. If you are using a BMP180 sensor directly, it should work the same. For your convenience, this is the circuit schematic we will be using:

BMP180
Schematic for connecting the GY-87 module to the Arduino

For your convenience, the code we developed in the video lesson above is included below. Enjoy!

 

Portable Distance Measurement Project With HC-SR04 Ultrasonic Sensor

In this video lesson we explore creating a portable distance measurement widget using the Raspberry Pi Pico W, the HC-SR04 Ultrasonic Sensor, and the SSD1306 OLED display.

The schematic we use for this project is as follows:

Ultrasonic Sensor
Schematic for Portable Distance Sensor Project

In this work, we use the State Machines on the Pi Pico to ensure precise timing. Below, we include the code developed in the lesson above:

 

Measure Air Pressure with the Arduino and BMP180 Pressure Sensor

In this video lesson we explain how to use the BMP180 to measure barometric pressure and temperature. We explain basic concepts of what pressure is, and we show how the BMP180 measures pressure. The circuit schematic we use is shown here:

BMP180
Schematic for connecting the GY-87 module to the Arduino

For your convenience, this is the code we developed in the video for measuring Temperature and Barometric Pressure.

 

 

Precision Ultrasonic Distance Measurement With PIO State Machines on Raspberry Pi Pico W

In this video lesson we will show you how to get precise distance measurements with the HC-SR04 Ultrasonic sensor. We show how measurement stability and accuracy can be improved by using the Raspberry Pi Pico PIO State Machines to trigger and monitor the sensor. For your convenience, the code is presented below.

 

Arduino Project for a Portable Ultrasonic Distance Sensor

Distance Sensor Project
Distance Sensor Project Build

In this video lesson we create a portable distance measuring prototype, using an Arduino Uno R4 WiFi. This project incorporates a HC-SR04 Ultrasonic Sensor, a ‘Go’ button, and the SSD1306 OLED Display. The project is powered by the Sunfounder Breadboard power bank. The arduino is powered by the power bank as well, so the project can operate totally portable. When the device is turned on, the OLED prompts the user to position the device. When the ‘Go’ button is pushed, the device measures the distance to the target, then displays the distance on the OLED display.

The video above gives all the details of the project, with step-by-step instructions.

Distance Sensor
Portable Distance Sensor with HC-SR04 and SSD1306 OLED Display

For your convenience, the code developed in the video is presented below. Enjoy!

 

 

Making The World a Better Place One High Tech Project at a Time. Enjoy!