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. Hardware
  3. My Sensor node "motherboard" (MySensorsNode)

My Sensor node "motherboard" (MySensorsNode)

Scheduled Pinned Locked Moved Hardware
72 Posts 13 Posters 36.1k Views 21 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.
  • B bilbolodz

    I've got it working BUT I've very strange "solution". I'll write it down maybe someone be able to explain me what's going on:

    I've 3 versions of "test program" 1.0, 1.1, 1.2 (actually the only difference is sketch number).

    1. I'm uploading manually with avrdude DualOptiboot from "Mysensors board package" (uploading using gui not working - gives strange error about fuses).
    2. I'm uploading (using USBasp and Arduino GUI) program version 1.0: program is working but "Reboot" command send from MYSController gets arduin into endless loop during "boot"

    0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 TSM:INIT:TSP OK
    14 TSF:0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 TSM:INIT:TSP OK
    14 TSF:0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1

    1. Physical reset of board and OTA update to v 1.1 using MYSControler. OTA update is finished but at the end "endless loop"

    133398 OTA:FWP:RECV B=0000
    133400 OTA:FWP:FW END
    136038 OTA:CRC:B=05A8,C=6506,F=6506
    136040 OTA:FWP:CRC OK
    0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 TSM:INIT:TSP OK
    14 TSF:�0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
    4 TSM:INIT
    4 TSF:WUR:MS=0
    12 TSM:INIT:TSP OK
    14 TSF:�0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1

    1. Physical reset of board: still version 1.0 present and running, reboot NOT working
    2. One again I program bootloader using command:

    avrdude -c usbasp -p m328p -u -U flash:w:optiboot_atmega328_pro_8MHz.hex

    1. Surprise, surprise: version 1.1 present and running, reboot command WORKING!
    2. After these I can program freely (using OTA) other versions of program (e.x. 1.2 or even "start version" 1.0)

    I'm making some STUPID mistake but I can't find it......

    AnticimexA Offline
    AnticimexA Offline
    Anticimex
    Contest Winner
    wrote on last edited by
    #60

    @bilbolodz hm, sorry. Can't really help there. The board should be SenseBender compatible so what ever flow is described for that board (and bootloader designed for that board) should work on this. But perhaps the fact that this one has a pro mini and not just a vanilla atmega cause it to behave differently in some way.

    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

    1 Reply Last reply
    0
    • B bilbolodz

      I've got it working BUT I've very strange "solution". I'll write it down maybe someone be able to explain me what's going on:

      I've 3 versions of "test program" 1.0, 1.1, 1.2 (actually the only difference is sketch number).

      1. I'm uploading manually with avrdude DualOptiboot from "Mysensors board package" (uploading using gui not working - gives strange error about fuses).
      2. I'm uploading (using USBasp and Arduino GUI) program version 1.0: program is working but "Reboot" command send from MYSController gets arduin into endless loop during "boot"

      0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
      4 TSM:INIT
      4 TSF:WUR:MS=0
      12 TSM:INIT:TSP OK
      14 TSF:0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
      4 TSM:INIT
      4 TSF:WUR:MS=0
      12 TSM:INIT:TSP OK
      14 TSF:0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1

      1. Physical reset of board and OTA update to v 1.1 using MYSControler. OTA update is finished but at the end "endless loop"

      133398 OTA:FWP:RECV B=0000
      133400 OTA:FWP:FW END
      136038 OTA:CRC:B=05A8,C=6506,F=6506
      136040 OTA:FWP:CRC OK
      0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
      4 TSM:INIT
      4 TSF:WUR:MS=0
      12 TSM:INIT:TSP OK
      14 TSF:�0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1
      4 TSM:INIT
      4 TSF:WUR:MS=0
      12 TSM:INIT:TSP OK
      14 TSF:�0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1

      1. Physical reset of board: still version 1.0 present and running, reboot NOT working
      2. One again I program bootloader using command:

      avrdude -c usbasp -p m328p -u -U flash:w:optiboot_atmega328_pro_8MHz.hex

      1. Surprise, surprise: version 1.1 present and running, reboot command WORKING!
      2. After these I can program freely (using OTA) other versions of program (e.x. 1.2 or even "start version" 1.0)

      I'm making some STUPID mistake but I can't find it......

      rozpruwaczR Offline
      rozpruwaczR Offline
      rozpruwacz
      wrote on last edited by
      #61

      @bilbolodz I had also problems with DualOptiboot and OTA. It is very poorly documented. As I understand how it works, If you burn the bootloader first and then the program You actually erasing the bootloader that you burned before (thats why it is in "endless loop"). The bootloader must be burned after the program is already on the external flash, so it can load that program into the internal memory. To do that:

      1. upload the program to the board
      2. fire the ota update to write the same program to the external flash
      3. program the bootloader

      after that you will have the bootloader and OTA working.

      B 1 Reply Last reply
      0
      • rozpruwaczR rozpruwacz

        @bilbolodz I had also problems with DualOptiboot and OTA. It is very poorly documented. As I understand how it works, If you burn the bootloader first and then the program You actually erasing the bootloader that you burned before (thats why it is in "endless loop"). The bootloader must be burned after the program is already on the external flash, so it can load that program into the internal memory. To do that:

        1. upload the program to the board
        2. fire the ota update to write the same program to the external flash
        3. program the bootloader

        after that you will have the bootloader and OTA working.

        B Offline
        B Offline
        bilbolodz
        wrote on last edited by
        #62

        @rozpruwacz
        I've made some test. It looks that bootloader is "damaged" ONLY if sketch is loaded using programmer (USBASP in my case). If sketch is loaded via serial and bootloader all is fine. So correct usage should be:

        1. Program DualOptiboot bootloader using programmer
        2. Upload sketch using serial port and DualOptiboot bootloader
        rozpruwaczR 1 Reply Last reply
        0
        • B bilbolodz

          @rozpruwacz
          I've made some test. It looks that bootloader is "damaged" ONLY if sketch is loaded using programmer (USBASP in my case). If sketch is loaded via serial and bootloader all is fine. So correct usage should be:

          1. Program DualOptiboot bootloader using programmer
          2. Upload sketch using serial port and DualOptiboot bootloader
          rozpruwaczR Offline
          rozpruwaczR Offline
          rozpruwacz
          wrote on last edited by
          #63

          @bilbolodz LOL, You are absolutely right :D thats why it is called "Dual" :P because it can also boot from the serial port ... thanks !!

          1 Reply Last reply
          0
          • AnticimexA Anticimex

            EDIT: BOMs are now uploaded as well. I have to inspect the gerbers one more time but it is close to manufacture now :)

            B Offline
            B Offline
            bilbolodz
            wrote on last edited by
            #64

            @Anticimex
            Could you please:

            1. Point me to drop in replacement for DMP3056L-7? It's hard to get in my area...
            2. Tell where can I buy SI7021 chip?
            AnticimexA rozpruwaczR 2 Replies Last reply
            0
            • B bilbolodz

              @Anticimex
              Could you please:

              1. Point me to drop in replacement for DMP3056L-7? It's hard to get in my area...
              2. Tell where can I buy SI7021 chip?
              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #65

              @bilbolodz you find all sourcing information I have on github

              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

              B 1 Reply Last reply
              0
              • B bilbolodz

                @Anticimex
                Could you please:

                1. Point me to drop in replacement for DMP3056L-7? It's hard to get in my area...
                2. Tell where can I buy SI7021 chip?
                rozpruwaczR Offline
                rozpruwaczR Offline
                rozpruwacz
                wrote on last edited by
                #66

                @bilbolodz said in My Sensor node "motherboard" (MySensorsNode):

                SI7021

                fo the transistor search for P-CHANNEL MOSFET with Low On-Resistance (the lower the better, the DMP3056L has 500mOhms) and the transistor must be rated for voltage grater than your power supply (Drain-Source Voltage parameter in datasheet, which is negative value but think of it as it would be positive)

                1 Reply Last reply
                0
                • AnticimexA Anticimex

                  @bilbolodz you find all sourcing information I have on github

                  B Offline
                  B Offline
                  bilbolodz
                  wrote on last edited by
                  #67

                  @Anticimex I've checked it but in most cases all sources you've mentioned have very expensive shipment to Poland.
                  How about DMP3056L-7 replacement? I've found it on aliexpres but shipment are twice such expensive as 35 pieces of transistor.

                  rozpruwaczR 1 Reply Last reply
                  0
                  • B bilbolodz

                    @Anticimex I've checked it but in most cases all sources you've mentioned have very expensive shipment to Poland.
                    How about DMP3056L-7 replacement? I've found it on aliexpres but shipment are twice such expensive as 35 pieces of transistor.

                    rozpruwaczR Offline
                    rozpruwaczR Offline
                    rozpruwacz
                    wrote on last edited by
                    #68

                    @bilbolodz You can buy an SI7021 module and desolder it :D https://botland.com.pl/czujniki-temperatury/6554-si7021-czujniki-temperatury-i-wilgotnosci-i2c-sparkfun.html

                    1 Reply Last reply
                    0
                    • B Offline
                      B Offline
                      bilbolodz
                      wrote on last edited by
                      #69

                      @rozpruwacz said in My Sensor node "motherboard" (MySensorsNode):

                      SI7021

                      Found it on ebay:
                      http://www.ebay.com/itm/SI7021-A10-GM1R-Digital-Temperature-and-Humidity-Sensor-Module-F-Arduino-Si7021-/132179773960?hash=item1ec6874a08:g:oL0AAOSw~y9ZCf9o

                      Still looking for good source of DMP3056L-7 or replecement

                      1 Reply Last reply
                      0
                      • AnticimexA Offline
                        AnticimexA Offline
                        Anticimex
                        Contest Winner
                        wrote on last edited by
                        #70

                        I cannot help on country specific sourcing alternatives. It would be impossible for me to create a list for the cheapest sourcing alternatives for every country. You have all part information in the BOM. So it should be relatively easy for you to search the parts. And if you want alternatives, do a parametric search at your preferred suppliers.

                        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                        1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          bilbolodz
                          wrote on last edited by
                          #71

                          Do you have suggestion how to mount RFM69 radio module? "Standard" 2.54 gold pin won't fit....

                          AnticimexA 1 Reply Last reply
                          0
                          • B bilbolodz

                            Do you have suggestion how to mount RFM69 radio module? "Standard" 2.54 gold pin won't fit....

                            AnticimexA Offline
                            AnticimexA Offline
                            Anticimex
                            Contest Winner
                            wrote on last edited by
                            #72

                            @bilbolodz well, no it is 2mm pitch.

                            Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

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


                            13

                            Online

                            11.7k

                            Users

                            11.2k

                            Topics

                            113.0k

                            Posts


                            Copyright 2019 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