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. Troubleshooting
  3. Pro Mini issues

Pro Mini issues

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 6 Posters 1.6k Views 6 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.
  • dpconsD Offline
    dpconsD Offline
    dpcons
    wrote on last edited by
    #1

    Hi All.
    I'm using a 3V Pro Mini and having issues loading the BinarySwitchSleepSensor2 app straight from web site. Sketch fails after a few seconds of loading.

    Details:
    Sketch uses 12768 bytes (41%) of program storage space. Maximum is 30720 bytes.
    Global variables use 446 bytes (21%) of dynamic memory, leaving 1602 bytes for local variables. Maximum is 2048 bytes.
    avrdude: verification error, first mismatch at byte 0x1c55
    0x7f != 0x5f
    avrdude: verification error; content mismatch
    avrdude: verification error; content mismatch

    The Pro Mini loads and runs Blink app and others but fails with this. The nRF24L01 radio is hooked up as shown in Guide, although this doesn't matter. Won't load without the radio attached either.
    The app loads and runs just fine on the ESP8266. Has anyone else had issues with the pro mini?
    Thanks,
    Dan

    dbemowskD mfalkviddM 2 Replies Last reply
    0
    • dpconsD dpcons

      Hi All.
      I'm using a 3V Pro Mini and having issues loading the BinarySwitchSleepSensor2 app straight from web site. Sketch fails after a few seconds of loading.

      Details:
      Sketch uses 12768 bytes (41%) of program storage space. Maximum is 30720 bytes.
      Global variables use 446 bytes (21%) of dynamic memory, leaving 1602 bytes for local variables. Maximum is 2048 bytes.
      avrdude: verification error, first mismatch at byte 0x1c55
      0x7f != 0x5f
      avrdude: verification error; content mismatch
      avrdude: verification error; content mismatch

      The Pro Mini loads and runs Blink app and others but fails with this. The nRF24L01 radio is hooked up as shown in Guide, although this doesn't matter. Won't load without the radio attached either.
      The app loads and runs just fine on the ESP8266. Has anyone else had issues with the pro mini?
      Thanks,
      Dan

      dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by
      #2

      @dpcons Are you using the Arduino IDE as your programmer? Did you select the correct arduino and com port? When I program my pro minis, I have to watch when I compile and send. As soon as it gets done compiling and gets ready to send, I hit the reset button on the pro mini. Sounds like you may already know all of that, but I just mentioned it in case you didn't. One other thing that you may not know is that you NEED to have your FTDI adapter set to 3.3v and NOT 5v. Depending how you had it wired with your nRF24 radio, if you tried programming at 5v, you may have fried the radio.

      Can you show a pic of how you have this wired?

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

      1 Reply Last reply
      0
      • gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #3

        Did you check if you selected the right arduino mcu? It is easy to select the 16mhz at 5v instead of the 8mhz 3.3v

        1 Reply Last reply
        1
        • dpconsD dpcons

          Hi All.
          I'm using a 3V Pro Mini and having issues loading the BinarySwitchSleepSensor2 app straight from web site. Sketch fails after a few seconds of loading.

          Details:
          Sketch uses 12768 bytes (41%) of program storage space. Maximum is 30720 bytes.
          Global variables use 446 bytes (21%) of dynamic memory, leaving 1602 bytes for local variables. Maximum is 2048 bytes.
          avrdude: verification error, first mismatch at byte 0x1c55
          0x7f != 0x5f
          avrdude: verification error; content mismatch
          avrdude: verification error; content mismatch

          The Pro Mini loads and runs Blink app and others but fails with this. The nRF24L01 radio is hooked up as shown in Guide, although this doesn't matter. Won't load without the radio attached either.
          The app loads and runs just fine on the ESP8266. Has anyone else had issues with the pro mini?
          Thanks,
          Dan

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          Welcome to the community @dpcons
          See if changing usb cables helps.

          1 Reply Last reply
          0
          • dpconsD Offline
            dpconsD Offline
            dpcons
            wrote on last edited by
            #5

            Hey Guys,
            Thanks for the response. I've uploaded a jpg to show the connections. Yes, it's a 3V device. Before I use the minis I put 5V on RAW and check VCC. I've also selected the correct 328 configuration in the Arduino IDE. I've checked DTR with a scope and it's working fine, but I've held the reset button before programming, just to be safe. I've also used different Hub ports and cables as well as different FTDI programmers and Pro Mini boards. I even went back to the old version of the Arduino AVR Library. That's the reason for the posting. I've just started using the mysensors library, so I wasn't sure if all the examples worked on all devices and I didn't want to dig in the code. If you're telling me the Mini works with this code, then I can continue to look into other areas. Again, thanks to all! I appreciate your interest.
            Dan
            0_1521996126020_IMG_20180325_101047.jpg

            dbemowskD 1 Reply Last reply
            0
            • dpconsD dpcons

              Hey Guys,
              Thanks for the response. I've uploaded a jpg to show the connections. Yes, it's a 3V device. Before I use the minis I put 5V on RAW and check VCC. I've also selected the correct 328 configuration in the Arduino IDE. I've checked DTR with a scope and it's working fine, but I've held the reset button before programming, just to be safe. I've also used different Hub ports and cables as well as different FTDI programmers and Pro Mini boards. I even went back to the old version of the Arduino AVR Library. That's the reason for the posting. I've just started using the mysensors library, so I wasn't sure if all the examples worked on all devices and I didn't want to dig in the code. If you're telling me the Mini works with this code, then I can continue to look into other areas. Again, thanks to all! I appreciate your interest.
              Dan
              0_1521996126020_IMG_20180325_101047.jpg

              dbemowskD Offline
              dbemowskD Offline
              dbemowsk
              wrote on last edited by
              #6

              @dpcons Not that it matters too much to this situation, but when programming the pro minis, all that is needed is GND, VCC, RX and TX. Because you need to do a manual reset when programming, the DTR line is not necessary.

              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

              bgunnarbB 1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #7

                personally I leave the pro mini without headers on the programming side and just stick the FTDI headers in the pcb holes and incline it to make a stronger connection. :)

                1 Reply Last reply
                1
                • dbemowskD dbemowsk

                  @dpcons Not that it matters too much to this situation, but when programming the pro minis, all that is needed is GND, VCC, RX and TX. Because you need to do a manual reset when programming, the DTR line is not necessary.

                  bgunnarbB Offline
                  bgunnarbB Offline
                  bgunnarb
                  wrote on last edited by
                  #8

                  @dbemowsk Strange! I have never made a manual reset when programming my Pro Minis.

                  I have never been so busy since I retired!

                  dbemowskD ThucarT 2 Replies Last reply
                  1
                  • bgunnarbB bgunnarb

                    @dbemowsk Strange! I have never made a manual reset when programming my Pro Minis.

                    dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #9

                    @bgunnarb That is the way I have done it for years and it has worked. I will have to try the DTR line.

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                    1 Reply Last reply
                    0
                    • bgunnarbB bgunnarb

                      @dbemowsk Strange! I have never made a manual reset when programming my Pro Minis.

                      ThucarT Offline
                      ThucarT Offline
                      Thucar
                      wrote on last edited by
                      #10

                      @bgunnarb said in Pro Mini issues:

                      @dbemowsk Strange! I have never made a manual reset when programming my Pro Minis.

                      I need to manually reset all my chinese Arduino clones as well. I either press the reset button right after the IDE finishes compiling the sketch and shows “uploading” or if I miss that mment, I’ll have to reset the *duino couple times while the IDE retries uploading.

                      Controller: Node-Red
                      Gateway: SerialGateway & GSMMQTTGateway
                      MySensors: 2.2.0

                      1 Reply Last reply
                      0
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #11

                        With dtr pin connected there is no need to reset.

                        1 Reply Last reply
                        0
                        • dpconsD Offline
                          dpconsD Offline
                          dpcons
                          wrote on last edited by
                          #12

                          This problem has been resolved. It appears my ANKER 10 port USB Hub is the problem. It's associated with the lower 4 ports of the hub. The remaining 6 are OK. I'm not sure what the actual problem is yet. The hub has a 60W power supply attached so I doubt it's a power issue...maybe noise? I now have a 10 port Amazon Hub which works well. As for the DTR signal, I've always used it and have seldom used the reset buttons. Also, I think most of the Arduinos and clones have it implemented through the serial convertor chip as well. It's also on all the ESP32 and ESP 8266 clones I've used. Again, thanks everyone for your comments and suggestions.

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


                          14

                          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