@fabyte awesome job. I'm working something similar. Could you share your main program code?
icebob
Posts
-
A tiny BME node - BME280 on ATtiny85 -
110v-230v AC to Mysensors PCB board -
My GatewayGood job!
-
Serial Gateway w/ MQTT using nodeJS@barduino Thx, good job!
-
Gas Sensor ProblemUse V_LEVEL
MyMessage msgSmoke(CHILD_ID_SMOKE, V_LEVEL); -
OpenHardware.ioGood job. I found a bug. I can't select the link in the BOM list. Google Chrome v47
-
110v-230v AC to Mysensors PCB boardHi,
I now received PCBs from DirtyPCB. I'm searching components (but not from China sellers).
Can I use this varistor on the AC side?: http://uk.farnell.com/multicomp/mcsr391k10ds/varistor-60j-250vrms/dp/1856880
And on the DC side?: http://uk.farnell.com/multicomp/mcvz1206m050agt/varistor-multilayer-4vac-0402/dp/2462756Thanks in advance!
-
Test of Step-Up-Modules (sparkfun, Pololu & china-module) / any other?@scalz: thank you for you calculation. It's interesting. I will measure it if I receive the MCP16251.
-
3 in 1 incl battery monitor@the-cosmic-gate Nothing special. I made a big sketch, which contains 7-8 sensors (DHT, Si7021, MQ-2/9, PIR, Door magnet, Light, battery) reading code because I would like to upload the same sketch to all nodes and configurate it on controller side, which sensors is on the node and need to read.
But currently I reached the limit with I2C includes, so I need to think over this solution. -
Test of Step-Up-Modules (sparkfun, Pololu & china-module) / any other?@ericvdb Sorry, I read somethingh wrong :)
-
Test of Step-Up-Modules (sparkfun, Pololu & china-module) / any other?On my custom node PCB, I will use MCP16251 chip to boost supply to 3.3V.
http://ww1.microchip.com/downloads/en/DeviceDoc/25173A.pdfBy docs, If I use it from one AA battery (1.5V), the efficiency is ~80%, consumes ~14uA. I think it is not bad.
-
Test of Step-Up-Modules (sparkfun, Pololu & china-module) / any other?@ericvdb great observation. But this board is not an MCP1702, because MCP1702 is a voltage regulator IC
-
3 in 1 incl battery monitor@the-cosmic-gate sorry, I'm working a big complex sketch, I can't share my code currently.
-
RiotsYes, the controller is in the cloud. Mama board is just a gateway device http://www.riots.fi/p/mama-riots.html
In this case, you need live internet connection to check the sensor data. -
RiotsNothing extra solution.
http://www.riots.fi/p/riots-core.html
Riots Core contains:
- Atmel ATmega328P MCU
- RGB LED
- nRF24L01+ radio module
Maybe they will use mySensors for communication? :)
-
RiotsI found now. Riots on KickStarter. RF based battery powered mini IoT Arduino compatible devices. Similar crowfunding IoT project like what we are doing here in this forum.
It seems they want to power with button-cell battery. I'm curious they will be able to solve this low power problem (it's contiuous problem in this forum) or will need to change the battery monthly :) -
3 in 1 incl battery monitorCurrently I'm developing my boards, so there is no live device/sensor in my home. But in the future I plan to make a custom controller, and it will turn on/off the PIR sensors on the nodes, depending on the house is armed or not. So if I'm at home, PIR sensor won't watching. (It's just a plan for the present)
-
3 in 1 incl battery monitor@ericvdb http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2680&dDocName=en545243. It's specified for PIC, but I select SLEEP mode in every cycle, so I can use for any uC.
@carlierd: I have no extra secret. If I measure 3-4 sensor and every values is changed, the loop time is 100ms. Best case is 10-20ms (if every sensors is unchanged). I'm not using delay in the loop.
-
3 in 1 incl battery monitor@the-cosmic-gate Now I measured my dev circuit (Arduino Nano from China (cutted power led and desoldered regulator) + DHT22 + PIR + Battery measure resistor divider) and in gw.sleep (with 1 interrupt for PIR) the power comsumption is ~90uA.

It wakes up every minutes, measuring and sending (~100ms and 5 - 20mA).
So 100ms with 20mA and 59900ms with 0.09mA. The average current is 120uA and with 2 AA battery it is about 2 years.
