Have you ever think to develop a high-tech and sophisticated US2B radar by yourself? You might think that this totally a mission impossible project, then you is wrong here.
Before you starting the task, you’re better prepare these following components:
- PIC18F4550 microchip (microcontroller)
- An ultrasonic range sensor
- A old bipolar stepper motor (This for the motor turning purpose)
Below here is the figure for the finished radar with the USB missile launcher beside it.
The stepper motor will turn the ultrasonic range finder in 360 degrees and reverse (Cool, isn’t it?). When two measurements have been made, the PIC will send out the data to the PC by using an asynchronous interrupt transfer. The timer in the PIC controls the stepping motor turning speed.
When you starts the radar, you have to wait for the radar to turn around completely, before you’re pressing the “Scan Environment” to let the application know about the detected targets are the normal environment (any solid objects, such as walls, chairs or even your hand!). If the is any target within the detection range (the read dot area), the application will turn the launcher to the nearest detected target and fires!
Note: Remember not to launch the missile to your kitty or doggy!
We recommend EasyEDA for circuit design and PCB prototype