Hi guys! In this project, you will learn to create a web page that displays sensor readings in a plot that you can access from anywhere in the world. In this case, you will learn to build an ESP32 client that makes a request to a PHP script to publish sensor readings (In my case is BMP280 sensor readings) in a MySQL database. Although I will use ESP32 and BMP280, you may use a different sensor or multiple boards.

For this embedded system project, I will use this randomnerdtutorials as references. …

Hello! I’m back! This time, we will continue what we did before in project 9. We will try to make a database to receive sensor readings from BMP280. In other words, we will try to build an ESP32 client that makes an HTTP POST request to a PHP script to insert data (in this case sensor readings) into a MySQL database. For sure, we will also try to make a web page that displays the sensor readings, timestamps, and other information from the database. …

Hi! Before, we already made an ESP32 web server to turn on/off LEDs. Now, we will try to create a web server with the ESP32 to display readings from the BMP280 sensor module. As we know from previous projects, the BMP280 sensor can be used to measures temperature, pressure, and approximate altitude. In other words, we can easily build a mini weather station and monitor the measurements using the ESP32 web server.

My Mini Weather Station

As usual, we will use Arduino IDE to compile and upload the code to the ESP32. For this story/project, I’m using this randomnerdtutorials post as a reference.

Parts and Components Required:

  • ESP32…

Hello! This time, in this story we will play with an ESP32 web server. We will try to create a standalone web server with an ESP32 that controls outputs of 2 LEDs using the Arduino IDE programming environment. This web server is mobile responsive and can be accessed with any device that as a browser on the local network.

As usual, before we continue, I would like to tell you guys that we will use this randomnerdtutorials link as a reference.

Components and Parts Required

For this story, we will need:

  • ESP32 Board
  • 2x 5mm LED
  • 2x 330 Ohm resistor
  • Jumper wires (I’m using…

Alright! This time, just like the title of this story, we will do experimentation with ESP32 Bluetooth. More precisely, we will try to exchange data between ESP32 and an Android smartphone. We will try many things, like sending data from BMP280 sensor to Android smartphone, turning on/off led by using the message from Android smartphone, or greet the ESP32 with Android smartphone (although this one is actually pretty simple)

Bluetooth?

In short, Bluetooth is a wireless technology Personal Area Network (PAN) standard used for exchanging data between fixed and mobile devices over short distances. For your information, Bluetooth operates in the…

Yay! This time, we will go further in experimenting with ESP32! More precisely, this time we will combine project 4 which is about ESP32 external sensor with project 5 which is about OLED display with ESP32! What does that mean? It means we will try to get sensor readings from BMP280 sensor (via I2C) and displays the results on an I2C OLED display!

My Simple Circuit

Let’s Begin!

Oh wait, before we go further, I would like to tell you guys that for this project I am using this randomnerdtutorials link as reference! Although, I will use BMP280 instead of BME280!

In this project, we…

Wait What?! My ESP32 says “Hello, World!”

This time we are going to play with external display with OLED. With this, we don’t have to depends on PC to do some reading, so that we can be more flexible!

First, let me explain about external display. Actually, there are many external displays that we can use, but this time I want to make it simple so I will only explain in short about 2 external display, which is LCD and OLED.

The LCD that I meant before is 16×2 I2C Liquid Crystal Display (although size shouldn’t be really matters), while the OLED that I meant is 0.96…

Alright! Again, we will play with sensor, but this time, not internal sensor from ESP32 itself but external sensor instead! I feel like this project will bring much insights to me because if I can make us of many external sensors well, I think it will bring me to many possibilities which make me pretty excited! Isn’t that pretty interesting?

First, I would like to explain about my sensor that will be used in this project. Although I bought it from online shop in the name of BME280, when I checked the pin, its pins are not VCC, GND, SDI…

This time, I would like to share about my experience with ESP32 sensor which is internal sensor! (not external sensor). Right now, I am pretty curious to try 3 built-in sensor in ESP32, which is touch sensor, hall effect sensor, and temperature sensor (or maybe just 2 built-in sensor because I heard from my lecture that not all ESP32 has built-in temperature sensor, personally I haven’t try it myself so I can’t say for sure).

What are we waiting for?! Now let’s check it out!

Touch Sensor

I am intrigued to try using ESP32 touch pins with Arduino IDE. For your information…

Our journey with ESP32 is still only first page of many pages! This time, I would like to share about my second project with ESP32, which is about I/O with ESP32. At this point, I would like to do 2 experimentation, first one is digital I/O with ESP32 and second one is analog I/O with ESP32. Check it out!

Digital Inputs and Digital Outputs

Before I start, I need to prepare :

  • Microcontroller ESP32 Development Board
  • USB Type A Male to Micro USB
  • Breadboard
  • 5 mm LED (2)
  • 330 Ohm resistor (2)
  • Pushbutton
  • 10k Ohm resistor
  • Jumper wires (I’m using 6 male to male jumper…

Fernaldi Fauzie

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store