Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

DFR0552 Datasheet(PDF) 7 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) 7 Page - DFROBOT

Back Button 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 DFR0552 Datasheet HTML 10Page - DFROBOT DFR0552 Datasheet HTML 11Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 23 page
background image
void loop(void) {
Serial.print("DFRobot_MCP4725 write to EEPROM and output: ");
Serial.print(OUTPUT_VOLTAGE);
Serial.println(" mV");
DAC.outputVoltageEEPROM(OUTPUT_VOLTAGE);
delay(200);
}
Results
A 1V voltage signal can be measured at VOUT. Disconnect the module from the Arduino. Repower
the module, by connecting oinly the VCC and GND pins of the module to 5V and GND on the
Arduino, respectively. The user can still read 1V at VOUT. The
function DAC.outputVoltageEEPROM () stores the DAC value in the EEPROM while it outputs a
specified analog voltage signal. The module recalls the DAC value in the EEPROM upon power-up
and restores the analog output at VOUT.
Output a Sine Wave
Set the I2C address to 0x60 with the ADDR switch. For I2C address 0x61, you need to modify the
first parameter of the DAC.init () function in the code below.
Open Arduino IDE, upload the following sample code to the Arduino UNO, and use a oscilloscope to
measure the output voltage of VOUT.
The user can modify the parameters in the function DAC.outputSin () to change
the amplitude, frequency and DC offset of the sine wave.
/*
* 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.



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