Make your own very crude Walkie-talkie with an Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ค. 2019
  • JLCPCB SMD assembly coming soon: jlcpcb.com
    Here is how to fix my Walkie-talkie: • #279 How to debug Ardu...
    Previous video: • DIY Light Barrier Alar...
    HACKED!: TV Remote becomes an RF Remote: • HACKED!: TV Remote bec...
    Support me for more videos: / greatscott
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    You can find the schematic & PCB design on EasyEDA:
    bit.ly/2xX307A
    bit.ly/30J6GX6
    Or you can download it here: / 28513352
    Websites which were shown in the video:
    tmrh20.github.io/RF24Audio/
    github.com/nRF24/RF24Audio
    www.ti.com/product/CC8520
    en.wikipedia.org/wiki/Samplin...)
    In this project I will be showing you how I tried to create a Walkie-talkie with the Arduino development board and the nRF24. Along the way I will present you the functional principle of a Walkie-talkie and at the end create a kind of working prototype.
    Thanks to JLCPCB for sponsoring this video
    Visit jlcpcb.com to get professional PCBs for low prices
    Music:
    2011 Lookalike by Bartlebeats
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 929

  • @greatscottlab
    @greatscottlab  4 ปีที่แล้ว +159

    Here is how to fix my Walkie-talkie: th-cam.com/video/YJ25eQRbhaQ/w-d-xo.html Thanks to Andreas Spiess for helping me :-)

    • @LaserHeNe
      @LaserHeNe 4 ปีที่แล้ว

      Hi GreatScott, as always, great job done 😀 I have also tried to built that walkie talkie and with tips given by Andreas seems to be work.

    • @lynes2peters438
      @lynes2peters438 4 ปีที่แล้ว +4

      Hey Great Scott! You didn't answer to his question, wouldn't you like to meet him and test the fixed system on a motor bicycle tour with him?!

    • @jiltomathew6589
      @jiltomathew6589 4 ปีที่แล้ว

      th-cam.com/video/QhPSdN2hogU/w-d-xo.html
      Please explain about this video

    • @pressreset
      @pressreset 4 ปีที่แล้ว +1

      Neat. Cool it got fixed. :) I was thinking about doing this. You really don't need any large data rate to transmit voice. If you build in a vocoder, it will allow you to extend the range significantly, and get the transmission rates down to around 6kbps per channel. If you split it with fewer bands, even lower datarates. That's how a lot of walkie talkies work, and it's how GSM/LTE systems transmit voice. Half rate GSM is like 5Kbps per channel, and full rates I believe anywhere from 12/16Kbps dual. It also allows you to put basic encryption on the signal. Cool project. Nice video. 👍

    • @chubbypolarbear23
      @chubbypolarbear23 4 ปีที่แล้ว

      GreatScott! I love your videos and have a mission for you. Please please please make a video about the low power library. You will be able to simplify it so well! Thanks!

  • @cosicasF9
    @cosicasF9 4 ปีที่แล้ว +997

    You seriously need to be sponsored by a marker pens company...

    • @alexm761
      @alexm761 4 ปีที่แล้ว +4

      bic !

    • @zeero4ever
      @zeero4ever 4 ปีที่แล้ว +33

      This video is sponsored by Schwan-Stabilo. Fine liners and text markers in a variety of colors starting under $2.

    • @MrFrazierNation
      @MrFrazierNation 4 ปีที่แล้ว +2

      So true

    • @pahom2
      @pahom2 4 ปีที่แล้ว +4

      Why do you think he is not sponsored by them already?

    • @ColinTimmins
      @ColinTimmins 4 ปีที่แล้ว +4

      Watching him write schematics and data is really enjoyable. I'm very neat with how I write, but he does it with so much ease.

  • @luminumlx2604
    @luminumlx2604 4 ปีที่แล้ว +165

    "How many arduinos do you have?"
    GreatScott: *yes*

    • @mrnettek
      @mrnettek 4 ปีที่แล้ว

      :-)

    • @kjyhh
      @kjyhh 4 ปีที่แล้ว +2

      0:30 around 30?

  • @meliekorn
    @meliekorn 4 ปีที่แล้ว +622

    Hi I think problem is that you put speaker directly to PWM output. I think you should use filters to make signal smoother.

    • @erbro
      @erbro 4 ปีที่แล้ว +51

      That is my guess too... a simple rc filter could help a lot.
      I also think the word smoofly should be added to the English language :D

    • @SimranjitSinghMehra
      @SimranjitSinghMehra 4 ปีที่แล้ว +32

      Agreed, I did some similar. Output was crap. Made a crude class A amplifier using LM317 IC and output was clearer albeit the IC required a heat sink because of poor design

    • @lazar2175
      @lazar2175 4 ปีที่แล้ว +31

      @@SimranjitSinghMehra How did you make a amplifier out of a voltage regulator?

    • @ericblenner-hassett3945
      @ericblenner-hassett3945 4 ปีที่แล้ว +12

      I would have thought you would need a voltage divider on one side of the speaker so there would be an equivalent of half voltage either side of the PWM signal to get the speaker to go in AND out....
      It worked for me when I tryed a similar circuit years ago ( pwm to sound out )

    • @user-dj1hy6zc6q
      @user-dj1hy6zc6q 4 ปีที่แล้ว +71

      And he needs a 8 kHz low pass filter before the ADC and another 8 kHz low pass filter before the speaker/speaker amplifier.
      16 kHz sample frequency is only capable of 8 kHz audio reproduction (Shannon Nyquist sampling theorem). By not having those low pass filters, all of the PWM noise, high frequency PWM harmonics, and clipping (high frequency pops) is drowning out the useable audio signal. Signal to noise ratio is really bad without filtering out the unusable frequencies.

  • @kreynolds1123
    @kreynolds1123 4 ปีที่แล้ว +81

    I'm surprised there wasnt any debugging to find where the audio is getting messed up.

    • @MetinFTW
      @MetinFTW 4 ปีที่แล้ว +5

      Andreas Spiess
      (the guy with the Swiss accent) made a video on debugging the project:
      th-cam.com/video/YJ25eQRbhaQ/w-d-xo.html

  • @mrk3ma1
    @mrk3ma1 4 ปีที่แล้ว +358

    Hi, correct me if I am wrong but don't you need a LC filter after PWM output of the arduino before hooking up output to a speaker?

    • @siliconrobot6522
      @siliconrobot6522 4 ปีที่แล้ว +11

      I think that rectangular signal is not the best wave form for audio output to speaker. Perhaps if the wave form is more sin like, the quality can be improved a little bit.

    • @HaengemattenLeben
      @HaengemattenLeben 4 ปีที่แล้ว +36

      Like in a Class D Amp
      To filter the PWM Signal

    • @systemofapwne
      @systemofapwne 4 ปีที่แล้ว +24

      I just was going to mention this too. The PWM signal is just poor and results into that kind of artifacts without a proper filter. For an even better quality, I rather would go for a dedicated DAC though.

    • @MaulikParmar210
      @MaulikParmar210 4 ปีที่แล้ว +17

      Correct ADC requires DAC on other end to rebuild non quantized signal, that's why audio is clipping

    • @Slartibartfas042
      @Slartibartfas042 4 ปีที่แล้ว +17

      Illegal to operate, but would be working with a few more steps.
      First of all you of course will have to kind of filter the PWM signal to get some decent audio quality. OK - one could argue the mechanical slowness of the membrane of your speaker could do that for you. But what is by far worse you did drive the speaker with DC BIAS! That means, the membrane of your speaker will already be pulled or pushed against one mechanical limits of the full stroke length, that is why the system did sound so badly! Use a proper dimensioned C to block DC Voltages and you most probably will have a working system, if you want to do it the proper way then you'd have to have a proper filter (lowpass filter and buffer amp) then to drive the speaker.
      Apart from the fact that you will not be allowed to use such a system legally in most states all around the world since you then would operate a 2.4GHz transmitter without any EMC safety tests being applied. And maybe not even being respecting the bandplan or maximum allowed transmitting power of your country. And maybe not being respecting minimum allowed distance for transmitting devices/ antennas from any kind of human livings and some of their best parts (well, just in case their best parts may also include their brain and are not only their reproductional systems which I don't want to decide here). So, nice idea and it could easily work if it was done properly!

  • @giocic94
    @giocic94 4 ปีที่แล้ว +39

    100 mV, gain of 100, so the output can reach 10V. But you opamp works between -3.3V and +3.3V, so the output will saturate. You can try to reduce the gain (e.g. 30) and try to use big resistors... For example 10 Mohm for the feedback resistor and 330kOhm for the input resistor of the inverting opamp

    • @luigif6643
      @luigif6643 4 ปีที่แล้ว +1

      Same thing i thought, it just sound like a saturated sound. A quick view with the oscilloscope should make the problem clear...i would go for a simple dual stage amplifier and a low pass filter at the output.

    • @thegoodhen
      @thegoodhen 4 ปีที่แล้ว

      He uses a potentiometer in the feedback, so he can tune it till it's good... I think this shouldn't be a problem.

    • @andreidicu2882
      @andreidicu2882 4 ปีที่แล้ว

      upvote this so he can see

  • @olivierconet7995
    @olivierconet7995 ปีที่แล้ว +1

    Excellent video, especialy because of a failed project. The best way to learn.
    So many youtubers are showing projects that clearly work by chance and never talk about failures.
    After all, real life engineering is all about failing and starting again 😁
    Keep going !

  • @drank4069
    @drank4069 4 ปีที่แล้ว +38

    Always wanted something like this. Thanks for all your great projects!

  • @user-dj1hy6zc6q
    @user-dj1hy6zc6q 4 ปีที่แล้ว +39

    The amp seems to be clipping (you can see it clip in the oscilloscope recording), you seem to be missing a DAC on the receiver, and 16 kHz sample rate is only good for 8 kHz audio (should be okay for speech); so you need a 8 kHz low pass filter before the ADC and another 8 kHz low pass filter after the (missing) DAC in order to remove all of the useless higher frequency noise and distortion which you are otherwise hearing which is above Shannon Nyquist frequency.
    Refer to Shannon Nyquist sampling frequency theory.
    I would love to see you fix it.

  • @projects4996
    @projects4996 4 ปีที่แล้ว +45

    I always love whatever you do,
    Whether it's a failure or success.
    Addicted to your videos waiting for another Sunday ☺️👍

  • @Sir_Trip-s-A-Lot
    @Sir_Trip-s-A-Lot 4 ปีที่แล้ว +2

    Thank you Scott... I have been looking for this for last 4yrs... Numerous time I thought of building one..but due to lack of knowledge and skill, I could not.
    This will be a very helpful for my first draft. You are a savior.

  • @peterellis2764
    @peterellis2764 4 ปีที่แล้ว +1

    Hi pal,
    I must say this and none of your projects you have failed in is by no means a fail. Your inspiration and passion will drive you and your EE cult much further with success when this happens.
    I have to say your PCB layout and routing on this board looks great and your really getting the hang of it, even though I do like your perf board designs lol haha.
    Keep up the hard work and thank you so much for your channel !

  • @aidaneloff5357
    @aidaneloff5357 4 ปีที่แล้ว +4

    Please continue with this project! This is a really functional build, I will definitely build one 🤩

  • @2000Divyesh
    @2000Divyesh 4 ปีที่แล้ว +22

    I was using the same library for the walkie talkie project i was working on recently.. i didn't design the microphone circuit and pre-amp for the speaker.. I bought them as modules.. put them together.. used the very same sketch.. they worked fine..

    • @kreynolds1123
      @kreynolds1123 4 ปีที่แล้ว +7

      @@highkicker11 agreed it sounded like a lot of clipping.

    • @miawgogo
      @miawgogo 4 ปีที่แล้ว +6

      @@kreynolds1123 Yeah, i noticed when he was looking at the signal in the oscilloscope that it was clipping

    • @avamander.
      @avamander. 4 ปีที่แล้ว

      Same, it worked nicely for a basic intercom for me.

  • @Racov
    @Racov 4 ปีที่แล้ว +1

    I very much admire you for sharing (and pain editing videos) projects which didn't work out well. Is a great way for me to learn and skip this time consuming trials.
    Thank you and keep up the good work 👍

  • @felipechavez673
    @felipechavez673 4 ปีที่แล้ว

    I like that you never give up a somewhat complicated project

  • @alansimons141
    @alansimons141 4 ปีที่แล้ว +3

    Like others have said, your problem is probably the PWM "DAC". To verify, you could save some ADC data to flash and replay it on your computer, to verify it sounds good. You could make a better DAC with several data out bits from the Arduino plus a resistor network.

  • @mohitt2390
    @mohitt2390 4 ปีที่แล้ว +160

    May be he is catching alien audio signals 😄

    • @BeamDeam
      @BeamDeam 4 ปีที่แล้ว +25

      Yea probably from area 51 😂

    • @Bob3519
      @Bob3519 4 ปีที่แล้ว +3

      I bet if he added a cross cut saw blade and a Speak and Spell®. He could have transmitted past the planet MELMAC!

    • @mohitt2390
      @mohitt2390 4 ปีที่แล้ว +1

      Area 51 😂😂😂😂😂

  • @wantomek
    @wantomek 4 ปีที่แล้ว +1

    I love, that you upload projects whether they're successful or not. I hope that with the help of the community, you ultimately succeed, and share a follow up video.

  • @kekecjan
    @kekecjan 4 ปีที่แล้ว +1

    I had the same idea to use nRF24 to transmit sound but i never tried it yet and now you motivated me to do it haha. I really like you projects, especially when you making your own PCB. Again thank you for this project, i enjoyed it.

  • @mmmhorsesteaks
    @mmmhorsesteaks 4 ปีที่แล้ว +64

    If only there were some easy, ancient technology that didn't rely on microprocessors to transmit audio wirelessly... Some sort of frequency modulation technology or something... We can but dream ;-)

    • @Loundre3
      @Loundre3 4 ปีที่แล้ว +7

      Yeah...RF in all its analog glory is one heck of a abusive bitch.

    • @ksoma228
      @ksoma228 4 ปีที่แล้ว +16

      2 plastic cups and a string :)

    • @defaultuser000
      @defaultuser000 4 ปีที่แล้ว +4

      Basic FM transmitters are dead simple to build and there are super simple demodulator chips available for the receive side if you don't want to design that half. Just find out what frequencies are legal to use in your country without a license and pick one that's easy to design for.

    • @mmmhorsesteaks
      @mmmhorsesteaks 4 ปีที่แล้ว +10

      @@defaultuser000 27Mhz band seems to be ok in most countries.
      Give it three more years and we won't be able to blink an led without calling 5 api's on our IoT enabled NeXtDuino's. This is getting out of hand. Not everything needs a microcontroller.

    • @kk1l
      @kk1l 4 ปีที่แล้ว +1

      @@defaultuser000 It is one thing to use general communications frequencies with commercially available equipment. But using non-commercial home-brew transceivers is not legal unless you are a licensed amateur radio operator and use it in those bands.

  • @cesaredwing
    @cesaredwing 4 ปีที่แล้ว +2

    Keep up! I like your honesty. My respect and admiration from the Dominican Republic.

  • @askquestionstrythings
    @askquestionstrythings 4 ปีที่แล้ว

    I was thinking about this for a project but due the really bad audio quality issues I was thinking of blending an arduino with cheap kids walkie-talkies. Now I'm rethinking my plans and following the concept you are working on.

  • @ZeroMass
    @ZeroMass 4 ปีที่แล้ว +2

    Before I had mp3 I made a crude fm radio transmitter, had my own station within the boundaries of my property.. This project also looks fun..

  • @rich1051414
    @rich1051414 4 ปีที่แล้ว +41

    Wait... no choke on your PWM output? No wonder! Look at the output on a scope and it will become clear why it sounds like crap :P

    • @jankomuzykant1844
      @jankomuzykant1844 4 ปีที่แล้ว

      Choke ? And what speaker is ? ;o)

    • @rich1051414
      @rich1051414 4 ปีที่แล้ว +1

      @@jankomuzykant1844 Not one that small with a PWM that slow. The speaker isn't sufficient.

    • @jankomuzykant1844
      @jankomuzykant1844 4 ปีที่แล้ว

      @@rich1051414 You forgot mechanical inertia.
      I think it's first episode - with the problem. Now I'm waiting for GreatScott's fix ;o)

    • @rich1051414
      @rich1051414 4 ปีที่แล้ว +1

      @@jankomuzykant1844 At a high PWM frequency, you can get away with no choke. Also, a larger speaker with more mechanical inertia also helps. Here, with the PWM frequency being so low, there is NO WAY that little speaker can do anything substantial to the signal on it's own. A Class-D amplifiers needs AT LEAST a 40khz signal to IDEALLY produce no audible distortion from 20 to 20khz, and that is assuming there is enough inductance to 'connect the dots' on the pwm signal. It's best to not rely on the speaker, because you have no idea what present or future type of speaker will be hooked up, or any speaker at all for that matter.

    • @thegoodhen
      @thegoodhen 4 ปีที่แล้ว

      @@rich1051414 Nah, its okay. You can PWM into earphones and you won't hear the distortion at 16kHz. Been there, done that. This is something else.

  • @jamesdinsmore9022
    @jamesdinsmore9022 4 ปีที่แล้ว

    I recall the concept of audio companders (compression of the audio bandwidth before transmission and the expansion of it on the receiving side); this is a good thought experiment and thank you for trying.

  • @hightttech
    @hightttech 4 ปีที่แล้ว

    Thank you for sharing both the successful projects, and the not so successful projects. That is real life. Of course every project might eventually become a success with enough time and money, but that threshold is different for each inventor. Cheers.

  • @lazar2175
    @lazar2175 4 ปีที่แล้ว +17

    Hey man, looks like you need a DAC and this could possibly work out.
    Please do a update on this, i think it may be a quite easy fix.

  • @chicabomb5933
    @chicabomb5933 4 ปีที่แล้ว +8

    I KNEW IT!! I SAID ON YOUR FACEBOOK POST THAT IS WALKIE TALKIE

  • @johnmiller4859
    @johnmiller4859 4 ปีที่แล้ว +1

    Based on things I did many, many years ago, I think two things may be going on. 1) You set the gain on your op amp circuit too high and/or 2) Input Independence mismatches causing distortion.
    Over all, beautiful work. Thanks for sharing.

  • @PeterMMMMM
    @PeterMMMMM 3 ปีที่แล้ว

    Awesome project. Thank you posting it even if you didn't get ideal results. It makes feel better about my failings.

  • @abhihellow
    @abhihellow 4 ปีที่แล้ว +4

    output the pwm data on the 4 digital pins(map the data) and use a crud R2R ladder to output a analog signal of 4-bit
    crude DAC circuit

  • @Shahbs
    @Shahbs 4 ปีที่แล้ว +3

    that sign off dialogue through the transmitter!!!! 😂😂😂😂

  • @talowbo
    @talowbo 4 ปีที่แล้ว

    Way above my amateur electronics head, but I just love watching smart people to really smart things... well done my friend.

  • @JonathanRansom
    @JonathanRansom 4 ปีที่แล้ว

    I was just googling this to see if it was possible to build something for my kids. Thanks for saving me the time!

  • @jaspersun4909
    @jaspersun4909 4 ปีที่แล้ว +18

    PWM signal is emmmm.....better be called digital signal,but audio is analog signal....you need a LPF to convert PWM signal to analog audio signal or use a DAC + PA directly...

  • @cxmmax4265
    @cxmmax4265 4 ปีที่แล้ว +7

    why not do like your class d amp with the comparator to got a 1 or 0 logic level to send data and on the reciver part build a h bridge (with death time controller for power consumption) and a lc filter ?

  • @benemmett6194
    @benemmett6194 4 ปีที่แล้ว +1

    A lot of good suggestions in the comments. One more thing to check would be the DC bias of the mic input. Without that bias set properly, the negative voltage swings would be clipped causing ugly distortion. It looks like you did consider this in your design but I didn't see it verified in the video. A good way to check this would be sending your ADC read data to an off board computer and verifying that it is not clipping too much at 0 or 1023.

  • @pierreretief
    @pierreretief 4 ปีที่แล้ว

    I want to say thanks for uploading projects where you failed as well! Still very interesting and really gets you thinking...

  • @pramitkumarpal4828
    @pramitkumarpal4828 4 ปีที่แล้ว +3

    Great job Mr.Scott. Can you make a detailed video on making a pll fm transmitter.
    Thanks for all the awesome videos!!

    • @RadOo
      @RadOo 4 ปีที่แล้ว

      Well you can get such a FM transmitter with stereo generator for at least I have one of those for about $3

  • @Jeakerek
    @Jeakerek 4 ปีที่แล้ว +30

    It souds like pc speaker ghostbusters intro from commodore 64

    • @peterellis2764
      @peterellis2764 4 ปีที่แล้ว

      Hahahah OMG that brings back some memories hahah

    • @clifffton
      @clifffton 4 ปีที่แล้ว +1

      Impossible Mission!

    • @technixbul
      @technixbul 4 ปีที่แล้ว

      not even close :D

  • @bobdehuisbaas1
    @bobdehuisbaas1 4 ปีที่แล้ว

    I'm so glad this comment section is full of solutions and helpful people!
    It would be great if you made a follow up video implementing this newly acquired knowledge to make a working system

  • @willwho2512
    @willwho2512 4 ปีที่แล้ว

    Done this project with the same library before. On speaker side, I hook up a PAM8403 module which works on 3.3v. The audio is still a bit noisy but it gets louder and more recognizable.

  • @insanitywolf05
    @insanitywolf05 4 ปีที่แล้ว +3

    a guy from Ukraine running the channel
    "VirF Live Productions" has built a pair of walkie talkies based on the nrf24l01. You do not necessarily have to understand russian, since wiring schemes are provided in the vids too

  • @cprn.
    @cprn. 4 ปีที่แล้ว +3

    Also, I think you shouldn't have set the volume to max. Depending on what the library does underneath it might be responsible for the low audio quality. I'd check the lowest and middle values as one of those seems to usually represent 100% loudness in all of the radio libraries I ever worked with. High values usually mean some kind of boosting.

  • @runforitman
    @runforitman 4 ปีที่แล้ว

    I would love to see you revisiting projects, that didn't quite work out, and improving or fixing them!

  • @user-bw9bx3rd6z
    @user-bw9bx3rd6z 4 ปีที่แล้ว

    This is the project I was waiting for. I really hope you will come up with a better one

  • @manojachrekar7327
    @manojachrekar7327 4 ปีที่แล้ว +7

    I wanted to make something like this for so long..😋🤘🏻🤘🏻
    Waiting for part 2

  • @R3MIXMODZ
    @R3MIXMODZ 4 ปีที่แล้ว +19

    Not all projects are a success. Maybe the comments can improve it too!

  • @RomanoPRODUCTION
    @RomanoPRODUCTION 4 ปีที่แล้ว +1

    GreatScott has a great sense of humour 🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊🕊

  • @raybright5805
    @raybright5805 4 ปีที่แล้ว

    BUMMER... that was an anticlimax.... Look forward to your enhanced design, cheers

  • @leollo1998
    @leollo1998 4 ปีที่แล้ว +7

    Maybe a low pass filter for the speaker

  • @HaengemattenLeben
    @HaengemattenLeben 4 ปีที่แล้ว +44

    Maby a LC filter beheint the PWM Signal ?
    Like in a Class D Amp :D

    • @HaengemattenLeben
      @HaengemattenLeben 4 ปีที่แล้ว

      I do not see any in your plan

    • @lazar2175
      @lazar2175 4 ปีที่แล้ว

      DAC is the solution, but a LC filter may work out.

    • @tunahankaratay1523
      @tunahankaratay1523 4 ปีที่แล้ว +1

      @@lazar2175 LC filter builds a DAC basically. I would use an RC filter in combination with a LM386 amplifier to keep it small and simple. The more important thing which Arduino cant handle properly is high frequency sound signals. I would use a proper high sample rate 8 bit or even 10-12 bit ADC.

    • @lazar2175
      @lazar2175 4 ปีที่แล้ว

      @@tunahankaratay1523 No, no it does not build a DAC.
      Like it's name suggests, it filters the pwm signal.
      The dac converts the pwm to a AC analog signal suitable for playing back in the speakers.
      He has a video on it, go watch it.

    • @technixbul
      @technixbul 4 ปีที่แล้ว

      @@lazar2175 I would say an RC filter instead and LM386 ... but why at first place Arduino? This is a very simple task for 2 transistors on transmitter and 2 on receiver and you can beat audio quality and range with a whole magnitude

  • @joshporter5773
    @joshporter5773 4 ปีที่แล้ว +1

    Original content on this Chanel. Love it!!!

  • @kk1l
    @kk1l 4 ปีที่แล้ว

    Nice work. Thanks for posting your attempt! Don't hesitate to show "failures" as it is part of the process. Thanks again.

  • @marcmoreaux
    @marcmoreaux 4 ปีที่แล้ว +3

    Hey, I find lots of knowledge in your videos. Thank you very much !
    Maybe you could record the digital audio signal out of D10 and D9 on a txt file and share it to analyse it in python (matplotlib, librosa and sounddevice).
    Working with audio, I have often found myself with saturated and encoded signals that were eventually legitimate...
    Thank again for your channel :)

  • @big_b_radical3985
    @big_b_radical3985 4 ปีที่แล้ว +9

    Did you filter before digitizing to prevent aliasing?

    • @peterellis2764
      @peterellis2764 4 ปีที่แล้ว

      Maybe using the other op-amp in the LM358 as a Sellen key filter. Your on right path with this Big B

    • @frankhobsonKJ4CDM
      @frankhobsonKJ4CDM 4 ปีที่แล้ว

      I would have liked to have seen him use the lm856 instead. On the audio I couldn’t help but think the microphone could be some of the problem.

  • @joopterwijn
    @joopterwijn 4 ปีที่แล้ว

    You can not win them all, but no failure here, you learned and gained experience!

  • @roshananil614
    @roshananil614 4 ปีที่แล้ว

    I wanted this.....was trying myself and now I see this video..... thanks Scott

  • @robjal
    @robjal 4 ปีที่แล้ว +7

    Correct me if I am wrong but you encode it from analog to digital with an ADC and you decode it using PWM? Should you not decode it using a DAC? The sample frequency should be twice the maximum frequency and in case of voice a sample frequency of 10 kHz is more than sufficient.

    • @danuuu101
      @danuuu101 4 ปีที่แล้ว +1

      Exactly what I was thinking I don't understand how PWM generate the required analog audio signal and why not use DAC

    • @notatoyotacamry195
      @notatoyotacamry195 4 ปีที่แล้ว +1

      @@danuuu101 Variable duty cycle that's tied to the ADC value. You'll get an audio signal after you apply an LC low pass filter. Look up sinusoidal PWM or PWM DACs. I think GreatScott did a video on those, actually.

  • @shivasisdash7343
    @shivasisdash7343 4 ปีที่แล้ว +13

    yees this is why he is GreatScott value for name and namste from India😘😘🙏🙏

  • @maulanayusuf5486
    @maulanayusuf5486 4 ปีที่แล้ว

    THIS IS A GREAT WORK, I will wait for the improvement of this work

  • @srinivasraor770
    @srinivasraor770 4 ปีที่แล้ว

    that's all right scoot with the quality of audio for the first time,hope waiting for another video with good audio wireless project

  • @power-max
    @power-max 4 ปีที่แล้ว +5

    Why would you use an arduino for this project? This is a perfect thing to experiment with analog electronics and modulation techniques. Build an FM bug transmitter but tune it to an ISM band like CB radio.

    • @RadOo
      @RadOo 4 ปีที่แล้ว

      I wouldn't use FM for this

  • @philipkunkler6341
    @philipkunkler6341 4 ปีที่แล้ว +3

    Hey
    Could you make a video on how to build an 230v dc to 230v ac pure sinewave inverter?

    • @angeljurado7941
      @angeljurado7941 4 ปีที่แล้ว +1

      That is a lot power. Electrical safety should be the first priority. Be careful. However, if you want to do something similar. You need an IGBT H-bridge configuration. Transfer DC to AC. The modulation will be SPWM. That show the same parameters of sine wave. Important: dead time between IGBT switch. You need to implement diferent reference voltage to IGBT. Finally, you need to desing the protection systems. If you are more interesting the 3 phase speed control motors do that, but you can do that for monophase.

  • @vagnerfischer9107
    @vagnerfischer9107 4 ปีที่แล้ว

    Nice honesty from Scott , lol !

  • @mytendo3477
    @mytendo3477 4 ปีที่แล้ว

    You can use the BT-S2. It also is a motorcycle communication device but it only costs 30 Euros and works fine as well. Nice Video, as always. Greetings from Germany

  • @chaitanyagoswami2393
    @chaitanyagoswami2393 4 ปีที่แล้ว +7

    I think that analog transmission will be much better than digital transmission for walkie talkies. Since audio quality will also be much better. What do you think ? Tell me if I'm wrong...

  • @dtesta
    @dtesta 4 ปีที่แล้ว +17

    This seems unnecessarily complicated. Why not just use an esp8266 and espnow? Cheaper, easier and less components.

    • @maycodes
      @maycodes 4 ปีที่แล้ว

      Esp8266 range is low

  • @SkjoyBd
    @SkjoyBd 4 ปีที่แล้ว

    Appreciate your hardwork. Informative explanation.

  • @benmaynard3059
    @benmaynard3059 4 ปีที่แล้ว

    pretty bloody keen to do this project ! cool stuff mate

  • @kowkaybin
    @kowkaybin 4 ปีที่แล้ว +7

    Yo, don’t just hook up raw PWN signal to your speakers.

  • @malgailany
    @malgailany 4 ปีที่แล้ว +6

    I can't believe you went to order the PCBs and parts after the breadboard prototype was a fail.

    • @etienne3838
      @etienne3838 ปีที่แล้ว

      It was the sponsor of the video. And honestly PCBs are like a couple of euros (even at that timr already) so no big deal..

  • @shaileshshukla3610
    @shaileshshukla3610 4 ปีที่แล้ว +1

    Definitely would love to see the next practical version to stream audio.

  • @jqmabuti3043
    @jqmabuti3043 4 ปีที่แล้ว

    This is what I’ve been waiting for!!

  • @acynder1
    @acynder1 4 ปีที่แล้ว +3

    Warning, any comunication device that uses headphones or equivalents are ilegal to be used while driving on Spain's territory.

  • @baldbadger7644
    @baldbadger7644 4 ปีที่แล้ว +16

    so why not pure analog circuit... Arduino is kind of overkill

    • @pascha4527
      @pascha4527 4 ปีที่แล้ว +1

      its a little bit harder to do bi directionnal walkie talkie in analog tho.

    • @mmmhorsesteaks
      @mmmhorsesteaks 4 ปีที่แล้ว +4

      @@pascha4527 plenty of 27Mhz analog walkie talkie circuits floating around on-line. Doesn't seem to be rocket science :-)

    • @100ksubscriberwithnovideos8
      @100ksubscriberwithnovideos8 4 ปีที่แล้ว

      Too many engineers here....wrong place for me😂😂😂

    • @MultiSigen
      @MultiSigen 4 ปีที่แล้ว

      I was wondering the same thing, that’s why I was reading the comments to see if anybody else thought that.

  • @sundhaug92
    @sundhaug92 4 ปีที่แล้ว

    Some testing I'd suggest:
    Make the microphone-side send samples directly to a PC (say over high-speed serial) to check the quality of the recording
    Make the receiving-side send samples directly to a PC to check the quality post transmission

  • @coffeediction
    @coffeediction 4 ปีที่แล้ว

    Great to see you still release failure videos, just to show that its actually not that simple and youre not PerfectScott!, youre GreatScott! :)

  • @donpalmera
    @donpalmera 4 ปีที่แล้ว +4

    I find it interesting that all the people shilling for JLCPCB mention the $2 PCB and not the $10+ shipping cost.

    • @erksampat9328
      @erksampat9328 4 ปีที่แล้ว +2

      It's still much cheaper than other manufacturers

    • @erksampat9328
      @erksampat9328 4 ปีที่แล้ว +2

      ​@Pilot16H It's more like $18 for 5 boards but still $3.60 per board is a great deal. Also that price is the same for sizes up to 10x10cm.

    • @lazar2175
      @lazar2175 4 ปีที่แล้ว +1

      Isn't the first order free shipping?
      I never ordered off of them, but i don't see it as a big problem if it is free shiping for first order, just make new accounts.

    • @UpcycleElectronics
      @UpcycleElectronics 4 ปีที่แล้ว +1

      @@lazar2175
      You'd need to move a lot, as I'm sure they track the shipping address.
      ...
      I think the free shipping bit has changed. All the shill plugs have not mentioned this in awhile.
      I screw up too much for these services anyways. I'd hate to design, wait 2 weeks, then get stuck with 5 junk boards, redesign, wait 2 weeks....
      I can etch a small single sided simple layout in 1-2 hours with toner transfer without standing up or leaving my bench. I can do a large double sided photoresist, with soldermask, and an aluminum can solder paste stencil in a day even as a partially disabled gimp.
      Heck, a manhattan style prototype or waterproof marker design is even faster. If all that is too much, I'll just use a razor blade and have a small board in 15 min.
      I don't generally like subscription services, but perhaps they could come up with something cheap that makes sense? I wouldn't mind an ultra striped down option for prototyping. If I could order a special one-off single board prototype to do iterative designs reasonably quickly and seamlessly, then order a general production version of 5-10 like once a month, or two, or even quarterly, I might consider it. I mean I don't care about soldermask, silkscreen, tinning, and I'd even give up through hole plating, for basic prototypes. That's how I design anyways already. If they had a service that was really cheap, somewhat flexible, and just sent me some cool basic designs, or useful generic SMD breakouts because I didn't order the full subscription boards allotment I might consider it.
      If it were possible to easily order prototypes or small production runs where I could get one or two BGA or QFN chips attached without hassles or coordinating with multiple parties, they could persuade me much more easily. Heck even attaching a TQFP with more than 64 pins can be a pain at times. I usually need to have 3 chips per board just in case I need them if it's a new design. I don't even have a BGA setup yet. That's probably the only way they could get me to sign on and really use the service.
      This cost per board thing is a funny concept compared to DIY. My entire dual style etching setup was less than a bill, including the 10x pack of single sided A4 sized CEM-1 from ABCfab. I still have 2 sheets of that laying around in addition to all the other stuff I've collected. My cost per board is just time. I wouldn't even carry the pocket change equivalent and call it money. ...and I believe the OP mocked me for my lack of BGA experience in the past, so I don't think I'm alone here :-)
      -Jake

    • @lazar2175
      @lazar2175 4 ปีที่แล้ว +1

      @@UpcycleElectronics Quite obviously it is superior to make your own, in fact i've never ordered off of JLC because my country has quite insane customs so it would take well over 60 days for me to recieve the boards.
      I either "borrow" large pieces of unetched boards off of my work, or i order it through AliEx, they are 5 pieces of A4 size for 2€.
      I also can't get FeCl3 so i have to use HCl and add 17% H2O2 to make my etchant.
      I don't own a laser printer so i have to go to the city and have someone print it for me, mostly losing time.
      But i can make boards for about 0.30€ per board without soldermask and other shenenigans.
      For smaller projects i still use the stripboard, and for projects that require traces smaller than 0.2mm i order it locally.

  • @SuperHddf
    @SuperHddf 4 ปีที่แล้ว +3

    Obviously PWM "audio" is a bad idea...
    But nice vid as always

  • @drakedorosh9332
    @drakedorosh9332 4 ปีที่แล้ว

    Michael Ossmann:Simple RF Circuit Design at the 2015 Hackaday Conference is a good watch. He recommends what you said at the end like using dedicated chips and FPGAS but I still think that the arduino must be capable of better. I liked some of the comments suggesting adding a capacitor. Ground plane and layering of the components is the thing I remember from the talk above. So the noise of the processor is behind a grounded barrier and only the signal pokes through. ESP32 with bluetooth would be a great project too. It is still programmable in the Arduino IDE. Using an ESP32 with bluetooth may also make you legal with whatever radio rules you might run against. I am pretending to be smarter than I really am as actually designing this is way about my skill level. I like how you designed everything from the ground up. I enjoyed it very much.

  • @MarionMakarewicz
    @MarionMakarewicz 4 ปีที่แล้ว

    Great demo project. Sound in its workflow. I am sure that further reflection with some assistance of the hive mind can turn it into perfection. As a demonstration of how to make a complete project with PCBs, this is amazing. Just getting the circuit and components and software dialed in. Looking to see what you might come up with. Wonder how it will all balance out with a buy or make yourself.

  • @tzq33tdq
    @tzq33tdq 4 ปีที่แล้ว +1

    I think this is the earliest I've managed to catch a video from you..

  • @Tom-qs6bw
    @Tom-qs6bw 4 ปีที่แล้ว

    One of the best videos , as always.

  • @zvpunry1971
    @zvpunry1971 4 ปีที่แล้ว

    PMR446 walkie-talkies are relatively cheap and have a relatively long range. If they have a microphone/headphone/ptt connector, they are easily usable for group rides. Another big advantage is, they don't use proprietary protocols to lock out other vendors (no vendor lock in).

  • @MrAlFuture
    @MrAlFuture 4 ปีที่แล้ว +1

    Thanks for a very interesting video. An anti-aliasing filter on the audio input to cut everything above the nyquist frequency and a LPF on the analogue out before the speaker would help a lot i think.

  • @adaoramalhomoura3228
    @adaoramalhomoura3228 4 ปีที่แล้ว

    Excellent. Waiting for the next video here.

  • @robertgast5953
    @robertgast5953 4 ปีที่แล้ว

    If you are interested in looking in to it, in the ham radio community there have been voice over digital protocols written like free dv that only use 1600hz or so of bandwidth, while the nrf2401 uses a whoppin 1mhz, your walkies can send audio with good quality leaving enough to spare for gps data, heart rate, tire pressure and whatever else! Although im sure the port to an arduino may not be to simple if even possible

  • @ottotater2787
    @ottotater2787 3 ปีที่แล้ว

    But you showed us the result and you explained about the result and you also mentioned dedicated audio streaming ICs so I enjoyed the video of very much thank you for the information

  • @MuhammadAbdullah-cj6nx
    @MuhammadAbdullah-cj6nx 3 ปีที่แล้ว

    your vidoes are very well made and very detailed as well

  • @ryanhillier8190
    @ryanhillier8190 4 ปีที่แล้ว

    Hey Scott, please revist this topic in the future!

  • @djmikolajczak
    @djmikolajczak 4 ปีที่แล้ว +2

    Yes please do one with a proper audio chip. I've been looking for months for a good tutorial on 2 way real time audio communications but haven't found squat.

  • @MrB33keeper
    @MrB33keeper 4 ปีที่แล้ว

    I liked your video, especially the end.

  • @MrAndyloz
    @MrAndyloz 4 ปีที่แล้ว

    Worth a like because you put a fail vid up and we learned something

  • @sammycardoso2244
    @sammycardoso2244 4 ปีที่แล้ว

    Love your VIDS I'm a future mechanical engineer and learned my skill from watching people like you build things.i was also hoping if you can maybe build a fm radio jammer for fun with parts list.cuz I have loud neighbors with their car stereos blasting and we could hear then exactly 30 feet away

  • @TheRainHarvester
    @TheRainHarvester 4 ปีที่แล้ว

    Cool. I've been wanting to make a hearing aid system using nrf. Only one-way audio necessary. Now I know!

  • @uebertreiberman
    @uebertreiberman 4 ปีที่แล้ว

    Still better quality than I get with my mobile phone lately though :P

  • @BStreet666
    @BStreet666 4 ปีที่แล้ว

    I can’t speak for everyone but I do appreciate the videos that turn out to be failures.