<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on ATTNode</title><link>https://www.attno.de/post/</link><description>Recent content in Posts on ATTNode</description><generator>Hugo</generator><language>en-us</language><copyright>&amp;copy; 2020-2023. All rights reserved.</copyright><lastBuildDate>Thu, 02 Sep 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.attno.de/post/index.xml" rel="self" type="application/rss+xml"/><item><title>Running AttNode v1/v2 on TTN v3</title><link>https://www.attno.de/post/2021-09-02/</link><pubDate>Thu, 02 Sep 2021 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2021-09-02/</guid><description>&lt;p>As you will probably know, the legacy TTN v2 Stack will be shut down in December of this year, which means nodes on TTN v2 should be migrated to The Things Stack Community Edition (formerly known as TTN v3 Stack). Unfortunately, the TTS stack made it a little harder to run &amp;ldquo;incomplete&amp;rdquo; nodes like the AttNode v1 and v2, which in the default firmware don&amp;rsquo;t support downlink packets, and are therefore not exactly LoRaWAN Spec compatible.&lt;/p></description></item><item><title>HM330x Sleep Fixes and SPS30 Support</title><link>https://www.attno.de/post/2021-07-08/</link><pubDate>Thu, 08 Jul 2021 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2021-07-08/</guid><description>&lt;p>The AttNode v3 firmware now has support for the &lt;a href="https://www.sensirion.com/en/environmental-sensors/particulate-matter-sensors-pm25/" target="_blank" rel="noopener">Sensirion SPS30 Particulate Matter Sensor&lt;/a>
. 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&amp;rsquo;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&lt;/p></description></item><item><title>Support for HM330x Particulate Matter Sensor</title><link>https://www.attno.de/post/2021-05-03/</link><pubDate>Mon, 03 May 2021 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2021-05-03/</guid><description>&lt;p>The AttNode v3 firmware now has support for the &lt;a href="https://wiki.seeedstudio.com/Grove-Laser_PM2.5_Sensor-HM3301/" target="_blank" rel="noopener">HM3301 particulate matter sensor from Seeed Studios&lt;/a>
. 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.&lt;/p>
&lt;p>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).&lt;/p></description></item><item><title>ATTNode v3 CO2 Sensor Addon and Multisensor support</title><link>https://www.attno.de/post/2021-03-28/</link><pubDate>Sun, 28 Mar 2021 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2021-03-28/</guid><description>&lt;p>&lt;a href="https://twitter.com/thebowmen" target="_blank" rel="noopener">grauzone&lt;/a>
 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 &lt;a href="https://github.com/theArcher73/attnode-addon_mh-z19" target="_blank" rel="noopener">Github&lt;/a>
.&lt;/p>
&lt;p>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 &lt;a href="https://www.seiichiro0185.org/git/attnode/v3_firmware/src/branch/master/README.md" target="_blank" rel="noopener">README.md in the Firmware Repository&lt;/a>
 for further details on how to use it.&lt;/p></description></item><item><title>ATTNode v3 Firmware Now Uses PlatformIO</title><link>https://www.attno.de/post/2021-02-01/</link><pubDate>Mon, 01 Feb 2021 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2021-02-01/</guid><description>&lt;p>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.&lt;/p>
&lt;p>The old Arduino IDE variant of the firmware is archived as a separate branch &lt;strong>arduinoide&lt;/strong> in the Git repository for reference purposes, but any new development will use the PlatformIO variant.&lt;/p></description></item><item><title>ATTNode Addon: Powerpack</title><link>https://www.attno.de/post/2021-01-08/</link><pubDate>Fri, 08 Jan 2021 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2021-01-08/</guid><description>&lt;p>&lt;a href="https://twitter.com/thebowmen" target="_blank" rel="noopener">grauzone&lt;/a>
 has developed a simple voltage regulator board to make more power sources usable for the ATTNode:&lt;/p>
&lt;hr>
&lt;h1 id="overview">Overview&lt;/h1>
&lt;p>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:&lt;/p></description></item><item><title>ATTNode v3 Set Send Interval via Downlink</title><link>https://www.attno.de/post/2020-12-20/</link><pubDate>Sun, 20 Dec 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-12-20/</guid><description>&lt;p>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.&lt;/p>
&lt;p>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:&lt;/p></description></item><item><title>ATTNode v3 Case and SHT21 Support</title><link>https://www.attno.de/post/2020-12-04/</link><pubDate>Fri, 04 Dec 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-12-04/</guid><description>&lt;p>An adapted 3D-printable case for the ATTNode v3 is now available. Here is a first look of it (on the left in white) next to the case of an ATTNode v2:&lt;/p>
&lt;figure>&lt;img src="https://www.attno.de/post/2020-12-04/20201204_v3v2case.jpg"
 alt="ATTNode v3 vs v2 Case" width="400">
&lt;/figure>

&lt;p>Also the Firmware now supports the SHT21 Sensor in addition to the BME280.&lt;/p></description></item><item><title>ATTNode v3 Minimal Firmware Available</title><link>https://www.attno.de/post/2020-12-02/</link><pubDate>Wed, 02 Dec 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-12-02/</guid><description>&lt;p>Since yesterday evening there is a first minimal firmware for the ATTNode v3 Available in the &lt;a href="https://www.seiichiro0185.org/git/attnode/v3_firmware" target="_blank" rel="noopener">Git Repository&lt;/a>
. This Firmware does support the basic functionality of the Node as in:&lt;/p>
&lt;ul>
&lt;li>Uses the MCCI LoRa LMIC for maximum LoRaWAN compatibility&lt;/li>
&lt;li>Uses OTAA for Device Activation&lt;/li>
&lt;li>Supports DeepSleep between Measuring/Sending for Maximum Power Savings&lt;/li>
&lt;li>Implements the BME280 Sensor&lt;/li>
&lt;/ul>
&lt;p>As there is no support for the ATTiny3216 in PlatformIO yet, the firmware uses ArduinoIDE with the &lt;a href="https://github.com/SpenceKonde/megaTinyCore" target="_blank" rel="noopener">MetaTinyCore&lt;/a>
 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.&lt;/p></description></item><item><title>ATTNode v3 Hardware Finished</title><link>https://www.attno.de/post/2020-11-26/</link><pubDate>Thu, 26 Nov 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-11-26/</guid><description>&lt;p>Today the final Prototypes of the ATTNode v3 arrived and where successfully tested for basic functionality. With this I have now added the ATTNode v3 to the Site. Firmware is still in the very early stages at the moment, but the Hardware should work as expected. See &lt;a href="https://www.attno.de/attnode-v3">the ATTNode v3 subpage&lt;/a>
 for more info.&lt;/p></description></item><item><title>TinyLoRa is now ATTNode</title><link>https://www.attno.de/post/2020-09-10/</link><pubDate>Thu, 10 Sep 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-09-10/</guid><description>&lt;p>Today I announce the renaming of the TinyLoRa project to &lt;strong>ATTNode&lt;/strong> which is short for &lt;em>ATT&lt;/em>iny &lt;em>Node&lt;/em>. Reason for this is, that &amp;ldquo;LoRa&amp;rdquo; is a regsitered trademark of Semtech, which means that I could get into legal trouble using it for my &amp;ldquo;product&amp;rdquo;. Since I don&amp;rsquo;t have the time or money for a legal battle with a big corporation, I have decided to preemptively rename the project.&lt;/p>
&lt;p>The website will be located at &lt;a href="https://www.attno.de/" target="_blank" rel="noopener">www.attno.de&lt;/a>
 from now on, but &lt;a href="https://www.ttgw.de" target="_blank" rel="noopener">www.ttgw.de&lt;/a>
 will be forwarded to the new one for the forseeable future.&lt;/p></description></item><item><title>Measuring Brightness with a LED</title><link>https://www.attno.de/post/2020-05-14/</link><pubDate>Thu, 14 May 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-05-14/</guid><description>&lt;p>&lt;a href="https://twitter.com/Twenty_Sixer" target="_blank" rel="noopener">twentysixer&lt;/a>
 has developed a simple but effective way to detect brightness with the TinyLoRa. All that is needed is a simple LED:&lt;/p>
&lt;hr>
&lt;p>With the TinyLoRa and a simple led you can detect brightness and darkness.&lt;/p>
&lt;p>The LED is connected to 2 GPIOs in the reverse direction. The LED is charged and measured until it is discharged again. The darker it is, the longer it will take to discharge it.
Clear LEDs with a low forward voltage are best suited, e.g. red or yellow&lt;/p></description></item><item><title>Deep Sleep Current and Optimizing the BME280</title><link>https://www.attno.de/post/2020-04-23/</link><pubDate>Thu, 23 Apr 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-04-23/</guid><description>&lt;p>Since the TinyLoRa Node does seem to get some interest in the last days the question of power consumption and deep sleep currents came up a few times. So here are some measurements I took as well as a way to potentially more than halve the deep sleep current when using one of the usual BME280 sensor modules.&lt;/p>
&lt;h2 id="deep-sleep-current-measurements">Deep Sleep Current Measurements&lt;/h2>
&lt;p>I use the ATTiny84s deep sleep / powerdown feature and the internal watchdog to keep the power consumption low and get a useful battery life with a CR2032. To get an idea how good/bad this works I did some measurements.
i



&lt;table class="pure-table pure-table-striped">
 &lt;thead>&lt;tr>
 
 &lt;th>Test Arrangement &lt;/th>
 
 &lt;th> Deep Sleep Current&lt;/th>
 
 &lt;/thead>&lt;/tr>
 &lt;tbody>
 
 &lt;tr>
 
 
 &lt;td>TinyLoRa without a Sensor &lt;/td>
 
 &lt;td> ~ 4.4µA &lt;/td>
 
 &lt;/tr>
 
 &lt;tr>
 
 
 &lt;td>TinyLoRa with BME280 Module (Stock) &lt;/td>
 
 &lt;td> ~ 10.7µA &lt;/td>
 
 &lt;/tr>
 
 &lt;tr>
 
 
 &lt;td>TinyLoRa with BME280 Module (modified) &lt;/td>
 
 &lt;td> ~ 4.5µA &lt;/td>
 
 &lt;/tr>
 
 &lt;/tbody>
&lt;/table>&lt;/p></description></item><item><title>LoRa FrameCounter now Saved Across Reset/Power Loss</title><link>https://www.attno.de/post/2020-04-21/</link><pubDate>Tue, 21 Apr 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-04-21/</guid><description>&lt;p>Up until now the Lora Frame Counter, which is a security feature to prevent replay attacks, was reset every time the ATTiny rebooted (e.g. because of reset or power loss). Because of this the Frame Counter Check in the settings of the Lora devices had to be disabled, or messages after a reset wouldn&amp;rsquo;t be processed by the TTN Backend.&lt;/p>
&lt;p>I have now implemented a way to save the Frame Counter in the ATTinys integrated EEPROM, so it will survive resets and power loss. Because of that the Frame Counter Check can now be left enabled when using the current Firmware (starting from git commit 361f8e0b85). Please be aware that the EEPROM is reset when flashing the ATTINY, therefore you will have to reset the frame counter in the TTN-Console when reflasing a device with enabled Frame Counter Checks.&lt;/p></description></item><item><title>TinyLoRa v2 Case Available</title><link>https://www.attno.de/post/2020-04-13/</link><pubDate>Mon, 13 Apr 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-04-13/</guid><description>&lt;h1 id="3d-printable-case-for-tinylora-v2-available">3D-Printable Case for TinyLora v2 Available&lt;/h1>
&lt;p>As promised I have now also designed a 3D-Printable case for the TinyLoRa v2 Boards. The Board is meant to be used with a small coil antenna directly mounted to the PCB. Here are some pictures:&lt;/p>
&lt;p>&lt;figure class="fig-align-left">&lt;img src="https://www.attno.de/post/2020-04-13/20200413-174522-1.jpg"
 alt="Case" height="500">
&lt;/figure>

&lt;figure class="fig-align-left">&lt;img src="https://www.attno.de/post/2020-04-13/20200413-174600-1.jpg"
 alt="Case Parts Front" height="500">
&lt;/figure>

&lt;figure class="fig-align-left">&lt;img src="https://www.attno.de/post/2020-04-13/20200413-174615-1.jpg"
 alt="Case Parts Back" height="500">
&lt;/figure>
&lt;/p>
&lt;h1 id="heading">&lt;/h1>
&lt;p>The STL and OpenSCAD files are available from the &lt;a href="https://www.attno.de/attnode-v2">ATTNode v2 main page&lt;/a>
&lt;/p></description></item><item><title>TinyLoRa v2 Prototype Tests Successfull</title><link>https://www.attno.de/post/2020-03-03/</link><pubDate>Sun, 08 Mar 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-03-03/</guid><description>&lt;p>My tests with the v2 prototype PCBs where successfull, I did not find any functional issues with the boards, and only some minor cosmetic issues.&lt;/p>
&lt;p>Documentation of the TinyLoRa v2 PCB is now available &lt;a href="https://www.attno.de/11-tinylora_v2">on this site&lt;/a>
. You can also find a ZIP with the Gerberfiles attached there, so you can order your own from the usual PCB prototyping companies.&lt;/p></description></item><item><title>TinyLoRa v2 First Prototype PCBs Arrived</title><link>https://www.attno.de/post/2020-02-27/</link><pubDate>Thu, 27 Feb 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-02-27/</guid><description>&lt;p>After a long wait due to coronavirus outbreaks in China and resulting delays in the PCB production it is finally here, The first prototype of the TinyLoRa v2 Board:&lt;/p>
&lt;figure class="fig-align-left">&lt;img src="https://www.attno.de/post/2020-02-27/tinylorav2_ufl.jpg"
 alt="Tinylora v2 Prototype" height="500">
&lt;/figure>

&lt;h1 id="heading">&lt;/h1>
&lt;p>The triple use footprint for u.fl, SMA and wire antenna seems to work as intended, and the rest of the board works as before. So all in all a sucessfull first prototype run.&lt;/p></description></item><item><title>TinyLoRa v2 Combo Antenna Port</title><link>https://www.attno.de/post/2020-01-26/</link><pubDate>Sun, 26 Jan 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-01-26/</guid><description>&lt;p>Some more development on the TinyLoRa v2 board. I have modified the SMA connector footprint in such way, that it should now be possible to also use a U.FL Connector or use a Wire- or Coil Antenna instead of the SMA edgemount connector. With this change it should be possible to use all of the most common types of antennas with the node. I also did some more cleanup and finishing touches:&lt;/p></description></item><item><title>TinyLoRa v2 Development started</title><link>https://www.attno.de/post/2020-01-24/</link><pubDate>Fri, 24 Jan 2020 00:00:00 +0000</pubDate><guid>https://www.attno.de/post/2020-01-24/</guid><description>&lt;p>Here is a sneak peek at the next iteration of the TinyLoRa PCBs. I got it down to roughly half the size compared to the v1 board by making it a two sided board and putting the battery holder, which is by far the biggest component, onto the Backside. I also added the possibility to use a edge-mounted SMA connector for the antenna.&lt;/p>
&lt;p>Because of the battery at the back the sensors don&amp;rsquo;t fit there anymore, so the GPIO-connector was flipped by 180° so the sensor now mounts over the front of the board. There are still some finishing touches to be done before I will put them into production, but it shouldn&amp;rsquo;t be to much work. As I don&amp;rsquo;t have any real boards yet here are some renders from KiCAD:&lt;/p></description></item></channel></rss>