power-efficient Arduino controller that can run over a half-year on two AA batteries.There are two interesting components in the project: There are direct port manipulation functions to send " one " and " zero " signal according by the Oregon protocol that allows to speed-up the signal transmission. The constructor for OregonSensor class automatically selects appropriate port based on the transmission pin number. In the library you can see two different classes for each port, directPortB and directPortD. In the Atmega 328 controller there are two output ports, B and D. To make the library faster, direct port manipulation was implemented in the new version of the library. Unfortunately, the controller speed is not sufficient to send the data in the time limits required by the protocol. Please, read the very detailed tutorial about creating own Arduino board running at 1 MHz and consuming as low as 5 micro Amps.Īt the beginning, I tried to use pure library written by Domonique Pierre. In this case, you can also decrease the power consumption by slowing down the controller CPU. I believe it is better to build own Arduino from the scratch without any lLED at all. Unfortunately, you can destroy your Arduino board while trying to cut the desired wire, like I did. You need to cut-off the green power led that consumes about 10 mA. For example, this article describes how to run the Arduino pro mini on batteries for long time. There are several articles in the Internet about running Arduino controller on the batteries. This library is based on the software created by Domonique Pierre, the author of software, emulated Oregon V2.1 protocol. Third, we need the software library for sending the signals using appropriate protocol. The power consumption of this system is about 5 micro Amps! We can use atmega328p-pu chip, running at 1 MHz. Again, in the previous project such a platform has been successfully built. Second, we need mobile platform with low power requirements that can run on the batteries for a long time. In my previous project the sensor si7021 has shown perfect results, so I recommend this sensor one more time: it has great accuracy, small form-factor and low power consumption. You can buy a remote Oregon sensor THGN123N for about $20 or you can build your own temperature/humidity wireless sensor that implements Oregon protocol V2.1 for about $9 and have fun!įirst of all, we need accurate temperature/humidity sensor to check the weather outside.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |