Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

DFR0971 Datasheet(PDF) 11 Page - DFROBOT

Part # DFR0971
Description  2-Channel 0-10V I2C Digital to Analog DAC Module Arduino Wiki
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0971 Datasheet(HTML) 11 Page - DFROBOT

Back Button DFR0971 Datasheet HTML 7Page - DFROBOT DFR0971 Datasheet HTML 8Page - DFROBOT DFR0971 Datasheet HTML 9Page - DFROBOT DFR0971 Datasheet HTML 10Page - DFROBOT DFR0971 Datasheet HTML 11Page - DFROBOT DFR0971 Datasheet HTML 12Page - DFROBOT DFR0971 Datasheet HTML 13Page - DFROBOT DFR0971 Datasheet HTML 14Page - DFROBOT DFR0971 Datasheet HTML 15Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 18 page
background image
2023/10/12 15:10
2-Channel 0-10V I2C Digital to Analog DAC Module Arduino Wiki - DFRobot
https://wiki.dfrobot.com/SKU_DFR0971_2_Channel_I2C_0_10V_DAC_Module
11/18
10000. channel : channel select, 0: channel 0; 1: channel 1; 2: all the channels.
Sample: dac.setDACOutVoltage(3500,0) // output 3.5V via channel 0.
#include "DFRobot_GP8403.h"
DFRobot_GP8403 dac(&Wire,0x58);
void setup() {
Serial.begin(115200);
while(dac.begin()!=0){
Serial.println("init error");
delay(1000);
}
Serial.println("init succeed");
dac.setDACOutRange(dac.eOutputRange10V);//Set the output range as 0-10V
dac.setDACOutVoltage(1433,0);//The DAC value for 3.5V output in OUT0 channel
delay(1000);
dac.store(); //Save the set 3.5V voltage inside the chip
}
void loop(){
}
Result
After downloading the code, the strip was lit, and at this time, the output voltage of channel 0 measured by a multimeter is 3.5V.
Output Sine Wave
This sample will show how to output a sine wave with a frequency of 10Hz and an amplitude of 5.12V. It should be noted that the waveform is
generated by code simulation, which has a relatively large error, so it's just for learning. Connect the oscilloscope to the output and the
generated sine waveform can be seen



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


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