Pages: [1]   Go Down
Author Topic: need advice - arduino ethernet + 10 sensors + servo output  (Read 242 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

For my next arduino based project, I'm going to use an EtherMega (arduino mega with onboard ethernet) to read 10-20 sensors and then transmit the values via UDP to a PC over Lan. From the PC I'll send commands to the arduino which will then transmit via TTL to a pololu maestro to control some servos.

Am I going to run into issues with delays in the loop since the arduino reads/writes to UDP, reads sensors, and also transmits data over TTL? I'm trying to avoid any kind of delays/errors/failed transmissions because the arduino can't keep up and I'm wondering if this even a good idea. I know the Mega a powerful controller, but since the loops are synchronous I'm not so sure.

Any thoughts would be greatly appreciated.
Logged

0
Offline Offline
Tesla Member
***
Karma: 118
Posts: 8957
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not try it to see how it works if you already have the hardware?
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The hardware is currently being shipped, just doing some pre-planning and checking if anyone else has any tips or advice.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 38
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is the prokect going to set up a server and display info to that?
Logged

Pages: [1]   Go Up
Jump to: