Can I read voltage and current measurement from simulink model that containts a model of connections in Arduino Uno?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
J Chen
2022-8-2
Use the Analog Input block froo the Simulink Support Package for Arduino.
4 个评论
Walter Roberson
2022-8-8
编辑:Walter Roberson
2022-8-8
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!