stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

5h 7m 7s logged

After setting up the initial project the next step was to figure out how to approach the firmware without making the first prototype unnecessarily complicated

Ai assistance was used as a reference for choosing a firmware folder structure and planning a simple architecture . The idea was to keep the code separated into modules so that individual component could be changed later without having to rewrite the entire system.

the initial structure uses PlatformIO with the Arduino framework for the ESP32 . The Sensor-related files were placed in a separate sensor folder , with for climate control , power management and controller logic as the project develops.

The First piece of firmware work was the sensor abstraction . A common Sensor interface and a SensorData structure were created , along with two sensor implementation : FakeSensor and Sht31Sensor

The fake senor returns fixed temperature and humidity values which makes it possible to develop the basic firmware without having the physical sensor connected . The Sh31 implementation is intended to read actual temperature and humidity measurement using Adafruit SH31 library.

The initial main.cpp was written to select a sensor, initialize it and print its reading through the serial monitor . This gives the project a starting point for checking the senor interface before moving on to climate control.

There is still issue to resolve with Sh31 Library being recognized by VS Code .The Physical sensor has not yet been tested with the ESP32(due to lack of funding) ,so real reading have not been verified. Fan Control , humidification and automatic humidity regulation are also pending .

For now the focus is on getting the sensor layer working reliably before adding more features. Once the ESP32 can read actual environmental data , the next step will be to start building the control logic

0
20

Comments 0

No comments yet. Be the first!