Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: dbmonkey on March 05, 2013, 09:24:14 PM

Title: Suggestions for USB IO Board with sample code [solved]
Post by: dbmonkey on March 05, 2013, 09:24:14 PM
Hi all,
I am looking for a USB controlled IO Board with at least 16 low current digital outputs.
It is important that I also find simple sample code in either C++, Java, or C#, etc. that can control the outputs since I am no code expert.

I plan on using this board with my Windows 7 PC.
 
What is the most affordable option that you know of?
 :D Thanks ;D
Title: Re: Suggestions for USB IO Board with sample code [solved]
Post by: dbmonkey on March 06, 2013, 12:45:47 AM
Great question.
Here is what I suggest: http://www.poscope.com/pokeys56u (http://www.poscope.com/pokeys56u)

It comes with example code in every language you mentioned!
Title: Re: Suggestions for USB IO Board with sample code [solved]
Post by: jwatte on March 06, 2013, 01:47:27 AM
The Arduino Uno has > 16 low current outputs (when you use the analog pins as outputs.)
Same for the Arduino Leonardo (lower cost) and Mega (higher cost, more pins.)
You'll have to write a little bit of code running on the Arduino to read the input command (serial port or USB) to set the state of the output ports, and then talk to the board using serial or USB ports on the PC. Lots of tutorials for these kinds of things on arduino.cc.