Can arduino receive and send information through its serial port to a simulink model on a pc?
1 view (last 30 days)
Hey, I tried to implement the fuzzy logic controller on the arduino uno and it doesn't work. Is it possible to run the controller on my pc and use serial receive and serial transmit to read the sensors on the arduino and give commands to the actuators?
Valmir Sadiku on 28 May 2013
Of course, i tried that in the past and it works fine with the 'Serial Receive'- and 'Serial Send'-Blocks. You can run into trouble, because of your restrictions regarding the sample time. Therefore you have to use Real-Time Windows Target.