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.
  • 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
              • G Offline
                G Offline
                gloob
                wrote on last edited by
                #158

                Received my Micros today. Luckily there was no custom and a lot of pins to solder. Can't wait to solder them on wednesday on work and test them.

                Is there any instruction how to solder everything? On which side the radio module needs to be soldered.

                tbowmoT 1 Reply Last reply
                0
                • G gloob

                  Received my Micros today. Luckily there was no custom and a lot of pins to solder. Can't wait to solder them on wednesday on work and test them.

                  Is there any instruction how to solder everything? On which side the radio module needs to be soldered.

                  tbowmoT Offline
                  tbowmoT Offline
                  tbowmo
                  Admin
                  wrote on last edited by tbowmo
                  #159

                  @gloob

                  This might help you out :)

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gbfromhb
                    wrote on last edited by
                    #160

                    I hope this question has not been answered already and I did not miss the answer. I was thinking about connecting a motion sensor to this and was hoping that one of the digital pins supports an interrupt. Is there an interrupt available?

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

                      @gbfromhb

                      D3 is available on the side-pins. D2 is routed to the radio but can be used with some hacking.

                      M 1 Reply Last reply
                      0
                      • G gbfromhb

                        I hope this question has not been answered already and I did not miss the answer. I was thinking about connecting a motion sensor to this and was hoping that one of the digital pins supports an interrupt. Is there an interrupt available?

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

                        @gbfromhb said:

                        I hope this question has not been answered already and I did not miss the answer. I was thinking about connecting a motion sensor to this and was hoping that one of the digital pins supports an interrupt. Is there an interrupt available?

                        I'm planning to do the same thing.
                        i ordered my 5v step up regulators to support the PIR sensor.
                        although I hope adding the motion isnt going to kill the batteries.

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          gbfromhb
                          wrote on last edited by gbfromhb
                          #163

                          @mvader
                          I have so far had no problems running my PIR sensors at 3.3v with the following hack.

                          http://techgurka.blogspot.com/2013/05/cheap-pyroelectric-infrared-pir-motion.html

                          You can not do this with all PIR Sensors from what I understand, but one of the ones listed in the MySensors store is what I've been using. Go down to the bottom of the article.

                          M 2 Replies Last reply
                          0
                          • G Offline
                            G Offline
                            gbfromhb
                            wrote on last edited by
                            #164

                            @Hek
                            Thanks, I saw the D3, but I'm new enough to this adventure that I was not sure if I should have assumed that it also had an interrupt like all the other boards.

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

                              @gbfromhb

                              I tried to keep the naming, and pins on the atmega, the same as an ordinary arduino :)

                              1 Reply Last reply
                              0
                              • G gbfromhb

                                @mvader
                                I have so far had no problems running my PIR sensors at 3.3v with the following hack.

                                http://techgurka.blogspot.com/2013/05/cheap-pyroelectric-infrared-pir-motion.html

                                You can not do this with all PIR Sensors from what I understand, but one of the ones listed in the MySensors store is what I've been using. Go down to the bottom of the article.

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

                                @gbfromhb said:

                                @mvader
                                I have so far had no problems running my PIR sensors at 3.3v with the following hack.

                                http://techgurka.blogspot.com/2013/05/cheap-pyroelectric-infrared-pir-motion.html

                                You can not do this with all PIR Sensors from what I understand, but one of the ones listed in the MySensors store is what I've been using. Go down to the bottom of the article.

                                wow.. nice.. thanks for the info! I will give this a go asap.

                                1 Reply Last reply
                                0
                                • G Offline
                                  G Offline
                                  gloob
                                  wrote on last edited by
                                  #167

                                  Hello,

                                  I have one more question. Is it possible to power the micro from the ftdi pins? I would like to use jumper wires.

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

                                    @gloob

                                    Yes it's possible to power it from the FTDI pins, if you want to..

                                    1 Reply Last reply
                                    0
                                    • G Offline
                                      G Offline
                                      gloob
                                      wrote on last edited by
                                      #169

                                      Are there any recommendations for a low power temperature, humidity sensor regarding the update cycle.

                                      Currently I plan to wake up the sensor each 10 minutes instead of each 1 minute to update the values. This should increase the duration of the battery. A complete update of all values if performed each 30 minutes as usual.

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

                                        I would probably choose 5 minutes interval instead.. I have updated the sensebendermicro sketch tonight (just waiting for @hek to approve it). so it holds of on the transmissions a bit. Now the temperature needs to change more than 0.5 degrees from the previous transmitted value. OR
                                        humidity needs to change more than 0.5, measured with a moving average. OR
                                        30 minutes since last transmission.

                                        1 Reply Last reply
                                        1
                                        • G Offline
                                          G Offline
                                          gloob
                                          wrote on last edited by gloob
                                          #171

                                          I found that when I power the micro from 2 batteries I get the following error:

                                          T: 23.21
                                          H: 50
                                          send: 104-104-0-0 s=1,c=1,t=0,pt=7,l=5,st=fail:23.2
                                          send: 104-104-0-0 s=2,c=1,t=1,pt=2,l=2,st=fail:50
                                          

                                          This does not happen when I power it from the FTDI programmer.
                                          Does anybody have any ideas?
                                          The batteries have a voltage of 3.25V

                                          I did not have this issues with my arduino nano sensors. and i did use the same radio modules.

                                          When I check the modules they seem to be real nrf24l01+ modules:

                                          
                                          STATUS		 = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
                                          RX_ADDR_P0-1	x00 = 0xe7e7e7e7e7 0xf0f0f0f0d2
                                          RX_ADDR_P2-5	x00 = 0xc3 0xc4 0xc5 0xc6
                                          TX_ADDR		 = 0xe7e7e7e7e7
                                          RX_PW_P0-6	x00 = 0x00 0x20 0x00 0x00 0x00 0x00
                                          EN_AA		 = 0x3f
                                          EN_RXADDR	x00 = 0x03
                                          RF_CH		 = 0x4c
                                          RF_SETUP	x00 = 0x07
                                          CONFIG		 = 0x0f
                                          DYNPD/FEATURE	x00 = 0x00 0x00
                                          Data Rate	 = 1MBPS
                                          Model		 = nRF24L01+
                                          CRC Length	 = 16 bits
                                          PA Power	 = PA_HIGH
                                          
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          16

                                          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