Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

DFR0552 Datasheet(PDF) 4 Page - DFROBOT

Part # DFR0552
Description  Gravity: 12-Bit I2C DAC Module SKU: DFR0552
PDF  23 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0552 Datasheet(HTML) 4 Page - DFROBOT

  DFR0552 Datasheet HTML 1Page - DFROBOT DFR0552 Datasheet HTML 2Page - DFROBOT DFR0552 Datasheet HTML 3Page - DFROBOT DFR0552 Datasheet HTML 4Page - DFROBOT DFR0552 Datasheet HTML 5Page - DFROBOT DFR0552 Datasheet HTML 6Page - DFROBOT DFR0552 Datasheet HTML 7Page - DFROBOT DFR0552 Datasheet HTML 8Page - DFROBOT DFR0552 Datasheet HTML 9Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 23 page
background image
Users are required an additional high-precision digital multimeter to complete the calibration, the
specific steps are as follows:
1. Connect the module to the Arduino according to the connection diagram above and set I2C address
to 0x60 by ADDR switch on the module. If I2C address 0x61 is preferred, you need to modify the first
parameter of the function DAC.init() in the code below.
2. Install the MCP4725 library
3. Open Arduino IDE and upload the following code to Arduino UNO
4. Use the multimeter to measure the output voltage of VOUT and change the value of
REF_VOLTAGE accordingly. For example, VOUT = 4950mV, the "#define REF_VOLTAGE 5000"
should be revised to "#define REF_VOLTAGE 4950". Calibration completed.
Change the value of OUTPUT_VOLTAGE (unit in mV) to your desired analog output voltage. This
value should be smaller than REF_VOLTAGE or the maximum output voltage will be limited to
REF_VOLTAGE. Before using the sample code below, write the calibration value to REF_VOLTAGE
first to get a more accurate output voltage.
/*
* file OutputVoltage.ino
*
* @ https://github.com/DFRobot/DFRobot_MCP4725
*
* connect MCP4725 I2C interface with your board (please reference board comp
atibility)
*
* Output a constant voltage value and print through the serial port.
*
* Copyright
[DFRobot](http://www.dfrobot.com), 2016
* Copyright
GNU Lesser General Public License
*
* version
V1.0
* date
2018-1-15
*/
#include "DFRobot_MCP4725.h"
#define
REF_VOLTAGE
5000
DFRobot_MCP4725 DAC;



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com