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?
@AndreasSpiess7 жыл бұрын
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.
@anlumo17 жыл бұрын
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.
@MartinBgelund7 жыл бұрын
anlumo1 There are fast walkers and slow bikers, so filtering will be based on assumptions, not on certain attributes.
@anlumo17 жыл бұрын
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-Lot7 жыл бұрын
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
@hvanmegen6 жыл бұрын
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!
@AndreasSpiess6 жыл бұрын
Thank you very much!
@Thesignalpath7 жыл бұрын
Thanks for pointing to my channel. :)
@AndreasSpiess7 жыл бұрын
You deserve it. I like your channel!
@schmohawk_6 жыл бұрын
this is hardcore!
@johnwest79932 жыл бұрын
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 KZbin 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. :)
@AndreasSpiess2 жыл бұрын
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!
@johnwest79932 жыл бұрын
That is exactly what he told the security guard who was ready to eject me from the premises.
@mbaker3356 жыл бұрын
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.
@AndreasSpiess6 жыл бұрын
Thank you for your nice words about my country. You are always welcome as a guest here in CH ;-)
@johansoloshotuploads83866 жыл бұрын
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
@AndreasSpiess6 жыл бұрын
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.
@johansoloshotuploads83866 жыл бұрын
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
@AndreasSpiess6 жыл бұрын
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.
@johansoloshotuploads83866 жыл бұрын
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
@PanSatyr4 жыл бұрын
This project inspired me. I now have this setup working with weatherproof neopixels that create a display based on the speed measured. Thank you.
@AndreasSpiess4 жыл бұрын
Good luck with your project!
@dl8cy7 жыл бұрын
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
@AndreasSpiess7 жыл бұрын
Maybe it is not the complete solution. Still a way to go ;-)
@augurelite3 жыл бұрын
This was one of the most interesting videos I've seen in a long time! Very cool!!
@AndreasSpiess3 жыл бұрын
Glad you enjoyed it!
@Zplizor7 жыл бұрын
The bicycle demo is really good to explain it
@AndreasSpiess7 жыл бұрын
Thanks!
@raghu92703 жыл бұрын
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
@AndreasSpiess3 жыл бұрын
Unfortunatly, the cheap modules are not good enough for that purpose and the good ones are very expensive :-(
@JerryEricsson2 жыл бұрын
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.
@AndreasSpiess2 жыл бұрын
Nice story! So this radar was quite sensitive. Detecting the water in these small birds.
@CroutonBrown Жыл бұрын
Abso-smurfly wonderful video you’ve got here, mon capitain! Thank you for providing this content!
@AndreasSpiess Жыл бұрын
My pleasure!
@filipsimurda52363 жыл бұрын
12:38 The same goes for amplitude, which means that we could detect the direction of motion by amplitude, right?
@AndreasSpiess3 жыл бұрын
Yes, you can try it. It is not always easy if the area of the car for example changes with the angle if it moves. With a bicycle it was possible.
@kd4pba5 жыл бұрын
Wow, This is how you make a video. Impressive on so many levels.
@AndreasSpiess5 жыл бұрын
Thank you!
@AdilKhan-jp7hn3 жыл бұрын
Excellent video and very interesting sensors. Please let's build a radar gun. Awesome
@AndreasSpiess3 жыл бұрын
Thank you!
@noamw38417 жыл бұрын
My mind is blown, can't wait for more.
@AndreasSpiess7 жыл бұрын
:-)
@richardphillips24054 жыл бұрын
Great video. I will have to try this. I was wondering about using the microwave sensors for range detection (distance).
@AndreasSpiess4 жыл бұрын
These sensors only detect speed, no distance.
@richardphillips24054 жыл бұрын
@@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).
@AndreasSpiess4 жыл бұрын
The FMCW shoud do the trick. I one bought one, but unfortunately do not find it in my lab anymore :-( They are quite expensive...
@noweare17 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
You are welcome!
@deangreenhough34797 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
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.
@Lasseu7 жыл бұрын
Hello from Finland. I would love oscilloscope, maybe I'll buy one after I get work, if I manage to get one.. :)
@ericdormer21967 жыл бұрын
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.
@deangreenhough34797 жыл бұрын
Eric Dormer I would also be happy to pay direct
@JoeBee9997 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
That would then be version 1. I have also to check if the digital pins of the ESP32 are Schmitt-Triggers
@nathanas646 жыл бұрын
What a terrific educational channel!
@AndreasSpiess6 жыл бұрын
Thank you!
@AshMcKenzie7 жыл бұрын
Cannot wait to see more in this series!
@AndreasSpiess7 жыл бұрын
:-)
@WolframWebers5 жыл бұрын
I seriously like your videos and learned a lot about electronics (I'm more into software engineering). Please, keep up. You're awesome.
@AndreasSpiess5 жыл бұрын
Thank you!
@ZlayaCo6aka7 жыл бұрын
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."
@AndreasSpiess7 жыл бұрын
Thanks for clarification!
@alana3145 жыл бұрын
Hi Andreas! I bought the same CDM323 and amplifier and got it to work like your first part, making sound at a distance of a few inches. But I can't get it to work with objects more than a foot away like your bicycle. How did you get that part to work? Did you modify the pitch of the sensor somehow?
@AndreasSpiess5 жыл бұрын
It is all about building a low-noise high gain amplifier. Not easy, though.
@ZillionPrey6 жыл бұрын
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!
@AndreasSpiess6 жыл бұрын
You most probably need a stronger device because of the needed range.
@ZillionPrey6 жыл бұрын
@@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?
@gijsqwerasdf Жыл бұрын
This is so awesome, thank you! One question: is it possible to only detect metal objects? Is it depending on the frequency perhaps? I'd like to detect bikes and cars, but not pedestrians.
@AndreasSpiess Жыл бұрын
Conductivity is what counts. So it will not be easy to distinguish between humans and bikes using radars. A camera is probably better.
@charlesdorval3947 жыл бұрын
That was an awesome video Andreas! Thank you!
@AndreasSpiess7 жыл бұрын
You are welcome!
@judgeguilty7 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
When I was younger...
@sylvainlazare11147 жыл бұрын
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?
@AndreasSpiess7 жыл бұрын
I do not think we can discriminate several bicycles.
@rjrodrig4 жыл бұрын
Why can you look at the phase of the signal. You can use a down converter approach by using I and Q signal split and get the phase information. I suspect you can detect direction. Using an FPGA you could implement a down converter
@AndreasSpiess4 жыл бұрын
May
@ErnestGWilsonII7 жыл бұрын
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
@AndreasSpiess7 жыл бұрын
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 ;-)
@rklauco7 жыл бұрын
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 :)
@AndreasSpiess7 жыл бұрын
I am still too young for an e-bike ;-)
@erickgutierrez64713 жыл бұрын
Thanks for the information, do you think I can use any of these radar sensors to measure the heart rate and respiratory rate of a person? it is for a project. Thanks
@AndreasSpiess3 жыл бұрын
I do not know if the speed of the object is fast enough. Maybe you have a look at my videos where I hacked an SPO2 sensor (which also measures heart rate) or where I hacked the Polar pulse sensor.
@schluderjupp7 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
Thank you!
@betojasz7 жыл бұрын
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!!
@AndreasSpiess7 жыл бұрын
You are right. We had some fun, too...
@klassichd107 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
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 :-(
@klassichd107 жыл бұрын
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.
@peterleather68667 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
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.
@ZlayaCo6aka7 жыл бұрын
The "small screw" you mentioned is not part of a capacitor. At about 6:08 in the video you see a small circular white object; that's a ferro-resonator. The "small screw" is ferrite and its proximity to the resonator adjusts the resonant frequency.
@AndreasSpiess7 жыл бұрын
So I was „half right„ with the purpose at least. Thanks for the clarification!
@argcargv7 жыл бұрын
I like the direction this project is going. :-D
@AndreasSpiess7 жыл бұрын
:-)
@connecticutaggie6 жыл бұрын
I have a pair of CDM324s on order and they should be here in a few weeks. I have a couple of applications in mind. One would be for low speeds (
@AndreasSpiess6 жыл бұрын
We are still experimenting. But so far, the reach was never bigger than about 120 meters. So 100 km/h will be difficult, I think. The signal of the sensor is more in the range of 4 mV.
@connecticutaggie6 жыл бұрын
Thanks Andreas, the high speed application would actually be close range and the low speed application would be way less than 120meters. I know that answer may seems bit strange. I wish I could go further; but, I am not ready for a public reveal of either idea right now. Well, anyway, the low speed / low accuracy project is first. Looks like my senors are arriving this weekend so hopefully I will get a chance to play. BTW, I PM'ed you on Facebook as well.
@AndreasSpiess6 жыл бұрын
I made a mistake: Not 120 meters. 10 meters.
@FedericoMorenoCh7 ай бұрын
Very interesting video Andreas! Do you have any update on this proyect?
@AndreasSpiess7 ай бұрын
No. The range of these small devices was too short. And the bigger ones still are quite expensive.
@BloodBlight5 жыл бұрын
Was waiting for this video!!! Awesome! Looking forward to knowing the accuracy of these two sensors at different speeds!
@AndreasSpiess5 жыл бұрын
They are accurate. But the range is quite limited.
@spacechicken27563 жыл бұрын
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?
@AndreasSpiess3 жыл бұрын
So far we abandoned this project because better sensors are over 100 dollars.
@deltaxcd4 жыл бұрын
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
@AndreasSpiess4 жыл бұрын
These sensors only can detect speed, not distances.
@deltaxcd4 жыл бұрын
@@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
@3dgussner9587 жыл бұрын
Thanks for the video! Just checked the price for your new toy, WOW not cheap !
@AndreasSpiess7 жыл бұрын
As I said: only possible with support.
@michaegi47176 жыл бұрын
Very nice project. I'm really impressed. Please be aware about radar frequency regulations in your country.
@AndreasSpiess6 жыл бұрын
These devices are used to open doors in buildings. So they are probably not too illegal.
@michaegi47176 жыл бұрын
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!
@gweliver5 жыл бұрын
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!!!
@AndreasSpiess5 жыл бұрын
There is none for the moment.
@tylerrourke505 жыл бұрын
I would also like to see a part 2. Great video!
@alessi42494 жыл бұрын
Was there ever the follow up to this? This was an excellent video!
@AndreasSpiess4 жыл бұрын
No, unfortunately not
@glewiss66964 жыл бұрын
Hello, Thanks for the video. Does the device work if the source is not moving and that is the observer that is moving? Thanks
@AndreasSpiess4 жыл бұрын
Since Einstein, we know that movements are "relative". So it should work.
@glewiss66964 жыл бұрын
@@AndreasSpiess Many thanks, Haven't got in touch recently with Albert but it seems logical indeed and much more than quantique physiques. So I might be able to convert it into to a car obstacle detection device...
@roryfarrell72927 жыл бұрын
Looking forward to seeing your implementation of the theory.
@AndreasSpiess7 жыл бұрын
It will take a while
@AvinashRaiG4 жыл бұрын
Awesome , Guru of electronic knowledge..🙏 Sir I want to know if we can use these high frequency radar sensors for Cars to avoid collision from front at about 10 meter in advance and/or back?Please share some knowledge on this topic.
@AndreasSpiess4 жыл бұрын
The reach of those sensors is not long enough. And they only detect movement.
@ON7ARQ3 жыл бұрын
Nice explanation, but you need a licence to use it and I doubt if it is legal 1 to use the frequency 2 to use it as radar, I have also the HB100 module but for use as radio-amateur for ATV ( amateur television ) or phone
@AndreasSpiess3 жыл бұрын
These modules are used in many buildings to open doors. But I am no lawyer... How far can you transmit with this module and how stable is its frequency?
@spikeydapikey14837 жыл бұрын
Looking forward to part two. Cheers :o)
@AndreasSpiess7 жыл бұрын
Will take some time...
@dusterl14725 жыл бұрын
Probably too late to cment and expect a reply but here goes... You mentioned increasing amplification, what amplifier would you start with or suggest to avoid clipping? Also, where pray tell, did you source those other sensors you plan(ned) to try? Last two questions, but they're related... For increasing performance of these modules, would a different antenna be practical? And what about increasing the actual output power/wattage?
@AndreasSpiess5 жыл бұрын
Clipping is not a problem because you are interested in the frequency. Changing the design is very tricky because the high frequency.
@thanksbuyershoppingmall67474 жыл бұрын
Thank you so much for making such informative video. I want to make long range proximity inductive sensor please let me know Whether this sensors could be use only to detect metals from a longer distance ? Thank you
@AndreasSpiess4 жыл бұрын
10-15 meters max.
@TheRealKitWalker3 жыл бұрын
2:04 "...in wrong hands can cost us a lot of money ": shows a picture of policeman. Hahaha clever and rightly said. 🤭🤭😂😂😂👏👏👏👍👍
@AndreasSpiess3 жыл бұрын
:-)
@TheRealKitWalker3 жыл бұрын
@@AndreasSpiess hehe :P but I'm glad that you actually make the gadgets I think of making but I never find the right sensors for them. The buying links you provided are a life and time saver. Thanks so much. Love your videos always. At present I'm researching to make a similar project using a 60 Ghz RF CMOS sensor to track and position a moving object in the field of sight and also measure their size, weight, heart beat, etc... with it. Possibly an idea for your next video? ;)
@AndreasSpiess3 жыл бұрын
I thought these modules are still too expensive...
@TheRealKitWalker3 жыл бұрын
@@AndreasSpiess Hmmm yes, I just found out the exact price + shipping. turns out there's hope for cdm324 to achieve what I want with the help deep learning. Hopefully, I'll start soon on this. Thanks Andreas.
@gandsnut7 жыл бұрын
The change in towards/away sound (in this demo) seems opposite to 'Doppler' effect... As the ambulance siren comes towards, its pitch sounds higher, when the siren is just by us, it sounds 'normal', then when siren passes away, the pitch sounds lower. But this is a moot point, because we can interpret the radar sensor output however we want.
@AndreasSpiess7 жыл бұрын
The relevant for me is my measurements. And there direction does not matter ;-)
@joinedupjon7 жыл бұрын
the difference between this radar and sound waves is that you can hear the pitch change directly for the ambulance whereas the radar reflection is processed to produce a 'difference' output and it's the difference output that you hear in the video. negative difference sounds exactly like positive difference. also we'd expect the difference signal to be zero at the instant the bike passes closest to the radar - for the siren this would be the instant we heard the 'true' frequency.
@XTronical7 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
I think, this was a signal from the bench. Depends on the speed of movement
@XTronical7 жыл бұрын
Ahh, right, thank you :)
@koherer37325 жыл бұрын
You don't need an expensive microwave osciloscope to watch the frequency of HB 100. You can get a satellite tv LNB, inject 12v into coaxial using a bias tee (inductor to stop RF getting into power line and a capacitor to block 12v from receiver). And then connect it to RTL SDR receiver. Then tune to 600-700 mhz range. Signal is well... not that unstable to jump to 9 GHz. If you feed the audio trought a capacitor to +5v in of HB-100 while powering it at the same time, you will get FM radio at 10.5 ish ghz. Device is low powered but if you worry about how legal it is, there is 3cm ham radio band you can think you're using, if you already has a license. I think any polarization LNB will work, I used linear. And aware of harmonics, because i've received some weak signal at 400 mhz and thought it's working that bad, but real signal was higher. SAT LNB lowers frequency by 9750 Mhz (i guess, google for precise value). BTW, this signal is slightly out of LNB band, but everything works ok.
@koherer37325 жыл бұрын
PS. Yes, signal is drifting when you touch the module, and has wery low drift when just listening. I don't know if it's a HB100 or LNB, maybe they both drift. I have to tune frequency when listening to WFM audio, but I saw a guy using some sort of "peak hold" function in SDRSharp on youtube.
@AndreasSpiess5 жыл бұрын
These modules are used to open doors. So I assume the power is below the law. But I am no layer ;-) Thanks for the tip with the LNB. BTW, I have a HAM license (since 40 years).
@NorbertHarrer7 жыл бұрын
Awesome video. I was also using an HB100 in combination with an arduino for simple motion detection. I am looking forward to your solution.
@AndreasSpiess7 жыл бұрын
We will see how much we get out of the data. I hope more than detect motion...
@NorbertHarrer7 жыл бұрын
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.
@Rcbeacon7 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
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!
@MKEBOUND7 жыл бұрын
Thanks Andreas, Great info as always
@AndreasSpiess7 жыл бұрын
Thanks!
@richardkorgan29497 жыл бұрын
With the speed...I would also be interested in the distance as well...would you have an idea on the accuracy of the measured distance on each of the sensors. My app would need the accuracy to about 3 centimeters or say 1/2 inch. In addition I will need to measure the distance and then transmit the value to another location. Thanks for the great video and channel.
@AndreasSpiess7 жыл бұрын
There is no information about distance in the signal
@richardkorgan29497 жыл бұрын
Thanks...I'll work on that.
@ProfessorGilligan14 жыл бұрын
I’m curious to measure speed of vehicles that pass my vehicle as we drive down the road and link that to the video from a dashcam, overlaying the calculated speed and distance. Have you some thoughts of doability? Also, being able to set the camera to start recording data when detected speed exceeds my vehicle speed would be an added bonus.
@AndreasSpiess4 жыл бұрын
The reach of those modules is rather short (
@ProfessorGilligan14 жыл бұрын
Thanks for such a quick reply. Is there another avenue to acquire the info, like maybe a combination of videos?
@AndreasSpiess4 жыл бұрын
I have another module in the lab. As soon as I find it it will appear ;-)
@Tarbard7 жыл бұрын
It makes a nice sci-fi noise too.
@AndreasSpiess7 жыл бұрын
:-))
@GeoMikeCache5 жыл бұрын
Nice oscilloscope! A little bit pricey, but good. thumbs up.
@AndreasSpiess5 жыл бұрын
Depends on where you get it from ;-)
@aminuddinbinabrahman83994 жыл бұрын
Hi. I can see that the sensor is in static condition. Let's say if the sensor is moving, i.e attached to a moving object. Can the sensor still detect speed of an object in front of it?
@AndreasSpiess4 жыл бұрын
The sensor measures relative speed between itself and an object.
@aminuddinbinabrahman83994 жыл бұрын
@@AndreasSpiess I see. Thank you. Keep up on doing good content on KZbin. Glad to have experienced people like you to share the knowledge!
@randomhuman19657 жыл бұрын
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...
@AndreasSpiess7 жыл бұрын
Maybe this will be the solution at the end...
@WPBusinessclub5 жыл бұрын
great explanation and wait to see more. Love the idea of a budget speed camera
@AndreasSpiess5 жыл бұрын
It is not so easy as the range is very limited :-(
@skewedmaker7 жыл бұрын
Great video! Would weather conditions have any effect on these sensors?
@AndreasSpiess7 жыл бұрын
They are used to detect rain and snow. So I assume it has
@Turkishmath7 жыл бұрын
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.
@peterwhyte45266 жыл бұрын
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?
@AndreasSpiess6 жыл бұрын
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.
@mattjmwmatt6 жыл бұрын
Could we use this to calculate distance Mr Andreas? Would be very interesting and useful for a robot maybe. Maybe some phase detection maybe? Undergrad(soon to be) Electrical engineer here, love your videos !!! Cheers!
@AndreasSpiess6 жыл бұрын
The doppler effect cannot be used to measure distance. In radar they use the delay time for that. But speed of light is very fast and therefore delay times short. Maybe you could use the phase to detect such small delays. These boards do not do this trick.
@michaegi47176 жыл бұрын
Radars that can measure speed and distance do this usually by changing their frequency (ramp). They are called FMCW-radar.
@tecnoactivaitservices18642 жыл бұрын
Would this sensor measure pellet speed from an airgun , let say 300 fps to 1200 fps? positioning it close to the barrel it is important to measure speed not far than 2 yd.
@AndreasSpiess2 жыл бұрын
I do not think so. Too small object and too small available distance.
@Tolissere7 жыл бұрын
What an interesting project. Great work!
@AndreasSpiess7 жыл бұрын
Thanks!
@Munky3326 жыл бұрын
What about a phased array? max range? I'd be more curious about the actual beam pattern and if it could be modified.
@AndreasSpiess6 жыл бұрын
You should find the beam pattern in the data sheets of the respective sensors. For the moment we do not know max range.
@autotechnikertt5 жыл бұрын
This is interesting do you think it will be possible to use this Doppler sensor to creat a ballistic chronograph for an air rifle. It will be mesuring the speed of lead pellets at 1400 feet per second max.
@AndreasSpiess5 жыл бұрын
I assume the bullet would be too small and its range too short
@autotechnikertt5 жыл бұрын
@@AndreasSpiess I have seen fx pocket chronograph and one other chrono use doppler
@AndreasSpiess5 жыл бұрын
You can try it. On this short distance, it might work.
@alfredzhong90143 жыл бұрын
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!
@AndreasSpiess3 жыл бұрын
I do not think they will cover small/non-metallic objects in a distance.
@josephocampo3 жыл бұрын
Hi sir.. Is there a way to measure flow (discharge) of the river using sensors?
@AndreasSpiess3 жыл бұрын
I only know they used distance sensors below bridges to measure the height of the river and create warnings.
@gonzalodanielperez877 ай бұрын
Gracias! Excelente video! 👌
@AndreasSpiess7 ай бұрын
You are welcome!
@harrybowman52455 жыл бұрын
What is the name of the directional radar you were planning to use? I couldnt see the video for it, thanks!
@AndreasSpiess5 жыл бұрын
You usually find all links in my video description
@adtd1006 жыл бұрын
Does anyone know the name of the sensor mentioned in the video at 12:58 which can also be used to measure distance?
@AndreasSpiess6 жыл бұрын
Here is the link: www.conrad.ch/de/radar-bewegungsmelder-1-st-rsm2650-5-v-max-l-x-b-x-h-25-x-25-x-13-mm-506343.html
@adtd1006 жыл бұрын
Andreas Spiess thank you :)
@GeorgeOu6 жыл бұрын
When you measured the 400 mV amplitude, this was the shifted Doppler signal. My question is does this Doppler amplitude match the amplitude of the reflected 24 GHz signal?
@AndreasSpiess6 жыл бұрын
You are right. The reflected signal is mixed with the sent signal to shift the Doppler effect to a frequency we can easily detect( transmitted - received frequency). So I assume the amplitude is a mixture of both. But its size is somehow proportional to the reflected signal. It gets smaller the longer the distance to the object.
@GeorgeOu6 жыл бұрын
After thinking some more about this, the signal only comes when there is a moving target so that presents a problem for me. The incoming signal is obviously much weaker than the outgoing signal, but I don't know how they get the frequency difference. Maybe it's using FFT to compute the difference in the frequency and then generating a signal with an amplitude proportional to the incoming signal.
@AhmadLafi-TheFirst7 жыл бұрын
Very informative video, thanks. Can this be used for collision prevention in a drone?
@AndreasSpiess7 жыл бұрын
I do not know. But it does not measure distance, only speed
@lnbt16 жыл бұрын
Can you recommend what type of sensor can be used to measure the pingpong ball / badminton birdie smashing speed? Thank you!
@AndreasSpiess6 жыл бұрын
I think only radar would be fast enough and also has a certain beam width (see my last video about Laser speed gun). But I do not know if a small ping-pong ball will create a signal big enough. And I do not know how you can deal with the different angles the ball might take in relation to the sensor. So you have to experiment.
@LatinDanceVideos6 жыл бұрын
Really keen to hear if anyone has extended this project, made it more error proof and filtered out pedestrians from bicycles.
@AndreasSpiess6 жыл бұрын
It is still in our lab and we work from time to time on it.
@ИванБорисов-ъ1вАй бұрын
Hello, can this sensor be used to measure the speed of a soccer ball flying towards the goal?
@AndreasSpiessАй бұрын
I do not think so. The range is too short and the ball does not contain metal or water.
@ИванБорисов-ъ1вАй бұрын
@@AndreasSpiess What sensor would you recommend I use, I want to install it on a football goal?
@albygnigni7 жыл бұрын
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.
@AndreasSpiess7 жыл бұрын
That is another possibility. Then we also would need two ESP32 if we go with FFT, I think.
@albygnigni7 жыл бұрын
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.
@CShand5 жыл бұрын
What are the sensors used by traffic lights and toll bridges that only detect metal? Also how does this cope with say trees blowing around it.
@AndreasSpiess5 жыл бұрын
I do not know.
@rodinsocaciu7 жыл бұрын
Highly appreciated your videos. Great when such initiative could get helping. Have you considered looking over a AC Volt&Amp&Watt Meter WiFi logger?
@AndreasSpiess7 жыл бұрын
You can buy one from Sonoff. I made once a video about it. But maybe I will cover this topic in the future again.
@jhoansebastianbeltranpabon83994 жыл бұрын
Thanks for your video it's very complete.I want to know, did you implement this sensor with the ESP32?
@AndreasSpiess4 жыл бұрын
It has an analog output, but needs lots of amplification
@jhoansebastianbeltranpabon83994 жыл бұрын
@@AndreasSpiess Thanks for your answer,You have some example code for work with the ADC or math formulas for conversion. Thanks.
@kboo9180774 жыл бұрын
Thank you for the video, is there a second one about it? I don’t find it if exist
@AndreasSpiess4 жыл бұрын
No, not yet :-(
@retofricker48602 жыл бұрын
Super Video. gibt es schon ein Tutorial mit der Lorawan Übertragung?
@AndreasSpiess2 жыл бұрын
Wir haben dieses Projekt nicht mehr weiter geführt. Die Reichweite war zu klein :-(
@retofricker48602 жыл бұрын
@@AndreasSpiess ok schade. wir haben ein Radar im Einsatz und versuchen einen Zug zu erfassen, jedoch gibt der Radar bei Regen auch an. Gibt es eine einfache Möglichkeit, den Regen herauszufiltern?
@AndreasSpiess2 жыл бұрын
@@retofricker4860 Keine Ahnung. Da musst du das Signal analysieren und sehen, ob es Muster gibt die du herausfiltern kannst.
@gweliver7 жыл бұрын
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!
@AndreasSpiess7 жыл бұрын
I think such a device should be possible with cheap supplies from China.
@JungleJake16647 жыл бұрын
Excellent presentation and infomative, well done.
@AndreasSpiess7 жыл бұрын
Thanks!
@bigendertroll5 жыл бұрын
are the calculations the same for the CDM324 radar module?
@AndreasSpiess5 жыл бұрын
Yes.
@muditgupta35202 жыл бұрын
Can you tell me name of the sensor which you ordered for your second video, I am really looking forward to it.
@AndreasSpiess2 жыл бұрын
Unfortunately, I never made a second video :-(
@squall5137 жыл бұрын
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
@anlumo17 жыл бұрын
The ESP32 should be fast enough to do that.
@AndreasSpiess7 жыл бұрын
The ESP32 worked. But I want to tweak it that it is as fast as possible...
@anlumo17 жыл бұрын
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.
@timothyivan24276 жыл бұрын
Is it possible to detect slow movement (10 Km/h) of small silicone rubber tube (D=1 cm ) about 5 cm away from the sensor. Does it require any changes in the circuit due to size and proximity of the sensor?
@AndreasSpiess6 жыл бұрын
I do not know if it is able to detect silicone. The good has to reflect the waves. So you have to try.