#181

  Переглядів 131,745

Andreas Spiess

Andreas Spiess

День тому

Radar is a fantastic technology. Without it, we would not be able to fly safely around the world. Today we will explore another usage of this technology: We start to build a radar speed gun out of cheap radar sensors. In a next episode, we will use the ESP32 to do some analysis. It can also be used with Arduino and ESP8266
Links:
HB100: s.click.aliexpress.com/e/n6IAynA
CDM324: s.click.aliexpress.com/e/EiqF6uF
LM386 Amplifier: s.click.aliexpress.com/e/qrFEaub
24GHz Sesor dual direction: shop.bb-sensors.com/out/media...
Fantastic explanation of the technology: • TSP #130 - Tutorial, E...
Formulas for Radar: www.limpkin.fr/index.php?post/...
The Signal Path UKposts Channel: / @thesignalpath
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
My Patreon Page: / andreasspiess
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For ebay.com: ebay.to/2DuYXBp
profile.php?...
/ spiessa
www.instructables.com/member/...
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
Equipment in my lab: www.sensorsiot.org/my-lab/

КОМЕНТАРІ: 584
@MartinBgelund
@MartinBgelund 6 років тому
This is very interesting, I'm looking forward to see more of the innovative details. How about pedestrians, skaters runners, etc in the same speed range? How will you avoid counting those as bikes?
@AndreasSpiess
@AndreasSpiess 6 років тому
I think, It will not be universally usable. For bigger roads with lots of traffic maybe a stationary solution is affordable. For smaller roads, this might be a possibility.
@anlumo1
@anlumo1 6 років тому
Skaters might be a problem, but pedestrians and runners are slower and it might be possible to filter them out (as long as you're not measuring close to an intersection). The bigger problem is probably groups of bicycles.
@MartinBgelund
@MartinBgelund 6 років тому
anlumo1 There are fast walkers and slow bikers, so filtering will be based on assumptions, not on certain attributes.
@anlumo1
@anlumo1 6 років тому
Yes, but I don't think that a 0% error rate is required. In addition to that, bicycles have a minimum speed they need to operate at, otherwise they topple over.
@Sir_Trip-s-A-Lot
@Sir_Trip-s-A-Lot 6 років тому
Can easily be addressed by magnetic field sensor alongside. The only foolproof way is to distribute free cycle only RFID stickers at city hotspots. That will solve all the problems
@hvanmegen
@hvanmegen 6 років тому
2 years in: still loving the guy with the Swiss accent.. my #1 go-to guy when I want to be informed about IoT, electronics and home automation!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you very much!
@dl8cy
@dl8cy 6 років тому
What an incident - yesterday in the evening i thought about that and now the Swiss guy shows solutions. Keen on part 2 of the Video. Thank you and 73 from Germany
@AndreasSpiess
@AndreasSpiess 6 років тому
Maybe it is not the complete solution. Still a way to go ;-)
@johnwest7993
@johnwest7993 Рік тому
I love this channel. It's one of the few things capable of pulling me away from my books and my work-bench. Your body of work here is a modern-day Principia Mathematica for the electronics student, hobbyist, and even a 'How To' for engineers. This is what every UKposts channel should strive for - high quality content. Thank you. I was just thinking that now, 4 years later, we could probably do all of this, including everything from speed capture, to direction, to identifying the moving object, all with just an esp32 and camera combination or something similar in price, and of course a whole lot of mathematical analysis of the video pixels. Everything has been reduced to ever cheaper sensors and an ever-growing, ever-improving body of sophisticated, free firmware. We live in amazing, (and fun,) times. You had mentioned to me that electronics engineering has of necessity moved from fundamental physics to ever higher levels of abstraction with correspondingly different bodies of knowledge, and you were so right. BTW, I once escorted Bill Hewlett down to the security guard at the front desk at HP in Colo. Springs. I worked making CRT's on the night-shift there in a near empty building. He was nosing around the R&D cubicles without a badge, and I didn't know who he was. :)
@AndreasSpiess
@AndreasSpiess Рік тому
I abandoned this particular project because long range radar modules still were expensive. And with the pandemic this became worse... But I agree, we live in a wonderful time for electronics. BTW: I assume Mr. Hewlett was ok with what you did. You tried to protect his company after all!
@johnwest7993
@johnwest7993 Рік тому
That is exactly what he told the security guard who was ready to eject me from the premises.
@roryfarrell7292
@roryfarrell7292 6 років тому
Looking forward to seeing your implementation of the theory.
@AndreasSpiess
@AndreasSpiess 6 років тому
It will take a while
@PanSatyr
@PanSatyr 3 роки тому
This project inspired me. I now have this setup working with weatherproof neopixels that create a display based on the speed measured. Thank you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good luck with your project!
@BloodBlight
@BloodBlight 5 років тому
Was waiting for this video!!! Awesome! Looking forward to knowing the accuracy of these two sensors at different speeds!
@AndreasSpiess
@AndreasSpiess 5 років тому
They are accurate. But the range is quite limited.
@mbaker335
@mbaker335 6 років тому
A very interesting video in an area I will experiment with myself. I lived in CH for seven years returning last October to retire in the UK. The pictures make me feel homesick in a strange way. Lovely country. I miss it a lot.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for your nice words about my country. You are always welcome as a guest here in CH ;-)
@deangreenhough3479
@deangreenhough3479 6 років тому
Another fantastic video😀😀👍 You make it sound so simple and after the next video. I am sure it will. Bravo Andreas and congratulations on your 257 Patrons which appear to be growing by the day. As always your outstanding efforts are always worth the time to absorb.
@AndreasSpiess
@AndreasSpiess 6 років тому
I am not sure if the next video will be easy. I already made some investigations... concerning Patreon: I am still astonished about the support I get from my subscribers.
@Lasseu
@Lasseu 6 років тому
Hello from Finland. I would love oscilloscope, maybe I'll buy one after I get work, if I manage to get one.. :)
@ericdormer2196
@ericdormer2196 6 років тому
One comment I will give.... since Patreon takes a cut of your "earnings" you may want to elimininate the middleman and just take funds directly. In my case I would be happy to send you a monthly amount from my paypal acct, and skip patreon. I am just one subscriber so its not many dollars, but if a lot of people took this approach, it is more money in your pocket. Perhaps worth thinking about On the other hand, perhaps you want to assist in funding the Patreon site, (everyone needs income of course) so that might be a reason to keep using them. Cheers.
@deangreenhough3479
@deangreenhough3479 6 років тому
Eric Dormer I would also be happy to pay direct
@AshMcKenzie
@AshMcKenzie 6 років тому
Cannot wait to see more in this series!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@guilhermefraga4349
@guilhermefraga4349 6 років тому
Thanks Andreas, Great info as always
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@charlesdorval394
@charlesdorval394 6 років тому
That was an awesome video Andreas! Thank you!
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@Thesignalpath
@Thesignalpath 6 років тому
Thanks for pointing to my channel. :)
@AndreasSpiess
@AndreasSpiess 6 років тому
You deserve it. I like your channel!
@schmohawk_
@schmohawk_ 5 років тому
this is hardcore!
@Gunshot115
@Gunshot115 4 роки тому
This is a wonderful video. Thank you sir!
@Zplizor
@Zplizor 6 років тому
The bicycle demo is really good to explain it
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@WPBusinessclub
@WPBusinessclub 5 років тому
great explanation and wait to see more. Love the idea of a budget speed camera
@AndreasSpiess
@AndreasSpiess 5 років тому
It is not so easy as the range is very limited :-(
@Tolissere
@Tolissere 6 років тому
What an interesting project. Great work!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@schluderjupp
@schluderjupp 6 років тому
Servus Andreas, Here you amaze me once again with a topic that I did not see coming. 😀 Keep up the good work. I'm looking forward to seeing more on this very interesting topic.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you!
@augurelite
@augurelite 3 роки тому
This was one of the most interesting videos I've seen in a long time! Very cool!!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you enjoyed it!
@kd4pba
@kd4pba 5 років тому
Wow, This is how you make a video. Impressive on so many levels.
@AndreasSpiess
@AndreasSpiess 5 років тому
Thank you!
@ErnestGWilsonII
@ErnestGWilsonII 6 років тому
Wow, an awesome video! I am hoping that you can hook up a display or send a signal back to MQTT with the speed data from the object and maybe even trigger a camera based on the recorded speed of the object. My love of electronics and RF are always rekindled when I watch your awesome channel. As an old school electronics technician myself, I wish we were not separated by such a large geographic distance. I am slightly jealous of your assistant in the video, having access to the master Andreas Spiess, I hope he is aware of how lucky he is!. I am fondly reminded of days long ago when my old crew had a lab and we built various electronic devices, this is why I love this channel! I hope you win the contest! Thumbs up, loyal fan / subscriber, -Ernest 73s W3TCP
@AndreasSpiess
@AndreasSpiess 6 років тому
You see that my heart is also moving a little faster if RF is involved... Distances fortunately are no more as separating as they were 100 years ago. So, maybe we can once drink a beer together. You never know ;-)
@noamw3841
@noamw3841 6 років тому
My mind is blown, can't wait for more.
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@MrAtarifreak
@MrAtarifreak 6 років тому
Nice video, I look forward to the next video. Thank you for the Information and for sharing it with us.
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@JungleJake1664
@JungleJake1664 6 років тому
Excellent presentation and infomative, well done.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@WolframWebers
@WolframWebers 5 років тому
I seriously like your videos and learned a lot about electronics (I'm more into software engineering). Please, keep up. You're awesome.
@AndreasSpiess
@AndreasSpiess 5 років тому
Thank you!
@benediktkohler28
@benediktkohler28 6 років тому
Your videos always make my day, danke Andreas
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@spikeydapikey1483
@spikeydapikey1483 6 років тому
Looking forward to part two. Cheers :o)
@AndreasSpiess
@AndreasSpiess 6 років тому
Will take some time...
@3dgussner958
@3dgussner958 6 років тому
Thanks for the video! Just checked the price for your new toy, WOW not cheap !
@AndreasSpiess
@AndreasSpiess 6 років тому
As I said: only possible with support.
@ZillionPrey
@ZillionPrey 5 років тому
Thank you for your video, I am also planning on measuring cars next to my house. It is allowed to drive 100 here, but most people drive 150 if not faster. So I wanted to make an education project out of that and measure cars and save it in a database. This helped me!
@AndreasSpiess
@AndreasSpiess 5 років тому
You most probably need a stronger device because of the needed range.
@ZillionPrey
@ZillionPrey 5 років тому
@@AndreasSpiess we have tree directly next to the street, it's about 3 meters to the center of the street, do you think the HB100 is enough?
@thenooscoper64
@thenooscoper64 4 роки тому
This video is really helpful, thank you!
@AndreasSpiess
@AndreasSpiess 4 роки тому
You are welcome!
@CroutonBrown
@CroutonBrown 11 місяців тому
Abso-smurfly wonderful video you’ve got here, mon capitain! Thank you for providing this content!
@AndreasSpiess
@AndreasSpiess 11 місяців тому
My pleasure!
@betojasz
@betojasz 6 років тому
Mannn, your videos are magic!! Great idea to put sound to hear the distance!! This is more than just science!! its fun!! Thanx a lot!!
@AndreasSpiess
@AndreasSpiess 6 років тому
You are right. We had some fun, too...
@VideoDetection
@VideoDetection 6 років тому
Super interesting subject and well presented!!!!!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@noweare1
@noweare1 6 років тому
I was confused. When you showed the first picture of the mixer I thought the output went to the transmitter but it actually goes to the op amp for amplification. Ugh ! I must of watched that part of your video 4 times until further on the video cleared when the receive & transmitter antennas were shown in the schematic. Awesome work. Thank you.
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@rodinsocaciu
@rodinsocaciu 6 років тому
Highly appreciated your videos. Great when such initiative could get helping. Have you considered looking over a AC Volt&Amp&Watt Meter WiFi logger?
@AndreasSpiess
@AndreasSpiess 6 років тому
You can buy one from Sonoff. I made once a video about it. But maybe I will cover this topic in the future again.
@faidularcs
@faidularcs 6 років тому
Awesome project
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks.
@RichardT2112
@RichardT2112 6 років тому
Great video as always sir!
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@johansoloshotuploads8386
@johansoloshotuploads8386 5 років тому
Hi Andreas, What a nice subject for our makers. A lot of people think of using this technique in other purposes than it was supposed to, just for switch on lights or opening doors. The thought’s I had where quite te same as most of the repliers, but some questions stayed after reading al the comments and answers and other posts in other channels including searching AliExpress for the most suitable radar module. My application is quite standard for radar and is also almost identical as what you did. I want to display the speed of Skiracers at the piste on a display and send the speed to a central server to store the speed, in combination to the time registration from another project. My first plan was to set it up with two optical reflective gates, at a distance of some 5 meters and calculate the speed. This is common technology, but the racing suites are often white and do also reflect the optical beam when passing the speedtrap. So a speedtrap with separate beams and detectors looks more reliable, but takes to many physical components to set up. Besites that, synchronization of the time base on both the traps for precise messurement and setting the speedlength is also a hassle. Then, as a recent viewer of your video’s, I found this item about speed measurement with cheap components. It surprises me, how simple the units are and how accurate the measurements can be. But when reading more about these units and solutions people talked about the maximum speed that you can measure with this solution. Our racers can go as fast as 120Km/h, so the limit can be an issue. Also the measuring distance can be an issue, but 10 meters is quite nice for this. But are the racers then not passing the sensor to quick to make a reliable measurement? And if the sensor is ‘always’ on, for detecting movements, how can I trigger the right moment of passing at the highest speed, without showing zero’s after the racer has passed. These last questions are for me to solve as a maker, but the question about the limitation of the speed measurement is tricky for me. The second thought is which sensor to buy. In the meantime some more sensors where added to AliExpress and there is a wide range of types now, 10,525Ghz, 24Ghz, 5,8Ghz etc. The new CDM324 is 24Ghz and is advertised as 15 meter detection range. It looks as this unit is simplified version of the CFK024-5A unit, which is much more expensive, but has more pin’s and options, including FMCW/FSK/CW. So if anyone had built a similar speed measurement unit without that works, please point me to more details to prevent me from spoiling precious maker hours. In the meantime I’m looking forward to the sequel of this amazing video series. Regards Johan
@AndreasSpiess
@AndreasSpiess 5 років тому
We worked a little further on the project, but it is not ready yet. The most difficult part is the reach. The max speed should not be an issue. You need a very high amplification of the signal (>10'000x) and have to pay attention that you do not introduce too much noise. After that, we used an ESP32 with FFT to measure the frequency. You measure the frequency all the time and distinguish from the pattern if it is valid. Your application will most probably show 0 for most of the time and increase fast, and fade off to zero again. So you can detect the maximum. Pay also attention that the angle of measurement has to be integrated into your calculation. If the angle changes the result also changes. All-in-all I think this will not be possible with this device because of its short range. You would have to place it in the direction of the racer in a distance of less than 10 meters, which is probably too dangerous.
@johansoloshotuploads8386
@johansoloshotuploads8386 5 років тому
Hi Andreas, expected something like that. Nice that the speed will not be a problem. What will happen with the accuracy if a racer moves by in a elliptical curve instead of a straight line? For the noise I can try to get a low noise amplifier with a high gain for that. I first wanted to build my own parabolic antenna, but the gain factor of the module is already quite good. If I manage to create a more directional antenna with a better passive gain, I’ll let you know! Probably I will use something like a feedhorn for the receiver. Regards, Johan
@AndreasSpiess
@AndreasSpiess 5 років тому
1. The measured speed can be calculated by trigonometry. The angle has to be absolute constant. 2. I cannot imagine you will be able to connect an amplifier because this device sends and receives at the same time. I assume a horn antenna would help if done properly.
@johansoloshotuploads8386
@johansoloshotuploads8386 5 років тому
Hi Andreas. Yesterday I contacted a Colegue who is a maker and a Ham specialist in microwave connections. On internet I found the Schwarzbeck horn-antenna's with an incredible passive gain. My collegue suggested that such a horn will solve the reach issue. Even when you use a horn that is not very good adapted for this frequency, it can give a huge gain. So I'll try that first. Just build a horn with a divider in the middle, with the antenna's in the bottem. The mesurements of the bottem are larger than the calculated dimensions at this frequency, but the expectation is that a reach of 50 Meters is possible. Amplification would be possible, but takes a complete rebuild of the unit. More expencive units on Aliexpress use more stacked antenna's to reach a higher gain. The radar used by the police uses a horn. The horn will also give a smaler openings-angle, but for my usage that is an advantage. Regards, Johan
@JerryEricsson
@JerryEricsson Рік тому
In 1974 the Department I was working for got our first updated digital display radar. It was X-Band. I was on duty one morning (read night shift near ending) and since there was nothing happening in the town, I parked the squad car under the sun shield over the A&W drive in, to watch traffic on the Highway that went through town. I was not running Radar at the time since the angle was too great to get any accurate readings, but it was on, and the volume on the head was turned up a bit. I began to hear ZIP! and a bit later ZIP! there were no cars but on the digital read out I was getting 104 MPH and faster flashes. As I studied this phenomenon I noticed that the swallows who nested in the over head cover were diving down to the ground after worms or insects, the radar was reading their speed. I began aiming the cone at the particular birds and the readings got faster as the angle decreased. It was actually a fun thing to do with the big old units.
@AndreasSpiess
@AndreasSpiess Рік тому
Nice story! So this radar was quite sensitive. Detecting the water in these small birds.
@PhG1961
@PhG1961 6 років тому
Great and surprisingly interesting video. Btw, I defenately would like to have that Keysight equipment. I remember the HP and Agilent as being excellent... but also very expensive.
@AndreasSpiess
@AndreasSpiess 6 років тому
Yes, it is a nice device. And I am happy with it :-)
@wowtah
@wowtah 6 років тому
Very interesting! Can you please go into more detail on the direction detection? With the Ali sensors in particular :) keep up the good work!
@AndreasSpiess
@AndreasSpiess 6 років тому
We will share our results in a later video.
@rklauco
@rklauco 6 років тому
Excellent idea! I have to test it. Fun fact: I thought it's elektrovelo before I realized the sound is produced by the amplifier and speaker :)
@AndreasSpiess
@AndreasSpiess 6 років тому
I am still too young for an e-bike ;-)
@avejst
@avejst 6 років тому
Thanks for sharing 😀👍
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@nathanas64
@nathanas64 5 років тому
What a terrific educational channel!
@AndreasSpiess
@AndreasSpiess 5 років тому
Thank you!
@offgridsweden
@offgridsweden 6 років тому
Great video! Greetings from Andreas on Off Grid Sweden
@AndreasSpiess
@AndreasSpiess 6 років тому
Greetings back!
@gweliver
@gweliver 4 роки тому
Great project, can anyone direct me to the follow-up video (pt2), thanks for all the great content and detail(s) you provide. You are someone we can trust, for sure!!!
@AndreasSpiess
@AndreasSpiess 4 роки тому
There is none for the moment.
@tylerrourke50
@tylerrourke50 4 роки тому
I would also like to see a part 2. Great video!
@kyuilhwang3464
@kyuilhwang3464 3 роки тому
Thanks for the video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome!
@AdilKhan-jp7hn
@AdilKhan-jp7hn 3 роки тому
Excellent video and very interesting sensors. Please let's build a radar gun. Awesome
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@JoeBee999
@JoeBee999 6 років тому
To messure only frequency, the signal is very often staged throug a comparator. This gives a nice square frequency. As far as i know, Atmel AVRs have one build in. Or just use a OPamp. Then feed to an input capture pin and the time os messured.
@AndreasSpiess
@AndreasSpiess 6 років тому
That would then be version 1. I have also to check if the digital pins of the ESP32 are Schmitt-Triggers
@klassichd10
@klassichd10 6 років тому
Thanks for this introduction and the Pictures from inside the CDM324. I did not open the mine. I only had to open one of my HB100 arriving with a loose rattling disk of this dielectric resonance oscillator. The arduino FFT works with the ESP32 just fine out of the box. Even with 1024 and 2048 samples. I am very curious how the InnoSenT quadrature radars will perform and what they cost. Also the AGC amplifier could help. Sounds promising.
@AndreasSpiess
@AndreasSpiess 6 років тому
I also played a little with FFT and the ESP32. So far I do not yet know which amplitude gives the best result nor which is the right sampling speed or # of samples to get max speed for the frequency range needed. Do you have any info about these factors? The InnosenT costs around 30 Euros at Conrad. AGC amplifier is on order... BTW: I opened mine because I killed it somehow. Don’t know how :-(
@klassichd10
@klassichd10 6 років тому
I used a biased signal with 1.6V virtual GND. Try to get the signal in front of the output cap. The ADC of the ESP32 is poor (www.esp32.com/viewtopic.php?t=1045) , so you have to use the preamp to get several hundred mV. Using 24GHz you get a Doppler shift of 3400Hz @76km/h and 40Hz @0.9km/h. To avoid aliasing you should sample at least 6400 samples/s (Nyquist-Shannon). Try 8000 samples/s which could work. Otherwise use 4000samples/s which works but limits you to ca. 37km/h. If your radar also sees faster vehicles like cars, you should use a low pass filter as an anti-aliasing filter. To be precise @ low speed you should measure 40Hz with maybe 10%, that means 4Hz. To achive a resolution of 4Hz @ 8000 samples/s you need N> 2000, that means 2048 samples per conversion, or 1024 @ 4000samples/s. This leads to a window time of ca. 1/4 sec in which the speed should be approximately constant. Looks reasonable. You find some formulas e.g. in home.zhaw.ch/~rur/dsv1/unterlagen/dsv1kap3dftfft.pdf public.beuth-hochschule.de/~mixdorff/mmt1/files/spektralanalyse.pdf home.zhaw.ch/~dqtm/dsv1/vorlesung/dsv1kap3_dftfft.pdf You should use a Hanning window (arduino FFT provides it) to reduce the effect of a finite oberservation time (rectangular window). arduino FFT is a complex FFT. You feed the ADC samples in the real part and flood the imaginary part with 0 - when using the cheap radars. Using the the quadrature radars you feed the quadrature signal to the imaginary part. arduino FFT performs the complex FFT and has a function to calculate the magnitude vs. frequency and to pick the highest magnitude. This maybe a bit crude and you may add a function finding several local minima. And extracting the phase (leading to the direction) is not provided by arduino FFT out of the box as far as I remember.
@19rocket64
@19rocket64 6 років тому
Outstanding!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@chuxxsss
@chuxxsss 6 років тому
Msybe I should have done this, by the way use the 24 Ghz and some range sensor in software. That is correct the screw is a fine adjustment. You need range gates for distance as well. Doppler radar maybe you could use pulse radar. Nice work Andreas.
@AndreasSpiess
@AndreasSpiess 6 років тому
In the description, they talk about pulsing the radar. I do not know why I should do that other than saving energy.
@UlfHaueisen
@UlfHaueisen 6 років тому
Thanks, great video!
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@UlfHaueisen
@UlfHaueisen 6 років тому
I just ordered a CDM324 :-)
@NorbertHarrer
@NorbertHarrer 6 років тому
Awesome video. I was also using an HB100 in combination with an arduino for simple motion detection. I am looking forward to your solution.
@AndreasSpiess
@AndreasSpiess 6 років тому
We will see how much we get out of the data. I hope more than detect motion...
@NorbertHarrer
@NorbertHarrer 6 років тому
Yes, that's a lot harder. I have built and used the reference amplifier that is specified in the HB100 data sheet (the one with the two LM324 opamps). It outputs a square wave with a frequency proportional to the speed of the moving object. The square wave is basically a digital signal. So one could count the 0-1 transitions per second with a moving window. Might be easier then FFT. I only used it for motion detection though. Also note, that I had to clean up the signal a bit. At no movement the signal sat somewhere between the low and high point. And also when an object was just about to enter the field of view the signal was not a clean square wave but some garbage. I used an analog input and cleaned the signal up in code with a threshold detector for the high and low levels. - Greetings from Austria.
@argcargv
@argcargv 6 років тому
I like the direction this project is going. :-D
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@judgeguilty
@judgeguilty 6 років тому
Excellent subject and project idea. You pedal that bike around like a 20 year old. I was waiting for tricks - riding on one wheel, standing on the seat, etc.
@AndreasSpiess
@AndreasSpiess 6 років тому
When I was younger...
@AhmadLafi-TheFirst
@AhmadLafi-TheFirst 6 років тому
Very informative video, thanks. Can this be used for collision prevention in a drone?
@AndreasSpiess
@AndreasSpiess 6 років тому
I do not know. But it does not measure distance, only speed
@gonzalodanielperez87
@gonzalodanielperez87 День тому
Gracias! Excelente video! 👌
@AndreasSpiess
@AndreasSpiess 14 годин тому
You are welcome!
@raghu9270
@raghu9270 2 роки тому
Hello Guy with the Swiss accent, I am a great fan of your channel and thanks to you I have built a lot of projects and Every one was successful. You are truly a great guy.. Can you do a project on building a speed gun radar detector to be used in the car using commonly available sensors and microprocessors. It will be really great project. The currently available sensors in the market are pretty expensive. Also as a maker it will be great fun to build one on our own. Thanks
@AndreasSpiess
@AndreasSpiess 2 роки тому
Unfortunatly, the cheap modules are not good enough for that purpose and the good ones are very expensive :-(
@theunderdog2205
@theunderdog2205 6 років тому
And another one. Thank you
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@johannienel1
@johannienel1 5 років тому
Awesome video!
@AndreasSpiess
@AndreasSpiess 5 років тому
Thank you!
@manickn6819
@manickn6819 6 років тому
Very interesting and cheap. I am going to put one of those on my list to order. Small typo in the description. You have the amplifier as LN386 as opposed to LM386. Recently I used a LM386 on a guitar amp build. I have all the discrete components to make one and its easy to design but at US$1.15 shipped its just not worth the effort and time. Interesting times for electronics with cheap parts and oscilloscopes. Even phones with all their functionality really are a marvel compared to what I had available when I was young.
@AndreasSpiess
@AndreasSpiess 6 років тому
LN corrected. Thanks. You are right: Interesting times, 10GHz sensors for 3dollars...
@rawyin
@rawyin 4 роки тому
I'm curious about the amp. Is this really necessary given the arduino and other controllers can handle frequency measurement up to about 8mhz with freqcounter?
@XTronical
@XTronical 6 років тому
Wow, great video and so informative. One thing, the diagram near beginning is showing stretched frequency in forward direction and compressed travelling away. Think it should be opposite.
@AndreasSpiess
@AndreasSpiess 6 років тому
I think, this was a signal from the bench. Depends on the speed of movement
@XTronical
@XTronical 6 років тому
Ahh, right, thank you :)
@filipeterra8981
@filipeterra8981 6 років тому
Nice video! You may also try to use a LM2917 if you want to go full analog
@AndreasSpiess
@AndreasSpiess 6 років тому
I am not sure how the LM2917 reacts to these varying amplitudes. But anyway, I want a digital signal to transmit via LoRa.
@alexandrpetrov1110
@alexandrpetrov1110 3 роки тому
Thanks!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Welcome!
@Rcbeacon
@Rcbeacon 6 років тому
You could try adding a horn to the antenna to make it more directional and longer range. I have a couple of old 10GHz speed guns dating back to the early 70s which use microwave diodes in cavities attached to a horn, dedicated 7400 series logic and nixi tube display.
@AndreasSpiess
@AndreasSpiess 6 років тому
10 GHz and antennas is not easy. Each millimeter counts. And I am no specialist. Maybe somebody knows a reference design? Your radar guns must be very valuable these days. With nixi tubes. Cool!
@albygnigni
@albygnigni 6 років тому
Great video, I suggest you to use two sensors facing opposite directions at least, then with some calculation you can understand who is entering and who is exiting using the Doppler effect formulas.
@AndreasSpiess
@AndreasSpiess 6 років тому
That is another possibility. Then we also would need two ESP32 if we go with FFT, I think.
@albygnigni
@albygnigni 6 років тому
the ESP32 has two ADCs so theoretically, if the FFT algorithm is lightweight, it should be possible to do some stereo FFT, maybe using the other core, too. If your point is to build a low power device then this way should be the right one, otherway a Pi Zero W will have the right hardware to do so.
@diegob.p.9546
@diegob.p.9546 4 роки тому
Amazing.
@AndreasSpiess
@AndreasSpiess 4 роки тому
Thank you!
@babakhallajian684
@babakhallajian684 6 років тому
Thanks Mate
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@janisvaskevics93
@janisvaskevics93 6 років тому
Great video! Subscribed. Had an idea once - try to make a photo radar for a fraction of price of the ones that government buys. Should be very easy.
@AndreasSpiess
@AndreasSpiess 6 років тому
Welcome aboard the channel!
@sylvainlazare1114
@sylvainlazare1114 6 років тому
Good work and very convincing presentation. What happens in the caseof more than one moving target? you would need a more discriminating software? or do you have simple solution?
@AndreasSpiess
@AndreasSpiess 6 років тому
I do not think we can discriminate several bicycles.
@mohammedahmed4637
@mohammedahmed4637 Рік тому
Great channel I subscribed
@AndreasSpiess
@AndreasSpiess Рік тому
Welcome aboard the channel!
@ZlayaCo6aka
@ZlayaCo6aka 6 років тому
The purpose of the "unknown material" at 12:10 is to prevent any resonance within or oscillation due to the shielded enclosure; in this case, it appears to be the ubiquitous "conductive foam."
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for clarification!
@matteogiovo7605
@matteogiovo7605 6 років тому
such great oscilloscope!!!!!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@KeysightLabs
@KeysightLabs 6 років тому
We agree!
@bardenegri21
@bardenegri21 6 років тому
I had no idea you could do that with those sensors. Maybe you can use the stm32 'blue pill' type boards in your device since its super fast. GreatScott did a video on it this week.
@AndreasSpiess
@AndreasSpiess 6 років тому
I used this board last year. But this year I try to stick with the ESP32
@HaasLukas
@HaasLukas 6 років тому
bin schon sehr gespannt auf das nächste video :)
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@richardphillips2405
@richardphillips2405 3 роки тому
Great video. I will have to try this. I was wondering about using the microwave sensors for range detection (distance).
@AndreasSpiess
@AndreasSpiess 3 роки тому
These sensors only detect speed, no distance.
@richardphillips2405
@richardphillips2405 3 роки тому
@@AndreasSpiess This is sort of what I thought. It probably could get real complicated to build (diy) a distance measuring radar. What about FMCW (frequency modulated continuous wave type sensors).
@AndreasSpiess
@AndreasSpiess 3 роки тому
The FMCW shoud do the trick. I one bought one, but unfortunately do not find it in my lab anymore :-( They are quite expensive...
@jhoansebastianbeltranpabon8399
@jhoansebastianbeltranpabon8399 3 роки тому
Thanks for your video it's very complete.I want to know, did you implement this sensor with the ESP32?
@AndreasSpiess
@AndreasSpiess 3 роки тому
It has an analog output, but needs lots of amplification
@jhoansebastianbeltranpabon8399
@jhoansebastianbeltranpabon8399 3 роки тому
@@AndreasSpiess Thanks for your answer,You have some example code for work with the ADC or math formulas for conversion. Thanks.
@sparkz213
@sparkz213 5 років тому
Thank you Andre for your great videos.I have a question, can i use this hb100 to build commercial police speedometer gun?
@AndreasSpiess
@AndreasSpiess 5 років тому
Its range is less than 10 meters. You decide
@sparkz213
@sparkz213 5 років тому
Andreas Spiess 10 meters is fine with me. In your experience do you think they are reliable?
@michaegi4717
@michaegi4717 6 років тому
Very nice project. I'm really impressed. Please be aware about radar frequency regulations in your country.
@AndreasSpiess
@AndreasSpiess 6 років тому
These devices are used to open doors in buildings. So they are probably not too illegal.
@michaegi4717
@michaegi4717 6 років тому
I'm not really a radar hardware expert, maybe I'm wrong. But as far as I understood the frequencies are country specific. These china imports might be legal in other parts of the world. At least for Germany I found some hints that the used 10.5Ghz is not allowed and you have to use 9.35 GHz... but handle this information with care... I might be totally wrong. I'm really concerned about the crazy monetary fines in Germany. Nevertheless I'm still totally amazed from this video. I'll try to talk to a radar expert and try to find a legal sensor for my country. Thank you very much for this fascinating and informative video!
@peterwhyte4526
@peterwhyte4526 5 років тому
Hi Andreas - another great video - many thanks! One quick question - you can detect bicycles at around 20m. Give that speed and, i would think, size would affect the output signal, how far away do you think it could detect a car travelling at normal car speeds (say 60km/hr) - I am thinking 100m or more maybe?
@AndreasSpiess
@AndreasSpiess 5 років тому
We did some additional tests and were never able to detect bicycles further than 8-10 meters. I never tested cars. I would expect maybe 15 meters max. Field strength is reduced distance squared.
@tinker7722
@tinker7722 6 років тому
Very interesting! I would like to know more about that counting statistics with LoRaWAN.
@AndreasSpiess
@AndreasSpiess 6 років тому
That should be the easiest part...
@deltaxcd
@deltaxcd 3 роки тому
Rather than doppler effect, it is easier to understand as interferometry because you are sending and receiving the same signal. So this sensor can do a very accurate measurement of movement distance, just count output pulses
@AndreasSpiess
@AndreasSpiess 3 роки тому
These sensors only can detect speed, not distances.
@deltaxcd
@deltaxcd 3 роки тому
@@AndreasSpiess well, you should just try it then. like I said rather than connecting speaker connect led and you will see how it will flash when you move reflector by about 1.5 cm I tried it and it works, although it was lower frequency radar
@squall513
@squall513 6 років тому
Great video! I wonder if arduino fft would be fast enough to perform calculations and update a display or if the processing would be too slow to do it in real time
@anlumo1
@anlumo1 6 років тому
The ESP32 should be fast enough to do that.
@AndreasSpiess
@AndreasSpiess 6 років тому
The ESP32 worked. But I want to tweak it that it is as fast as possible...
@anlumo1
@anlumo1 6 років тому
Maybe you could try implementing it on an STM32F765, they're very fast but still embedded. You could even try a NanoPi Duo for a Quadcore Cortex-A7.
@youliantroyanov2941
@youliantroyanov2941 5 років тому
you are a legend, Andreas, this is sooooo cool did you already combined the mw sensor with a lora board?
@AndreasSpiess
@AndreasSpiess 5 років тому
No. But this would be the easy part ;-)
@peterleather6866
@peterleather6866 6 років тому
Another fascinating and informative videos Andreas! I wonder how the sensor will cope with more than one bicycle at the same time? Will the sensor output multiple frequencies for the different speeding objects? Also if two bicycles were close to the same speed (side by side for example) would it be impossible for the sensor to tell. A very small limitation perhaps but a very interesting sensor.
@AndreasSpiess
@AndreasSpiess 6 років тому
It will have its problems with multiple bicycles, for sure. But maybe it will be exact enough for smaller roads where a cheap temporary solution is just right.
@drjwilber
@drjwilber 5 років тому
many vids - saves lottsa time
@randomhuman1965
@randomhuman1965 6 років тому
Great Video!! Could you not use two or more of those $6 sensors back to back for an easy direction count cheat? One may have to be detuned slightly via the screw to avoid interference...
@AndreasSpiess
@AndreasSpiess 6 років тому
Maybe this will be the solution at the end...
@gweliver
@gweliver 6 років тому
Very interesting indeed! I have been think about a speed for cars that warns you of your current speed as compared to the posted speed limit. The problem is the price? My community has several elementary schools so wouldn’t it be great is their was an affordable alternative whereas affordable LED’s are available now!
@AndreasSpiess
@AndreasSpiess 6 років тому
I think such a device should be possible with cheap supplies from China.
@spacechicken2756
@spacechicken2756 2 роки тому
This is a very interesting project! I am interested in making a little speed gun that would be able to measure tennis serves / baseball pitches. Do you think these components would be accurate enough? If not, do you have any suggestions for better radar sensors?
@AndreasSpiess
@AndreasSpiess 2 роки тому
So far we abandoned this project because better sensors are over 100 dollars.
@kaushikbm
@kaushikbm 6 років тому
Awesome Andreas :)
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@Brutaltronics
@Brutaltronics 6 років тому
very very cool
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@skewedmaker
@skewedmaker 6 років тому
Great video! Would weather conditions have any effect on these sensors?
@AndreasSpiess
@AndreasSpiess 6 років тому
They are used to detect rain and snow. So I assume it has
@TurkishLoserInc
@TurkishLoserInc 6 років тому
From what I've read on the advertisement page for the sensors: No, nor do most objects short of concrete walls and metal shielding in front of the sensor. It does say to install it away from moving conductors and magnetic fields however.
@bungee1358
@bungee1358 6 років тому
Thanks for the Vid. Thats what I looked for. What would you say the Maximum measurable speed is?
@AndreasSpiess
@AndreasSpiess 6 років тому
I have no rocket available so I can not measure it ;-). Should be quite high.
@bungee1358
@bungee1358 6 років тому
Thx for the answer, I was thinking about rifle bullets. So you think this would be realistic?
@ebb2421
@ebb2421 6 років тому
the screw of the HB sensor does shift the freq, confirmed with HP5350B, have fun
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks for the feedback!
@Tarbard
@Tarbard 6 років тому
It makes a nice sci-fi noise too.
@AndreasSpiess
@AndreasSpiess 6 років тому
:-))
@CarstenMeyer
@CarstenMeyer 6 років тому
Hello Andreas. If possible include some experiments to increase the distance range of the sensors please. This would be very helpful.
@AndreasSpiess
@AndreasSpiess 6 років тому
We will see how big the noise will get. This is a very simple device with very few parts only
@CarstenMeyer
@CarstenMeyer 6 років тому
I was thinking more of some kind of hardware shield / reflector / somehing without decreasing accuracy of measurement ... Some time ago there was a Matel "HOT WHEELS RADAR GUN" for a few bucks with amazing range ...
@alessi4249
@alessi4249 4 роки тому
Was there ever the follow up to this? This was an excellent video!
@AndreasSpiess
@AndreasSpiess 4 роки тому
No, unfortunately not
@alfredzhong9014
@alfredzhong9014 3 роки тому
Hi Andreas, I was thinking about using one of these sensors to create a speed gun for a baseball. Do you know if these sensors handle small objects well? Another question is what is the max speed these sensors are effective in measuring? Love your videos, thanks!
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not think they will cover small/non-metallic objects in a distance.
@omassi
@omassi 5 років тому
Nice i feel a step closer to build a golf clubhead speed reader.
@AndreasSpiess
@AndreasSpiess 5 років тому
Should be possible. Lots of metal, if I remember right ;-)
@omassi
@omassi 5 років тому
Andreas Spiess yess, I have to try with a bluepill and the 10ghz radar... But looks to hard for me 😂 and I dont have the oscilloscope.... But sure your videos Will help
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 148 тис.
Первая поломка Scirocco! Балацко попал на мотор.
1:13:12
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
Спектакль для окупантів та ждунів 🤯
00:47
Радіо Байрактар
Переглядів 554 тис.
#198 Laser Speed Gun Project with Range Finder and ESP32  (Distance Meter)
13:12
We Tested Police Evasion Products
11:07
Donut
Переглядів 4 млн
Cheap Risc-V Supercluster for $2 (DIY, CH32V003)
9:02
bitluni
Переглядів 236 тис.
DEFCON 19: Build your own Synthetic Aperture Radar
45:45
Christiaan008
Переглядів 322 тис.
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Переглядів 411 тис.
Bullet Speed Meter | Homemade Chronograph
10:48
Electronoobs
Переглядів 45 тис.
CDM324 детектор движения
15:26
RADIOhome
Переглядів 1,1 тис.
Effective Ways To Detect People With Common Sensors
7:43
Core Electronics
Переглядів 48 тис.
How Police Radar Guns Work
7:57
Vortex Radar
Переглядів 192 тис.
Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
Andreas Spiess
Переглядів 722 тис.
Тестируем Gravis Ultrasound... ну почти.
48:18
Дмитрий Бачило
Переглядів 36 тис.
Самый маленький игровой ПК
0:46
ITMania - Сборка ПК
Переглядів 587 тис.
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Переглядів 6 млн