Arduino Data Logger using MongoDB Database
Aug 30, 2023
This post will show you how you can create your own Arduino Data Logger application that will save temperature readings to your MongoDB database. I have used an ESP32 microcontroller board in interfacing with my DHT22/DHT11 sensors. The REST API Server is built using Python, Flask, and PyMongo.
WriteUp:
https://www.donskytech.com/arduino-data-logger-using-mongodb-database/
MongoDB Database IoT Developer Series
https://www.donskytech.com/mongodb-database-for-iot-developers-series/
Code:
ESP32 Arduino Data Logger:
https://github.com/donskytech/platformio-projects/tree/main/esp32-projects/esp32-data-logger
REST API Server:
https://github.com/donskytech/arduino-data-logger
Contents of the Video:
0:00 Intro
0:33 DonskyTech Plug
0:45 Demo
2:56 About Arduino Data Logger using MongoDB Database
3:42 Design
5:18 What is MongoDB Time Series Database?
5:58 Python Flask REST API Server
7:38 ESP32 Arduino Data Logger
11:32 Future Improvement
12:04 Why does logging sensor data to a MongoDB Database make sense?
13:46 Outro
Parts/Components Used in this Project:
ESP32 - https://amzn.to/3X9b7rA
DHT22 - https://amzn.to/3YRDNG4
DHT11 - https://amzn.to/3Rf1WpR
Raspberry Pi 4B - https://amzn.to/3WMUnGG
Breadboard - https://amzn.to/3GDnbeW
Connecting Wires - https://amzn.to/3VSe7HO
If you like my posts or videos then please consider subscribing to my channels and sharing them with your friends:
Website: https://www.donskytech.com
Youtube: https://www.youtube.com/c/DonskyTech
Facebook: https://www.facebook.com/DonskyTech
Twitter: https://twitter.com/DonskyTech
If you are generous and think I have helped you, please consider buying me a coffee. ?
Buy Me a Coffee:
https://buymeacoffee.com/donskytech
Patreon:
https://www.patreon.com/donskytech
#arduino
#esp32
#mongodb
#database
#dht22
#dht11
#python
#flask
#pymongo
#rest
Show More Show Less 