background image

Documentation Center

Figure 7: Voltage Level Shifter Circuit

I2C Address

The I2C address of the Analog-to-Digital converter chip of RAK12004 can be configured via resistor jumpers as
shown in Figure 8.

Figure 8: RAK12004 I2C Address

J2 Connector Pinout

RAK12004 has an additional connector to provide an extra interface to the module. The pinout of J2 connector is
shown in Figure 9.

Figure 9: J2 Connector Pinout

WisConnector

Содержание WisBlock RAK12004

Страница 1: ...Core boards on your Arduino project install the RAKwireless Arduino BSP Follow the steps in the RAKwireless Arduino BSP Product Configuration Hardware Setup RAK12004 module is part of the WisBlock Sen...

Страница 2: ...attached carefully fix the module with one or more pieces of M1 2 x 3 mm screws depending on the module Figure 2 RAK12004 connection to WisBlock Base Board Disassembling The procedure in disassemblin...

Страница 3: ...e USB port of the board to configure the device Not doing so might damage the battery or cause a fire Only 5 V solar panels are supported Do not use 12 V solar panels It will destroy the charging unit...

Страница 4: ...Documentation Center Figure 6 Selecting RAK4631 as WisBlock Core RAK11200 Board Figure 7 Selecting RAK11200 as WisBlock Core...

Страница 5: ...ess MQx Library using Arduino Library Manager 4 On the Arduino IDE select Sketch Include Library Manage Libraries as shown in Figure 9 5 On the Library Manager text area type RAKwireless MQx Figure 9...

Страница 6: ...braries RAK12004_MQ2_Sampling as shown in Figure 11 Figure 11 Open RAK12004 MQ2 Sampling Sketch NOTE If you experience any error in compiling the example sketch check the updated code for the RAK12004...

Страница 7: ...mple on PlatformIO IDE optional NOTE This procedure was tested only on Windows 10 and Ubuntu 1 Install the original PlatformIO platform as shown in PlatformIO First Install section For WisBlock Core R...

Страница 8: ...rust authors 7 Build the project and ignore warnings and errors 8 Download and install the RAK Patch script 9 Unzip the contents of RAK_PATCH zip into the folder RAK_PATCH in your PlatformIO installat...

Страница 9: ...d execute python rak_patch py Figure 17 RAK patch installed on Windows WARNING In case of any platform update on PlatformIO the RAK_PATH script must be executed again after the platform update 11 Impo...

Страница 10: ...WisBlock Core and check Use Libraries installed by the Arduino IDE option as shown in Figure 19 14 Then choose the directory of the original RAK12004 Arduino Project Figure 19 Select Board and check I...

Страница 11: ...ect on the PlatformIO Now you can build the project by clicking on the highlighted icon as shown in Figure 21 Figure 21 Build Arduino imported project 17 Upload the imported project on the PlatformIO...

Страница 12: ...Documentation Center Figure 22 Upload Arduino imported project Last Updated 7 29 2022 10 17 19 PM...

Страница 13: ...e 25 x 35 mm Specifications Overview Mounting The RAK12004 WisBlock MQ2 Gas Sensor Module can be mounted to the IO slot of the WisBlock Base board Figure 1 shows the mounting mechanism of the RAK12005...

Страница 14: ...in Figure 2 NOTE I2C related pin ALERT EN VBAT 3V3 and GND are connected to 40 pin WisConnector Figure 2 RAK12004 WisBlock MQ2 Gas Sensor Pinout Electrical Characteristics Recommended Operating Condi...

Страница 15: ...sConnector PCB Layout Figure 4 WisConnector PCB Footprint and Recommendations Schematic Diagram Power Supply Circuit Figure 5 shows RAK12004 step up power supply circuit VBAT Battery voltage max volta...

Страница 16: ...pply the detect voltage to load resistance R12 The AOUT pin is the voltage of load resistance R12 which represents the reading of the U2 sensor U3 ADC121C021 12 Bit Analog to Digital converter with al...

Страница 17: ...al converter chip of RAK12004 can be configured via resistor jumpers as shown in Figure 8 Figure 8 RAK12004 I2C Address J2 Connector Pinout RAK12004 has an additional connector to provide an extra int...

Страница 18: ...nnector pinout VBAT battery voltage I2C1_SDA and I2C1_SCL are I2C related pins EN is power chip enable pin ALERT is analog to digital converter alert pin Figure 10 RAK12004 MQ2 Gas Sensor Module 40 pi...

Отзывы: