Skip to content

Project for UW EE542 - Advanced Embedded System Design

Notifications You must be signed in to change notification settings

p5a0u9l/coffee-pi-radar

Repository files navigation

Software-Defined Radar using Raspberry Pi and Coffee Cans

Project for UW EE542 - Advanced Embedded Systems Design

Overview

Motivation

Dr. Gregory Charvat et al developed and documented a simple, yet powerful laptop radar system that uses coffee cans as Receive/Transmit Antennas.

I have wanted to have an excuse for trying this out, pairing it with a Raspberry Pi, instead of a laptop, and giving it some battery power to deploy in front of my house and record all the speed-limit busters! Similar projects have been implemented and provided at least a little direction for me,

This documentation will attempt to serve as a guide for duplicating and possibly extending my own effort.

Abstract

Doppler radar is an older technology that is finding renewed interest with modern computing hardware and software advances. It is widely used in applications like weather forecasting, law enforcement, aerospace, and healthcare. The technology exploits the Doppler effect to remotely capture data about a moving object's velocity. Additionally, system-on-a-chip technology is continually making it easier to deploy complicated embedded systems. This project will leverage the Cantenna Radar project developed by Dr. Gregory Charvat at MIT interfaced via a sound card to a Raspberry Pi to develop and deploy a simple, real-time Doppler Radar. The system will be used to measure, log, and analyze the speed of vehicles on a residential street over time.

Doppler Processing Playback

  • Using the sample data from the MIT opencourseware site I developed a visualization tool that demonstrates real-time playback, peak-speed detection, and combines it with the sound file itself. I uploaded the video to youtube and it can be access by clicking the image below.

    • The upper subplot is a frequency view (transformed to speed in mph) of an average over 5 coherent integration periods, or "dwells". Each dwell is over 50 ms, and so the doppler spectrum being shown is over 250 ms, a 1/4 of a second. This seems a reasonable rate at which to track vehicle movement. Assuming, of course, the vehicle has negligible accelaration over this period.

    The red * is the maximum value over the spectrum at that moment and is a reasonable estimate of the speed.

    • The lower subplot is an image of the same 250 ms period, but "seen from above". That is, the color/intensity values reflect the signal magnitude at that pixel. This image scrolls over time.

    Doppler Playbak

    • Also, the full doppler image is included as reference

diagram

Function Descriptions

Doppler Speed Detector

Audio Scope

System Overview

Schedule

see Gantt Chart

Bill of Materials

see Bill of Materials

Steps

  1. Setting up Raspberry Pi 2

Git Basics

To clone this repository you must have a git client installed. This overview will assume you have installed git for windows and have the git bash shell available. Although, the instructions will work in any UNIX-like shell environment.

  • Clone the repository by executing git clone https://github.com/p5a0u9l/ee542

  • This will download and place the files in a folder called ee542

  • To add material to the repository simply move the file(s) to folder containing the repo.

  • git will automatically see these new files.

  • If, from the bash shell, inside the repo (possibly need a cd ee542), you enter git status, you will see something like diagram

  • The simplest way to push this new file to github.com is with git add -A && git commit -m "this is my message" && git push origin master

  • The output should look something like diagram

About

Project for UW EE542 - Advanced Embedded System Design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published