RAK12013 WisBlock Radar Sensor

Overview

RAK12013 is a WisBlock IO-slot module built around the RCWL-9196 3.2 GHz Doppler radar. It reports motion on WisBlock IO3, which is high while motion is detected. WisBlock IO4 reaches the radar ENABLE pin. The module pulls that pin up to the radar supply, so the radar runs unless IO4 is driven low. The only supply is the base board 3V3_S rail on connector pin 6, and WisBlock IO2 switches it. This shield turns that rail on.

IO3 and IO4 are also wired to sensor slot C, so this shield cannot be combined with a slot C module that uses those pins.

RAK12013 WisBlock Radar Sensor (Credit: RAKwireless)

RAK12013 WisBlock Radar Sensor (Credit: RAKwireless)

More information about the module can be found at RAK12013 WisBlock Radar Sensor.

Requirements

This shield requires a WisBlock core that provides the wisblock_io connector, for example rak4631/nrf52840. The core is mounted on a WisBlock base board such as the RAK19007, which exposes the IO slot.

Programming

Set both shields when you invoke west build. For example when running the Button sample:

# From the root of the zephyr repository
west build -b rak4631/nrf52840 --shield rakwireless_rak19007 --shield rakwireless_rak12013 samples/basic/button

Motion on IO3 is delivered as input event INPUT_KEY_0. The sample prints that event and, when the base board provides led0, turns the user LED on while motion is reported.