- Remove the yellow wire from the breadboard so you have Arduino with the yellow wire in Pin 3.
- Start the sketch.
- Connect the yellow wire to the GND pin (connect Pin 3 to GND). In the Serial Monitor you should see "...3:0..."
- Move the yellow wire to the 5V pin (connect Pin 3 to 5V). In the Serial Monitor you should see "...3:1..."
I did both and I'm still not getting anything in the Serial Monitor.
The sketch is sending data to your serial monitor. We need to find out why not....
Would you do this:
- Upload a sketch
- Copy/paste the data from the Output monitor (same area as Serial Monitor, but a different tab)
Here's the Output data from the sketch you gave me in post #36.
Sketch uses 1602 bytes (4%) of program storage space. Maximum is 32256 bytes.
Global variables use 184 bytes (8%) of dynamic memory, leaving 1864 bytes for local variables. Maximum is 2048 bytes.
That looks normal.
Would you upload this sketch... it should run automatically.
void setup() {
Serial.begin(9600);
Serial.println("Hello, World!");
}
void loop(){}
When I try that it complies and it uploads but when I open the Serial Monitor it says "Not connected. Select a board and a port to connect automatically.".
It didn't give me this error message when I was trying the other sketches.
Click on the "Select Board" dropdown, type the board you have, then click the COM port it is on.
It's already selected, both the board and COM port are.
And is your Serial Monitor baud set to 9600?
Yes.
Is the sketch running? (sorry.... the "hello, world" sketch)
How do I know? There's no "Hello, World!" in the Serial Monitor if that's what you mean.
I don't know if this is related but the L light on the Arduino is lit up and it wasn't before.
Post #46 has the "Hello, World!" sketch.
To upload it, click the upload (arrow ->) button on the IDE.
The "L" means something is making Pin 13 (thirteen) HIGH. Is your Arduino on a non-conducting surface?
I did and am getting the error message in the Serial Monitor that I mentioned in post #47 even though the board is connected.
It is on a non-conducting surface.
There is a difference between physically plugging the board and USB cable in, and the board being recognized by the IDE. The IDE must detect the Arduino, or the board will not be programmable.
The IDE is detecting the Uno. You must click on the Uno/Com4 to select the Uno.
I did that and I'm still getting the error message.
Show the error message.
