No video

DIY Sonar Scanner Ep. 2 (STEM, RMT tricks)

  Рет қаралды 144,206

bitluni

bitluni

Күн бұрын

Пікірлер: 216
@bitluni
@bitluni 2 жыл бұрын
re-upload because I misspelled Hertz🤦🏻‍♂...in an educational video about physics. I deserved it if you un-bell me
@TechwithHari
@TechwithHari 2 жыл бұрын
Haha, but I congratulate your focus on quality !!🔥
@peter.stimpel
@peter.stimpel 2 жыл бұрын
You asked for Fiber, but you deserve 64k ISDN speed for reupping the video 😇
@JoeldaSilvaVicenteFilho
@JoeldaSilvaVicenteFilho 2 жыл бұрын
not gonna lie, I didn't even noticed it hahaha
@largepimping
@largepimping 2 жыл бұрын
Didn't bother me at all... one might even say it was zero hurts for me.
@911canihelpu
@911canihelpu 2 жыл бұрын
never, infact youtube should double the view count, i blame them
@SpencerPaire
@SpencerPaire 2 жыл бұрын
Geeeeeeezzzz. This is a mind-bogglingly advanced maker project. I can't believe all this is possible without a PhD in ultrasonic and signal theory, and a big lab. Let along possible with an ESP and off-the-shelf hardware! Great work! I can't wait to see how you amplify the output signal without introducing "noise" into the rest of your system.
@bitluni
@bitluni 2 жыл бұрын
I also can't wait to see that :-D
@realcygnus
@realcygnus 2 жыл бұрын
IKR, though the math/physics principles have been pretty known for quite a while as well as some actual existing HW/SW implementations that aren't totally proprietary anyway. But yea its amazing just how far we've come over the decades & how readily available everything required for such a project is, even to a DIY engineer.
@surfcello
@surfcello 2 жыл бұрын
Using a lock-in amplifier perhaps?
@guillermomarturetfendt9037
@guillermomarturetfendt9037 Жыл бұрын
dude the math is pretty basic bachelor in engineering-level... Programming the microcontroller to work at those speeds is where the complexity of this project comes
@ToIIIko1
@ToIIIko1 9 ай бұрын
​@@bitluniДальше увеличим количество приёмников и получим ультразвуковой 3D сканер для дополненной реальности?) Будем без включённого света видеть окружение😏😏😏
@piconano
@piconano 2 жыл бұрын
The US military had the 5 omni-directional microphone version, installed on some humvees that pinpointed the afghan snipers, when they fired. Machine-gun galore after that. Mountain echos and all. Now there's a small version called the "Sniper Detecting Microphone", a part of their TCAPS (Tactical Communications and Protective Systems). Smaller than a pack of cigarettes, the solider sticks to the back of his helmet. I like yours better because it's based on an ESP32.
@xxportalxx.
@xxportalxx. Жыл бұрын
So basically the rl version of the little arrow you see in video games showing you were the shots were fired from, pretty cool
@DrumToTheBassWoop
@DrumToTheBassWoop Жыл бұрын
@@xxportalxx. dam, i never thought that such a device could exist. But it makes sense now, to have a phased array microphone system would work very similar.
@jeremylaughery2555
@jeremylaughery2555 Жыл бұрын
I did a university project where I determined the angle of a body respective of a sound source by using digital cross-correlation techniques. Made an A! Now, we can see this kind of math being used in sniper shot detection and ranging.
@jeremylaughery2555
@jeremylaughery2555 Жыл бұрын
​​@@DrumToTheBassWoop You get more bang for the buck with beamforming phase-shift arrays. This beamforming technology could augment LiDAR for 3D mapping.
@gwagner3446
@gwagner3446 Жыл бұрын
Is part 3 coming anytime soon? I can’t wait to see how this project developed!
@konserv
@konserv 7 ай бұрын
???
@asronome
@asronome 2 жыл бұрын
Always amazed at how far you can push some of these microcontrollers!
@bitluni
@bitluni 2 жыл бұрын
This is even a cheap version :-D I bet the RP2040 could do all the stuff in PIO
@trevorthieme5157
@trevorthieme5157 Жыл бұрын
@@bitluni Could you use this in maybe a multi level set of arrays to make one of those fish finders?
@LaserFur
@LaserFur 2 жыл бұрын
I was working on the same kind of plan 14 years ago. one thing I noticed is that it's better to space the receiver array with prime fractions in between each detector. so the detectors are not spaced evenly. This prevents a picket fence type sensing issue. Also there are wider bandwidth ultrasonic detectors, but they operate at higher frequencies and thus increase the difficulty of the electronics.
@lauraramsey1415
@lauraramsey1415 Жыл бұрын
What's Prime Fractions? I googled, but only found prime factorisation
@LydellAaron
@LydellAaron Жыл бұрын
Placing at primes is a good idea. It make a significant difference in performance?
@LaserFur
@LaserFur Жыл бұрын
@@LydellAaron so you have a spacing distance between sensors. Then you say do a 7/5 of that distance and a 14/11 of the distance. The waves that line up with the consistent distance now are not lined up with these odd spacing. it helps separate out things.
@LydellAaron
@LydellAaron Жыл бұрын
@@LaserFur I haven't checked your math, but I do see what you mean in spacing the sensors. Question: Could you tune each ultrasonic, to emit a pure prime frequency, keeping the distances the same?
@LaserFur
@LaserFur Жыл бұрын
@@LydellAaron no. it's not about the frequencies. it's about geometry. Any random spacing that is not even will help. think about how the phase of the wave from two different objects can line up the same on the sensors. The sensors have a bandwidth that controls the resolution it can separate objects, but the phase on each sensor can target a object with more accuracy.
@scottmarquardt8770
@scottmarquardt8770 Жыл бұрын
As a former USN sonarman in the early days of towed arrays, this brings back fond memories. I had learned theory in cylindrical active arrays, but tight passive beamforming and frequency resolution well to the right of the decimal point - even for ridiculously low freqs - was a whole new ballgame. The math still makes my head hurt though. 😏
@1kreature
@1kreature 2 жыл бұрын
You can use the DMA in the STM's as well. It is very capable at reading data from GPIO pins triggered by a lot of alternative sources.
@raymitchell9736
@raymitchell9736 2 жыл бұрын
Fantastic! WOW! And you managed to get a PCB with BGA's on them... impressive! Thanks for sharing this... I can't wait to see how you process the data and interpret it.
@bitluni
@bitluni 2 жыл бұрын
its only 8 pins which are adjacent to the IC corner. The of all the BGA boards the last ADC didn't work. I used a different type for the tests shown here (code still works the same). I never really found the issue. The solder mask is a bit wide open on one of the pads. The pin pitch also exceeds the specks of the manufacturers fast shipped PCBs. I tried the BGAs because they were the cheapest and support 12bit at 3MSa max. Still would use sot for product because of the reliability.
@raymitchell9736
@raymitchell9736 2 жыл бұрын
@@bitluni Well, even attempting it was brave! Glad you got a work-around for that last ADC and was able to move the project forward... much respect for you!
@Codeaholic1
@Codeaholic1 2 жыл бұрын
The animations in this are excellent. Well done!
@shkolarac
@shkolarac 2 жыл бұрын
Great physics, presentation is clear and concise, but also very appealing. Sound background in simulation part of the video is extraordinary 🤗 for the electronics side of the project: 🤯
@McTroyd
@McTroyd 2 жыл бұрын
Braver man than I with those BGAs! This is a really cool series. Great to see a phased array application I could actually build one day. Wonderful exercise of the theory too. 👍
@jamesmor5305
@jamesmor5305 2 жыл бұрын
I will wait for the next part and I love the ESP32 but my surrounding makers hate it, now I can share this video and point out one more time how awesome this controller is.
@trevader2562
@trevader2562 2 жыл бұрын
I would highly recommend programming the ESP-32 using the PlatformIO extension in VScode. Not only is VScode just a generally better IDE, but the default ESP-32 framework (which virtually perfectly mimics the default Arduino framework) is actually built on FreeRTOS, which can leverage both cores of the ESP-32 and allow true concurrent multitasking. This is achieved simply by making calls to the FreeRTOS API with no modifications or extra library imports needed, which is freaking sweet for a 6$ microcontroller.
@michaelseitz8938
@michaelseitz8938 2 жыл бұрын
Fascinating project! I am very curious about the next video ☺ (And, I also think MEMS microphones would be an interesting idea 😁)
@guerrillaradio9953
@guerrillaradio9953 Жыл бұрын
The STM series also features DMA, which can really improve your GPIO speed dramatically. My mind goes straight for an FPGA with this use case, and I give you massive credit for how much you've been able to get a lowly ESP32 to do!!! Impressive!🤘🤓
@Vicarium
@Vicarium 2 жыл бұрын
This series is awesome!
@edgeeffect
@edgeeffect 2 жыл бұрын
I love the thumbnail "... this is what AI thinks...." ... and the ambient music + sonar sound effects soundtrack.... nice!
@notabagel
@notabagel 2 жыл бұрын
You could just bandpass the transducers in the rx array and measure the time delay at baseband. No need to actually measure the waveform directly. Great video, look forward to seeing more on the subject.
@anchepavankumar1287
@anchepavankumar1287 2 жыл бұрын
Ok....the next video bitluni does a ultrasound image of a baby using esp32
@devrim-oguz
@devrim-oguz Жыл бұрын
That's why submarine radars use a non-repeating melody to scan the environment. That way you can distinguish between the different echos.
@MatthewAlbert-zoonotique
@MatthewAlbert-zoonotique Жыл бұрын
I recently used four analog MUXs with the select lines driven by shift registers to read 64 analog hall effect sensors in "real(ish)" time.
@BlackPixxelDE
@BlackPixxelDE 8 ай бұрын
If you add additional transmitters offset by the size of the 8 receiver array, then you will have a MIMO-array with twice the angular resolution. You would simply record one frame with one transmitter active, then another with the other transmitter active.
@bens4446
@bens4446 Жыл бұрын
Just when I thought this project couldn't get more genius, it got more genius.
@erikpaulson8309
@erikpaulson8309 Жыл бұрын
Wow, this is awesome work. Coincidentally I came across this while planning to do my own project to attempt the same thing. This is great motivation!
@johnadrianaguila5318
@johnadrianaguila5318 Жыл бұрын
a different world. It's the sa laws, but different application. Without your videos, I'm not sure I would be at the level I'm at. I'm not a pro
@CaptMikey-vc4ym
@CaptMikey-vc4ym 4 ай бұрын
Dear Bitluni; The sport of soaring cross country involves the glider flying to areas of convective lift to gain or maintain altitude to fly distances. This means it would be nice for the pilot to have some kind of thermal scanner to observe areas of lift in the vicinity of the aircraft. Now the pilot has to guess where these areas are by visual clues and then flying ahead to confirm the lift by instruments of vertical speed. The concept of a "lift scanner" has been a dream of soaring pilots for generations. I am wondering if phased array transmitters and detectors might be a possible solution. I have read that microwave radiation might be used here. You do great stuff!
@Alexander-ju8gp
@Alexander-ju8gp Жыл бұрын
Nice content. I think, everyone who works with prototypes hates jumper wires except probably newbies.
@wecksell
@wecksell 2 жыл бұрын
Nice Project!!consider looking at phase modulated pulses to get higher resolution without sacrificing power out on you pulse!
@LydellAaron
@LydellAaron Жыл бұрын
I love this. Especially the multiple channels at once sampling.
@StormBurnX
@StormBurnX 2 жыл бұрын
Absolutely loving this project!
@BRUXXUS
@BRUXXUS 2 жыл бұрын
This project is SO COOL! I can't wait until you create a fully functional Alien motion detector. 😅
@Zi7ar21
@Zi7ar21 2 жыл бұрын
THIS IS SO AMAZING! Thank you for documenting all of these cool projects for us.
@databang
@databang 2 жыл бұрын
Nice echo visualizations, it helps wrap one’s head around the relativity.
@peterrasmussen2793
@peterrasmussen2793 Жыл бұрын
Hi, I was wondering if you are going to continue this series on the phased array sonar?
@MkmeOrg
@MkmeOrg 2 жыл бұрын
Amazing work. Loved it
@PCBWay
@PCBWay 2 жыл бұрын
caught you there
@Shkvarka
@Shkvarka Жыл бұрын
Awesome project!!! Best regards from Ukraine, Odesa!:)
@Ech01378
@Ech01378 2 жыл бұрын
You could try to transmit from the same elements and then switch to reception, as radars do, instead of one transmitting element centralized (which can add a phase shift along the array)
@SWRDMaster
@SWRDMaster 2 жыл бұрын
This is possible but the drawback is called a blocking distance. The transmitter rings for a period of time after excitation had ceased. This time is distance the transmitter won't be able to see. It would be blind close up for the transmitter element.
@drmosfet
@drmosfet 2 жыл бұрын
Those PCBs look like they could be very useful in some DIY scientific endeavours.
@rootsofsuccess8148
@rootsofsuccess8148 Жыл бұрын
Incredibly informative. As soone with no background in soft other than so Nice tutorialgh school band, I completely understand everytNice tutorialng
@charlesspringer4709
@charlesspringer4709 Жыл бұрын
Nyquist says you must sample at GREATER THAN twice the frequency. Sampling at exactly twice takes an infinite number of samples and produces an alternating output. Sample at 4 or 18 timeds the frequnecy or as much as possible. If you know the amplitude you can find phase at 2f, but you don't know amplitude.
@bitluni
@bitluni Жыл бұрын
good point... might hit exactly the 0 transition and get nothing
@bardenegri21
@bardenegri21 2 жыл бұрын
So much yes! Great project and amaze editing and presentation! Love it
@MohammadHefny_HefnySco
@MohammadHefny_HefnySco Жыл бұрын
Thank you for such precious documentation.
@keen2461
@keen2461 Жыл бұрын
Excellent video from any point of view.
@imignap
@imignap Жыл бұрын
Nooooo. Where is ep. 3!???? This is really fun to watch!
@jojojorisjhjosef
@jojojorisjhjosef 2 жыл бұрын
Great project laid out in great yet simple detail
@HunterHogan
@HunterHogan 2 жыл бұрын
This is fascinating! Just after I watched both of these videos, I stumbled across a 2003 paper that says the following without including a citation for it's claim. "Since the wavelength of 40 kHz ultrasound is only 8.6 mm, a receiver with dimension larger than the wavelength is not recommended for wavelength measurements." DOI 10.1088/0031-9120/38/5/310 In the first video, I think you showed us that the smaller transducer has a 9.6 mm diameter. If the paper is correct, then would smaller receivers give you more precision?
@superdau
@superdau 2 жыл бұрын
That's the diameter of the case. The transducer is inside and smaller.
@norbertdapunt1444
@norbertdapunt1444 4 ай бұрын
Absolutely awesome.
@Bastviktech
@Bastviktech Жыл бұрын
TNice tutorials was an amazing tutorial. You are a great teacher
@lohikarhu734
@lohikarhu734 4 ай бұрын
I had a look at Aisler... not as cheap as the PRC people, but, having actually run a business doing electronic design and development, their pricing structure makes sense, seems quite transparent. It might be a plan, if you feel ok with it, to give the price for a board that you are building? For me, I guess it would be interesting for a bare board price, on a board that's reasonable to assemble in a hobbyist lab, and a price for a fully built board, including their sourcing and mounting of components. The setup fees stack up a bit, but compared to damage to boards or components, trying to do it "at home" 😁
@rickpercy87
@rickpercy87 2 жыл бұрын
Loving this series, man!
@Sx107music
@Sx107music 2 жыл бұрын
Stm32f3 series internal ADCs have more than enough speed for you :) f303 has 4 ADCs at 5MSPS each, for example. Straight to memory with DMA.
@electronics.unmessed
@electronics.unmessed 2 жыл бұрын
Great idea and great video! Looking forward to see the next videos.
@yassinefaradi9650
@yassinefaradi9650 Жыл бұрын
Thanks for this video
@wolpumba4099
@wolpumba4099 2 жыл бұрын
Fascinating. I don't quite understand your argument that you need parallel readout of the sensors. If the scene is static or nothing is moving very fast then the receivers could be read out sequentially. I would like to see the transmitter moved on a linear stage. Then you could create a synthetic aperture.
@TheGreatTimSheridan
@TheGreatTimSheridan 10 ай бұрын
I would still like to get your help on designing my "flashlight for the blind" based on a laser range finder. But if you were able to map surfaces with your sonar, maybe that would work too. I found sonar to be too slow for distance measurements. But the tactile feedback for a flashlight for the blind would most likely use tiny electrical pulses on the forearm. Or possibly on the hand and fingers if it were implemented in a glove. Imagine feeling your way down the street with 30 foot long fingers. i'm quite certain that something small and functional could be designed to work on a rechargeable 9 V battery. Or maybe more batteries. Something that would fit in one's pocket certainly. This would be a tremendous benefit to many people. The cane is a very reliable mechanism, but it could certainly expand one's horizon to be able to feel doorways and windows and street signs coming up. To be able to sense people 20 feet away walking toward you. Perhaps
@MecegguemMohamed
@MecegguemMohamed Жыл бұрын
amazing to see people like you
@mtalhakhalid1679
@mtalhakhalid1679 Жыл бұрын
Very cool project sir impressive.
@EngineerNick
@EngineerNick 2 жыл бұрын
So cool :O Cant wait for the next one
@fredlarochelle
@fredlarochelle 2 жыл бұрын
Using an array of MEMS microphones would be easier to implement with better performance. You get a higher bit depth, better SNR, and no need for a "hacky" interface protocol, I2S is widely supported. Finally, I might be wrong, but I think the logic behind your "temporal resolution" is flawed. You don't need to use a 3Msps sampling rate. As you said, by the Shannon theorem, you only need 80kHz to capture the 40kHz signal of the transducer fully (make it 100kHz let's say so you don't need to deal with aliasing). You won't get a higher "temporal resolution" by using a higher sampling rate on your ADCs, you would need the transducer to be at a higher frequency for that. By sampling a signal at its Shannon sampling rate, you are able to extract its phase and magnitude using a Hilbert transform. Knowing these two, the signal is able to be perfectly reconstructed. Samples over the Shannon sampling rate won't get you more precision.
@aldopopp
@aldopopp 2 жыл бұрын
Hmmm, that's assuming the amplitude of the signal does not vary though, and you only are interested in the phase. But I think here you really want also some info on the amplitude to make it easier for the calculations regarding the direction of incoming wave. I guess you're right from a purely signal theory pov but to have the graphical representation that he displays from signal only with no computing you do need a higher sampling rate.
@fredlarochelle
@fredlarochelle 2 жыл бұрын
@@aldopopp Humm, I don't see how you loose the info about the magnitude, it's a bit the point of a Hilbert transform. You have a real component (which is your signal) and an imaginary component (your signal, pi/2 out of phase -> 90°). If you want to get the magnitude of the signal at any point you just sum both components together and get the negative and positive absolute values. To get the phase, it's tan -1(x/y), where x is the real component and y the imaginary part. With that, you have all the info you could wish for about a signal. About the graphical representation, he is already probably subsampling, an image can't really capture 300k+ samples per seconds.
@pastaspinach9669
@pastaspinach9669 2 жыл бұрын
It is true that the maximum frequency exists and it is far less than 1.5MHz. However, the actual maximum frequency is higher than 40kHz since the amplitude of the pulse varies. (AM modulation works as translation in frequency space. Thus, maximum frequency = 40kHz + maximum baseband frequency) It depends on how steep the pulse is. I can't figure out the relation between occupied bandwidth and spatial resolution of phased array, but steeper pulse must be preferable.
@sergeiepatov7683
@sergeiepatov7683 11 ай бұрын
I think that RPi Pico, with its programmable and full system clock speed PIO state machines, is far better choice for high-speed ADCs than ESP32. Also take into consideration its great overclockability. I think it will be possible to build even multi-megahertz ADC circuits with it.
@vinhtran-nu6gk
@vinhtran-nu6gk Жыл бұрын
Everything works at its best!!
@karlharvymarx2650
@karlharvymarx2650 2 жыл бұрын
Excellent. I'm a little creeped out because I just started work on this same basic idea this morning and out of the blue KZbin suggested this video in the early afternoon. That wouldn't be remarkable except that I haven't googled yet aside from looking for a schematic for the HC-SR04 board to see if there is anything worth salvaging. I considering trying to figure out if I could use Knowles digital ultrasonic microphones. IIRC the ESP32 maxes out at 2 PDM inputs and that is with interleaving left and right channels that probably doesn't help much. But I do have an old FPGA laying around which is grunty enough to handle converting several PDM streams to PCM. But I wonder if there might be a good algorithm for getting phase and echo times out of the PDM signal? In other words, each microphone has a 1-bit SAR ADC built in. Would it be possible to use the 1-bit stream from each microphone directly instead of first converting to PCM. Each mic's bit stream flows at around 3-5 MHz in ultrasonic mode and it takes somewhat serious number crunching to get that to 16-bit PCM so it might be nice to skip that and go directly to finding echo delay and phase. That might allow the final version to use an inexpensive FPGA dev board. Anyway just an incomplete thought which maybe you know something about.
@wolpumba4099
@wolpumba4099 2 жыл бұрын
You could emit a chirp from 0 to 10 kHz and capture this with a slow Adc (20kHz sample rate) of a microcontroller. Then you could emit a chirp from 10kHz until 20kHz. In this way you can cover the full spectrum where your transmitter and receiver are sensitive. One requirement is that you should have no aliasing filter in your receiver path Also the sample and hold circuitry should sample in a sufficiently short time window and the sampling times between transmitter and receiver shall be triggered with low jitter.
@julianbinder2371
@julianbinder2371 2 жыл бұрын
based fellow communist electronics enthusiast
@karlharvymarx2650
@karlharvymarx2650 2 жыл бұрын
Looks like I had a bad idea if the goal is direction finding. MICROPHONE ARRAY PROCESSING OF PULSE-DENSITY MODULATED BITSTREAMS Conference Paper · January 2018 Ipenza, Sammy Carbajal ; Masiero, Bruno S It still feels to me like there should be a way to avoid the FFT(s) and do some sort of fuzzy statistical comparison of the streams to get time of flight and phase. I need to re-watch this video to see how bitluni did it. I don't remember FFTs here. Interestingly PDM seems to be good input for spiking neural networks--maybe a completely different AI based approach would work.
@odissey2
@odissey2 Жыл бұрын
PDM to PCM conversion is basically done using low pass CIC filter (with decimation), which reduces data rate by some factor (/64). This is followed by a cross-correlation of signals from different microphones. The low pass filter doesn't do much but reduces the data rate and size of the array in memory. So, it should be possible to skip that step, but at the expense of bigger RAM. Personally, i would use 8 of ESP32 boards, one per the PDM microphone, and process acquired data using RPi.
@PCBWay
@PCBWay 2 жыл бұрын
One more epic, do more uploads plz 👍🤟
@first-thoughtgiver-of-will2456
@first-thoughtgiver-of-will2456 Жыл бұрын
I wonder if you could use a 4D lidar camera and a speaker and microphone to train a neural network to map the received audio signal to the scan. You could also use something like the Google cars scanner (idk if they use synthetic aperture lidar but that may make things cheaper) to also regress the audio signal. One upside is it can learn ambient echo patterns too!
@joansanchez2523
@joansanchez2523 2 жыл бұрын
Nice video! Waiting for more!
@tenet-rotas
@tenet-rotas 2 жыл бұрын
what a BEAUTIFUL video!!
@raphrath8561
@raphrath8561 2 жыл бұрын
super impressive! Your PCBs look like they have a lot of cross talk between the different digital signals which is probably limiting your sampling rate, whats your board stack up and how are the board interconnects carrying ground is what id look at first.
@kenjinks5465
@kenjinks5465 Жыл бұрын
Well you got the tech for my project that I'd like to do, a phased array microphone. Start with an audio frequency microphone 2D phased array to resolve a 3D volume. Each cell in the volume would be the sum of phased inputs from each microphone processed to show a live FFT to give a colour for spectral content and transparency for amplitude. This would be way better than the sound camera I saw over at @SteveMould with the acoustic camera as it ought to show all sound all the time.
@MoritzMair
@MoritzMair 2 жыл бұрын
holy crap, this is amazing!
@sultan7679
@sultan7679 Жыл бұрын
like your videos sir... waiting for part 3... love from pakistan
@usefulelectronics
@usefulelectronics 2 жыл бұрын
This is a next level project :) I wonder why don't you used the native ESP-IDF it is more powerful than ARDUINO IDE
@paulleveque2624
@paulleveque2624 Жыл бұрын
I used aisler tooo ! There awesome !!!
@MrMcCoyD4
@MrMcCoyD4 Жыл бұрын
2:55 sounds like ElectroBoom 😊
@Cor_Netto
@Cor_Netto 2 жыл бұрын
Love these videos!
@TheEvertw
@TheEvertw Жыл бұрын
Probably you could use the DMA module to read the high-speed samples and dump them to the USB bus, if C can't keep up. With the SPI module, you can create a clock frequency up to 80MHz, and the general purpose Timers should be able to generate high speed clock signals as well. For best result, it would be better to not space the receivers the same distance, but e.g. double the distance between them for each one as they get further from the center. But damn, I want to make my own, 3D, scanner now, by making a cross with the receivers, not all on a line.
@salec7592
@salec7592 2 жыл бұрын
It just occurred to me (but I didn't calculate the feasibility, so maybe it is a flop) that the sample rate requirement could be loosened by using analog band-pass filter(s) in front end and undersampling/ ADC multiplexing. Since the signal is basically just 40kHz sine, that would work, provided that both the modulated pulse, and distance between receivers is long enough for phase difference to be noticeable with sampling rate you have available. Or, since nothing prevents you from using multiple acquisition periods, you can induce small variable time (phase) shift between emission start and receiver start, so that multiple undersampled readings can be interleaved to construct synthetic high sample "image" with better resolution.
@ijustwanttogosailing8248
@ijustwanttogosailing8248 2 жыл бұрын
5 assembled boards - 766.80 Euros?! Have I missed something?
@mr-momomourad6475
@mr-momomourad6475 Жыл бұрын
For maximum performance results and best transmission, the frequency will not be exactly 40 khz, try 39800 or 39900 hz or what fits your tx and rx Transducer
@Mr.Leeroy
@Mr.Leeroy 2 жыл бұрын
That clock signal seems like a missed opportunity to mess around with Pico PIO
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 2 жыл бұрын
i'd move away from the arduino ide as it's geared up for beginers and arduino boards, which is why the /io is mostly bit control. as looking at small arduino boards its bloody hard to find a single 8 bit port with 8 free i/o pins.
@AlexejBabey
@AlexejBabey Жыл бұрын
Really cool project. I was wondering if it's possible to realize this with Ultrasonic signals instead of microwaves. eagerly waiting for the next video.
@StuartCGadgetRev
@StuartCGadgetRev 2 жыл бұрын
Wow! So cool!
@helmutzollner5496
@helmutzollner5496 2 жыл бұрын
Wow! Thus is a great project! And when you are finished you can scare moths with targeted beams.😈😆 I guess chatting with bats will take a little longer? 😄
@Key_Capz_
@Key_Capz_ 2 жыл бұрын
It's a baby 👶 congratulations 🎊
@Romain.J
@Romain.J 8 ай бұрын
I just discovered this channel, is the part 3 coming ? That's really interesting even if I don't understand everything :)
@pokojnitozo2360
@pokojnitozo2360 2 жыл бұрын
This is awesome!
@talhakhalid6302
@talhakhalid6302 Жыл бұрын
Congratz you made an ultrasound machine😂😂
@nanodynamics5203
@nanodynamics5203 Жыл бұрын
Great work and I was following up with your project. My question is how do I calculate the required power to make this scanner works in different media than air such as air?
@sorgunakkor1585
@sorgunakkor1585 2 жыл бұрын
Attention! You are approaching ambisonics territory 🙂
@zaphodbond
@zaphodbond 2 жыл бұрын
You forgot to activate "hacker mode", that's maybe why the signal wasn't strong enough! :)
@donaldkormos5529
@donaldkormos5529 2 жыл бұрын
Nice job !!!
@UAVwaffle
@UAVwaffle 2 жыл бұрын
This series is absolutely amazing. How much do you think it will cost you to make these in the end?
@dougle03
@dougle03 2 жыл бұрын
Cost in parts, very little. Cost in time and knowledge, lots and lots... Not everything can be boiled down to the $ easilly
@Bianchi77
@Bianchi77 Жыл бұрын
Nice video, thanks :)
@blueskyresearch6701
@blueskyresearch6701 Жыл бұрын
Weird some how I was unsubscribed and not seen this series till today.
@WallyAmos-kz7jc
@WallyAmos-kz7jc Жыл бұрын
hi! i'm wanting to design what i hope you're doing for your next video, a 3-channel sonar to take full 3d snapshots from each ping. with a triangular receiver, the phase difference among all 3 will point directly to the reflection's source angle, relative velocity, intensity, and distance. all the information you need is encoded in the audio if you can coax it out with the right math, and of course it's the hard part where i'm stuck. i guess i'll write a little routine to manually search all the sound streams for 38.4khz serial data to never miss it and to get the phase exactly right for calculating angles and precise distances. is there a shortcut i'm missing here? seems like a lot of work just to turn a little blip of sound into a complete map of everything around.
@WallyAmos-kz7jc
@WallyAmos-kz7jc Жыл бұрын
so now after a night of pondering, it seems i need to take the audio data stream and step through it, hopefully only on areas marked by fft as having a carrier of known amplitude. stepped by sliding a window of one ping size (thinking 10 bits) over it, adding/subtracting a sine wave of the target frequency to see if it increases or decreases the total audio noise. then repeat with the calculated sine wave starting at different positions on its cycle and at different amplitudes. best matches are identified by finding where they cancel out most. from here, fine tune the phase and amplitude by tiny stepping until it's perfect, and that is the start time to flag. also at this point try stretching or compressing the sine to find any doppler shift. by knowing the exact time a ping is received on all 3 sensors with their positions tracked by accelerometer and gyroscope, the source can be triangulated directly. at this point, the three (phase aligned and stretched) audio streams can be stacked like a rake receiver for better signal clarity, transform as needed and feed it into the morse code reader or uart to receive the keyed data contents sent from other boats. so that's my best guess on how to go about this. anyone have any ideas on easier ways to do any of this? fml. at least from here ai can take over and do voice like recognition on the serial blips because it has accurate feedback to train it, and get better reception in noisy environments. but i mainly want automatic course correction on my rc speedboat to avoid collisions with swimmers or pier posts and that needs 3d sonar mapping so here i am.
@Tomasu82
@Tomasu82 2 жыл бұрын
I wonder if the rpi nano's programmable io peripheral would help or hinder here. Seems like itd be an interesting test at any rate.
@braveonder
@braveonder Жыл бұрын
use one transmitter and reciever than rotate them with a motor. No need complex software and hardware. One strong transmitter and reciever.
@WestEast3259585
@WestEast3259585 2 жыл бұрын
super cool
@paulushdk
@paulushdk 2 жыл бұрын
BRILLIANT!!!!
I made a VGA card that blew my mind
15:44
bitluni
Рет қаралды 425 М.
DIY sonar scanner (practical experiments)
14:30
bitluni
Рет қаралды 1 МЛН
OMG what happened??😳 filaretiki family✨ #social
01:00
Filaretiki
Рет қаралды 12 МЛН
🩷🩵VS👿
00:38
ISSEI / いっせい
Рет қаралды 18 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 33 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 48 МЛН
A Volumetric Display using an Acoustically Trapped Particle
10:20
Dan Foisy
Рет қаралды 1,6 МЛН
I made a custom ASIC: World's first of its kind
16:38
bitluni
Рет қаралды 190 М.
Sonar Depth Mapping With Autonomous GPS Boat
23:29
Clay Builds
Рет қаралды 33 М.
SUPER HEATED STEAM ROCKET ENGINE
13:55
Integza
Рет қаралды 740 М.
Open Source Smart Glasses - DIY AR
10:52
caydengineer (Cayden Pierce)
Рет қаралды 53 М.
Revolutionize Your ESP32 Projects with Live GPIO Pin Monitoring!
8:08
The Last Outpost Workshop
Рет қаралды 164 М.
Unlimited Fresh Water: Can MIT's Breakthrough Save Us?
15:17
Ziroth
Рет қаралды 1,1 МЛН
Cut anything, even diamond
13:07
Breaking Taps
Рет қаралды 1,1 МЛН
Making a LINEAR MOTOR for a DIY CNC mini MILL - Part #0 (Step-by-Step)
11:50
NeverGetTiredEngineering
Рет қаралды 41 М.
OMG what happened??😳 filaretiki family✨ #social
01:00
Filaretiki
Рет қаралды 12 МЛН