| Electronic Components Datasheet Search |
|
DFR0971 Datasheet(PDF) 14 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0971 Datasheet(HTML) 14 Page - DFROBOT |
|
14 / 18 page ![]() 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 14/18 offset DC offset of sine wave, range: 0-5000 for 0-5V (within 10V), 0-2500 for 0-2.5V (within 5V) channel channel select, 0: channel 0, 1: channel 1, 2: all the channels #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"); //Set DAC output range dac.setDACOutRange(dac.eOutputRange5V); } void loop(){ dac.outputSin(2500, 10, 2500, 0);//(voltage value, frequency (0~100Hz), voltage value, channel number) } Result After downloading the code, a sine waveform with a frequency of 9.804Hz and an amplitude of ±2.5V can be observed on the oscilloscope display. |
|
|
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 |
| 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 |