edge lab LIVE! starts Tuesday in Munich. Grab a workshop seat and take home the board you build on. Code FRIEND-HACKSTER saves 20%. () Learn more!
Infineon Team
Published © MIT

#MakeRadar

#MakeRadar provides radar tutorials, demos running directly in your browser and hands tutorials to guide you from zero to prototyping

BeginnerProtip2 hours699

Things used in this project

Hardware components

SENSE2GOL - 24GHz Radar kit
Infineon SENSE2GOL - 24GHz Radar kit
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

#MakeRadar Code

C/C++
Code to be flashed onto Infineon's Sense2GoL board via Arduino
#include <Arduino.h>

void setup()
{
  Serial.begin(38400);
  Serial.println("Init done!");

  // Only necessary when directly communicating with the board
  pinMode(BGT_ON, OUTPUT);
  digitalWrite(BGT_ON, LOW); // Turn on the board
}

void loop()
{
  Serial.print(analogRead(CH_I));   // Read and print I
  Serial.print(' ');
  Serial.println(analogRead(CH_Q)); // Read and print Q
}

Credits

Infineon Team
143 projects • 427 followers
Hands-on projects, tutorials, and code for sensors, MCUs, connectivity, security, power, and IoT. Follow for new builds and ideas.

Comments