I'd like to try to set up - with a Teensy, if that's sensible - a fixed function "HID-over-UDP/IP" device like this:
a) fixed IP
b) receive (one-way) UDP/IP traffic on a single fixed port
c) trigger interrupt whenever receiving a UDP packet, update a small lookup table
I will also need to use USB, either as a host for another USB device (pushing US Raw HID), or as a device attached to a host (polled as HID input device).
Either way, having two working USB ports - one for serial debug, the other for one of the above - would be a bonus.
If running as USB device attached to a host, responding w/ interrupt on polling would be ideal.
Being also powered by host would be a bonus.
Neither incoming UDP traffic nor USB updates would occur more often than 1000x/second (and could be done at half that rate).
I found references for a number of ethernet shields in the forums and elsewhere, but never having done this on Teensy / other Arduino I could use some pointers re: what's a good part I could source today (and where should I source it), esp. if there's something already used in a recently published project?
Also, which Teensy variant would be best for this?
If for some reason Teensy is not a good choice for this, pls elaborate.
Thanks!
a) fixed IP
b) receive (one-way) UDP/IP traffic on a single fixed port
c) trigger interrupt whenever receiving a UDP packet, update a small lookup table
I will also need to use USB, either as a host for another USB device (pushing US Raw HID), or as a device attached to a host (polled as HID input device).
Either way, having two working USB ports - one for serial debug, the other for one of the above - would be a bonus.
If running as USB device attached to a host, responding w/ interrupt on polling would be ideal.
Being also powered by host would be a bonus.
Neither incoming UDP traffic nor USB updates would occur more often than 1000x/second (and could be done at half that rate).
I found references for a number of ethernet shields in the forums and elsewhere, but never having done this on Teensy / other Arduino I could use some pointers re: what's a good part I could source today (and where should I source it), esp. if there's something already used in a recently published project?
Also, which Teensy variant would be best for this?
If for some reason Teensy is not a good choice for this, pls elaborate.
Thanks!