A tutorial to get you started with radar.

What is this about?

This documentation helps you to get started with Infineon’s radar chips. We also interactively teach you some radar basics, so you know what’s going on with your board. Finally we have some demo uses cases that you can explore to get an idea of what’s possible with radar.

To get started right away, explore what your board can do .

Features

  • Get started with your radar board here.
  • Start coding with our step-by-step tutorial here.
  • Learn radar with interactive explanantion here.

1. Before you start

To recognize your board and be able to talk to it, there are just three quick things to do:

  1. Install Arduino Create Agent

  2. In the installation directory of   Arduino Create Agent , edit   Config.ini   and add    https://www.infineon.com   to   origins . the line should look like this then:

    origins = http://local.arduino.cc:8000, https://www.infineon.com

  3. Restart  Arduino Create Agent for the new config to take effect. This is done by a right-click on the Arduino icon in the taskbar  agentTaskbar. click Pause Plugin, right-click again and choose Kill Plugin. after that, run Arduino_Create_Agent_Bridge.exe from your installation directory.

2. Play with the raw data

Select your board and baud rate and open the port to see the raw data (having trouble?). Try moving your hand or objects in front of the board and observe how the data changes. Start experimenting!

3. Watch the speedometer

Select your board and baud rate and open the port to start measuring the speed (having trouble?). Move your hand up and down above the board. Vary the speed and watch the changes on the speedometer. Start experimenting!

4. Get to know FFT

Select your board and baud rate and open the port to see the fft data (Having trouble?). Try moving objects in front your board at different speeds to see fft changes. Start experimenting!

5. Door opener

Select your board and baud rate and open the port to start the door opener (having trouble?). Approach your board (either with your hand or your body) and the door will open. Stand still or depart and it will close again. Start experimenting!

6. Presence detection

Select your board and baud rate and open the port to see the raw data (having trouble?).  Adjust the timer, sensibility and see how it detects your presence. Start experimenting!

X. Raw data console

Troubleshooting

     1. I can’t find my board

Make sure create agent is running

Check if you can find the Arduino icon in the taskbar (it might be hidden behind the arrow).

agentTaskbar

Check if your computer recognized the board

All boards connected to COM ports should appear on the interface. If you can’t find your board, check the device manager of your operating system to find out if your board is properly detected by your computer.

On Windows it should look like this:

If you are able to select port and baud rate, but nothing happens after opening the port, this is how you can fix it:

     2. I don’t know my baud rate

With the default firmware, the board communicates over the serial port with 38400 baud. Unless you made any changes, you can just go with the 38400 baud default. Otherwise adapt it to your configuration.

     3. I don't see any data 

If you are able to select port and baud rate, but nothing happens after opening  the port, this is how you can fix it:

Verify the baud rate if you are using the wrong baud rate, you will not see any data. See the previous question to find out the correct baud rate.

Make sure you are using the Sense2GoL

Only the Sense2GoL make board is shipped with the right firmware. If you are using the normal Sense2GoL, you have to flash the right firmware before starting off (see below).

Flash the correct firmware

Follow this guide to setup the idea of your choice and install SEGGER J-Link. After that, uploading the following code to your board installs the right firmware:

Explore     Develop    Learn radar