I'm struggling to get the Arduino running. I ran through the steps, setting up the board, port, etc., though none of the options were identical to any of the tutorials. There is no reset button on my Arduino that I can see. The green light is on. It doesn't blink.
Specs:
I'm using a macbook pro ios 10.14.6 and I uploaded the latest version of Arduino for Mac, including the update package referred to in the subject heading above. My board is Arduino Genuino Uno and my port is usbmodem145101. These were not on any instructions I saw, but they were the closest thing I could find to online instructions.
Blink Error Message[/b] When I try to upload Blink, I get this error message: 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. CNC_CTRL_V1 Error Message When I try to upload the CNC file referred to above, I get this message: Arduino: 1.8.10 (Mac OS X), Board: "Arduino/Genuino Uno" sketch/System.cpp: In function 'void setPWMPrescalers(int)': System.cpp:310:5: error: 'TCCR3B' was not declared in this scope
** TCCR3B &= ~prescalerEraser; // this operation sets the three bits in TCCR3B to 0**
** ^~** sketch/System.cpp:310:5: note: suggested alternative: 'TCCR0B'
** TCCR3B &= ~prescalerEraser; // this operation sets the three bits in TCCR3B to 0**
** ^~**
** TCCR0B** System.cpp:311:5: error: 'TCCR4B' was not declared in this scope
** TCCR4B &= ~prescalerEraser; // this operation sets the three bits in TCCR4B to 0**
** ^~** sketch/System.cpp:311:5: note: suggested alternative: 'TCCR0B'
** TCCR4B &= ~prescalerEraser; // this operation sets the three bits in TCCR4B to 0**
** ^~**
** TCCR0B** Multiple libraries were found for "Servo.h" Used: /Applications/Arduino.app/Contents/Java/libraries/Servo Multiple libraries were found for "EEPROM.h" Used: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/EEPROM exit status 1 'TCCR3B' was not declared in this scope This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. Maybe I missed the disclosure on the Maslow page, but no one told me I'd need a coding degree to get this thing running. Lost, Drew
drewbriney:
When I try to upload Blink, I get this error message:
Make sure you have selected the port of your Arduino board from the Tools > Port menu.
Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don’t know which port is your Arduino, you can find it like this:
Unplug your Arduino board from the computer.
Tools > Port
Note the ports, if any, listed in the menu.
Close the Tools menu
Plug your Arduino board into the computer.
Tools > Port - The new port listed in the menu is your Arduino board.
drewbriney:
When I try to upload the CNC file referred to above, I get this message:
These errors are because the code is written for a different microcontroller than the ATmega328P on the Uno you have, so the register names are different. It is possible that the CNC code is written so that you can configure it for different microcontrollers. We would need to look at the code to see whether that is the case. Please post a link to where you downloaded it from.
Thank you - I'll try the port thing. Checking on it without the Arduino in, I think I got the port correct. I'll post a follow-up after I get back to the shop.
I spoke with the manufacturers. I'm not certain that they read this post (I linked to it), but they suggested the arduino may be defective. Do you consider that a possibility or is this a coding issue? Thank you in advance for your help.
Here is the error I get from the blink (when I am not connected to the arduino):
Arduino: 1.8.10 (Mac OS X), Board: "Arduino/Genuino Uno"
Sketch uses 924 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
avrdude: ser_open(): can't open device "/dev/cu.usbmodem146101": No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Make sure you have selected the port of your Arduino board from the Tools > Port menu.
Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don’t know which port is your Arduino, you can find it like this:
Unplug your Arduino board from the computer.
Tools > Port
Note the ports, if any, listed in the menu.
Close the Tools menu
Plug your Arduino board into the computer.
Tools > Port - The new port listed in the menu is your Arduino board.
Someone told me this above - I did that - didn't have any trouble getting that figured out - but then I was told to try it without the arduino plugged in, so that is why I got the error and missing port.