Navigation

Plug & play experience

What is this about?

This web page allows you to easily get started with radar and your radar device.
Whether you use it as an 'Out of the Box'-Example or want to learn radar theory with interactive and practical examples - you only have to connect your #MakeRadar device to your PC and watch the magic!

Before you start, only a few quick preparations need to be made here.

All set up yet?
Then lets start and dive into our live-application examples, like the Raw data console, Raw data visualizer, Door openerSpeedometer, FFT spectrum visualizer, Presence detection.

In case you face any difficulties, you will also find help in our Troubleshooting  Section.

0. Before you start

To recognize your board and be able to play with it, there are just some things to do:

1. Install Arduino Create Agent

2. Add Infineon website to origins

Go to the installation directory of the   Arduino Create Agent  and open the 'Config.ini' file. This can be done with an ordinary text editor.
Now add  
 , https://www.infineon.com   to   origins .
After that, the file should look like this:

Figure 1: Left, Original 'Config.ini' file; Right, Manipulated 'Config.ini' file

You cannot find the 'Config.ini' file? Help in our Troubleshooting: Find Arduino Create Agent Config File section.

3. Restart Arduino Create Agent

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' from windows your windows search or alternatively 'Arduino_Create_Agent_Bridge.exe' from your installation directory.

ATTENTION
In case you have not the Sense2GoL DevKit 'Make' or flashed an another firmware, please go below to the section Troubleshooting: Flash the correct firmware to find out how to flash the Sense2GoL with the appropriate one.

A1: Raw data console

So let's see if it works!

Select your board port and baud rate, check if the agent is detected and open the port (Baudrate of 38400 is recommended to reduce latency).
Do you see any incoming data? Something like  532 544 ?  Then you are good to go!

Having troubles? Then jump right to our Troubleshooting section:

A2: Raw data visualizer

Select your board port 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!

What happens here?

Radar is the perfect motion sensor, when moving your hand or objects in front of the sensor. You or your object are reflecting and distorting EM waves sent out by the radar. Those distorted waves are picked up by the sensor and converted to so called IQ outputs. So the visualizer displays the acquired I(t) and Q(t) signals over time as an quantized analog signal from the radar sensor.

What are IQ signals? Learn in our MakeRadar School - Radar Theory Lesson!

How to implement it on my Sense2GoL Board? Learn in our MakeRadar School - Sense2GoL Programming Tutorial!

A3: Door opener

Select your board port 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!

If you look at the IQ-data shown in the Raw Data Visualizer, you will see that there are two sinusoidal signals that are offset in phase. If you now move your hand towards and away from the radar sensor, you will notice that the I(t) signal depening on the direction leads or trails the Q(t) signal in pahse by 90°. Consequently, the direction of motion respectively to the radar can be detected by determining the leading signal. 
By using this phenomenon, doors could be opened or closed depending on approach or departure or lights turned on and off.

What are IQ signals? Learn in our MakeRadar School - Radar Theory Lesson!

How to implement it on my device? Learn in our MakeRadar School - Sense2GoL Programming Tutorial!

A4: Speedometer

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

One benefical property of radar is the capability to measure speed. The measurement relies on a detectable frequency shift bewteen the transmitted and received EM waves - the so called doppler effect. Depending on the deviation to the reflected frequency, a velocity can be derived and diplayed in our speedometer. 
You can see the frequency shift in our next example 'FFT Spectrum Visualizer'.

 

What is the doppler effect? Learn in our MakeRadar School - Radar Theory Lesson!

A5: FFT spectrum visualizer

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

As you can see in the 'Speedometer' example, we use doppler frequencies to measure the speed of a moving object. Since the analysis of those frequencies could be very exhausting within our I/Q-time signal, we are taking advantage of an another analytical analysis method - we transform our time variant signal ('time domain') into the 'frequency domain'. This can be done by a so called Discrete or Fast Fourier Transform (DFT/FFT). 

The frequency domain allows us to see the sinusoidal frequency components within a sampled time signal. 
So the FFT visualizer shows the same signal as the Raw data visualizer does - only in the frequency domain. 

What are frequency domain and DFT/FFT? Learn in our MakeRadar School - Radar Theory Lesson!

A6: 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!

Using the high sensivity of radar in motion detection we now demonstrate how you can use radar for presence detection. Here the radar uses two different thresholds for evaluation of macro (walking) and micro (breathing, yes breathing!) motion. The macro motion threshold is used to turn the sensor on, then the micro motion threshold (should be smaller then the macro threshhold) is activated to make sure the sensor stays on as long as you stay in front of the sensor.

What are the basics of radar? Learn in our MakeRadar School - Radar Theory Lesson!

Troubleshooting

1 Find the 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:

1.2 Unknown 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.

1.3 Not receiving 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 other Sense2GoL DevKits, 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:

1.4 Find Arduino Create Agent config file

Note: It is highly recommended to install the Arduino Create Agent in the default installation directory!

  • Windows 10
    Default Installation Directory:  C:\Users\USERNAME\AppData\Roaming\ArduinoCreateAgent-1.1
    Note:
    Usally the 'AppData' folder is hidden in the File Explorer view.
    To make it visible open the File Explorer and go to  C:\Users\USERNAME\.
    Now, click on the tab 'View' of the File Explorer and check the checkbox 'Hidden Items' in the 'Show/hide' section. 
    The 'AppData' folder should now appear in your content list.
Figure 2: Location and settings to show AppData Folder

Plug & Play - Navigation