💬 Sensebender Micro
-
Is it possible to directly connect a RFM69* module to the Sensebender Micro? Or do I need the (rather costly) NRF2RFM69 to do that?
-
Is it possible to directly connect a RFM69* module to the Sensebender Micro? Or do I need the (rather costly) NRF2RFM69 to do that?
-
What is costly? If you grab the gerbers for the nrf2rfm69, send them to dirtypcbs (or use the link provided in the thread and order the pre uploaded gerbers at dirtypcbs) you'll get around 30 modules for 12$..
-
@tbowmo : The code to switch the frequency back to 1MHz is still there at https://www.mysensors.org/view/1/Sensebender-Micro.
Should it be removed?@Michiel-van-der-Wulp
Can you tell me where in the code is the switch to 1 MHz? I still have the problems that my node dosnt send anymore. It works for several hours but after then it dont send anything.In programming i am not good, and so i cant find the switch.
Thank you very much.
Greets Eddie -
@Michiel-van-der-Wulp
Can you tell me where in the code is the switch to 1 MHz? I still have the problems that my node dosnt send anymore. It works for several hours but after then it dont send anything.In programming i am not good, and so i cant find the switch.
Thank you very much.
Greets Eddie@meddie : Sure, I can:
The following is an extract from the code shown at https://www.mysensors.org/view/1/Sensebender-Micro, from the "loop()" function:
#ifndef MY_OTA_FIRMWARE_FEATURE if ((measureCount == 5) && highfreq) { clock_prescale_set(clock_div_8); // Switch to 1Mhz for the reminder of the sketch, save power. highfreq = false; } #endifIf you remove these lines, it will stay on 8MHz.
(I did not test this but I am quite sure) -
@meddie : Sure, I can:
The following is an extract from the code shown at https://www.mysensors.org/view/1/Sensebender-Micro, from the "loop()" function:
#ifndef MY_OTA_FIRMWARE_FEATURE if ((measureCount == 5) && highfreq) { clock_prescale_set(clock_div_8); // Switch to 1Mhz for the reminder of the sketch, save power. highfreq = false; } #endifIf you remove these lines, it will stay on 8MHz.
(I did not test this but I am quite sure)@Michiel-van-der-Wulp
thank you i will test it the next few days -
I assume there is no exposure to the SPI bus on this board?
-
I assume there is no exposure to the SPI bus on this board?
@Dominic-Amann from the hardware site:
MYSx 2.6 with
Dedicated UART
Dedicated SPI
Dedicated Interrupts
I2C bus (shared with onboard eeprom) -
Ah - right, the radio connector uses SPI.
-
Beware that the Si7021 can return a RH value < 0 or > 100, and Domoticz will not store it. Clamp the humidity to a valid range to avoid losing values.
Lately, my Sensebender reported values of 101-104 during the night. Took me some time to understand why Domoticz complained it didnt receive any values.
It received these values, but didnt like them.See section 5.1.1 of the Si7021 datasheet says:
Due to normal variations in RH accuracy of the device as described in Table 4, it is possible for the measured value of %RH to be slightly less than 0 when the actual RH level is close to or equal to 0. Similarly, the measured value of %RH may be slightly greater than 100 when the actual RH level is close to or equal to 100. This is expected behavior, and it is acceptable to limit the range of RH results to 0 to 100%RH in the host software by truncating values that are slightly outside of this range. -
-
Am I able to remote reboot the sensebender micro? I can send an OTA firmware if i manually press the reset button.
but can i use the reboot command in MYScontroller? it doesn't seem to do anything when issued. -
Is it the default dualoptiboot bootloader? Then the bootloader itself does not support OTA FW. You need to put a sketch on it, that supports OTA. (Default sensebender micro sketches doesn't)
@tbowmo said in 💬 Sensebender Micro:
Is it the default dualoptiboot bootloader? Then the bootloader itself does not support OTA FW. You need to put a sketch on it, that supports OTA. (Default sensebender micro sketches doesn't)
yes it's the default bootloader. yes i have OTA added to the sketch. it works if i reset the device via manual reset. but what i'd like to do is send the reboot command from myscontroller. but it seems to do nothing ever. does the bootloader support reboot? or is that something i also have to add to the sketch?
situation: i have about 15 sensors all over the house. if i update, i'd like to be able to assign the firmware, and then issue the reboot command. so upon reboot, they take the assigned firmware. what i don't want to do is have to go to each one and manually press the reset button to get it to take the firmware. i'm sure it's healthier to run up and down 3 flights of stairs. but i'm lazy :)
