Embedded 🐸 - Live Notes and Thoughts 🧵 #115
Replies: 7 comments 13 replies
-
Database: Pushing data from ESP32 to influxDB is incredibly easy. Influx will literally generate code for you to do this in their "Load Data" tab. I have tested this and it works |
Beta Was this translation helpful? Give feedback.
-
Communication with sensors: All of our hardware sensors are currently I2C, which the ESP32 supports natively |
Beta Was this translation helpful? Give feedback.
-
OTA and fleet management: This is the trickiest one. I don't think we will find an all in one solution for this, but I think something can be pieced together relatively simply. The ESP32 is reasonably simple to have automatically update from a secure server: https://blog.classycode.com/secure-over-the-air-updates-for-esp32-ec25ae00db43. Basically it just periodically checks a secure server and checks if there is a newer version of firmware that it needs to download. It may be possible to have that secure server be github itself, so that pushes to the main branch can compile automatically, store the newest version of firmware, and the 🐸 can check against that. That is what I intend to explore first. If that cannot be done, the 🐸 can definitely be updated from a standard cloud server, like AWS or Azure. While that would cost money, we may be able to get it sponsored for a free/open source project. @keenanjohnson In short, exploring reliable OTA updates is the first puzzle to solve in exploring the viability of an embedded 🐸 |
Beta Was this translation helpful? Give feedback.
-
Wow this is really awesome that you can flash from a Github hosted file! I had no idea that was an option! I think that really opens up the possibilities for using an esp32!!!! You are crushing this! |
Beta Was this translation helpful? Give feedback.
-
Power and Solar notes: I tested the setup over 65 hours and observed an average power consumption of about 0.6W at 5V. Now, doing some worst case math: So this gives us a need for:
Notes:
|
Beta Was this translation helpful? Give feedback.
-
Embedded Ribbit Build: I built 3 embedded ribbits with an ESP32, SCD30, and the DPS310 (and 1 with the GPS). I made clear plastic containers for them out of takeout food containers, and drilled holes around the top under a lip to allow for good airflow with a modest amount of rain protection. The idea is to put them all outside on my window sill and compare data between all 3 of them to see how stable they are with respect to each other. |
Beta Was this translation helpful? Give feedback.
-
Temperature Concerns: Once I built the Ribbits, I also placed a temperature data logger into the enclosure with Device number 2. The logger is an Elitech RC-5+, which is calibrated from the factory to +-0.5*C. The goal was to test not only how close the DPS310s were to each other, but also to a known source of truth. The ribbits can vary from each other with respect to time, as they are about 1 foot apart each and the sun hits each enclosure at a different time in the morning, but ideally, Ribbit number 2 and Elitech Data logger should be extremely close as they are in the same container. Unfortunately, the data is not great. As you can see, the Elitech logger is consistantly 5-6 degrees Celsius warmer than any of the DPS310s. Full data set can be viewed and analyzed here: https://westeurope-1.azure.cloud2.influxdata.com/share/vy1JB-d8EWqqsY2I4y3D7 |
Beta Was this translation helpful? Give feedback.
-
This is a live chat / notes document for designing and addressing concerns with a non-linux based 🐸 . Specifically this is looking at using the ESP32 as the primary compute device for a 🐸 .
Advantages:
Concerns:
Beta Was this translation helpful? Give feedback.
All reactions