I'm looking to make a robot with an onboard laptop for brains (this may sound stupid/crazy, but its a school project). I figure this would be the best place to post this question. Anyways, I planned on using USB/serial ports to connect sensors/motors to the computer, but have no idea where to start with the programming or how to approach this. I assume its possible just because printers and scanners both do these kinds of I/O. I'm not looking for code or anything, just dirrection. I have considerable experience in c++ console/win32 and even a little socket programming, but have never attempted to write a program to control an external device using a physical port. Even just the vague name of a topic to google would help. Thanks.
-Matt