1.16.1 • Published 5 years ago

node-red-contrib-t2abv v1.16.1

Weekly downloads
2
License
GPL-3.0-or-later
Repository
-
Last release
5 years ago

A couple of nodes that produce distillation related numbers based on temperature and atmospheric pressure, together with a couple of other nodes that come in handy when you are automating a still with a Raspberry Pi or otherwise.

The module consists of the following nodes:

  • h20BoilingPoint: calculates the boilingpoint of water at the current atmospheric pressure.
  • Azeotrope: calculates the Azeotrope temperature of ethanol.
  • TtoLiquidABV: calculates the ABV of a liquid, based on temperature of that liquid and the current atmospheric pressure. Different lookup tables are used for ds18b20 and smt172 sensors (smt172 connected to a separate nano) and can be defined in the settings.
  • TtoVaporABV: does the same for ethanol vapor. Also separate lookup tables for ds18b20 and smt172 sensors (smt172 connected to a separate nano).
  • TimeToTargetT: calculates an estimated time to reach a given temperature, based on a temperature measurement of a liquid every 60s.
  • TempOffset: calculates an offset compensated temperature, based on a stored global variable or fixed setting and input.
  • PowerLevel: uses pigpiod to set a hardware pwm signal that corresponds to a certain powerlevel (dutycycle). The frequency can be set in settings or also passed to the input.
  • GPIO: Dynamic configurable GPIO reader/writer and also uses pigpiod.
  • Bresenham: Distributes pulses evenly over time, based on the Bresenham algorithm. This can be used to control power with an SSR or for controlling the flow through a solenoid. Analog control for a digital process.
  • TtoRGB: This will add some bling to your still. It converts a temperature to a color in an free definable color range.

You might also be interested in a couple of other programs that I wrote for both Raspberry Pi and Arduino, in combination with the above that can be found on github:

  • smt172-nano-needlevalve: uses a nano to communicate the smt172 temperature data to the Pi and controls a needlevalve mechanism.

  • smt172-nano-peristalticpump: the same as above, except that it uses a peristaltic pump.

  • ds18b20-service: I noticed that Node-RED is a bit slow with the temperature measurement, so I wrote a daemon that runs in the background and uses MQTT to communicate the measurements and hardware addresses of the sensors.

  • bmp280-service: the same as above, but for a bmp(e)280 atmospheric pressure sensor.

Both the smt172 driver that is used on the Arduino Nano, as the ABV calculation library for the Arduino (ported to Node.js by me) were written by Edwin Croissant.

1.16.1

5 years ago

1.16.0

5 years ago

1.15.4

5 years ago

1.15.3

5 years ago

1.15.2

5 years ago

1.15.1

5 years ago

1.15.0

5 years ago

1.14.0

5 years ago

1.13.0

5 years ago

1.12.0

5 years ago

1.11.0

5 years ago

1.10.0

5 years ago

1.9.0

5 years ago

1.8.4

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago