Pages: [1]   Go Down
Author Topic: Need skilled programmer in arduino, java (tcp/udp/networks)  (Read 804 times)
0 Members and 1 Guest are viewing this topic.
London
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Uk Arduino Member
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Dear All,

We are looking to code two arduinos to make them communicate either via tcp, udp, string or whatever is best suited in your eyes. We wish arduino A to send a message to arduino B to turn a pin on or off. (alarm) Then also send a tcp/udp message to a java server with date and time stamp for historical tracking.

Best Regards

Lewis
Logged

Lewis Joyce

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
We are looking to code two arduinos to make them communicate either
Over what distance? With what hardware?

Quote
via tcp, udp, string or whatever is best suited
Mixing protocols and data formats is like putting shoes on a banana split. Why would you do that?

Quote
We wish arduino A to send a message to arduino B to turn a pin on or off.
Why doesn't Arduino A just do that? If you are going to string a wire so that the two can communicate, cut out the second one and just do it.

Quote
Then also send a tcp/udp message to a java server with date and time stamp for historical tracking.
It doesn't matter what language the server script is using. It's necessary only that the server script be able to cope with a GET request. The Arduino can make GET requests.

Are you sure that sending a datagram that the server could ignore is a good idea? I wouldn't use UDP for that data.
Logged

Pages: [1]   Go Up
Jump to: