Sunday, January 9, 2011


Just to give a comparison, I decided to repeat the experiments that I did with the SunSPOT also with the Arduino. So today I present the RadarArduino. The circuit setup stayed the same as in the SunSPOT post. You only have to connect the 5V port, the GND port and the A0 port of the Arduino respectively.

This is the simplified schematic of the connections which have to be made:

The source code is really easy and quite short:
  Radar Arduino.
  Analog input is read continously and the onboard LED reacts
  if a certain threshold is passed.

int a0 = 0;
int currentReading;

void setup() {
  pinMode(13, OUTPUT);

void loop() {
  currentReading = analogRead(a0);
  if(currentReading > 250) {
    digitalWrite(13, HIGH); 
    digitalWrite(13, LOW);
Here is the short clip of the experiment:

1 comment:

  1. Hi,

    that's exactly what im looking for... I know it's an older entry, but could you give me a little help?

    Please tell me how can i change the distance of the rsm-1650. i want to use it behind a window, door or wall to recognize a person moving behind this.

    contact me please over my site (because i dont want to publish my mail address here)

    thanks a lot