Tag Archives: SSD1306

Portable Arduino Weather Station Project

In this video lesson we show how to build a portable Arduino Weather Station. The station is powered by a battery bank, and data is displayed on the SSD1306 OLED display. The station included the BMP180 pressure sensor for barometric pressure, the DHT 11 for temperature and humidity, and a push button to toggle between modes. The schematic of the circuit is shown below.

Arduino Weather Station
Schematic of Arduino Weather Station

The code developed in the video is included for your convenience below:

 

Portable Arduino Barometric Weather Station

In this video lesson we take you through the project of building an Arduino Barometric Pressure Weather Station. It builds on the last two lessons in this series. We measure and display instantaneous Barometric Pressure, normalized to Sea Level. Then in the lower portion on the OLED SSD1306 display, we show a graph of the barometric pressure over the last 24 hours.

 

Arduino Altimeter
Schematic for the Portable Arduino Barometric Pressure Sensor

Below we include the code we develop in the above video. Make sure to set the ‘alt’ variable to your elevation at your location, in meters.

 

Plot any Data or Graph on any OLED

In this video I show you how you can easily plot any graph or data onto any OLED display. We create a mathematical function which will map the raw data onto the screen. We demonstrate the function with a sin wave, but the function will work with any equation or data. This is the code which we developed in the video.

 

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:

 

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!