How to modify analog output range of Arduino Due
2015-09-14 00:26
537 查看
Voltage Translation for Analog to Digital Interface ADC
How to modify analog output range of Arduino Due
Arduino Due does not have an analog output voltage from 0 V to Vref,but from 1/6 to 5/6 of the reference voltage, that is, 0.55 V and 2.75V with Vref = 3.3 V.
This is also confirmed by the Atmel (see bibliography).
The output voltage range of the DAC is only 2.75-0.55 = 2.2 V, with a resolution of 2.2/4095 = 0.5372 mV.
A simple differential amplifier, realized with an op amp, is used to remove the 0.55 V offset
and to amplify the output signal in order to reach the desired value.
The following figure shows the scheme of this circuit:
To generate the voltage Vp = 0.55 V, that is, the minimum value of the DAC, is used the divider formed by R3, R4 and Rp.
The trimmer pot Rp is used to adjust Vp in order to have an output value close to 0 V in correspondence with the number 0 sent to the DAC.
With a single power supply you can never get exactly 0V but you approach some mV, about 8 in my prototype.
The differential amplifier has the following gain:
G = Vo/(Vi-Vp) = R2 / R1 Vo = R2/R1 * (Vi-Vp)
[align=center] [/align]
Just change the gain, for a different output voltage, but less than 4 V,
With a gain G = 3.3 /2.2 = 1.5, the output of this circuit has the desired range from 0 to 3.3V.
It is recommended to use resistors with a tolerance of 1% or less,
particularly for the four resistors of the amplifier.
Don’t use operational amplifier as LM741, LM1458, TL081
and other that are not suitable for single-supply.
相关文章推荐
- 使用request.getParameter()读取参数时出现的中文乱码现象
- UI高级----Images.xcassets
- 用EasyUI的一些感受
- Android--Handler+Looper+MessageQueue+Thread线程之间的通信
- UIView 类
- UITableView cell的重复使用
- JSP中 request.getRealPath("/xx/yy") 方法提示已经过时的替代方法
- android开发---ndk-build不自动删除外部库
- easyui datagrid使用
- 将Fresco源码导入到Android Studio,Build失败的解决办法
- 百度UEditor本地化配置 笔记
- hashmap先按照value从大到小排序,value相等时按照key从小到大排序
- 32/64位平台printf uint64的方法
- iOS开发之有趣的UI —— 自定义不等高cell
- Wndows UI设计官方文档
- UI优化技巧:使用layoutopt进行布局优化
- UIPageViewController使用示例
- UI优化技巧:使用ViewStub
- 定义Iterator遍历器取出set中的key,然后通过key的值在map中取出对应value值
- IOS每天15个注意点系列之UI-帧动画与图片浏览