💬 Sensebender Micro
-
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 :)
-
Hi,
Three questions regarding SenseBender Micro:-
What board should I configure in Arduino IDE in order to upload sketches? Would it be equivalent to Arduino mini pro, or is there any "board library" to load ?(Didn't find it, Woudn't it make sense to be included in the examples/Libraries pack?)...
(Found it: https://github.com/mysensors/ArduinoBoards . If you look between the photos above there is a simple link lost in the between)
MySensors Admins: Just a small suggestion: As it is now, - a simple link between photos is easily overlooked. Can't you place it near the specs where it should be more visible? -
It has an I2C bus for the SI7021, but it seems the ATSHA204A (which I believe its I2C also) is connected to another pin (a3). Does this mean it has two I2C buses?
-
Can anyone confirm that the port that measures the battery voltage is A0?
Thanks,
Joaoabs -
-
Hi,
Three questions regarding SenseBender Micro:-
What board should I configure in Arduino IDE in order to upload sketches? Would it be equivalent to Arduino mini pro, or is there any "board library" to load ?(Didn't find it, Woudn't it make sense to be included in the examples/Libraries pack?)...
(Found it: https://github.com/mysensors/ArduinoBoards . If you look between the photos above there is a simple link lost in the between)
MySensors Admins: Just a small suggestion: As it is now, - a simple link between photos is easily overlooked. Can't you place it near the specs where it should be more visible? -
It has an I2C bus for the SI7021, but it seems the ATSHA204A (which I believe its I2C also) is connected to another pin (a3). Does this mean it has two I2C buses?
-
Can anyone confirm that the port that measures the battery voltage is A0?
Thanks,
Joaoabs -
-
For the battery powering voltage measuring do you mean that this is not needed after all? (https://www.mysensors.org/build/battery#measuring-and-reporting-battery-level)
It would be just a matter of enabling the flag "#define BATT_SENSOR 199 " and no resistors needed? -
Sorry for the dummy question, but my SenseBender Micros came with a small white sticker on top of the Si7021 sensor (like in the pictures above). Is it supposed to be removed or to stay like that?
-
Hello!
Help me understand why the sketches are not loaded in Sensebender Micro - there is a synchronization error:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x82
....
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding-
FTDI connected via 3.3V jumper
-
Another device built on the SB Micro with SB bootloader is also not flashed with the same error, but on the PC of my friend, sketches successfully loaded into the device and on my PC are given the correct data when working sketch
-
device and serial port are selected correctly
-
mySensors Lib and device packs(AVR, SAMD) installed with standard lib and device managers(and also added path https://raw.githubusercontent.com/mysensors/ArduinoBoards/master/package_mysensors.org_index.json in the settings menu)
-
at the same time if I take a pure Pro Mini and load into it any sample sketch of mySensors package - it will successfully do it and will work.
What am I doing wrong and how do I get the Sensebender Micro to take sketches?
-
-
Hello!
Help me understand why the sketches are not loaded in Sensebender Micro - there is a synchronization error:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x82
....
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding-
FTDI connected via 3.3V jumper
-
Another device built on the SB Micro with SB bootloader is also not flashed with the same error, but on the PC of my friend, sketches successfully loaded into the device and on my PC are given the correct data when working sketch
-
device and serial port are selected correctly
-
mySensors Lib and device packs(AVR, SAMD) installed with standard lib and device managers(and also added path https://raw.githubusercontent.com/mysensors/ArduinoBoards/master/package_mysensors.org_index.json in the settings menu)
-
at the same time if I take a pure Pro Mini and load into it any sample sketch of mySensors package - it will successfully do it and will work.
What am I doing wrong and how do I get the Sensebender Micro to take sketches?
-
-
Did you select the sensebender micro as target in Arduino? Is it the same FTDI device that is used on both computers?
@tbowmo
Yes, of course, I chose the target device "Sensebender Micro -> "Atmega328p, 1mhz" and "Atmega328p, 8mhz"(for device (RGBW controller) based on SB Micro with 8Mhz quartz resonator).I tried three different FTDIs.
With any other Arduino (with native loaders) there are no problems with these FTDI adapters.
-
@tbowmo
Yes, of course, I chose the target device "Sensebender Micro -> "Atmega328p, 1mhz" and "Atmega328p, 8mhz"(for device (RGBW controller) based on SB Micro with 8Mhz quartz resonator).I tried three different FTDIs.
With any other Arduino (with native loaders) there are no problems with these FTDI adapters.
-
Hello,
Coming back to the battery powering topic: I was checking some SlimNode code and it uses #include <Vcc.h> library to report battery level. I can see in that the example code above doesn't use it. Does anyone know what is the difference? Which is better?
Thanks, -
Hi,
The slimnode original thread has a few (not sure anymore which example I'm using now because the thread is huge and I've lost track of it)
Here is one example:
https://forum.mysensors.org/topic/2067/my-slim-2aa-battery-node/306and other:
https://forum.mysensors.org/topic/2067/my-slim-2aa-battery-node/116