Connecting Quad Seven segment and DHT11 via WiFi
UPDATED @2020-11-22: Added API to AakSensor and Visualise the data.
Created By Ammar Alnahhas , ammar@dsna.se
Nothing better than controling these dummies via WI-FI
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
How is it connected?
Step 1: The componentes:
- ESP32 -WROOM32 MCU - ESP32 DEVKIT V1 30 Pins, See Reference by end of this tutorial
- Quad Seven segments - Common Cathod
- DHT11 - Temp och Humidity Sensor
- 1K Ohm for Common Cathod of Quad Seven segments
- Connections cables.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Step 2: WIRING
Using resistors is very important on Common cathod Quad Seven Segment. use min 330ohm I use 1KOhm here!
The connection picture as :
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Not Clear Enough but I'll gonna explan it step By Step :
Quad Seven Segment :
As we can see in the picture and in the code, we connect the pins and common cathod pins of Quad seven segment to ESP 32 as :
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Once Connected , we exchange HTTP Headers into the Local server that we create into the ESP32 and we get the IP adress of it into Serial Monitor. Via this server we have 4 Commands / Buttons :
- Write 8888 and that for testing the Quad Segments Leds.
- Write 1.000 and that to show controling of Numbers and DP
- Write DSNA and that for testing of Char writing on Seven segment.
- Write Temperature That we read from DHT11.
The next Pictures show more :
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Connecting DHT11 the Temperature and Humidity Sensor :
It's pretty easy to connect it as :
- Vcc to Vcc from ESP MCU. see pi (Red Wire)
- G to G of ESP MCU (Black Wire)
- Signal / Data : to Port 23. ( White Wire)
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Ps. My Sensor has built in Resistor and only 3 Pins :
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
IoT and The Chart from AskSensor
AskSensor is 90 days Foc IoT platform that has it's library into Arduino IDE.
we can download it Here
To Use it into your Arduino IDE or we can use this tutorial.
Once data collected successfully we can visualise it like this dashboard and chart :
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Step 3: sharing is Caring!
Here Come the code with detailes descreptions and Explainations :
How it gonna Work :
Here come a guid of using this program:
After we got the uniqu IP address of our server from local router on the Serial monitor, you can write it down into your URL web program ( Chrome ,Mozzilla , etc) then you can watch this Youtube testing guide.
Filmed by DSNA!
https://youtu.be/tRQaKUK84s0
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
DSNA22 OTHER Projects :
Thanks :
Thanks for Thomas Berggren for all knowledge and experience that looks clearly in backscenes of this project!
FYR. ESP32 DEVKIT V1 30 Pins
Introduction to ESP32 chip
- ESP32-WROOM-32 is a very popular chip used for the internet of things applications. The main part of this module is ESP32-D0WDQ6 chip.
- It has 48 pins but all pins are not available to use in devkit. You will see more information about it in the later part of this tutorial.
- It consists of an on-chipWiFi module, Bluetooth low energy module, and Bluetooth module. So if you are working on an embedded systems project, where you need all these modules, you can simply use this board instead of using off the shelf all components one by one. Due to these features, it can be used for many embedded systems applications.
- It is a very low-cost board and can be purchased around 10-15$.
- It consists of two cores and each core can be controlled separately.
- It can operate at the variablefrequency range from 80 MHz to 240 MHz.
- It has a special ultra-low power co-processor. A user can power off processors and can use a low power coprocessor to monitor peripherals at low power like GPIO pins.
for more info Download this Complete Datasheet

And so looks mine after once connected to 2 small size Bredboard :

In Arduino IDE : we can add it by adding this Link :
https://dl.espressif.com/dl/package_esp32_index.json
Ps. use ',' if you have other boars as well!
Under :
FILE > Preferences Ctrl+Comma

After adding it we need to choose it under tools the write board and then the right port:
