Arduino Ethernet as ThingSpeak client & webservers | Arduino | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





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

Register Lost password?
sp_Feed sp_TopicIcon
Arduino Ethernet as ThingSpeak client & webservers
Avatar
stan001
New Member
Forum Posts: 3
sp_UserOfflineSmall Offline
1
January 12, 2012 - 4:59 am
sp_Permalink sp_Print

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

Avatar
Hans
Natick, MA

Forum Posts: 390
sp_UserOfflineSmall Offline
2
January 12, 2012 - 4:01 pm
sp_Permalink sp_Print

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:
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

winnieeq69

AutoCheernpen

Bostermet

engladNed

iivenul

olewaeayafaku

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee