💬 Sensebender Micro
-
@GertSanders Thanks, It would be used for remote temp. sensing in a Ref/freezer/aquarium.. etc.
@RJ_Make
Certainly possible, check the examples. -
Hello,
is it possible, that the Sketch posted here, does not work with the MySensors libraray V2.0? There have been removed many libs, (SI7021, sha204, RunningAverage), which are used in the Sketch "SensebenderMicro.ino" V01.4.
I had a little bit trouble last weekend, to get it run.
I switched back to Mysensors lib 1.56 and used the expamle Sketch "SensebenderMicro" which was included in this lib. Then it worked.
But thanks for this Great Projekt, and this great Board Sensenbender MicroSaimen
-
External libraries (and examples depending on them) have been moved to a separate repository https://github.com/mysensors/MySensorsArduinoExamples.
This was done because we can not have the external libraries in the main repository now that we are in the arduino library manager.
-
Anyone managed to get this working with PlatformIO (through Atom) yet? I'm struggling.
-
Anyone managed to get this working with PlatformIO (through Atom) yet? I'm struggling.
@fearoffish did you manage to get this working?
And, if so, what was the issue?I am looking into changing to PlatformIO on Atom or even CLion...
-
Hi, I'm getting this error message when compiling the sketch with the 2.1.1 MySensors library:
SensebenderMicro:168: error: 'getConfig' was not declared in this scope
isMetric = getConfig().isMetric;I just commented out the line as workaround, but not sure that its correct.
-
I've tested to upload a sketch to the Sensebender Micro using platformio.
Put the following JSON into a json file in a folder named
boardseither in the MySensors library folder (your project in platformio), or somewhere else on the search path. Use the name of the json file inplatformio.iniin theboardsetting. See for more info:
http://docs.platformio.org/en/latest/platforms/creating_board.html- Create a folder named
boardsinMySensorsproject folder. - Create a file in
boardsnamedsensebendermicro8MHz.json.
{ "build": { "core": "arduino", "extra_flags": "-DARDUINO_ARCH_AVR -DARDUINO_AVR_PRO", "f_cpu": "8000000L", "mcu": "atmega328p", "variant": "standard" }, "frameworks": [ "arduino" ], "fuses": { "efuse": "0x06", "hfuse": "0xD2", "lfuse": "0xE2", "lock": "0x3F" }, "name": "Sensebender Micro (3.3V, 8 MHz)", "upload": { "maximum_ram_size": 2048, "maximum_size": 30720, "protocol": "arduino", "require_upload_port": true, "speed": 57600 }, "url": "https://github.com/mysensors/SensebenderMicro", "vendor": "MySensors" }- Add an env in
platformio.ini.
[env:sensebendermicro8MHz] platform = atmelavr framework = arduino board = sensebendermicro8MHz lib_deps = MySensors- Compile sketch.
- Upload sketch.
I think I've got the settings correct, but it was the first time I did this. But it's tested and works as far as I can see.
Should we add a JSON file to one of the mysensors repos on github?
- Create a folder named
-
I have a bunch of W25X40CLSNIG-ND lying around.
They have the same size and same layout as far as I can see.Is my thinking correct that I should be able to simply replace the AT25DF512C-SSHN-B, change the sketch and use it?
-
If it's a jedec compatible flash, then you should be able to swap.. But what is the usecase of a larger flash? You can't execute code in the external flash.. So for OTA you still only have a bit under 32Kbyte usefull space..
-
If it's a jedec compatible flash, then you should be able to swap.. But what is the usecase of a larger flash? You can't execute code in the external flash.. So for OTA you still only have a bit under 32Kbyte usefull space..
-
To reprogram the sketch in a sensbender micro, wich processor frequency do I choose?
After choosing Board "Sensebender Micro", the menu in Arduino 1.6.12 has choice Processor "Atmega328 8MHz" and "Atmega328 1MHz".
My code seems to be executed equally fine with both settings.
But the Arduino Serial Monitor not:If I choose the 1MHz version, the Serial monitor only produces garbage, whatever setting I choose for baud (in the sketch and in the serial monitor UI).
If I choose the 8MHz version, the serial monitor works fine.
I am confused. The Sensebender is a 1MHz device, isn't it? Is it able to run on 8MHz too?
-
No, it runs at 8Mhz. It is asleep most of the time, so running at 8Mhz is actually more battery conserving, than running at 1Mhz (in theory), as shown in calculations over in this post. This is due to the shorter time powered on, when running at 8Mhz, compared to running at 1Mhz.