Browsed by
Month: September 2021

ESP-32 Flight Datalogger – Underground GPS

ESP-32 Flight Datalogger – Underground GPS

When the GPS module used for the ESP32-Cam project failed to get a reliable lock while bench testing, it became clear that a mockup was the best option. Development has its challenges, but not having reliable sensor data needn’t be one. Some digital and analog sensor data can be generated either by counters, timers, or a combination of the two. Other sensor data might follow a protocol like SPI, I2C, or UART data streams. For all of these sensor types,…

Read More Read More

ESP-32 Flight Datalogger – Adding Sensors

ESP-32 Flight Datalogger – Adding Sensors

Having code that is organized as blocks or objects opens the door for other possibilities. As the ESP32-Cam project progressed, the use of the I2C protocol from the current sensor led to the widening of the project scope. Among the current sensor were several shelved I2C protocol sensors. The hardware was already available, all that need to be done was merge its code base into the firmware development. Only a barometer sensor was added, which included a thermometer. The sensors…

Read More Read More

ESP-32 Flight Datalogger – Turning Code into Blocks

ESP-32 Flight Datalogger – Turning Code into Blocks

Developing firmware for hardware typically is not a ground up method. Many AVR and ESP projects that exist have been developed using pre-developed code. This can be the main code base or libraries that provide support. Libraries are easier to adopt into a project because they can be defined and called when needed. Code base reuse doesn’t offer this. Much of it is specific for the application it was developed for. As a result, the code base will need to…

Read More Read More