Arduino Ethernet as ThingSpeak client & webservers | Arduino | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Arduino Ethernet as ThingSpeak client & webservers
No permission to create posts
January 12, 2012
4:59 am
Avatar
stan001
New Member
Members
Forum Posts: 3
Member Since:
January 3, 2012
sp_UserOfflineSmall Offline

Hi,

Can I use the Ethernet Shield as BOTH client to ThingSpeak and also as a Web Server to check the status or receive web clients connections to the Arduino ?

 

I check all the examples, it is either as a client or server but no both simultaneously...

 

Is it possible ?

 

Thanks

Stanley

http://arduino-for-beginners.blogspot.com

January 12, 2012
4:01 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 396
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

I am sure you can do this. Arduino Ethernet uses Wiznet and I think you can have 4 TCP/IP sockets in use. One could be a client, and another could be a server.

You might have to remove debug info (printing to the serial port) to free up the processor to handle both connections. The idea is to have one socket listening and one socket talking.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

celinabw2, FitoSprayscroma, LunnonGor, lancevl16, bernicenk60, veronicadq18

Administrators: Hans: 387, lee: 457