Electronic Components Datasheet Search
  English  ▼

X  

DFR0627 Datasheet(PDF) 5 Page - DFROBOT

Part # DFR0627
Description  Gravity: IIC to dual UART module
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0627 Datasheet(HTML) 5 Page - DFROBOT

  DFR0627 Datasheet HTML 1Page - DFROBOT DFR0627 Datasheet HTML 2Page - DFROBOT DFR0627 Datasheet HTML 3Page - DFROBOT DFR0627 Datasheet HTML 4Page - DFROBOT DFR0627 Datasheet HTML 5Page - DFROBOT DFR0627 Datasheet HTML 6Page - DFROBOT DFR0627 Datasheet HTML 7Page - DFROBOT DFR0627 Datasheet HTML 8Page - DFROBOT DFR0627 Datasheet HTML 9Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 16 page
background image
2023/10/12 10:51
Gravity: IIC to dual UART module Wiki - DFRobot
https://wiki.dfrobot.com/Gravity: IIC to Dual UART Module SKU: DFR0627
5/16
1
1
1
1
The 4th bit: fixed, 1.
The 3rd bit: fixed, 0.
The 2nd and 1st bits: C1/C0 represents the sub UART channel number, for example. 00 for UART1, 01 for UART2.
The 0 bit: represents the operation object, 0 for register, 1 for FIFO.
Construct Object
When construct IIC to dual UART object, it is required to specify the sub UART(UART1 or UART2) and the value of IA2 and IA0. The
constructor is shown below:
DFRobot_IIC_Serial(TwoWire &wire = Wire, uint8_t subUartChannel = SUBUART_CHANNEL_1, uint8_t IA1 = 1, uint8_t IA0 = 1);
For operating UART1, pass the parameter SUBUART_CHANNEL_1; for UART2, pass SUBUART_CHANNEL_2;
If the status of the DIP switch on the module is A1(1),A2(0), then we should pass parameters 1 and 0 to the formal parameter IA1 and IA0.
For example, turn the DIP switch A1 to 1, A0 to 0;
Construct object, UART1;
DFRobot_IIC_Serial iicSerial(Wire, SUBUART_CHANNEL_1, /*IA1=*/1, /*IA0=*/0);//consctruct object UART1
Construct object, UART2;
DFRobot_IIC_Serial iicSerial(Wire, SUBUART_CHANNEL_2, /*IA1=*/1, /*IA0=*/0);//construct object UART2
Baud Rate Configuration



Html Pages

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


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