Hi, is there a way to put serial data from COM into MongoDB? I'm using Arduino Uno connected with PC via USB. I've built a weather station with couple of sensors and want to send sensor readings to MongoDB.
@@DonskyTech Hey, yes I'm using Uno R3. I've found a solution to my problem after writing that comment. I made a simple Python program which reads my serial data from COM in a form like a, b, c, d (temp and humidity) because I use two DHT22 sensors for outside and inside unit. Each time after I recieve data (let's say 10 seconds) it will put it in MongoDB Atlas database automatically.
This is a great project, thanks for sharing!
Hi, is there a way to put serial data from COM into MongoDB? I'm using Arduino Uno connected with PC via USB. I've built a weather station with couple of sensors and want to send sensor readings to MongoDB.
Are you using the old Arduino Uno R3 model? Yes the same pattern as in here but you may need an ESP8266 ESP-01 to send the data to the internet.
@@DonskyTech Hey, yes I'm using Uno R3. I've found a solution to my problem after writing that comment. I made a simple Python program which reads my serial data from COM in a form like a, b, c, d (temp and humidity) because I use two DHT22 sensors for outside and inside unit. Each time after I recieve data (let's say 10 seconds) it will put it in MongoDB Atlas database automatically.
@@hawk_bl Hey glad you have figured it out. Happy exploring!
@@hawk_bl can you please provide me the python program?
@@DonskyTech If I send sensor reading to my backend, through HTTP requests, is there any problem?
what is the benefit using http method compared to mqtt method?