RC Quick Tips - Fixing Arduino Verify/Compile Errors

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2015
  • Over the recent weeks I have had a number of subscribers who are struggling to configure their OSD and Multiwii technology. A lot of these issues are caused by using the latest version of the Arduino compiler with older sketches and programs.
    Using an older version of the Arduino compiler will allow the sketch to compile and avoid some of the more common errors you will find.
    Thanks for watching, please LIKE and SUBSCRIBE.
    Happy flying!

ความคิดเห็น • 79

  • @capiberra4118
    @capiberra4118 7 ปีที่แล้ว +1

    Fixed me right up. THANKS!

  • @chottepandit6082
    @chottepandit6082 6 ปีที่แล้ว

    You're doing a great job, by the way!!

  • @danielkitson6878
    @danielkitson6878 8 ปีที่แล้ว

    great video, i had a problem uploading a cnc sketch on to an ardunio uno, downloaed ardunio ide 1.0.6 and it uploaded without a problem, many thanks daniel.

  • @Dylant38
    @Dylant38 6 ปีที่แล้ว

    this helped alot,tanks, i had t try three different versions

  • @swiftkickinthaass
    @swiftkickinthaass 6 ปีที่แล้ว

    Thanks! very helpful information.

  • @sactobat23kennedy79
    @sactobat23kennedy79 5 ปีที่แล้ว

    Thank you so much!! Works perfectly now

  • @FaraidunHawramy
    @FaraidunHawramy 7 ปีที่แล้ว

    thanks so so much. your tutorial is so clear.

  • @sumanraj9138
    @sumanraj9138 5 ปีที่แล้ว +3

    sir I'm use Arduino nano v3 , I compile my any programme then show compile error return code is not 0. please helps me......

  • @bobzittlow7134
    @bobzittlow7134 7 ปีที่แล้ว

    Thank you. that solved my error problems.

  • @PlastiBots
    @PlastiBots 8 ปีที่แล้ว

    You should clarify that you had 2 different boards selected between the IDE versions you showed. That makes a difference and if could have been nothing more than pin assignments between board types. Its always important to ensure the right board type is selected. That said, good tip on using different IDE's - I do this all the time. Also note that the libraries loaded between the two could be the cause as well.

  • @kukulcangod1
    @kukulcangod1 6 ปีที่แล้ว

    Dude you are awesome

  • @thack2502
    @thack2502 8 ปีที่แล้ว

    Thanks for the RC videos, they are great for beginners like me.Unrelated question - What's the name of the utility you are using to monitor CPU cores & RAM usage etc. (Top Right on your desktop) ?

    • @Painless360
      @Painless360  8 ปีที่แล้ว

      +Heath Thacker It was a little app that worked on Windows Vista and 7 and could be made to work on Windows 8. Called 'All CPU Meter Gadget'. Happy flying!

    • @onefishtwofish7319
      @onefishtwofish7319 7 ปีที่แล้ว

      Try RainMeter as well.

  • @C_Tech_
    @C_Tech_ 4 ปีที่แล้ว

    thank you sir, it's worked

  • @vinodb281
    @vinodb281 7 ปีที่แล้ว

    That's cool. thank u

  • @_GummyBear_
    @_GummyBear_ 5 ปีที่แล้ว

    Definitly oll try this thanks

  • @biplabghosh4219
    @biplabghosh4219 6 ปีที่แล้ว +1

    Hello sir I am using 1.8.5 ide
    And I m interfacing arduino with lcd but the code doest upload it even there are no errors what to do

    • @Painless360
      @Painless360  6 ปีที่แล้ว

      It’s tricky with no errors. I’d try another usb cable.. best of luck!

  • @raeme105
    @raeme105 8 ปีที่แล้ว

    Thankyou so much

  • @rogerbowen8449
    @rogerbowen8449 8 ปีที่แล้ว

    I have a question, I bought DJI 2212 920KV Brushless Motor for a V tail quadcopter. They are all 4 right hand thead. I have them all spinning the correct way by changing the wiring. The question is can I use all CCW props self tightning. The props I bought that use a nut on top will not fit and only CCW self tightning props do fit.

    • @Painless360
      @Painless360  8 ปีที่แล้ว

      Roger Bowen If the threads are all the same way then two of the motors will spin off the nuts if they get loose. Be carful to nip up the props and consider using locking nuts rather than the spinners as they are less prone to coming loose in my experience.Best of luck.

    • @rogerbowen8449
      @rogerbowen8449 8 ปีที่แล้ว

      Thank you for the help.

  • @Bob_Burton
    @Bob_Burton 8 ปีที่แล้ว

    Excellent advice. I use the Arduino for a variety of projects nothing to do with RC and contribute to the Arduino support forum. There are many problems with the new software and old programs and libraries and as a result I have steadfastly refused to update the Arduino IDE (Integrated Development Environment).

    • @Painless360
      @Painless360  8 ปีที่แล้ว

      UKHeliBob Very wise - this is one of the very few times I would advise subscribers to use the older version!

  • @charlesaol
    @charlesaol 4 ปีที่แล้ว

    Thank you.

  • @mitropoulosilias
    @mitropoulosilias 7 ปีที่แล้ว

    THAT WORKED FOR ME

  • @littlepastelkitten
    @littlepastelkitten 4 ปีที่แล้ว

    how do you fix the software targeting a nonexistant directory

  • @MrMetalclay
    @MrMetalclay 3 ปีที่แล้ว

    Success!

  • @SanjaySingh-pn5uc
    @SanjaySingh-pn5uc 7 ปีที่แล้ว +3

    i am getting a error ' problenm uploading to board ' please help...

    • @Painless360
      @Painless360  7 ปีที่แล้ว

      Happy to help but please watch th-cam.com/video/olIqTiSJHIY/w-d-xo.html and come back to me with more detail of what you've tried..

    • @micavi6070
      @micavi6070 6 ปีที่แล้ว

      if you have original Arduino then your wire or Arduino uno is broken

    • @osamahrehmankhan5493
      @osamahrehmankhan5493 6 ปีที่แล้ว

      Sketch is uploaded.. But nothing happens

  • @Vv-xt9rz
    @Vv-xt9rz 6 ปีที่แล้ว

    hello sir im beginner and i buy Arduino uno and motor shield to make CNC machine i connect 2 stepper motor, 1servo motor
    but unfortunately my 2 stepper motor are not moving
    os i think to know where is fault? motors or motor shield!! so i download testing code and when im uploading it says 'error exit status1' what i do now sir ??

    • @Painless360
      @Painless360  6 ปีที่แล้ว +1

      no idea, I'm not an Arduino guy.. best of luck!

    • @islamrubaiyat3892
      @islamrubaiyat3892 6 ปีที่แล้ว

      You motor shield in broken

  • @samangodamunne7493
    @samangodamunne7493 6 ปีที่แล้ว

    I can upload my program but I cant get 5V by my arduino uno bord.When I take 5V my bord is off and take heet.plz help me!

    • @Painless360
      @Painless360  6 ปีที่แล้ว

      Sorry, I’m not sure what you are describing..

  • @sumanraj9138
    @sumanraj9138 5 ปีที่แล้ว

    Hi i'm using Arduino v3 and i compile the programme show that, error return code is not 0.
    So please help me....

    • @Painless360
      @Painless360  5 ปีที่แล้ว

      What troubleshooting have you already tried?

  • @johnbernard17
    @johnbernard17 6 ปีที่แล้ว

    *The reason why i am having an error compiling is because the sketch is not compatible to the new version of Arduino software. Right? So I have to download the previous version instead in order for it to work, Right?*

    • @Painless360
      @Painless360  6 ปีที่แล้ว

      Possibly, give it to go. All of the common problems are in this video.

    • @johnbernard17
      @johnbernard17 6 ปีที่แล้ว

      *Thanks!*

  • @neo39wfpv72
    @neo39wfpv72 8 ปีที่แล้ว

    hello again , i got my quad in the air now , :D its awesome :D wll post a video later today : .. happy flying :D , got some minor issues , though , it goes to the right and back , also im using self level , my quad is a sk450 with replaced escs ,

    • @Painless360
      @Painless360  8 ปีที่แล้ว

      neo36w eno36w Great news - happy flying!

  • @chottepandit6082
    @chottepandit6082 6 ปีที่แล้ว

    Please Help!!!!
    Man, I ran into a problem which shows the error "collect2.exe: error: ld returned 1 exit status"....
    What is this error which shows up every time I upload any code on Arduino/Genuino Uno....
    Pleas Help!!!!

    • @Painless360
      @Painless360  6 ปีที่แล้ว

      Happy to help but please watch th-cam.com/video/olIqTiSJHIY/w-d-xo.html and come back to me with more detail of what you've tried..

  • @mukhlisjohari3309
    @mukhlisjohari3309 6 ปีที่แล้ว

    sir , my problem is error exit status 1 and error compiling how can I fix it? thanks .

    • @Painless360
      @Painless360  6 ปีที่แล้ว

      +mukhlis johari what troubleshooting have you already tried?

  • @dhruvnayak1079
    @dhruvnayak1079 6 ปีที่แล้ว

    I guess you are using two different Arduino boards configuration for compiling.....in Arduino ide ver1.6 you are using Arduino mini and for Arduino IDE ver.1.0.5 you are using Arduino nano.

  • @haniarivera5680
    @haniarivera5680 5 ปีที่แล้ว

    I'm getting an error " exit status 1 expected ')' before ' ' token arduino " how to fix it?

    • @Painless360
      @Painless360  5 ปีที่แล้ว

      If you do a Google search on the error your find it something wrong with the linking or compiling of the code. Check that you’ve got everything you need and it’s all ready to compile. Best of luck

  • @openminded530
    @openminded530 5 ปีที่แล้ว

    my Arduino is not resetting (not accepting new) the code..
    it show message.
    Done uploading.
    avrdude: stK500_getsync() : not in sync: reap=0x00
    please help.

    • @Painless360
      @Painless360  5 ปีที่แล้ว

      Tricky to help without knowing what you've already tried. What troubleshooting have you already done?

  • @sambhulakra2439
    @sambhulakra2439 7 ปีที่แล้ว

    it didn't verify , plz.. help me . it is showing - Error compiling . sketch_mar18a.ino: 1:23: fatal error : MaxMatrix.h : No such file or directory
    compilation terminated.
    Error compiling .

    • @Painless360
      @Painless360  7 ปีที่แล้ว

      +sambhu lakra so what troubleshooting have you already tried?

  • @SY-jt5mq
    @SY-jt5mq 7 ปีที่แล้ว

    I am a beginner, and I have trouble uploading a code to the arduino and motor shield. I have downloaded the other 2 files. I can't upload the code while the arduino is attached to the motor shield, but I can upload the code to the arduino when it does not have the motor shield. I get this error message when I try to upload the code: avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified.
    Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
    I have checked the device manager (I have windows 10), and it says that it is connected to COM1. Any advice? Thanks!

    • @Painless360
      @Painless360  7 ปีที่แล้ว

      Sorry, I've not played with real arduinos. I'd upload the code with a shield on attached and then try it out. Best of luck

  • @selvameena9443
    @selvameena9443 5 ปีที่แล้ว

    I'm getting the error like avrdude: verification content mismatch. Please give me the solution

    • @Painless360
      @Painless360  5 ปีที่แล้ว

      I've not had that here but I would Google the error to find the answer. th-cam.com/video/P4soR6QgOk0/w-d-xo.html may help.. best of luck

  • @vasishtaramgundam4436
    @vasishtaramgundam4436 6 ปีที่แล้ว

    Anybody solved the problem

  • @dronemansk2121
    @dronemansk2121 6 ปีที่แล้ว

    stk500_getsync(): not in sync: resp=0x00 I got this error
    Board: Arduino Nano
    program used: Blink (included in arduino software)

    • @Painless360
      @Painless360  6 ปีที่แล้ว

      +DroneMan SK I'm guessing you've not searched in my videos for this then? Google something like 'stk500 painless360' to find it. Hope it helps..

    • @dronemansk2121
      @dronemansk2121 6 ปีที่แล้ว

      Well, this is first video I saw from you, but thanks.

    • @Painless360
      @Painless360  6 ปีที่แล้ว

      +DroneMan SK in that case, welcome to the channel. Lots and lots of information in here. Happy flying

  • @mundodeinformaticayotros.7913
    @mundodeinformaticayotros.7913 4 ปีที่แล้ว

    LA ONU COMO PUEDO RESOLBER ESTE PROBLEMA EN ARDUINO avrdude: verification error, first mismatch at byte 0x0000
    0x62 != 0x0c
    avrdude: verification error; content mismatch
    avrdude: verification error; content mismatch

  • @Habib-Daood-Rathore
    @Habib-Daood-Rathore 5 ปีที่แล้ว +1

    hi, I am using arduino nano and could not get rid of the problem .
    Here is Problem below.
    Sketch uses 930 bytes (3%) of program storage space. Maximum is 30720 bytes.
    Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x28
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x28
    Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
    Invalid library found in C:\Users\Habib Daood Rathore\Documents\Arduino\libraries\sketch_dec11a: no headers files (.h) found in C:\Users\Habib Daood Rathore\Documents\Arduino\libraries\sketch_dec11a
    Invalid library found in C:\Users\Habib Daood Rathore\Documents\Arduino\libraries\sketch_dec11a: no headers files (.h) found in C:\Users\Habib Daood Rathore\Documents\Arduino\libraries\sketch_dec11a

    • @Painless360
      @Painless360  5 ปีที่แล้ว

      Happy to help but please watch th-cam.com/video/olIqTiSJHIY/w-d-xo.html and come back to me with more detail of what you've tried..

  • @jayalakshmikumaravel1187
    @jayalakshmikumaravel1187 7 ปีที่แล้ว

    error status 1, error compiling for arduino/genuino UNO
    how to fix this error ??

    • @Painless360
      @Painless360  7 ปีที่แล้ว

      Happy to help but please watch th-cam.com/video/olIqTiSJHIY/w-d-xo.html and come back to me with more detail of what you've tried..

    • @funnyscps1880
      @funnyscps1880 5 ปีที่แล้ว

      Download library of the error message

  • @DrDiff952
    @DrDiff952 8 ปีที่แล้ว

    Perhaps this is why I never got my Bluetooth working?

    • @Painless360
      @Painless360  8 ปีที่แล้ว

      Dean Cory Maybe - time for another go?

    • @DrDiff952
      @DrDiff952 8 ปีที่แล้ว

      Painless360 Yes, but it Will have to try tomorow. Headed to work.

  • @himanshusingh4994
    @himanshusingh4994 7 ปีที่แล้ว

    Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno"
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf4
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf4
    Problem uploading to board. See 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.

    • @Painless360
      @Painless360  7 ปีที่แล้ว

      +Himanshu Singh I assume you Googled 'stk500 painless360' to find our video on that error ;)

    • @bikramghuku8767
      @bikramghuku8767 6 ปีที่แล้ว

      Try to change the programmer

  • @Subhanmohammed09
    @Subhanmohammed09 5 ปีที่แล้ว

    Arduino: 1.8.6 (Windows 7), Board: "Arduino Yún"
    C:\Users
    abani\Documents\Arduino\sketch_sep13a\sketch_sep13a.ino:1:29: warning: extra tokens at end of #include directive
    #include voice
    ^
    Sketch uses 8864 bytes (30%) of program storage space. Maximum is 28672 bytes.
    Global variables use 370 bytes (14%) of dynamic memory, leaving 2190 bytes for local variables. Maximum is 2560 bytes.
    avrdude: butterfly_recv(): programmer is not responding
    avrdude: butterfly_recv(): programmer is not responding
    avrdude: butterfly_recv(): programmer is not responding
    avrdude: butterfly_recv(): programmer is not responding
    avrdude: butterfly_recv(): programmer is not responding
    Found programmer: Id = "þ"; type = È
    Software Version = ".
    what to do for this error from uploading board plz help uss....../

    • @Painless360
      @Painless360  5 ปีที่แล้ว

      What troubleshooting have you already tried?