I am a physicist, and a few weeks ago I had a revelation about how I can use my personal computer to gain finer control over laboratory experiments than is usually the case. Before I ran away to try to do this, I wanted to check the opportunity with people who have more experience than I do in such matters.
The idea is to use I / O ports --- VGA, ethernet, speaker connectors, etc. - on a computer to talk directly with sensors and actuators in an experimental setup. For instance. cut one side of the network cable (with the other end connected to the computer) and send each line to another device. I knew a postdoc that did something very similar with BeagleBone. He wrote assembly code that allows him to synchronize everything with the internal clock and use the GPIO pins to effectively give him a hybrid signal generator / area that was fully programmable. It seems the same thing should be possible with a laptop, and this will have the added benefit that you can perform data analysis from the same device.
The main potential difficulty that I foresee is that the hardware on the BeagleBone is designed with this type of I / O in mind, while I expect that the hardware on the laptop will probably be harder to control directly. I know, for example (from some preliminary investigation, http://ask.metafilter.com/125812/Simple-USB-control-how-to-blink-an-LED-via-code ) that for USB ports it will be difficult to access this way, and VGA (according to VGA 15-pin data port to read and write using Matlab ) is impossible. However, I did not find anything about using other ports, such as Ethernet or speakers.
So, the main question is whether this idea will be feasible (without investing many months for each new hardware option), and if so, what type of input / output (ethernet, speaker connectors, etc.) is likely to be the best a choice?
Supporting questions:
Where can I find material to find out how I can fulfill this plan? I'm not even sure which keywords will be included on Google.
Will the ease with which I can do this greatly depend on the operating system or hardware brand?
source share