How much battery life you expect with this modified boot-loader and code?
Posts made by tiana
-
RE: 💬 HumTempNode
-
RE: 💬 Arduino Nano NRF24L01+ Shield
I also have project for mini.
The project have pads for battery, battery protection IC, LIPO charger USB for charging... battery voltage measurements....
But the project is not released yet, because high temperature during charging. -
RE: 💬 Battery Powered Sensors
@kimot
At all of the time 328p will be in sleep forever, when button is pressed interrupt is triggered and wake the 328p power ON the radio send info power OFF radio and go sleep forever.
Only when battery level go below critical level. the radio stay OFF and only interrupt and sleep forever.I am almost ready with the drawings of the hardware, and next week start work on software... you can see the project in the openhardware.io i gonna upload it later tomorrow.
-
RE: 💬 Battery Powered Sensors
Thanks for the ideas, i will modify the code to use LowPower lib and will cut the power to the radio module to increase battery live, when last massage is send the node will never power the radio module, will be only short interrupt and go again to sleep forever. This will give me power usage 20times more than self battery discharge. Which have to give me node uptime around 260days with coin cell battery.
-
RE: 💬 Battery Powered Sensors
Yes but in this case the last massage will be the same like the previous, only the battery level will be below some predefined value. i don't like this. I will think how to solve this.
-
RE: 💬 Battery Powered Sensors
Is exist something "last wish" in MySensors, when battery go below predefined level the device to send last massage to the GW and go sleep forever.
The idea is the controller/application to have information about the device and to be known this device is dead and need battery change. -
RE: 💬 Door, Window and Push-button Sensor
Thanks for fast reply, actually 900nA is to big number and i prefer to use xxx_POWER_PIN to cut the power of the NRF module.
I am building switch powered with CR2032 battery and i want to extend battery live as much as possible, for a switch is not needed to keep radio alive, i need it ON only when transmit signal -
RE: 💬 Door, Window and Push-button Sensor
Do you know how much will be power usage in transportDisable mode?
-
RE: 💬 Door, Window and Push-button Sensor
What will happen if i cut the power OFF of the radio after each transmission? is it needed to be initialize again before next transmission?
-
RE: 2 Arduinos using the one radio. Possible?
Hello,
Some ware in MySensors website have info how to combine 2 sketches, i think one Arduino can handle all your need.
-
RE: 💬 Arduino UNO NRF24L01+ Shield
Hello,
Even without capacitors work well, for all of my sensors. With the capacitor only the range is little bit increased.
The SMD version of the NRF module works only for some vendors, there exist different pinout of those NRF modules.
Also there have one issue with the design, the one of the mounting holes are not align to Arduino hole at the moment i work to fix this, after fixing the gerbers will be updated.I don't like one think here in openhardware.io there haven't project versions and when some change is made cannot be visible as changed, if somebody had already download the gerber files, will have old version of them and is not be alerted for new design change.
-
RE: 💬 RS485 MCU Module
Hello,
I wan to make fork based on your work, i have some question:
- How many devices can be attached to one bus?
- Is this 328p loaded with Arduino boot loader?
- How to make OTA update if its possible please share some doc. ?
-
RE: 💬 Temperature-Humidity-Pressure Sensor
Advantage of this sensor is fast and easy installing by the non qualified personal. The sensor is designed for large agriculture facility with many greenhouses where is needed to be controlled temperature and humidity, the atmospheric pressure is for control the motor of air inlet and outlet. With help of the sensor installed outside the greenhouse provide information about positive/negative pressure inside the greenhouse.
Finlay the software read accurate temp/humid value of the Si7021, and only atmospheric pressure of BMP180, the temperature sensor inside the BMP180 is used only by the sensor itself to provide accurate atmospheric pressure measurements.
The sensor can be used also for home automation, and drone applications where is needed correction of the UAV barometric sensor compared to the ground barometric sensor, also humidity measurement can help the pilot to calculate more accurate flying time.
-
RE: Watchdog not watchdogging?
See this project, there have solution for hardware based watch dog, can be easily transform to be usable for Arduino.
-
RE: 💬 Raspberry PI Hat
I am not familiar with this board. look good. But mine design have few leverages:
- You can stack another shield on top.
- Have hardware Watch Dog Timer in case of your R-PI freeze.
-
RE: 💬 Building a Raspberry Pi Gateway
Is it possible to use the second ISP on my raspberypi 3 to connect NRF24L01+ and what will be the wiring diagram, also what have to change in mygsw library
-
RE: 💬 Infrared Sender and Receiver
I send command from remote control arduino read this command (i can see this in serial monitor) but this commands are not sending to gateway, my radio is working the sensor connect to gateway and controller. I use example Sketch given up in this page without changing anything.
Any idea whats wrong in my setup? -
Arduino Code for RAW sensor value.
I need arduino code to send RAW sensor value, when sensor change his value to send this value to controller. The type of signals have to be V_LEVEL. Normally i will use this with analog sensors.
If somebody have this kind of code please share with us.
-
RE: 💬 Air Humidity Sensor - DHT
I read datasheet for DHT11 and 2 degree deviation is ok for them. Now i playing with DHT22 I try this #define SENSOR_TEMP_OFFSET -1.3, but nothing is changed the sensor still give me same value.
-
RE: 💬 Air Humidity Sensor - DHT
For some sensors is possible to make with offset, but some of the sensors changing their values 2 times in minute with + - 2 degree Celsius some times show more sometimes show less.
-
RE: 💬 Air Humidity Sensor - DHT
Is exist some way to calibrate DHT sensors? today i make a experiment assemble 5 nodes with 5 DHT11 sensors put all nodes on one table and leave them for some hours, and the result is the every sensor give different values about temperature and humidity + - MAX 5 degree Celsius around the real temperature in the room. Hardware used Arduino Nano X 5pc., HDT11 X 5pc., the power supply is 12V 2,2A enough to power all of the arduinos.
-
RE: 💬 Relay
Both sketch not working giving me "error: 'saveState' was not declared in this scope
saveState(CHILD_ID, state);"
-
RE: MQTT Gateway
I successful tested my gateway, the gateway receives commands from nodes, but something missing the OpenHAB not receive commands from the gateway i install mosquitto but missing a lot of information:
How to configure openhab to connect to the mosquitto ?in openhab.cfg i put this
mqtt:mysensor.url=tcp://localhost:1883 mqtt:mysensor.clientId=MyMQTT and other option is commented
my binding is
{mqtt="<[mysensor:MyMQTT/21/1/V_TEMP:state:default]"}
What this "MyMQTT means is this related to some setting in mosquitto?
-
MQTT Gateway
I try to make raspberry pi 3 to work like a mqtt gateway according to this tutorial, but something is wrong.
https://www.mysensors.org/build/raspberry1.How to check condition on the gateway working,not working, what sending, what receiving?
2.how to st my openhab to work with this gateway, i type this before "sudo make install"
./configure --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mysensors-out --my-mqtt-subscribe-topic-prefix=mysensors-in --my-mqtt-client-id=mygateway1
and what port should set on my opehnab config?
-
RE: Raspberry Pi2 GPIO interface for NRF24L01+
Is it possible this project act, as Ethernet Gateway ? And how to set?
-
RE: Gas Sensor Problem
i use
MyMessage msg(CHILD_ID_MQ, V_LEVEL);and is same as
MyMessage msgSmoke(CHILD_ID_SMOKE, V_LEVEL); -
Gas Sensor Problem
Gas Sensor Problem
I use MQ2 sensor
I Copy/Paste code without eny changes
and i have problem my gateway read like dust sensot
0;0;3;0;9;read: 25-25-0 s=0,c=1,t=37,pt=2,l=2,sg=0:0
MyMQTT/25/0/V_DUST_LEVELhelp me to sove this problem
-
RE: Help with req id
I reed this manual 100 times but dont understand how to add sensor id manualy.
Wich file have to change?? wich part of thiss file have to change???
My controler haven't support or not set auto assigning node id
-
Help with req id
Sensor log
req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: repeater started, id=255, parent=0, distance=1 req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=fail: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok: req id send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
Gateway log
0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
Somebodey can help me with getting sensor ID