Can I read voltage and current measurement from simulink model that containts a model of connections in Arduino Uno?
3 views (last 30 days)
Show older comments
I had done the connections on simulink for the attachment of the pins in Arduino to the dc motor. But i dont know how to take the measurements for the voltage and current used when the dc motor starts to turn.
0 Comments
Accepted Answer
J Chen
on 2 Aug 2022
Use the Analog Input block froo the Simulink Support Package for Arduino.
4 Comments
Walter Roberson
on 8 Aug 2022
Edited: Walter Roberson
on 8 Aug 2022
https://electronics.stackexchange.com/questions/351790/how-can-i-measure-the-current-in-a-precise-way-using-an-arduino talks about calculation of current by way of a voltage measurement
https://forum.arduino.cc/t/reading-current-values-with-arduino/612862 talks about some issues with high voltage, and some with reference voltage for Nano that should be checked in case they apply to Uno.
More Answers (0)
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!