0

I started to experimenting with the Arduino Ethernet shield and got it working with not much effort. However, when I try to debug through the hardware serial port of the board, I get nothing, and though the program still runs, and I know it should be giving me something, it doesn't. Truth be told, I haven't got a clue of what's going on. How do I fix this problem?

P.S. I am using one of the example sketches included in the Arduino IDE.

dsolimano
  • 8,870
  • 3
  • 48
  • 63
Alan Cor
  • 226
  • 1
  • 4
  • 10
  • Can you give us a link to the example sketch you are using? – Jeff Oct 22 '12 at 13:42
  • I am using the code under examples/Ethernet/WebServer. But this is something I've noticed happening to any code using the ehternet class, either as server or client. – Alan Cor Oct 22 '12 at 18:43

2 Answers2

0

The Ethernet shield does not use the RX and TX pins (0,1) and I have personally used Serial communication with the shield before.

So it definitely had to do with your code. Can you post your code?

Also have you connected anything to digital pins 0 and 1?

Sudar
  • 18,954
  • 30
  • 85
  • 131
  • I don't know why, but it seems like I made a mistake, it is actually an Arduino ehternet, that for my understanding is just like a regular arduino Uno with the ethernet interface incorporated. – Alan Cor Oct 22 '12 at 18:45
0

The Arduino Ethernet board is not equivalent to Arduino Uno + Etherent shield. In the Arduino Ethernet board the USB-to-serial chip is not present.

From the official Arduino Ethernet board page

The Ethernet differs from other boards in that it does not have an onboard USB-to-serial driver chip, but has a Wiznet Ethernet interface.

So I don't think you can print any values in the serial monitor.

Update:

You need an external FTDI adapter like http://arduino.cc/en/Main/USBSerial get the serial communication between Arduino and your computer to work.

Sudar
  • 18,954
  • 30
  • 85
  • 131