First of all, I have just started working with Arduino so please excuse me if I seem unprofessional with all this.
I have the Arduino Uno and I am trying to make the LED fade in and out. For this, I have been using the tutorial from Arduino's website: https://www.arduino.cc/en/Tutorial/Fade which seems pretty simple given that it's all basically a copy-paste situation.
And at the moment I am having two problems: 1) Whenever I upload any code to the Arduino, I get an error message like this:
Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Uno"
Sketch uses 1150 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 13 bytes (0%) of dynamic memory, leaving 2035 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=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.
I have googled it and almost every advice was to check the port. It looks like mine is right, it's: /dev/cu.Bluetooth-Incoming-Port. There are no other ports available.
BUT, even though the error message appears, the LED on my Arduino lightens up anyways. And here begins the second problem:
2) The LED is not fading in and out, but it is on which makes me even more confused. I checked my boards so many times and I honestly have no idea what might be wrong since it all looks right when compared with the tutorial picture.
The code I have is basically copy-pasted from the website, too.
Do you have any idea how to solve these? I would be beyond grateful! Thank you!
It looks like mine is right, it's: /dev/cu.Bluetooth-Incoming-Port. There are no other ports available.
I can't imagine how you think that a port name containing bluetooth is the correct port, or that a port with incoming in the name is the correct port to send code out to the Arduino is the correct port. Different expectations, I guess.
If you can't upload code to the Arduino, you can't expect the code on the Arduino to do what the code you can't upload suggests that it should do.
Just how IS the Arduino connected to the PC? Unplug the Arduino. Start the IDE. Look at the list of ports available. None of those ports is correct.
Stop the IDE, plug the Arduino in, and restart the IDE. Look at the list of ports available. The port(s) that are in the list this time, but were not there before, are the correct port(s).
I did what you told me to do and unfortunately, there are no new ports appearing once I plug the Arduino in. There is still this Blueetooth one, but - as you know - it was in there even when Arduino was unplugged.
I have two USB ports in my MacBook and it's the same for both. But the diodes on Arduino Uno board lighten up when I plug it in, so it is connected.
But the diodes on Arduino Uno board lighten up when I plug it in, so it is connected.
It is powered. That is ALL the you can surmise when the lights come on.
Have you installed the necessary drivers? I don't remember what was needed to get my Mac to talk to my Arduino, but I don't think it was just plug and play.
PaulS:
It is powered. That is ALL the you can surmise when the lights come on.
Have you installed the necessary drivers? I don't remember what was needed to get my Mac to talk to my Arduino, but I don't think it was just plug and play.
A quick look on YouTube seems to indicate there is an issue with later versions of Os X and some Arduino boards try searching for "programming arduino uno from a mac" and watching some of the results. It looks to be a security issue with some usb o serial chips. looks like there are workarounds but they do have security implications.
Thank you. I have the FDTI driver installed. I did some research and I even tried CH34 but it didn't work either. However, I doubt that my Arduino is in fact a cheaper clone.
I googled what you suggested, Ian, and nothing really worked. There was something I had to do with Security preferences (had to tick to accept apps from anywhere) but it didn't work either so I switched back to the original settings.
There was actually something I remembered when checking all these websites. Almost all the instructions say that after plugging Arduino in a dialog box should appear informing that a new network interface has been detected. I don't remember anything like this, and certainly I didn't do anything with network preferences.
Now, I don't know if it changes or helps with anything but I went to my system preferences > Network and nothing apart from my WiFi appears to be connected.
Sketch uses 1150 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 13 bytes (0%) of dynamic memory, leaving 2035 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\.\COM1": The system cannot find the file specified.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I followed some other instructions I found where they asked me to go to Device Manager > Ports (COM&LPT), but the Ports section didn't even show up there! And I tried different USB ports - still the same.