Leonardo & Ethernet Shield Problem [SOLVED]

Hello.

I have a (genuine) Arduino Leonardo and a (ebay) Ethernet Shield (with ICSP connector, SD card, this one). Using the ethernet shield with Leonardo (and nothing more) works fine. But when I'm trying to make some analog reads from the analog pins of the ethernet shield, the results are much different than from the leonardo itself (without the ethernet shield).

All I want to do is to read a battery voltage and a temperature sensor on analog pins.

Is there a known incompatibility between Leonardo and "el-cheapo" ebay Ethernet Shields?

Thanks, Antonis.

Can you see any connections on the Ethernet Shield to the analog input pins (or maybe the Vref pin)?

My Ethernet Shield clone is still on a Slow Boat from Hong Kong. Purchased October 4th with expected delivery October 23rd to November 5th.

Yes, there are on the ethernet shield (on the pcb) lines coming from A0 and A1.

Hm... Good idea. I didn't noticed that. And as you can guess, at the pcb I made, I'm using only 2 analog pins. A0 & A1 :D

I will change them tomorrow to see if that's my problem (99% that's it).

Thank you!

Antonis.

Thanks again. That was the problem. I replace A0 & A1 with 2 other analog pins, and everything works fine :)

Antonis.

vegos: That was the problem. I replace A0 & A1 with 2 other analog pins, and everything works fine :)

I wonder why the Ethernet Shield connects anything to A0 and A1. Can't wait to see what strange connections my Ethernet Shield Clone has. :)