Navigation

    Robolink logo
    • Register
    • Login
    • Search
    • [[global:header.categories]]
    • [[global:header.recent]]
    • [[global:header.tags]]
    • [[global:header.popular]]
    • [[global:header.users]]
    • [[global:header.groups]]
    As of September 2021, we have moved technical support to Robolink Help

    Welcome to the Robolink Community forum!

    You can post here to interact with others in the Robolink community. We're checking it weekly, and we'll respond to some messages. If you're looking for technical support, head over to Robolink Help.

    CoDrone Pro No Remote Control Sync, No Communication with Mac

    CoDrone Troubleshooting
    4
    18
    17968
    Loading More Posts
    • 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.
    • J
      johnnycurry last edited by

      This may also be of some use - When attempting to update firmware I receive the following after trying both WiFi and USB connections:
      0_1529693381197_Screen Shot 2018-06-22 at 12.48.24 PM.png 0_1529693375410_Screen Shot 2018-06-22 at 12.48.15 PM.png

      1 Reply Last reply Reply Quote 0
      • J
        johnnycurry last edited by

        Making progress but not quite there. Error message after applying and attempting to upload your last code:
        Arduino: 1.8.5 (Mac OS X), Board: "Rokit-SmartInventor-mega32_v2"

        Sketch uses 10542 bytes (32%) of program storage space. Maximum is 32336 bytes.
        Global variables use 1141 bytes of dynamic memory.
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
        avrdude: stk500_recv(): programmer is not responding
        avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
        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"
        option enabled in File -> Preferences.

        1 Reply Last reply Reply Quote 0
        • R
          robolink_whoseop last edited by robolink_whoseop

          @johnnycurry

          #include <CoDrone.h>
          void setup() {
            CoDrone.begin(115200);
            CoDrone.pair(Nearest);
            CoDrone.PrintDroneAddress();
          }
          void loop(){
          }
          

          try this code

          1 Reply Last reply Reply Quote 0
          • J
            johnnycurry last edited by

            Attempted the first part of your message and received this error message:
            Arduino: 1.8.5 (Mac OS X), Board: "Rokit-SmartInventor-mega32_v2"

            Archiving built core (caching) in: /var/folders/7f/lyldq5pj3q39vrtlxmgt_sdm0000gp/T/arduino_cache_707864/core/core_rokit_avr_SmartInventor-mega32_v2_8372d02330c307e08216049b70f86e76.a
            core/core.a(main.cpp.o): In function main': /Users/Johnny/Library/Arduino15/packages/rokit/hardware/avr/1.0.3/cores/atmega32/main.cpp:14: undefined reference to loop'
            collect2: error: ld returned 1 exit status
            exit status 1
            Error compiling for board Rokit-SmartInventor-mega32_v2.

            This report would have more information with
            "Show verbose output during compilation"
            option enabled in File -> Preferences.

            0_1529678007380_Screen Shot 2018-06-22 at 8.31.37 AM.png

            1 Reply Last reply Reply Quote 0
            • R
              robolink_whoseop last edited by robolink_wes

              @johnnycurry Sorry for catching up with this late. Looks like there's an error in the code.
              Try this code first, then open the serial monitor to grab your address. It will print out the drone address

              #include <CoDrone.h>
              
              void setup() {
                CoDrone.begin(115200);
                CoDrone.PrintDroneAddress();
              }
              
              

              Then you can run pair() with the drone address:

              #include<CoDrone.h>
              
              void setup(){
                CoDrone.begin(115200);
              
                byte droneAddress[6] = {0xEC, 0x3F, 0xE5, 0xC2, 0xB5, 0xD0};
                //This will be replaced with your CoDrone's unique address
                CoDrone.pair(droneAddress);
              }
              
              void loop() {
              }
              

              This will have your remote connect to a specific CoDrone's address. Give it a try, and let me know if it helps.

              1 Reply Last reply Reply Quote 0
              • robolink_wes
                robolink_wes last edited by

                @johnnycurry Yes, I talked to him about it. He's running summer camps now and had only an hour and a half break for lunch in between, so I've asked @robolink_whoseop to help take a look today.

                1 Reply Last reply Reply Quote 0
                • J
                  johnnycurry @robolink_wes last edited by

                  Wondering if @robolink_arnold was able to take a look at my situation. Thank you in advance for your response.

                  1 Reply Last reply Reply Quote 0
                  • J
                    johnnycurry last edited by robolink_wes

                    Certainly. The only reason I'm attempting to load this code is in effort to make the drone connect to the remote control (gathered code after reading/researching). I watch videos and they all make it look so easy - turn on the remote on, turn the drone on, wait, and it's paired. Not so much on this one:

                    #include <CoDrone.h>
                    
                    void setup() {
                      CoDrone.begin(115200);
                      CoDrone.PrintDroneAddress();
                    #include<CoDrone.h>
                    
                      void setup()
                      CoDrone.begin(115200);
                    
                      byte droneAddress[6] = {0xEC, 0x3F, 0xE5, 0xC2, 0xB5, 0xD0};
                      //This will be replaced with your CoDrone's unique address
                      CoDrone.pair(droneAddress);
                    }
                    
                    void loop() {
                    }
                    

                    Thank you for your help. JC

                    1 Reply Last reply Reply Quote 0
                    • robolink_wes
                      robolink_wes last edited by

                      We will definitely help you to get up and running before then. @robolink_arnold is finishing up a class now, and I've pinged him to get in touch with you to see if he can help. We can reach out to you via e-mail and do a video call if need be.

                      Also, to help the process, can you paste the actual code you're trying to upload? Thanks!

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        johnnycurry last edited by

                        Thank you. I am the coordinator to a GenCyber student camp starting Monday and we have 40 of the drones for students. I need this to connect/sync to the remote.

                        1 Reply Last reply Reply Quote 0
                        • robolink_wes
                          robolink_wes last edited by

                          Hmm, I'll have @robolink_arnold take a look to see if he can help you further, but it seems like at least the initial issue was resolved of not finding the board.

                          1 Reply Last reply Reply Quote 0
                          • J
                            johnnycurry last edited by

                            Thank you Wes for replying. After plugging-in USB and changing the set to "Rocket-SmartInventor-mega32_v2, then verifying I received this message: Arduino: 1.8.5 (Mac OS X), Board: "Rokit-SmartInventor-mega32_v2"

                            In file included from /Users/Johnny/Documents/Arduino/sketch_jun19a/sketch_jun19a.ino:6:0:
                            /Users/Johnny/Documents/Arduino/libraries/CoDrone/CoDrone.h: In function 'void setup()':
                            /Users/Johnny/Documents/Arduino/libraries/CoDrone/CoDrone.h:1158:21: error: type mismatch with previous external decl of 'setup()::CoDroneClass CoDrone' [-fpermissive]
                            extern CoDroneClass CoDrone;
                            ^
                            In file included from /Users/Johnny/Documents/Arduino/sketch_jun19a/sketch_jun19a.ino:1:0:
                            /Users/Johnny/Documents/Arduino/libraries/CoDrone/CoDrone.h:1158:21: error: previous external decl of 'CoDroneClass CoDrone' [-fpermissive]
                            extern CoDroneClass CoDrone;
                            ^
                            sketch_jun19a:9: error: expected initializer before 'CoDrone'
                            CoDrone.begin(115200);
                            ^
                            exit status 1
                            expected initializer before 'CoDrone'

                            This report would have more information with
                            "Show verbose output during compilation"
                            option enabled in File -> Preferences.

                            What do you think?

                            1 Reply Last reply Reply Quote 0
                            • robolink_wes
                              robolink_wes last edited by

                              @johnnycurry Hmm, it looks like you might not have the board manager set, if you're getting that first message about "Arduino/Genuino Uno". Can you go to Tools > Board: and then make sure to set your board to "Rokit-SmartInventor-mega32_v2"? The message suggests you may have your board set to "Arduino/Genuino Uno". It should be near the bottom of the sub-menu list of boards.

                              If "Rokit-SmartInventor-mega32_v2" isn't an option, you may need to install the boards manager, which you can do by following step #2 of this lesson about installing the hardware files.

                              Let me know if this helps! If not, we can troubleshoot further.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post