Close

Software Updates: New Sensors and Methods

A project log for Mycodo - Environmental Regulation System

Bringing industrial automation and regulation to everyone.

kyle-gabrielKyle Gabriel 09/12/2016 at 15:290 Comments

While eagerly waiting all my components for my [secret mycodo] project to arrive in the mail, I took the opportunity to update the mycodo software. Here are the highlights for each minor version update since the last software update log that covered the new Method feature:

v4.0.18: Add sensor: Atlas Scientific PT-1000 I2C temperature sensor.
v4.0.17: Add new method type: Setpoint tracking of a sinusoidal wave that repeats daily.
v4.0.16: Add option to force browser to use SSL/HTTPS.
v4.0.15: Add sensor: HTU21D I2C temperature and humidity sensor.
v4.0.14: Add new method type: Setpoint tracking that repeats daily.
v4.0.13: Modify time-lapse method so it can resume if there is a power failure or reboot.
v4.0.12: Add ability to select I2C bus for all I2C devices, for TCA9545A I2C Bus Multiplexer.
v4.0.11: Add Pi camera streaming and time-lapse functionality; fix still image capture.

With the addition of two new method types to track a setpoint over the day and repeat each day, there are a lot of new possible uses for mycodo. These two types allow the user to exactly define what the regulation setpoint should be at any point of the day. For instance, if you want to raise the temperature mid-day and lower it at night every day, this is now possible. The new sine wave daily repeating method allows the user to define a sine wave based on amplitude, frequency, angle shift, and y-axis shift, to enable smooth setpoint tracking, so you can do things such as create a setpoint change across the day to mimic the swing you commonly see with temperature or humidity.

For new sensors, we have the HTU21D temperature and humidity sensor and the Atlas Scientific PT-1000 industrial temperature sensor. The HTU21D is an affordable (breakout boards are $4 on ebay) I2C temperature sensor. It lacks the filter membrane of its sister chip, the HTU21D-F, but this is something you can create yourself and save $15. Next, the Atlas Scientific PT-1000 is a high-range industrial temperature probe and I2C-enabled (also UART) circuit board to process the signal. Encased in a waterproof cable and with the removable thermowell, temperatures can be measured indefinitely from a submerged environment, from -200°C to 850°C.

Discussions