edit

Grove Shield for Seeeduino XIAO with embedded battery management chip

Grove Shield for Seeeduino XIAO is a plug-and-play Grove extension board for Seeeduino XIAO. With the on-board battery management chip and battery bonding pad, you could easily power your Seeeduino XIAO with lithium battery and recharge it. 8 Grove connectors onboard includes two Grove I2C and one UART. It acts as a bridge for Seeeduino XIAO and Seeed's Grove system. Flash SPI bonding pad allows you add Flash to Seeeduino XIAO to expand its memory space, providing Seeeduino XIAO with more possibilities.

With the on-board battery management chip and battery bonding pad, you could easily power your Seeeduino XIAO with lithium 3.7V battery and recharge it, making your projects, especially wearables ones, more flexible and in portable. You could even break the board through the onboard PCB stamp holds according to your actual needs of the project (only 25*39mm in dimension after break-off), making it smaller than smaller and the weight would be reduced from 13g to 10g as well!

As an extension board, the Grove Shield for Seeeduino XIAO also pulls all 14 pinout from Seeeduino XIAO, and its on-board power switch and charging status indicator light makes it more user-friendly. The Shield even reserves the SPI-Flash bonding pad for an advanced developer who may need to add Flash to Seeeduino XIAO to expand its memory space, providing Seeeduino XIAO with more possibilities.

Note

This product does not include a Seeeduino XIAO, please click here if you need one.

Feature

  • On-board Lithium Battery Charging and Management Function
  • Grove connectors ( Grove IIC x 2, Grove UART x 1 ), all 14 GPIO led out
  • Compact and Breakable Design
  • Flash SPI Bonding Pad Reserved
  • On-board Power Switch and Charging Status Indicator Light

Specification

Item Value
Operating voltage 3.3V / 3.7V Lithium Battery
Load Capacity 800mA
Charging current 400mA (Max)
Operating Temperature - 40°C to 85°C
Storage Temperature -55°C to 150°C
Grove Interface I2C * 2 / UART * 1

Applications

  • Wearable devices
  • Rapid prototyping
  • Grove modules testing
  • Projects require small size

Platform Supported

Arduino Raspberry Pi

Getting Started

Materials Required

Seeeduino XIAO Grove-Doppler-Radar Grove Shield for Seeeduino XIAO
enter image description here enter image description here enter image description here
Get ONE Now Get ONE Now Get ONE Now

Hardware Overview

External headers-pin description for Grove-Shield for Seeeduino XIAO

External headers-pin description for Grove-Doppler Radar

Pin number Signal name Pin description
1 DIV_OUT Frequency divider output from the BGT24LTR11
2 GND Ground
3 VCC_5V_EXT External+5.0V input power supply pin(maximum=5.5V)
4 VTUNE VCO frequency tuning voltage
5 IFQ_HG BGT24LTR11 Q-channel-analog signal output-second gain stage
6 IFI_HG BGT24LTR11 I-channel-analog signal output-second gain stage
7 PWM_OUT External user-configurable GPIO with CCU4
8 OUT1 External GPIO pin (user configurable)
9 OUT2 External GPIO pin (user configurable)

Hardware Connection

Tip

Please plug the USB cable, Doppler Radar Interface into Seeeduino XIAO expansion board Interface gently, otherwise you may damage the port.

  • Step 1. Plug Doppler Radar into Seeeduino XIAO expansion board with a Grove Cable.

  • Step 2. Connect Seeeduino XIAO to PC via a USB cable.

  • Step 3. Download the code, please refer to the software part.

  • Step 4. Run the code and the outcome will display on the screen of Serial Monitor in your Arduino IDE .

Software

Attention

If this is the first time you work with Arduino, we strongly recommend you to see Getting Started with Arduino before the start.

  • Step 1. Download the Demo code.

  • Step 2. Copy the whole Seeed_Arduino_DopplerRadar file and paste it into your Arduino IDE library file.

  • Step 3. Open the BGT24LTR11_DETECTION_TARGET file with your Arduino IDE.

  • Step 4. Upload the demo. If you do not know how to upload the code, please check How to upload code.

Software Code

#include "GBT24LTR11.h"

#ifdef __AVR__
    #include <SoftwareSerial.h>
    SoftwareSerial SSerial(2, 3); // RX, TX
    #define COMSerial SSerial
    #define ShowSerial Serial

    GBT24LTR11<SoftwareSerial> GBT;
#endif

#ifdef ARDUINO_SAMD_VARIANT_COMPLIANCE
    #define COMSerial Serial1
    #define ShowSerial SerialUSB

    GBT24LTR11<Uart> GBT;
#endif

#ifdef ARDUINO_ARCH_STM32F4
    #define COMSerial Serial
    #define ShowSerial SerialUSB

    GBT24LTR11<HardwareSerial> GBT;
#endif

void setup() {
    // put your setup code here, to run once:
    ShowSerial.begin(9600);
    COMSerial.begin(115200);
    GBT.init(COMSerial);
    while (!ShowSerial)
        ;
    while (!COMSerial)
        ;
    /*
        MODE 0 -->detection target mode
        MODE 1 -->I/Q ADC mode
    */
    while (!GBT.setMode(0))
        ;
}

void loop() {
    // put your main code here, to run repeatedly:
    uint16_t state = 0;
    ShowSerial.print("target speed:");
    ShowSerial.println(GBT.getSpeed());
    state = GBT.getTargetState();
    //2 --> target approach
    //1 --> target leave
    //0 --> Not Found target
    if (state == 2) {
        ShowSerial.println("target approach");
    } else if (state == 1) {
        ShowSerial.println("target leave");
    }
    delay(200);
}

Success

If everything goes well, you can go to Serial Monitor to see an outcome as following:

Grove-Doppler-Radar'' OUTCOME
Figure 3. No object approaching

And if there's an object approaching the radar or passing by, the outcome will alter as below:

Grove-Doppler-Radar'' OUTCOME
Figure 3. Object approaching

Note

The minimum speed accuracy that the sensor is capable of detecting is 52cm/s, which equals to 0.52m/s, 3.6km/h and 2.23mph. Additionally, the results returned by function getSpeed() are multiples of 52cm/s and are absolute values accordingly.

Schematic Online Viewer

Resources

Project

Tech Support

Please submit any technical issue into our forum.