RadioCore Kit
RadioCore_Kit is the shared Arduino library for RadioCore series hardware. It provides compile-time board configuration used by portable, board-adaptive examples.
Install the Library
Download the RadioCore_Kit repository and place it in the Arduino libraries directory, for example:
D:\Documents\Arduino\libraries
After installation, restart the Arduino IDE if it is already running. The library examples can then be accessed from File > Examples > RadioCore_Kit. Select the desired example to get started.
Example Code
The RadioCore Kit provides example code for the supported expansion modules. The following table lists the corresponding examples and documentation.
| Expansion Module | Example | Purpose | Documentation |
|---|---|---|---|
| RadioCore Light Sensor | BH1750_Read | Read ambient light over Sensor I2C | Guide |
| RadioCore Methane Sensor | CH01_Read | Estimate CH01 gas concentration and trend | Guide |
| RadioCore Carbon Monoxide Sensor | CO01_Read | Run the CO01 warm-up cycle and estimate concentration | Guide |
| RadioCore VOC Sensor | VO01_Read | Estimate VO01 gas concentration and trend | Guide |
| RadioCore Soil Moisture Sensor | Soil_Moisture_Read | Read and calibrate an analog soil moisture sensor | Guide |
| RadioCore TFT Display | NV3001B_Display | Exercise the 128-by-220 color TFT | Guide |
| RadioCore LED Strip | WS2812 | Run a three-color breathing animation | Sketch |
| RadioCore Motor | Motor_Control | Drive two direction inputs on an external motor driver | Sketch |
| RadioCore Relay | Relay_Control | Toggle an active-high relay module | Sketch |
| RadioCore Servo | Servo_Control | Control both channels of an RS-SV01 servo driver | Sketch |
| RadioCore Buzzer | Buzzer_Control | Play and repeat an RTTTL melody through the board-designated buzzer output | Sketch |