Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Ongoing

STD Xadow - Grove Adaptor

License:

Mode: Editors' pick

  • 912
  • 0
  • 0
Update time: 2021-04-11 03:18:10
Creation time: 2016-01-11 09:12:03
Description
Introduction Xadow Grove Adaptor is a device that converts Grove interface to Xadow Interface to compatible with Xadow System. It can achieve this function: analog signal from two analog Grove interface will output by Xadow I2C bus through ADC. The signal from Grove I2C Interface will directly lead to Xadow I2C bus without conversion. The A/D conversion based on ADCC121C021, a 12-bit precision ADC, create high precision. Specification Work Voltage: 3.3V A/D Resolution:12 bit Sample Rate: 188.9 ksps I2C address variable Dimensions: 25.43mm x 20.35mm Demonstration Next we will show you how to read the output value of Grove modules by using Xadow Grove Adaptor. Measure Analog Signal If measure analog signal Grove module outputs, you need to connect Grove module to analog Grove Interface where they are marked as "A0" and "A1". The Hardware Installation should be: ![enter image description here][1] Here Grove - Gas sensor outputs analog signal is connected to AO, so the I2C Address applied to the test code is 0x58(default). In other words, the I2C Address should be 0x59 when Grove - Gas Sensor connect to A1 interface. The test code is: #include #include #define ADDR_ADC121 0x58 #define V_REF 3.00 #define REG_ADDR_RESULT 0x00 #define REG_ADDR_ALERT 0x01 #define REG_ADDR_CONFIG 0x02 #define REG_ADDR_LIMITL 0x03 #define REG_ADDR_LIMITH 0x04 #define REG_ADDR_HYST 0x05 #define REG_ADDR_CONVL 0x06 #define REG_ADDR_CONVH 0x07 unsigned int getData; float analogVal=0; // convert void init_adc() { Wire.beginTransmission(ADDR_ADC121); // transmit to device Wire.write(REG_ADDR_CONFIG); // Configuration Register Wire.write(0x20); Wire.endTransmission(); } void read_adc() //unsigned int *data { Wire.beginTransmission(ADDR_ADC121); // transmit to device Wire.write(REG_ADDR_RESULT); // get result Wire.endTransmission(); Wire.requestFrom(ADDR_ADC121, 2); // request 2byte from device delay(1); if(Wire.available()
Design Drawing
schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
ID Name Designator Quantity
1 DNP 0,1,2,3 4
2 Grove-DIP I2C,A0,A1 3
3 SEEEDSTUDIO_SCH_FRAME U$1 1
4 ADC121C021CIMMNOPB U1,U3 2
5 100nF C2,C3,C1,C5 4
6 CJ432 U2 1
7 100R R5 1
8 15K_1% R7 1
9 10K_1% R8,R3,R11,R12,R13 5
10 10uF_16V C4 1
11 4.7k R1,R2 2
12 20R R4,R6 2
13 LOGO-SEEEDSTUDIO U$7 1
14 LOGO-OSHW-FILL LOGO2 1
15 12p FPC bottom contact J1 1
16 PAD-MARK P1,P2,P3,P4 4

Unfold

Project Attachments
Empty
Project Members
Target complaint
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn