Arduino Due and simulink voltage resolution
2 views (last 30 days)
Show older comments
I would like to use the analog inputs on the arduino Due board for a project I am doing, but I need a voltage resolution of 12 bits and the default is 10 bits.
Is there a way to change this? either in simulink or by hard coding it in?
Thanks,
Nathanael
0 Comments
Accepted Answer
sho
on 3 Nov 2014
ok i solved the problem with a easy s-function. check out this vid and just implement it with the arduino library command "analogReadResolution(12)".
0 Comments
More Answers (4)
Azzi Abdelmalek
on 24 Oct 2014
This depends on the analog-to-digital converter of your card.
0 Comments
sho
on 29 Oct 2014
have the same "problem" and would like to know if there is a way to change the input resolution of the arduino due from 10 to 12 bit. Maybe with a s-function?
0 Comments
Nathanael
on 3 Nov 2014
1 Comment
Hou-Pin Yoong
on 27 Apr 2015
Have you manage to change the resolution to 12 bits. Mind to share your achievement? thank you.
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!