Go Down

Topic: Can I turn an Arduino Uno into a simple switch controlled by Matlab commands? (Read 482 times) previous topic - next topic

hemm

Dear all,

I have a very simple (and potentially stupid) question: is there a way to make an Arduino board act as a simple switch (hardware) via matlab (or any other platform)? By switch, I mean like a light switch, with input and output currents; if it's on, the current goes through, and if it's off, the current is blocked.
My intention is to use it as a simple switch to control certain stimulation flow. Whatever pulses come in, come out as they are when the switch is on. The amplitude is within 10mA (or approximately 15V).

Many thanks in advance!

James C4S

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

hemm

Thanks James :)

I will order an Arduino starter kit now!

And it will be great if you can shed some light on how exactly I can make it happen (even some keywords I should look for will be highly appreciated).
I know there's input and output and... that's pretty much it.
My background is medicine and I'm just searching for a tool to solve my research problem.

James C4S

1. Google "Arduino matlab"
2.  Search this forum for matlab
3. Look at "firmdata"

You're going to create a "command system" you send over serial.  Matlab will send commands and your Arduino's program will interpret them and do the actions you desire.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

Go Up