0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« on: November 05, 2009, 08:12:36 am » |
Ok, so I've tried everything to get the ethershield working, but I can't seem to get any response from the shield. The lights are blinking, so data is being received by the shield but I don't see any data comming back. I've tried a direct connection (pc->ethernet shield) and also through a switch, and a router but nothing seems to be working. I even tried a new shield but that one seems to have the same problem, which makes me think I am doing something wrong. I've tried all the examples (webserver, webclient, ping etc) but to no avail. Also I've tried the shield with a different arduino board but again.. that didn't work either.
Is there anyone with the same problem? Or could anyone help me to get the shield working?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 236
Arduino rocks
|
 |
« Reply #1 on: November 06, 2009, 01:36:35 pm » |
If you are using a mega, you have to change some pins, and a file. in that case, search the forum, there a threads like "ethernet mega hack" or similar.
did you enter your IP to the sketch? Is that IP in the same network as your computer?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #2 on: November 06, 2009, 02:23:32 pm » |
I'm not using the mega, I'm using the diecimila. And yes I've checked the ip and mac address.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #3 on: November 15, 2009, 09:04:19 am » |
bump
I think I'm missing something, but I feel like I've tried everything. I just don't get a response from the shield. Nuelectronics isn't answering my mails, so I'm totally lost now. Just wondering if someone could help me out here.... :-/
|
|
|
|
« Last Edit: November 15, 2009, 09:17:36 am by Cypher87 »
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25392
Solder is electric glue
|
 |
« Reply #4 on: November 15, 2009, 01:33:28 pm » |
If the LEDs are blinking then data is getting through. What is almost defiantly the problem is the IP address. It has to match all but the last digit of your PC. Also the sub net mask on your PC should be 255.255.255.0
I had the same problem, emails not being answered but no LEDs apart from the power on at all. I switched to another shield and it now works. I used a crossed Ethernet cable to connect directly to my Mac and got all examples to work.
Best of luck.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #5 on: November 17, 2009, 09:16:50 am » |
Thanks for your reply. The subnetmask is indeed 255.255.255.0 (using 192.168.1.0/24). I will try some more cables, the only thing I can think of what might be wrong. Though it sucks that mails don't get answered. Not enough information available for this shield 
|
|
|
|
« Last Edit: November 17, 2009, 09:17:14 am by Cypher87 »
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25392
Solder is electric glue
|
 |
« Reply #6 on: November 17, 2009, 10:10:01 am » |
Try not using 0 as the last digit of the IP address, change it to 1. I think 0 is reserved for the server or something.
|
|
|
|
« Last Edit: November 17, 2009, 10:10:14 am by Grumpy_Mike »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #7 on: November 17, 2009, 10:14:27 am » |
I've tried the default (192.168.1.15)
(192.168.1.0/24 is an ip prefix)
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25392
Solder is electric glue
|
 |
« Reply #8 on: November 17, 2009, 10:40:05 am » |
What OS are you using? I will try and duplicate it if you like (if I have access to that OS)
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #9 on: November 17, 2009, 10:54:05 am » |
Using Windows 7, though I have also tried with Windows XP
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 4
Posts: 42
Arduino rocks - Yeah Baby!!
|
 |
« Reply #10 on: November 17, 2009, 01:28:49 pm » |
Hi, I have a number of these ethernet shields and have had a lot of success with them. Which library are you using? The one that comes from nuelectronics is a bit limited in that it wont route outside of the local lan. I had created an updated library that a number of people have had success with. It is able to route to internet servers and I use it to post data to pachube.com and twitter. Its available at http://blog.thiseldo.co.uk/?p=329. The library is not perfect and there is room for improvement and might get round to re-visiting it sometime soon! I have also have created a new library for the nuelectronics nokia 3110 lcd shield. Hope this helps.  Cheers Andy
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #11 on: January 18, 2010, 10:31:48 am » |
Tried both libraries to no avail 
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25392
Solder is electric glue
|
 |
« Reply #12 on: January 18, 2010, 10:43:24 am » |
Have you tried to ping it? If it comes back and says the address is unreachable then it is something wrong with your network settings in your PC.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #13 on: January 18, 2010, 10:53:53 am » |
I can't ping, but the settings are ok.
|
|
|
|
|
Logged
|
|
|
|
|
Sweden
Offline
Newbie
Karma: 0
Posts: 11
Arduino rocks !
|
 |
« Reply #14 on: January 26, 2010, 02:14:04 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
|