It would be helpful if you could try connecting it to VESC. If that works, it means the serial connection is functional. That’s used both for VESC communication and for FW update. There could be a problem in the RESET net – that’s the diode, resistor, and the 100n cap. Its purpose is to reset the MCU before the FW upload.
One more thing. In your Arduino IDE preferences, please turn the “Show verbose output during:” for both compilation and update. Then please send the console output again. It should have more details.
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM7
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x08
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa0
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xfc
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xfc
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x08
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xfc
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x08
Thanks for your help everyone! I will check the connection with the Vesc later today.
Tools > Board > Board Manager... then find Arduino AVR Boards (should be at the top). What version do you have? If not the latest, try installing the latest.
@mmaner I am about to get the latest version of your enclosure printed. I’m trying to wrap my head around the buttons. I understand that the printed caps should be glued to the buttons, but what exactly is the idea for holding the buttons in place?
I really like the metal panel mount buttons that @lrdesigns uses. They look great and are easy to install. I’m afraid they are slightly too big for your enclosure. Any ideas for a simple mod that would allow using those? Thanks.
There are recesses on the inside of the case that hold the buttons in place, I just use a little hot glue to keep them from moving. I wish I could find some 6 or 8 mm momentary switches to use.
Hey everyone. Another issue. It isnt reading from the vesc. I have
Rx to rx
Tx to tx
Ground to ground
5v to 5v
Both Davegas have the same problem and it happens to both vescs.
Baud rate is 115200
Thanks again all.
I can print you the enclosure and mount the buttons and send it to you if you like, I have all the pieces on my bench. It will take awhile to get to you.
That’s very nice of you. Thanks for the offer, but shipping from US to EU costs arm and leg. It’s not worth it. I can ask a friend to print it for me.
Could you please just share the link for the correct buttons? I’m sure it’s somewhere in this thread, but I can’t find it. There’s too much stuff already.