Trouble with Arduino



  • Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega168"

    Sketch uses 7254 bytes (50%) of program storage space. Maximum is 14336 bytes.

    Global variables use 937 bytes (91%) of dynamic memory, leaving 87 bytes for local variables. Maximum is 1024 bytes.

    Low memory available, stability problems may occur.

    An error occurred while uploading the sketch

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf6

    avrdude: stk500_recv(): programmer is not responding

    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf6

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


  • administrators

    @lallen128 If you are referring to the default program described in this lesson then it is the flight controller program. With this code, you can manually control the drone using the joystick controller. Keep in mind any new programs that you upload will replace the current one on the board.



  • @robolink_leila What default program did we just upload? What is it supposed to do? The video didn't say.


  • administrators

    @lallen128 Sure! You won't need the remote or the BLE board with Blockly.



  • @lallen128 It worked!! I have another question...can we use Blockly instead of Arduino? My son already knows how to use block coding from school.


  • administrators

    @lallen128 Just saw your reply! Let me know if it works now with the right board.


  • administrators

    @lallen128 Please send a screenshot so that I can verify that the board you are uploading is now correct and set to "Rokit-SmartInventor-mega32_v2". From the code you send earlier it wasn't configured for uploading to CoDrone.



  • @robolink_leila We definitely did not have that selected. I just changed it and will try now.



  • @lallen128 we have uninstalled and reinstalled Arduino, watched all the videos, read all the troubleshooting guides and absolutely cannot figure it out! very frustrated


  • administrators

    Hi @lallen128 ,
    One reason your code may not be uploading is that you have the wrong board selected for uploading to CoDrone. Go to Tools > Board and make sure to select "Rokit-SmartInventor-mega32_v2". If you are not seeing it, you can review our lessons on setting up your computer in the "Getting Started" section of this page. Let me know if this helps!


Log in to reply
 

Looks like your connection to Robolink community was lost, please wait while we try to reconnect.