@mfalkvidd OK， i resoved this problem with battery detect in void before ,thanks
Posts made by huex
emm, i get nrf51 broad to run mysensor, but now i found a problem,when the battery low mcu always restart to connected mysensor gw,cause much Nack every senconds , and cause other normal sensor send data to gw Nack!
so i add
#define MY_NODE_ID 51 //Fallback NodeId #define MY_TRANSPORT_WAIT_READY_MS 2000 #define MY_TRANSPORT_MAX_TSM_FAILURES 5 #define MY_SLEEP_TRANSPORT_RECONNECT_TIMEOUT_MS 1000 #define MY_TRANSPORT_UPLINK_CHECK_DISABLED #define MY_PARENT_NODE_IS_STATIC #define MY_PARENT_NODE_ID 0
but also much Nack! Fortunately other sensor work well
i don't know how to solve this problem ，did who know ? thanks!
node 60 is low battery with 2.1v down , if i use more nrf51 sensor ,when power all low ,this also cuase gw No response for other normal sensor!
RE: voltage drop with bh1750fvi ?
@Yveaux thank you ,
i create a pcb with bh1750fvi chip,
i use multimeter measure bh1750fvi v+ pin and gnd ,when power on battery from 2.9v drop 2.1v ,and 3-5 seconds ,up to 2.9v, use a new battery NANFU cr2032， also 3.1 drop to 2.7v，
sleep all is ok , when sleep 7.3ua
but, when down 2.4v bh1750 no work....so。。。i don't how to do,
voltage drop with bh1750fvi ?
i create a lightsensor sketch with bh1750fvi, i found when power with CR2032, voltage from 2.9v drop to 2.4 or lower, but bh1750fvi required 2.4V, so sensor node can't continue , but later 3-5 seconds voltage recovery to 2.9v
ATMEGA328P-U-TH+ nrf24l01-smd with Customized PCB, Are there any good suggestions for solving this problem? thanks!
RE: Novice requesting PCB review and advice for a window / door sensor
YEAH，because difficulty get dr5032FB in my region，more 20HZ with 3v like DRV5032AJD,DRV5032ZEDBZR ,DRV5032FA Available ，maybe other similar low power and low voltage chips ?