Reads acceleration from an ADXL335 based sensor. Note that concrete ADXL335 instances differ from each other and their output should be adjusted for precise mesearument. By default the values are coarse although reasonable enough to determine shaking and approximate orientation. For an ideally factored accelerometer the outputs are in range ±3ɡ.
Utility node. Converts raw ADC value of an ADXL335 accelerometer to approximate acceleration in ɡ (standard gravity) units.
Reads temperature and humidity from a DHT11 sensor. Also named RHT01.
Utility. Packs raw data from a DHT21 or higher thermometer into meaningful humidity and temperature.
Reads temperature and humidity from a DHT21 or compatible sensor: DHT21, DHT22, DHT33, DHT44, AM2301, HM2301, AM2302, AM2303, RHT02, RHT03, RHT04, RHT05.
Reads a generic button or another mechanical switch. It is expected that the button is normally high, i.e. it is pulled up with a resistor. The node provides signal debounce with 20 ms settle delay.
Utility. Reads raw data bytes from a DHTxx thermometer with one-wire interface.
Reads analog signal value from analog sensor
Reads temperature from a DS18B20 sensor. Expects single-drop bus setup, i.e. one thermometer on a port.
Reads a date/time value from a DS1307, DS1337, DS1338, or DS3231real-time clock IC
Writes a new date/time value to a DS1307, DS1337, DS1338, or DS3231 real-time clock IC. Useful as a throw-away node to setup the RTC once after you install a backup battery.
Reads Sharp infrared range meter GP2Y0A02YK0F (the one with 20…150 cm range).
Reads Sharp infrared range meter GP2Y0A41SK0F (the one with 4…30 cm range).
Transforms raw analog values of a Sharp infrared range meter to distance units.
Drives a DC motor through H-Bridge IC such as L293 or L298.
Reads Sharp infrared range meter GP2Y0A21YK0F (the one with 10…80 cm range).
Measures distance with HC-SR04 ultrasonic range meter. Keeps output intact if a ping fails (no echo or wrong connection).
Reads angular velocity from a gyroscope based on L3G4200 IC by STMicroelectronics. It is expected the gyro is connected to the first hardware I²C bus.
Measures sound roundtrip time with HC-SR04 ultrasonic range meter. Keeps output intact if a ping fails (no echo or wrong connection).
Drives a generic single color dimmable LED. The conversion between luminance and LED power is biased so that change in brightness on range 0…1 is percepted more or less uniformly by a human.
Reads acceleration from an accelerometer based on LIS331DLH IC by STMicroelectronics. It is expected the accelerometer is connected to the first hardware I²C bus.
Reads acceleration from an accelerometer based on LIS331HH IC by STMicroelectronics. It is expected the accelerometer is connected to the first hardware I²C bus.
Reads angular velocity from a gyroscope based on L3GD20H IC by STMicroelectronics. It is expected the gyro is connected to the first hardware I²C bus.
Reads acceleration from an accelerometer based on LIS3DH IC by STMicroelectronics. It is expected the accelerometer is connected to the first hardware I²C bus.
Reads temprature, pressure, altitude from a barometer based on LPS331 chip by STMicroelectronics.
Reads values from a generic potentiometer. Basically a thin wrapper around `analog-input` for a simpler learning experience.
Appends lines of text to a file on SD card
Drives a standard hobby servo
Utility node. Reads raw X/Y/Z data from a STMicroelectronics IMU sensor.
Converts raw axis register value of an ST IMU to a value in g units
Converts raw axis register value of an ST IMU to an angular velocity expressed in radians per second
Rounds up a desired sensitivity of an ST IMU sensor `SEN` to one of [S0, S1, S2, S3]
Drives a text LCD screen with HD44780 chip
Drives a text LCD screen with a PCF8574 or PCA8574 I²C expander module. Usually have a value in range 0x20-0x27 or 0x38-0x3F. Consult LCD/expander documentation to know the exact value.
Drives a digital thermometer based on TMP36 IC