I have a a sytem which contains 2 electronic cards: 1 card with 4 on/off relays and one card with 8 analog inputs and 2 analog output.
These cards are used to control high voltage power supplies and to set and readout different values related to these power supplies (actual voltages, supplied currents…).
Until now, I used a labview software to control these cards wich are connect to a USB hub and this USB hub is connected to my computer.
I would like to control my system by using only a serial connection between my system and any computer.
So the usb hub (and therefore the cards) would be connected to the arduino and then the arduino to the PC.
So basically, I would write a program embedded on the arduino which listen to the command send by my PC and operates the cards.
For instance if I send the command ‘‘HV1 On’’, the arduino will switch on the proper relay.
Or ‘‘HV3 read current’’, the arduino will return the current supplied by the high voltage power supply #3.
Here are my questions :
Is my project feasable ?
What is the condition on the drivers cards to make it work with the arduino ? Is a linux driver adapted ?
I was thinking to use an arduino mega, is it a proper choice ? At this point I am hesitating with a raspberry.
Thanks for your help !