Clear Filters
Clear Filters

Simulink and Arduino analog input always zero

3 views (last 30 days)
Hi all.
I am trying to read data from a simple accelerometer using an Arduino as target hardware. I am using the "Analog input" block in simulink and get nothing but zero from the simulation. Everything is wired correctly. This is exactly what I am trying to accomplish:
https://www.youtube.com/watch?v=h1e-unxYTZU
Any help would be greatly appreciated!

Answers (0)

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!