The AttNode v3 firmware now has support for the Sensirion SPS30 Particulate Matter Sensor
. At the moment the PM1, PM2.5, PM4 and PM10 values in µg/m³ are reported by the sensor. There is only support for the I2C-Mode for now. Since the Sensor needs a 5V power supply, you’ll need a power source that can provide that (e.g. USB), and connect the ATTNode via a PowerPack. the I2C-Pins of the Sensor can be directly connected to the ATTNode
The AttNode v3 firmware now has support for the HM3301 particulate matter sensor from Seeed Studios
. At the moment the PM1, PM2.5 and PM10 values in µg/m³ for atmospheric environment will be added to the payload if the sensor is connected and enabled.
The sensor can be connected to the regular I2C-pins (Vin, GND, SCL, SDA) and will run from a 3.3V power source. Be aware that the sensor can use up to 120mA of current, so your power source has to be able to provide at least 250mA (combined current of the sensor and the RFM95W while sending).
grauzone
has created an ATTNode v3 addon board for the MH-Z19C CO2 Sensor. The addon has an onboard 3,3V voltage regulator to supply the node while providing the needed 5V to the sensor (directly from a 5V supply). It also incorporates 2 WS2812B RGB LEDs to signal current LoRa status as well as the current CO2 Level. Details on the hardware can be found on Github
.
While adding the code for the CO2-Sensors I also extended the firmware to support multiple sensors. For example a BME280 and a CO2-Sensor can be added in parallel. See the README.md in the Firmware Repository
for further details on how to use it.
Recently PlatformIO added support for the Microchip ATTiny3216 used on the ATTNode v3. Starting today, all further development of the official firmware will use PlatformIO as the coding environment instead of Arduino IDE, because of the far better IDE, sensible library management and automated project configuration.
The old Arduino IDE variant of the firmware is archived as a separate branch arduinoide in the Git repository for reference purposes, but any new development will use the PlatformIO variant.
grauzone
has developed a simple voltage regulator board to make more power sources usable for the ATTNode:
Overview
This is an add-on for the ATTNode to supply it with operating voltages between 3.5-16V. The voltage source must provide at least 120 mA. The PCB has the format of the CR2032 battery clip and is soldered to the back of the node instead of the clip. This allows the node to be powered by a USB power supply, a LiPo or any other fixed voltage power supply. Here are some pictures of the add-on:
In the newest revision of the ATTNode v3 firmware it is now possible to change the send interval at runtime using LoRa Downlink packets. This makes it possible to remote-configure nodes without reflashing them.
To set a sending interval it has to be scheduled as a downlink paket for the node as a 2-Byte uint value. To set an interval of 10 minutes for example, one has to send the value 0x000A (10 as a 2-Byte Hex), for 5 minutes it would be 0x0005 and so on. If you want to reset the node to the compiled in value just send 0xFFFF. Here is an example setting the interval to 10 at the TTN-Console:
Since yesterday evening there is a first minimal firmware for the ATTNode v3 Available in the Git Repository
. This Firmware does support the basic functionality of the Node as in:
Uses the MCCI LoRa LMIC for maximum LoRaWAN compatibility
Uses OTAA for Device Activation
Supports DeepSleep between Measuring/Sending for Maximum Power Savings
Implements the BME280 Sensor
As there is no support for the ATTiny3216 in PlatformIO yet, the firmware uses ArduinoIDE with the MetaTinyCore
for the time being. Some hints about Configuring the ArduinoIDE are in the Repo. When PlatformIO Support becomes available for the 3216 I will switch to using it again as it has been with the ATTNodes v1/v2.