Posts

Showing posts from February, 2022

PROJECT #4 - Trying Out BMP280 External Sensor On ESP32 Dev Board Using The Arduino IDE

Image
Hello again! This time I'm going to try using an external sensor on my ESP32 since last week I've tried using the ESP32's internal sensor. For the sensor, I'm using a BMP280 barometric pressure module that consists of 3 sensors: temperature, air pressure, and altitude. Without further ado, let's get to the project! STEP 1: Prepare The Required Software and Hardware For hardware, you'll need these components: ESP32 Development Board Breadboard Jumper Wire Male-to-Male BMP280 Barometric Pressure Module BMP280 For software, you'll need to set up the Arduino IDE. If you haven't set it up yet, you can click here to see the installation process from my first project in the first step from the first part. STEP 2: Set Up The Hardware Firstly, put the ESP32 Dev Board and the BMP280 on the breadboard. After that, connect a jumper wire from the ESP32 pins to the BMP280. For the details, see below : 3V3 pin (dev board) to VCC pin (sensor) GND pin (dev board) to GND...

PROJECT #3 - Trying Out Internal Sensor Of ESP32 Dev Board Using The Arduino IDE

Image
Hello there! In this project, I'm going to try using the internal sensor of an ESP32 Dev Board. FYI, the ESP32 Dev Board has three internal sensors:  Touch sensor Hall Effect sensor Temperature sensor* *not all ESP32 Dev Board have this sensor. This project is split into three parts for each respective sensor. So without further ado, let's get to the experiment! PART 1: TOUCH SENSOR STEP 1: Prepare The Required Software and Hardware For hardware, you'll need these components: ESP32 Development Board Breadboard Jumper Wire Male-to-Male LED 330 Ohm Resistor For software, you'll need to set up the Arduino IDE. If you haven't set it up yet, you can click here to see the installation process from my first project in the first step from the first part. STEP 2: Testing The Touch Sensor For testing the touch sensor, I'm using the TouchRead sketch file. You can access this file from File -> Example -> ESP32 -> Touch -> TouchRead. TouchRead Sketch File Locati...

PROJECT #2 - Trying Input Output (I/O) Of ESP32 Dev Board Using The Arduino IDE

Image
Hello again! For this project, I'm going to try turning on an external LED using a push button connected to ESP32 Dev Board. After that, I'm going for a more complex I/O using more components. You'll need these components : 1 Breadboard 1 ESP32 Development Board 4 / 9 Jumper Wire Male-to-Male 1 / 3 LED 1 / 2 Push Button 1 / 3 330 Ohm Resistor 1 / 2 10K Ohm Resistor * X / Y (X for only simple I/O, Y for the more complex ones) Push Button 10K Ohm Resistor Now, let's get started! PART 1: SIMPLE I/O STEP 1: Prepare The Required Software The required software is the same as the "LED Blink" project from before. You can check here  and look for part 1 step 1 and continue there. STEP 2: Set Up The Components on The Breadboard Setup the side of the breadboard to become a ground and a power source by connecting the side to the GND and 3v3 pin beside ESP32 Dev Board (use the sideline [red/blue line] for reference). Then, connect a GPIO pin (you can choose any number from...

Getting Started with ESP32 Development Board - Programming "LED Blink" using Arduino IDE

Image
Hey there! For my first project, I'm going to try starting up my ESP32 Development Board and programming it to make its LED blink. I'm going to split this into 2 parts, internal LED and external LED using a resistor and jumper wire. For this project, you'll need : 1. ESP32 Development Board The focus of this project. You can use other Development Board. ESP32 Development Board 2. Laptop / PC The power source of the Dev board and for programming the Dev board. I'm using Windows 10 Desktop PC for this project. Laptop 3. Micro-USB Cable To connect the Dev board to the laptop / PC. Micro-USB Cable 4. LED To see the result of the program. LED 5. 330 Ohm Resistor The resistor is used to limit the current that goes through the LED so that the LED doesn't get overheated and destroyed. 330 Ohm Resistor 6. Jumper Wire Male-to-Male To connect the ESP32 Dev Board to the external LED. Jumper Wire Male-to-Male 7. Breadboard A device for making temporary circuit. Breadboard (Note:...