Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

DFR0972 Datasheet(PDF) 16 Page - DFROBOT

No. de pieza DFR0972
Descripción Electrónicos  I2C 4-20mA DAC Module Arduino Wiki
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  DFROBOT [DFROBOT]
Página de inicio  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0972 Datasheet(HTML) 16 Page - DFROBOT

Back Button DFR0972 Datasheet HTML 11Page - DFROBOT DFR0972 Datasheet HTML 12Page - DFROBOT DFR0972 Datasheet HTML 13Page - DFROBOT DFR0972 Datasheet HTML 14Page - DFROBOT DFR0972 Datasheet HTML 15Page - DFROBOT DFR0972 Datasheet HTML 16Page - DFROBOT DFR0972 Datasheet HTML 17Page - DFROBOT DFR0972 Datasheet HTML 18Page - DFROBOT DFR0972 Datasheet HTML 19Page - DFROBOT  
Zoom Inzoom in Zoom Outzoom out
 16 / 19 page
background image
2023/10/12 15:11
I2C 4-20mA DAC Module Arduino Wiki - DFRobot
https://wiki.dfrobot.com/SKU_DFR0972_I2C_4_20mA_DAC_Module
16/19
#include "DFRobot_GP8302.h"
DFRobot_GP8302 module;
void setup(){
Serial.begin(115200);
while(!Serial){
//Wait for USB serial port to connect. Needed for native USB port only
}
Serial.print("I2C to 0-25 mA analog current moudle initialization ... ");
uint8_t status = module.begin(); // use the pin used by the I2C Wire object of the MCU hardware by default
if(status != 0){
Serial.print("failed. Error code: ");
Serial.println(status);
Serial.println("Error Code: ");
Serial.println("\t1: _scl or _sda pin is invaild.");
Serial.println("\t2: Device not found, please check if the device is connected.");
while(1) yield();
}
Serial.println("done!");
module.calibration4_20mA(/*dac_4 =*/652, /*dac_20 =*/3265);
uint16_t dac = module.output(/*current_mA =*/4);
}
void loop(){



Html Pages

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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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