Pages: [1]   Go Down
Author Topic: TCP/IP basics- a challenge  (Read 948 times)
0 Members and 1 Guest are viewing this topic.
Sussex UK / CT USA
Offline Offline
Edison Member
*
Karma: 0
Posts: 1028
Forums forever
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've just had an "interesting" few days working with a new toy, a TEMPerLAN, from PCSensor.com. The TEMPerLAN connects to your LAN, and into the TEMPerLAN you also plug some 1-Wire temperature sensors.

I've now created a client program which runs on a Windows machine. It makes a wSocket connection to the TEMPerLAN at whatever IP address the PCSensor has been assigned, and via port 5200. The client software then sends just two bytes to the TEMPerLAN ($BB $82, as it happens.) This persuades it to send a simple string of data back to the client software, which interprets the string, and displays the temperatures the TEMPerLAN reported.

So why post this here? If you are looking to get started with Arduinos and TCP/IP, creating a TEMPerLAN clone might make an "amusing" project. My web-page gives much more detail, and the client software you can use to test your attempt to create a server in the Arduino. Note that this is a SIMPLE server, not a full blown WEB PAGE server. Along the way, novices might learn more than they know so far about TCP/IP.

I am new to it myself... apologies for errors in the tutorial... but the software DOES work!

Software and tutorial at...

http://sheepdogguides.com/dt5n.htm

You don't have to be a Delphi programmer to benefit from the material there. You don't need Delphi to run the .exe which is included in the .zip.

Enjoy...
Logged

Offline Offline
Edison Member
*
Karma: 8
Posts: 1341
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very cool!  I read thru all of it. 
Loved Borland and Delphi for 15 years.  In fact I named my Yacht the same name.

Will you take my Challenge in this subforum about Distance and GPS? 
I have 3 projects defined, pick one and try to solve it in theory.
Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

Pages: [1]   Go Up
Jump to: