Arduino Weather Barometer

In this video lesson we show how to build an Arduino based Weather Barometer.  We will use the BMP180 pressure sensor on the GY-87 module. This lesson will likely also work fine if you are just using the BMP180 directly. We show how to measure barometric pressure, convert it to Inches of Mercury, stabilize it with a low pass filter, and then normalize it to standard sea level pressure. With this, our values should very closely match what is being seen on weather maps. This is the schematic of the circuit we will be working on.

Arduino Altimeter
Schematic for the Portable Arduino Barometer

For your convenience, here is the code we developed in the video.

 

Simple Client Server Project for the Raspberry Pi Pico W

In this video lesson we demonstrate a simple client server project on the Raspberry Pi Pico W. The Pico is configures as the server, and your desktop pc or laptop is configures to be the client. You will be running python on your PC. The project requests the user on the PC to specify a desired color. The color is then sent to the Pico, the Server. Then the Pico sets that color to ‘ON’. The pi pico is powered by a breadboard power bank, and there is no need for any connections to the pico. You can pick up the breadBoard Power Bank HERE [Affiliate Link]. Below is the schematic for the Server Side of the project:

LED and Buttons
Schematic for Circuit to Demonstrate a Client Server Example on Pi Pico

For your convenience, this is the code we developed in the video

Remember you must create a secrets.py file, and save it on the Pi Pico in the lib folder. You need to specify YOUR WiFi name and password in the file.

And finally, here is the code to run on the client side on your PC

 

Portable Altimeter Project with Arduino

In this video lesson we create a portable altimeter that measures altitude above a base reference location. The device uses an arduino uno R4 Wifi, a BMP180 pressure sensor which is  on the GY-87 module. For your convenience, we present the circuit diagram used below:

Arduino Altimeter
Schematic for the Portable Arduino Altimeter

This is the code for this project, for your convenience.

 

Sending Data Over WiFi Between Raspberry Pi Pico W and Your PC

In this video lesson we show how we can send and receive data between the Raspberry Pi Pico W, and your PC. We will be running python on the PC, and we will exchange data using the UDP protocol. UDP is simple, and a very reliable way to send data packets back and forth. In this example, we will be demonstrating a simple Client Server relationship between the Pi Pico and PC using UDP over WiFi.

In this lesson, we will just be showing simple exchange of data, but in preparation for future lessons, go ahead and build this circuit.

LED and Buttons
Schematic for Circuit to Demonstrate a Client Server Example on Pi Pico

For your convenience, this is the “Server” software you will run on the Pi Pico.

Notice that the above code wants to load a “secrets” file that contain your WiFi name, and password

You should edit the code below with your WiFi username and your password, and then save the file in the Pi Pico lib folder, with the name secrets.py (don’t forget the .py)

Now, on the PC side, you will run your client, which will be run in Python. Here is the client software:

 

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!

 

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