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.
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.
-
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.
- Also, the full doppler image is included as reference
see Gantt Chart
- Setting up Raspberry Pi 2
- Installing OS onto SD chip o Chose to use Arch Linux ARM o Followed instructions at https://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2 o Challenge - initially followed instructions for Raspberry Pi 1 o ARM architectures have less software/driver support than x_86
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 entergit status
, you will see something like -
The simplest way to push this new file to
github.com
is withgit add -A && git commit -m "this is my message" && git push origin master