Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Announcements
  3. Sensebender Micro

Sensebender Micro

Scheduled Pinned Locked Moved Announcements
584 Posts 84 Posters 403.5k Views 35 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 5546dug5 Offline
    5546dug5 Offline
    5546dug
    wrote on last edited by
    #138

    I have mine up and running @tbowmo this is great thank you also.
    Now to learn how to graph my results.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mvader
      wrote on last edited by
      #139

      I have mine up and running and MYScontroller sees them.
      i'm trying to send and OTA to these devices. but it doesn't seem to be working.

      @hek can you confirm these came with the correct bootloader to do this? i thought i read in the start of the thread it would.

      when i try to send a OTA nothing happens.

      anyone have this working that can comment on what needs to be done to get it working?

      Thanks!

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #140

        @mvader

        The OTA->flash requires sketches running library code from the development branch (which it isn't currently). The boards comes preloaded with the correct bootloader that supports moving firmware from flash->program memory at boot-time.

        But something must load the flash over-the-air also. This requires that you:

        • Compile the sketch using the dev-branch
        • Enable MY_OTA_FRIMWARE_FEATURE in MyConfig.h
        • Keep node awake
        • Call gw.process() in loop-section (which handles the fw-update-commands in the background and resets node when a new firmware has been uploaded).

        Now that I have received my board I can actually test this code I wrote a while back:). I hope it won't bee too many bugs in it.

        But note that the default temp/hum sketch on these boards sleeps most of the time it wouldn't hear the fw-update requests anyway. It would probably be better to use this feature on boards that always is awake.

        For more information on what is actually happening in gw-process you can look at the code that was added in this push:
        https://github.com/mysensors/Arduino/commit/3a59929b8ed8e1fca9876031264db5d6626876ff

        1 Reply Last reply
        1
        • M Offline
          M Offline
          mvader
          wrote on last edited by
          #141

          @hek said:

          A->flash requires sketches running library code from the development branch (which it isn't currently). The boards comes

          thanks for the info. I was hoping i wouldn't have to connect up my programmer.. oh well.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mvader
            wrote on last edited by
            #142

            I guess these can't be programmed, if my programmer doesn't have a DTR line?
            was hoping OTA would work :)
            I'll order a new programmer any way, but if there is any other way let me know.
            I tried starting it in test mode. but that didn't work

            1 Reply Last reply
            0
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #143

              @mvader

              It's using a standard ftdi header, as used in the arduino mini pro.

              About the testmode, you should hold A0 to GND, while applying power to the unit. Then it starts spewing data to the serial port.

              M 1 Reply Last reply
              0
              • F Offline
                F Offline
                Fabien
                wrote on last edited by
                #144

                Just recieve my 5 sensbender today. Workin fine after some problem with nrf24L01 and Arduino uno (+3.3V doesn't work)

                1 Reply Last reply
                0
                • tbowmoT Offline
                  tbowmoT Offline
                  tbowmo
                  Admin
                  wrote on last edited by
                  #145

                  It's almost too easy to setup a sensor network (for temperature and humidity) now.

                  solder a socket for the NRF module, a battery holder. Plug in the NRF module, put batteries in, and you have a sensor online. (I have 3 sensebenders from tiead online at the moment, together with 2 prototypes). Need to get some more battery holders, before I can make more sensors now.

                  blaceyB 1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    It's almost too easy to setup a sensor network (for temperature and humidity) now.

                    solder a socket for the NRF module, a battery holder. Plug in the NRF module, put batteries in, and you have a sensor online. (I have 3 sensebenders from tiead online at the moment, together with 2 prototypes). Need to get some more battery holders, before I can make more sensors now.

                    blaceyB Offline
                    blaceyB Offline
                    blacey
                    Admin
                    wrote on last edited by
                    #146

                    @tbowmo said:

                    It's almost too easy to setup a sensor network (for temperature and humidity) now.

                    I agree! I ordered 4 from the second ITead batch (I let others get their hands on the first batch because I already had a couple OSHPark deployed) and had the first sensor up and running in no time! Great job and contribution to the MySensor's community! :+1: :+1: :+1:

                    1 Reply Last reply
                    0
                    • tbowmoT Offline
                      tbowmoT Offline
                      tbowmo
                      Admin
                      wrote on last edited by
                      #147

                      @blacey

                      Thanks.. It's actually kind of fun, when I see that things I have created, actually brings value to other people.. Always been a driving force for me (no matter what I have had my hands in, whether it's software of various types,VHF radios for ships, mobile phones, bluetooth headsets, or sensor modules :) )

                      1 Reply Last reply
                      0
                      • tbowmoT tbowmo

                        @mvader

                        It's using a standard ftdi header, as used in the arduino mini pro.

                        About the testmode, you should hold A0 to GND, while applying power to the unit. Then it starts spewing data to the serial port.

                        M Offline
                        M Offline
                        mvader
                        wrote on last edited by
                        #148

                        @tbowmo said:

                        @mvader

                        It's using a standard ftdi header, as used in the arduino mini pro.

                        About the testmode, you should hold A0 to GND, while applying power to the unit. Then it starts spewing data to the serial port.

                        I had meant that i put it in test mode to try and program it.
                        getting it in test mode worked. i could see the led blinking.

                        however when i gave up and put the radio back on and turn it on, i guess it had actually taken my upload.
                        it was reporting in F now.
                        so i know the DTR does the auto reset, i guess upload works, but no reset and/or completed msg in the IDE.

                        i ordered a new programmer anyway with DTR.

                        1 Reply Last reply
                        0
                        • nutcrackerN Offline
                          nutcrackerN Offline
                          nutcracker
                          wrote on last edited by nutcracker
                          #149

                          Hi,

                          I've received some boards and all working good.

                          I'd like to upload a new sketch to the Sensebender Micro board and I'm attempting to do this via the FTDI FT232RL USB to TTL serial converter adapter that I purchased here (http://www.ebay.co.uk/itm/221552218333).

                          Could someone kindly confirm the pin to pin mapping between the FTDI board and the Senseboard Micro as when I attempt to upload I receive the message:

                             Programmer Type : butterfly
                                   Description     : Atmel AppNote AVR109 Boot Loader
                          
                          Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
                          
                          Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
                          

                          I'm using Arduino 1.6.5 running on Windows 8.1 (inside parallels on a Mac).

                          Any ideas?

                          Thank you

                          Nutz

                          hekH 1 Reply Last reply
                          0
                          • nutcrackerN nutcracker

                            Hi,

                            I've received some boards and all working good.

                            I'd like to upload a new sketch to the Sensebender Micro board and I'm attempting to do this via the FTDI FT232RL USB to TTL serial converter adapter that I purchased here (http://www.ebay.co.uk/itm/221552218333).

                            Could someone kindly confirm the pin to pin mapping between the FTDI board and the Senseboard Micro as when I attempt to upload I receive the message:

                               Programmer Type : butterfly
                                     Description     : Atmel AppNote AVR109 Boot Loader
                            
                            Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
                            
                            Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
                            

                            I'm using Arduino 1.6.5 running on Windows 8.1 (inside parallels on a Mac).

                            Any ideas?

                            Thank you

                            Nutz

                            hekH Offline
                            hekH Offline
                            hek
                            Admin
                            wrote on last edited by
                            #150

                            @nutcracker

                            I usually use the GND pin as a guide.
                            What happens if you run Arduino IDE directly in your native OS?

                            1 Reply Last reply
                            0
                            • nutcrackerN Offline
                              nutcrackerN Offline
                              nutcracker
                              wrote on last edited by nutcracker
                              #151

                              Thanks @hek. I've had to run Arduino on Windows before because of compatibility issues with certain chip sets on Arduino boards and I didn't fancy running unsigned drivers on my Mac to resolve... I'm able to upload sketches to other boards with no issues.

                              That said, I've updated Arduino to 1.6.5 on my Mac and have attempted to upload the default Sensebendermicro.ino sketch to the micro with a similar error:

                              Arduino: 1.6.5 (Mac OS X), Board: "Arduino Micro"
                              
                              Build options changed, rebuilding all
                              
                              Sketch uses 26,414 bytes (92%) of program storage space. Maximum is 28,672 bytes.
                              Global variables use 799 bytes (31%) of dynamic memory, leaving 1,761 bytes for local variables. Maximum is 2,560 bytes.
                              Found programmer: Id = "�d��b�"; type = F
                                  Software Version = �.�; Hardware Version = �.�
                              avrdude: error: buffered memory access not supported. Maybe it isn't
                              a butterfly/AVR109 but a AVR910 device?
                              Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
                              
                                This report would have more information with
                                "Show verbose output during compilation"
                                enabled in File > Preferences.
                              
                              

                              With verbose output enabled:

                              avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
                                       Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                                       Copyright (c) 2007-2009 Joerg Wunsch
                              
                                       System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
                                       User configuration file is "/Users/nutcracker/.avrduderc"
                                       User configuration file does not exist or is not a regular file, skipping
                              
                                       Using Port                    : /dev/cu.usbserial-A50285BI
                                       Using Programmer              : avr109
                                       Overriding Baud Rate          : 57600
                                       AVR Part                      : ATmega32U4
                                       Chip Erase delay              : 9000 us
                                       PAGEL                         : PD7
                                       BS2                           : PA0
                                       RESET disposition             : dedicated
                                       RETRY pulse                   : SCK
                                       serial program mode           : yes
                                       parallel program mode         : yes
                                       Timeout                       : 200
                                       StabDelay                     : 100
                                       CmdexeDelay                   : 25
                                       SyncLoops                     : 32
                                       ByteDelay                     : 0
                                       PollIndex                     : 3
                                       PollValue                     : 0x53
                                       Memory Detail                 :
                              
                                                                Block Poll               Page                       Polled
                                         Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
                                         ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
                                         eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
                                         flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
                                         lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                         hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                         efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                         lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                         calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                         signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
                              
                                       Programmer Type : butterfly
                                       Description     : Atmel AppNote AVR109 Boot Loader
                              
                              Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
                              Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
                              

                              Nutz

                              1 Reply Last reply
                              0
                              • hekH Offline
                                hekH Offline
                                hek
                                Admin
                                wrote on last edited by
                                #152

                                @nutcracker said:

                                Maybe it isn't
                                a butterfly/AVR109 but a AVR910 device?

                                Is your programmer setting in Arduino IDE set to "USBasp"?

                                1 Reply Last reply
                                0
                                • nutcrackerN Offline
                                  nutcrackerN Offline
                                  nutcracker
                                  wrote on last edited by
                                  #153

                                  Hi @hek, I've never had to change the programmer setting before... I've changed it to USBasp and re-uploaded but same error. I've always used the menu options Sketch=>Upload to upload a sketch to the board. Should I be using Sketch=>Upload via programmer for this micro board ? If so, that fails too but something to do with it not being able to find the USB device.

                                  avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
                                           Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                                           Copyright (c) 2007-2009 Joerg Wunsch
                                  
                                           System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
                                           User configuration file is "/Users/nutcracker/.avrduderc"
                                           User configuration file does not exist or is not a regular file, skipping
                                  
                                           Using Port                    : usb
                                           Using Programmer              : usbasp
                                  avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'
                                  
                                  avrdude done.  Thank you.
                                  

                                  Nutz

                                  1 Reply Last reply
                                  0
                                  • hekH Offline
                                    hekH Offline
                                    hek
                                    Admin
                                    wrote on last edited by
                                    #154

                                    Hmm. I think I understand what the problem is now. You've selected the "Arduino Micro" board. Not our "MySensors/Sensebender Micro" .

                                    Did you follow the instructions here?
                                    http://www.mysensors.org/hardware/micro-ide-setup

                                    1 Reply Last reply
                                    0
                                    • nutcrackerN Offline
                                      nutcrackerN Offline
                                      nutcracker
                                      wrote on last edited by
                                      #155

                                      Thanks @hek, I also realised my mistake once I retraced my steps...I hadn't scrolled down fully on that screenshot that shows the Sensebender Micro board... I think what through me is that screenshot also shows a "dot" against another board - the Arduino Micro board...and I was selecting that... duh! (may be worth changing the screenshot? ;))

                                      Anyway, thanks for your help...sketch uploaded perfectly after that!

                                      avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
                                               Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                                               Copyright (c) 2007-2009 Joerg Wunsch
                                      
                                               System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
                                               User configuration file is "/Users/nutcracker/.avrduderc"
                                               User configuration file does not exist or is not a regular file, skipping
                                      
                                               Using Port                    : /dev/cu.usbserial-A50285BI
                                               Using Programmer              : arduino
                                               Overriding Baud Rate          : 57600
                                               AVR Part                      : ATmega328P
                                               Chip Erase delay              : 9000 us
                                               PAGEL                         : PD7
                                               BS2                           : PC2
                                               RESET disposition             : dedicated
                                               RETRY pulse                   : SCK
                                               serial program mode           : yes
                                               parallel program mode         : yes
                                               Timeout                       : 200
                                               StabDelay                     : 100
                                               CmdexeDelay                   : 25
                                               SyncLoops                     : 32
                                               ByteDelay                     : 0
                                               PollIndex                     : 3
                                               PollValue                     : 0x53
                                               Memory Detail                 :
                                      
                                                                        Block Poll               Page                       Polled
                                                 Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
                                                 ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
                                                 eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
                                                 flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
                                                 lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                                 signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
                                      
                                               Programmer Type : Arduino
                                               Description     : Arduino
                                               Hardware Version: 3
                                               Firmware Version: 5.0
                                               Vtarget         : 0.3 V
                                               Varef           : 0.3 V
                                               Oscillator      : 28.800 kHz
                                               SCK period      : 3.3 us
                                      
                                      avrdude: AVR device initialized and ready to accept instructions
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: Device signature = 0x1e950f
                                      avrdude: reading input file "/var/folders/r3/_6srq76n0mz4kmh86hsy4y2m0000gn/T/build4750928375396503439.tmp/SensebenderMicro.cpp.hex"
                                      avrdude: writing flash (23678 bytes):
                                      
                                      Writing | ################################################## | 100% 8.84s
                                      
                                      avrdude: 23678 bytes of flash written
                                      avrdude: verifying flash memory against /var/folders/r3/_6srq76n0mz4kmh86hsy4y2m0000gn/T/build4750928375396503439.tmp/SensebenderMicro.cpp.hex:
                                      avrdude: load data flash data from input file /var/folders/r3/_6srq76n0mz4kmh86hsy4y2m0000gn/T/build4750928375396503439.tmp/SensebenderMicro.cpp.hex:
                                      avrdude: input file /var/folders/r3/_6srq76n0mz4kmh86hsy4y2m0000gn/T/build4750928375396503439.tmp/SensebenderMicro.cpp.hex contains 23678 bytes
                                      avrdude: reading on-chip flash data:
                                      
                                      Reading | ################################################## | 100% 9.94s
                                      
                                      avrdude: verifying ...
                                      avrdude: 23678 bytes of flash verified
                                      
                                      avrdude done.  Thank you.
                                      

                                      Cheers!

                                      Nutz

                                      1 Reply Last reply
                                      0
                                      • hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by
                                        #156

                                        Ah... there is a dot in the menu-image. Will update it. Thanks.

                                        RJ_MakeR 1 Reply Last reply
                                        0
                                        • hekH hek

                                          Ah... there is a dot in the menu-image. Will update it. Thanks.

                                          RJ_MakeR Offline
                                          RJ_MakeR Offline
                                          RJ_Make
                                          Hero Member
                                          wrote on last edited by
                                          #157

                                          @hek Interesting.. I didn't know this.. I used the standard Pro Mini 3v3 and it worked...????

                                          RJ_Make

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          23

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular