Arduino Data Logger using MongoDB Database

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 8

  • @randallyoung6715
    @randallyoung6715 22 дня назад

    This is a great project, thanks for sharing!

  • @hawk_bl
    @hawk_bl 10 месяцев назад +1

    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
      @DonskyTech  10 месяцев назад +1

      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.

    • @hawk_bl
      @hawk_bl 10 месяцев назад

      @@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.

    • @DonskyTech
      @DonskyTech  10 месяцев назад +1

      @@hawk_bl Hey glad you have figured it out. Happy exploring!

    • @mariemsuiher8019
      @mariemsuiher8019 8 месяцев назад

      @@hawk_bl can you please provide me the python program?

    • @anassaif3181
      @anassaif3181 7 месяцев назад

      @@DonskyTech If I send sensor reading to my backend, through HTTP requests, is there any problem?

  • @craizhunterx9033
    @craizhunterx9033 6 месяцев назад

    what is the benefit using http method compared to mqtt method?