Everyone has seen radar (at least on TV). It feels great every time I see it. It can detect various obstacles. It would be great if I could have one.
But there is someone who not only dares to think, but also dares to put his ideas into practice (which is what we lack), and he really made a very cool USB radar.
This is its appearance. It looks a little simple, but it is quite fun to play with it.
This foreign enthusiast not only made this circuit, he also wrote a very beautiful host computer to achieve the purpose of computer control.
How about it? Doesn’t this interface look like a real radar? Anyway, I was attracted by this interface.
So how can we have a USB radar like the author's?
First, let's talk about the overall framework. In fact, this USB radar is very simple in principle. It consists of an ultrasonic module installed on a stepper motor, a PIC microcontroller, and of course the stepper motor drive circuit.
PIC microcontroller
The driving circuit drives the stepper motor to rotate, and receives the echo signal sent by the ultrasonic module installed on the stepper motor to obtain the position of the obstacle in front, and then sends it to the upper microcomputer software through USB. The upper computer software calculates and displays each obstacle graphically.
The specific driving circuit is actually very simple, consisting of two H bridges. (If you find it troublesome, I think it can also be realized with L298).
But the author was not satisfied with this, he also bought a USB missile from the store.
How about missiles + radar... it becomes the Patriot missile defense system...
In order to make the two devices work better together and make this project more fun, the author modified the host computer program.
After adding the missile, this project becomes more interesting. But it is also a little more complicated to operate.
It seems that the USB missile that the author bought does not have feedback, that is, it does not feedback the rotation angle, so it is much more troublesome to use. It is recommended that when you make this, the missile should also have feedback, just like the base of the radar.
Since there is no feedback, we cannot know the direction of the missile, but we can calculate its position through its speed and rotation (but this may have errors). And at the beginning we need to adjust the position of the missile to the same direction as the radar.
The operation of the author's software is as follows: first, start the USB radar, rotate 360 degrees, and click the Scan environment button on the software. The software will draw the trajectory of the obstacle in the picture (imagine that the radar is surrounded by a wall. After scanning, the trajectory of the wall will be displayed). Moreover, due to the scattering of ultrasonic waves and other reasons, this trajectory is not accurate. The software will automatically make a correction to get the final detection range.
Now, if there is a target within the detection range (the area surrounded by the red curve in the figure), the software will control the missile to rotate to the nearest target and attack it! Unfortunately, we have lost the direction of the missile again. We can only determine the current position of the missile by measuring the time it takes for the missile to rotate to the target and the set speed. If it rotates too much or too little, we need to correct the speed of the missile's rotation.
Note: This radar is quite interesting. In fact, I think the stepper motor below can be replaced with a general DC motor + reduction box. Through some simple feedback, such as driving a certain potentiometer when rotating (actually the principle of the servo), and then the microcontroller detects the voltage on the potentiometer to get the position information of the motor. In this way, the stepper motor can be omitted, because the drive of the stepper motor is still quite troublesome, and the DC motor only needs an H bridge to use PWM speed control. In addition, if you want to make a missile, it is best to make it with feedback.
I wonder if you have any other novel ideas? For example, if it is made in two dimensions, you can get a surface curve, which should be more interesting (you can scan the curve on the surface of an object and simply judge what it is).
Previous article:Greenhouse measurement and control system solution based on wireless sensor network
Next article:Fine-grained coverage of wireless sites
Recommended ReadingLatest update time:2024-11-16 17:37
- Popular Resources
- Popular amplifiers
- Virtualization Technology Practice Guide - High-efficiency and low-cost solutions for small and medium-sized enterprises (Wang Chunhai)
- usb_host_device_code
- Image acquisition and processing system for panoramic map applications
- Teach you to learn 51 single chip microcomputer-C language version (Second Edition) (Song Xuefeng)
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- RISC-V MCU IDE MRS (MounRiver Studio) development: Solve the problem of RAM usage showing 100% after compilation
- FPGA Learning - Introduction to Verilog
- Let's take a look at the price increase rhythm of 10 major chip manufacturers, starting a new round of price increases
- Share a learning material: Comic Semiconductor
- [TI recommended course] #Basics of Hall Effect Magnetic Sensors#
- Is the battery level indicator accurate? Battery: I guessed it.
- Would you dare to sit in a car without a steering wheel? The United States allows self-driving cars without steering wheels
- F28335 learning ADC configuration
- Please recommend a step-down circuit
- C6000 Cache