For Josh: How to program your FIRST microcontroller with ease!

Sdílet
Vložit
  • čas přidán 14. 07. 2024
  • How to program an ESP32 microcontroller from scratch, with all steps included. For my book on ASD, check out amzn.to/3Q0wKKb
    The M5 Stick C Plus on Amazon: amzn.to/43vIQ0O
    The board manager URL that I used was:
    espressif.github.io/arduino-e...
  • Věda a technologie

Komentáře • 190

  • @elisha9876
    @elisha9876 Před rokem +352

    Josh is my little brother and this video means the world not only to Josh but to our entire family! Even our 80 year old grandma who can barely work her iPhone knows about you and your videos as you are so important to Josh. You have been so inspirational to Josh and so many others with ASD, and for that I truly thank you.

    • @DavesGarage
      @DavesGarage  Před rokem +44

      Thanks! Glad to hear he's seen it! Hope it was a cool surprise when he saw the title :-). The M5 should go out today so should be there in a week, I expect!

    • @epicethereallord2977
      @epicethereallord2977 Před rokem +32

      ⁠​⁠​@DavesGarage Hi Dave, thank you so much for sending the M5 and for the super cool surprise. This video means a lot to my whole family! I loved watching the video! I’m looking forward to seeing more of your videos and to code a thank you letter on the M5. Lastly, I’m looking forward to trying to code this using the visual studio code platformIO extension because that is my goal.
      Thank you so much Dave, Josh.

    • @teunisvaandering3103
      @teunisvaandering3103 Před rokem +7

      @@epicethereallord2977 Enjoy your gift from Dave's garage, programming it with your imagination will make magical things happen. Thanks @DavesGarage, we need more of those inspiring videos and stories on this world. Thumbs up!

    • @epicethereallord2977
      @epicethereallord2977 Před rokem +4

      @@teunisvaandering3103 thanks for your kind words

    • @masternobody1896
      @masternobody1896 Před rokem +1

      @@DavesGarage epic video thanks. bro you should play empire earth

  • @JCWren
    @JCWren Před rokem +98

    I'm impressed that a modern 8 (or 10) year old is willing to hand write and mail a letter. I'm less impressed that the Arduino IDE programmers appear to never have heard of a sort function.

    • @ThePC007
      @ThePC007 Před rokem +3

      If you mean that the Arduino framework doesn’t come with a sort function - well, that’s on the Arduino framework developers, not on the IDE developers, if anything.
      The ESP32 does support C++ vectors, though, which already come with a built-in sort function, so I’m not sure why you’d need an Arduino-specific one in the first place.

    • @JCWren
      @JCWren Před rokem +19

      @@ThePC007 No, I meant exactly what I said. Why in Dog's name would the board list NOT be sorted? With 100+ boards in the list, having to read each and every name trying to find the one you want because they're not in a sorted list is insane.

    • @ThePC007
      @ThePC007 Před rokem +4

      @@JCWren Ah, makes sense, yeah.

    • @criptych
      @criptych Před 11 měsíci +2

      At least as of 2.1.0, it looks like the board list is now sorted by default.

  • @amcluesent
    @amcluesent Před rokem +28

    Blinking an LED is a right-of-passage for real coders. Around 1985 I was coding real-time controls systems on 68000 and we blinked two LEDs to show the kernel hadn't locked-up

    • @DavesGarage
      @DavesGarage  Před rokem +10

      My PDP-11 has a cool KnightRider style display it makes by blinking the address LEDs to show how busy the CPU is. I love daskblinkenlights.

    • @joelstyer5792
      @joelstyer5792 Před rokem

      It certainly is. Forst thing I did on my home bult and designed 8080A "system" in the 70s. Every product and project I design has a heartbeat LED. I can't even count the times it helped catch an issue. For the small cost (about 1 cent in parts for the resistor and LED, it is worth it.

  • @grahambourne1
    @grahambourne1 Před rokem +27

    You are a good man Dave. I will try and keep this short but have a bit too say.
    I am 47 years old with a successful electronic security industry background of 20 years. I have struggled all my life with feeling different, frustrated etc.
    Recently diagnosed with ASD2 (old Asperger's) and ADHD. I have always loved electronics and learning.
    I love your channel and think it is important that people like yourself who are so successful show all the young people like josh that ASD is a super power!.
    It has its moments but gives us a drive and skill set that is invaluable.
    To Josh,
    If you like electronics and Micro controller's I have been watching a CZcams channel by Top Tech Boy for years. his lessons can be long but start with blinking an LED on an Arduino to very advanced programing of high powered Jetson Nanos that use AI and neural networks to recognse objects.
    The world is your play ground josh. Have fun!
    (Sorry Dave to advertise another channel 😇)

    • @DavesGarage
      @DavesGarage  Před rokem +21

      I found being diagnosed to be really valuable because suddenly I was able to look at myself through the lens of what's typical with ASD, and then see "Oh yeah, I guess I do do that..." and I think I've become a much better person since understanding. Or easier to get along with and live with, anyway! And yet at the same time while I'm more aware of certain shortcomings, I don't feel bad about them or view them as defects, just ways in which I'm different from most. But there are millions of people are are different just like me!

    • @grahambourne1
      @grahambourne1 Před rokem +4

      @@DavesGarage I bought your book last night and started to read it. Its really good..

  • @thebeeamberheardsdogsteppe6368

    I love how Dave cares about his Viewers

  • @cherrymountains72
    @cherrymountains72 Před rokem +13

    You're a good man, Dave. Thank you.

  • @novamaster0
    @novamaster0 Před rokem +2

    As someone else who also is named Josh, I appreciated the personal attention in this video....now I'm 33 not an 8 year old and have never written Dave a letter....but man I felt valuable for a few moments here :D

  • @RFLTools
    @RFLTools Před rokem +38

    I recall when my son was about Josh's age (22 now) he was showing interest electronics. Raspberry Pi was new on the scene and I thought about going that route but wanted to be a little more basic - I had recently discovered Arduino and thought this would be much better to learn as a start. I got him a breadboard and access to my stash of basic components.
    One night I heard him awake far after his bed time so I went in to check up on him (and give him crap for being up so late on a school night). I went in and he was messing with the Arduino - he looked up and asked "Dad, why are the LEDs burning out?"... So much for giving him crap - spent the next hour explaining a bit of basic electronics and why the need and how to calculate a resistor in the mix.

    • @sandwich5344
      @sandwich5344 Před rokem +5

      Not quite that late at night kinda guy, but the same way how i - now 22 years old
      Ended up as one of the few engineers that ate the electrical glue!
      My work is much different from setting pin 13 to HIGH though ;)

    • @DavesGarage
      @DavesGarage  Před rokem +11

      One of my favorite memories was tinkering in the shop with my own boys when they were that age. We had a small motorcycle battery and we were lighting up 12V lamps and so on when the youngest accidentally/curiosly touched the wire to the negative post. It instantly welded in place, and started to glow red hot, smoking the insultation off the entire wire in a big cloud. I pulled him back from it in case he tried to grab it (or in case the battery failed), and the wire soon burned through and it was over.
      Gave them all real respect for short circuits!

    • @RFLTools
      @RFLTools Před rokem +3

      @@DavesGarage I'm guessing that most of the people watching our channel have similar experiences - someone in their lives that sparked interests.
      Mine was my grandfather (my mom was a single mom through my early years - I think I'm about your age). My grand parents were dirt poor with no education, but my grandfather really encouraged my inquisitive mind. One of my earliest memories was asking him "what does popcorn look like when it pops?" - back in those days you used a super big soup pot on the stove with corn and oil, I pulled up a stool (I was 4 I believe) and we both watched the pot with no lid. Then the corn started popping we must have looked ridiculous trying to get the lid on just as my grandmother walked into the kitchen.

    • @thecomputerguy777
      @thecomputerguy777 Před rokem +3

      @@RFLToolsI bet your grandmother remembered you two doing that and got a laugh out of it. I was always asking my grandpa things like that, and it was great to have someone in my life who was so willing to be patient and explain so well.

  • @epicethereallord2977
    @epicethereallord2977 Před rokem +3

    Thank you so so much for the video. It means a lot. I am the Josh who visited your house. FYI my age is actually 13

  • @NeverlandSystemZor
    @NeverlandSystemZor Před rokem +6

    I love that you did this for Josh and helping inspire and teach the next generation of coders!

  • @thevideoman12
    @thevideoman12 Před rokem +27

    Thank you Dave, I would have loved all these cool mikrocontrollers and IDEs when I was a child. I am on the spectrum as well and chips and code have been closer friends to me than some people have. Thank you for helping those kids that really have a passion for what they are doing. You are an inspiration.

    • @DavesGarage
      @DavesGarage  Před rokem +5

      Thanks! Although I never had a real knack for it like some kids do, I had the Radio Shack 150-in-1 electronics kit and had a ton of fun with that!

    • @thecomputerguy777
      @thecomputerguy777 Před rokem

      @DavesGarage Those RadioShack kits were great to learn and tinker with as a kid. I’m probably on the spectrum myself but never officially been tested, but as @thevideoman12 said, electronics and all were there for me when others gave me a rough time. Arduinos and raspberry pi’s seem to be the “new generation” of those kits we used a decade or so ago.

    • @paulomigueldias1111
      @paulomigueldias1111 Před rokem

      @@thecomputerguy777 those kits where 4 decades ago...

  • @casperes0912
    @casperes0912 Před rokem +6

    Josh, if you read this, you’re awesome. You’ll achieve cool things if you keep this up.
    Nice of you to make this video Dave

  • @jaap7374
    @jaap7374 Před rokem +5

    Hi Josh,
    Thank you for asking your questions and giving us a nice video ❤

  • @ansiviewer
    @ansiviewer Před rokem +1

    Dave, you are an OUTSTANDING American! With style, you have made Josh better, and all who know you will feel proud to be your friend!

    • @GHHodges
      @GHHodges Před rokem

      We’re pretty proud of Dave’s Canadian roots and will always claim him another as one of our great exports to the good ol’ USA! 🇨🇦

  • @-validites-
    @-validites- Před 11 měsíci

    As a person with ASD and an addiction to computers, this video was very entertaining!

  • @anon_y_mousse
    @anon_y_mousse Před rokem

    That is a cool gift. I wish I could get any of my nieces or nephews interested in programming. I don't know if any of your kids are into computers, but I sure hope they are.

  • @joopterwijn
    @joopterwijn Před rokem +4

    Dave, the like 👍 is in this instance for Josh and you! And Josh, super that you stick to it! Remember, you learn more from researching and fixing your errors than from copying. Coping is a nice start, but research give you a wider view of possible solution, there are always more then one!

  • @morekaccino
    @morekaccino Před rokem +1

    this is so freaking sweet! thanks for doing it for ma man Josh

  • @Pizza4eversf
    @Pizza4eversf Před rokem +8

    Very nice person to show this. And good luck for Josh. May the Force of the Pizza be with you both.

  • @XxXaRvoxXx
    @XxXaRvoxXx Před rokem +1

    Just brilliant! :D i think this is a great pilot for a whole series of tutorials that practically anyone can grasp! ;)

  • @PonderingJosh
    @PonderingJosh Před rokem +1

    Seeing successful professionals with ASD is an inspiration to those of us with it, thank you so much for content like this!

  • @ocpud2999
    @ocpud2999 Před 11 měsíci

    My first experience with microcontroller programming was with the 8051 in assenbly . My dad was a professor and taught me. It's fun stuff

  • @hessex1899
    @hessex1899 Před rokem +6

    Go Josh! You'll be writing exploits for Windows in no time. :)

  • @sparthir
    @sparthir Před rokem +2

    I love this. A series that introduces a topic from basic principles to get people started is super important.

  • @Steph.98114
    @Steph.98114 Před rokem

    The esp32 has quickly become my favourite Arduino replacement.

  • @rogerp5816
    @rogerp5816 Před rokem +7

    Thanks Dave, I think this level of explanation is very helpful to many of us.

  • @ulisesgonzalezhorta7197

    It IS VERY nice from you to inspire the young generations to learn something new, whether is to code, to build something with a hammer, or to connect an outlet. I want to thank you for this video, each time I can I do the same, I think it is very important for the future!

  • @heisenberg4249
    @heisenberg4249 Před rokem

    Just started working with the Doit Devkit1 a couple days ago and Dave uploads this, excellent timing

  • @SimonWahlin
    @SimonWahlin Před 11 měsíci

    Great video! I would love a continuing series.

  • @corewarrior
    @corewarrior Před 11 měsíci

    Definitely going to be looking into the M5. Thanks for helping the curious 8 year old too! So many people don't want to take the time to help. The flames of curiosity should always be fueled!

  • @jacoblf
    @jacoblf Před rokem

    Where the LOL imoji. loved the entire presentation. Laughing and chuckling throughout. Thanks Dave.!

  • @user-jm8ho2hy8g
    @user-jm8ho2hy8g Před rokem

    Awesome video. Love that you took the time for this.

  • @KwanLowe
    @KwanLowe Před rokem

    What a heartwarming video and story. I remember having a local mentor when I was a kid in the 80s. He'd worked at Gould in S. Florida and introduced me to programming. This channel reminds me of those days spent learning how to solder and write my first program (it printed ASCII triangles and squares).

  • @Vampirat3
    @Vampirat3 Před rokem

    Dave , you are kust awesome , and a great example for us all to follow. Well done.

  • @SoulcatcherLucario
    @SoulcatcherLucario Před rokem

    you're an amazing person, dave. you are a modern inspiration to people in our situation

  • @joshismyhandle
    @joshismyhandle Před 11 měsíci

    Thanks Dave, great stuff.

  • @konradkubit6525
    @konradkubit6525 Před rokem

    Nice Job Dave I remember being about 8 when I got interested in computers and what makes them tick .
    Nice job Thank you

  • @Badsniperarmy
    @Badsniperarmy Před rokem

    Thank you for this!! I've been looking for this!!

  • @djlalorocks
    @djlalorocks Před rokem

    Awesome step by step!

  • @philsbbs
    @philsbbs Před rokem

    great support and great video.

  • @ceuabara159
    @ceuabara159 Před rokem

    Good man Dave. Thanks for that.

  • @casperghst42
    @casperghst42 Před rokem +1

    Both informative and entertaining. Thanks.

  • @GingerJohnnyOR
    @GingerJohnnyOR Před rokem

    time for me to show this to my 9yo grandson! You are a beautiful person Dave! Thanks

  • @govcorpwatch
    @govcorpwatch Před rokem +2

    Did anyone else notice the "My Social Battery" pin Dave has on his shirt? nice. Great idea!

    • @KegRaider
      @KegRaider Před rokem +1

      I saw it, but had no idea what it was. Gonna go looking for my son now! Seems like a great idea.

    • @govcorpwatch
      @govcorpwatch Před rokem

      @@KegRaider It looks like it has a slide-able "energy" indicator.

  • @wxfreak
    @wxfreak Před rokem

    Thanks for making a video for Josh. That's a nice thing to do 👍.

  • @stevegelnett4469
    @stevegelnett4469 Před rokem

    This is a great idea.
    I dig it.

  • @smartups1
    @smartups1 Před 11 měsíci

    One thing how cool is you modify windows according to your needs . Awesome . ❤

  • @roblatour3511
    @roblatour3511 Před rokem

    Well done Dave!

  • @unrealminigolf4015
    @unrealminigolf4015 Před rokem

    Thank you Josh. 🙏🏼 ❤

  • @3Dgifts
    @3Dgifts Před rokem

    Awesome and inspiring!

  • @spasm
    @spasm Před rokem

    my favorite channel ever

  • @tenktorypisze
    @tenktorypisze Před rokem

    Just when i bought few of them for DIY projects :) Thank You.

  • @viperjay1
    @viperjay1 Před rokem +1

    Thanks Dave and Josh!

  • @COMATRON.
    @COMATRON. Před rokem

    finally a video that even i can follow. 43yo german dude here :D nice video dave!

  • @HBrooks
    @HBrooks Před rokem

    culture the young in tech, they can learn faster than adults and will end up being the key to our future. thanks again for your videos!

  • @jaredlozano1692
    @jaredlozano1692 Před rokem

    Great video, just found the tiki fire umbrella series and got inspired to try, would love more videos on the subject

  • @ike45mc
    @ike45mc Před rokem

    Have fun Josh!

  • @guatagel2454
    @guatagel2454 Před rokem

    That Arduino thing is addictive. I have esps all over my house, measuring sensors and turning things on and off.

  • @RufusVidS
    @RufusVidS Před rokem +7

    Succinct yet comprehensive. I'd love to see, as other's have suggested, you do a video on "upgrading" from Arduino IDE to VSCode/PlatformIO. Same target, mostly the same application code, to show what Arduino hides and what professional programmers have to "deal with" regularly wrt libraries, linking, c startup code, etc.

    • @Renegade605
      @Renegade605 Před rokem +3

      When I first started trying out advanced stuff with Arduino I found the default setup to be running me into a wall quite quickly.
      Luckily, although the Arduino IDE abstracts much of the advanced compile time tasks, they keep very good documentation of what it's doing and why.
      Switching over to manually handling library imports and writing my own libraries was quite trivial with that information. I even leveraged what the Arduino IDE is doing with .ino files in a non standard way to make one project be able to upload to multiple different boards with similar but different code in only a few clicks, without maintaining multiple copies of the code base.
      It's a pretty cool platform for beginners and advanced programmers alike.

    • @ThePC007
      @ThePC007 Před rokem +3

      “deal with”, haha. I find PlatformIO to be much more user-friendly than the Arduino IDE. No messing around with additional board manager URLs, a very user-friendly library manager which even lets you define installed libraries in the platformio.ini file (I don’t think the Arduino IDE has an equivalent to that), and it even allows you to compile and run code on your PC, which is amazing for unit-testing purposes. I’ve never had to deal with linking or c startup code. You can just choose the Arduino framework as your framework of choice and you’re golden.
      Not to mention you get to use a “real” text editor.

    • @Renegade605
      @Renegade605 Před rokem +2

      @@ThePC007 real time debugging is definitely something that Arduino lacks and is tough.
      That said, I learned a *ton* about memory management when debugging data structs by dumping the raw stack/heap to serial and figuring it out myself. xD

  • @johnbryant9079
    @johnbryant9079 Před rokem +1

    Sir, you are a legend!

  • @ScottPlude
    @ScottPlude Před rokem

    Way to go Josh! We hope you enjoy the video!

  • @gazzacroy
    @gazzacroy Před rokem

    bless him :) a good place to start your in good hands here :) good luck

  • @UndiagnosedGenXer
    @UndiagnosedGenXer Před rokem

    Outstanding!

  • @OldePhart
    @OldePhart Před rokem

    Love that badge you are wearing. If you watched the latest Westworld series there was a big guy in it that wore a shirt that reflected his mood in words, Anxious, Excited, angry etc. That would be such a timesaver :)

  • @ophawku
    @ophawku Před rokem

    Dave, Very Cool.
    Good programming, Josh.
    Catch you, next time. Dale

  • @paulomigueldias1111
    @paulomigueldias1111 Před rokem

    I think It's wonderful that you can help this kid and all of us. When I started coding I was 11 and I had a computer club at school with a Pet and an Apple 2. My first computer was a ZX 81 and when I started asking questions at the computer shop some guys saves a tape with an assembler program and I learned how to make fast code with the Z80 CPU. 1981, no internet but I was lucky in having older people helping me learn how to code. I later had a 32 Kb RAM expansion and I had to sell everything to buy the ZX Spectrum. Again a friend of my father gave me a BBC model B and I was amazed with it, it is my favorite machine of all time, I learned how to connect the computer with external hardware and finally understood the "Computer controlled" sentence I heard a lot in the news. (how does the computer control whatever ... ?. Nowadays I am an avid micro controller programmer and I find wonderful what I can make using IO to control my electronics. If it wasn't for guys like you I would never had learned how to code. Thank you. Keep up the good work.

  • @godfreypoon5148
    @godfreypoon5148 Před rokem

    0:33 Josh clearly knows where it's at.

  • @epicethereallord2977
    @epicethereallord2977 Před rokem +1

    Hey, thanks! I use C++ mainly

  • @TheSilent333
    @TheSilent333 Před rokem

    Good luck, Josh!

  • @rodneysmith1750
    @rodneysmith1750 Před rokem

    Good luck and best wishes Josh, don't loop forever...

  • @muddyexport5639
    @muddyexport5639 Před rokem

    Good job! Thanks!

  • @buleini
    @buleini Před rokem

    Thanks Josh!

  • @jdlives8992
    @jdlives8992 Před rokem

    rock on dude!

  • @scottcopus
    @scottcopus Před rokem

    Tip: Make sure your USB cable supports DATA and that it's not just a POWER cable. When I first got into microcontrollers I stumbled into this pitfall a few times. I even started labeling my cables with a "P" or "D" so I know which is which, lol.

  • @Jamesninja99
    @Jamesninja99 Před rokem +1

    I've never been formally diagnosed, and if I am autistic I'm low on the spectrum, but my friend is a savant, not rainman level but he got a free ride to college for math, we played far too many video games when he should've been studying and I've always wondered if I held him back, in any case I'm considering buying your book for him as a belated birthday gift, the pile of chicken nuggets made me hungry and I like the way you think. Hope you have a good day Sir. Also subbed.

    • @DavesGarage
      @DavesGarage  Před rokem +2

      Does Kirk hold Spock back? Maybe, but in exchange, he teaches Spock a great deal about how "humans" do things, why they do them, how to understand them, and so on. I'm sure the social education of just hanging out was a fair exchange for that!

    • @Jamesninja99
      @Jamesninja99 Před rokem +1

      @@DavesGarage I'd never really thought about it like that as we're both pretty socially awkward, but it heartens me to hear that from you. I only hope we don't end up in a deathmatch like Kirk and Spock did, he's recently used his superpowers to get in shape and would handily kick my ass now lol. Thank you for the kind reply and words of encouragement, I'll continue my endeavor to be the best teacher/student I can be to him.
      P.S. my dad actually does call him Spock in real life and we got a big kick out of your analogy. You've made a lifelong fan outta me.

  • @GHHodges
    @GHHodges Před rokem +1

    “….good luck buddy”. ❤

  • @MASSTERZINGER
    @MASSTERZINGER Před rokem

    You're the best.

  • @guilherme5094
    @guilherme5094 Před rokem

    Really nice👍!

  • @kolobcreek
    @kolobcreek Před rokem +11

    Hey Josh! Check out the Node-MCU builds! You can flash it to the esp8266. Then get the util to upload files. Node-MCU was designed just for you. It is a basic programming language. It is interpreted language which means no compiling or messing around with pointers. Though I'm not a Genious like Dave I have 20yrs of programming experience. And I use it regularly. It's an option. I explore you to learn c and c++. I'm still an novice at C++ and do mostly C#, Java, and nodejs. NODE MCU will get your projects done fast. The Arduino system may be better. Try both. See which one you prefer.

    • @RufusVidS
      @RufusVidS Před rokem

      Got any tutorial links? Presumably this works with the ESP32 family as used in this video?

    • @superslammer
      @superslammer Před rokem

      Do they still make these? I have one and the website on the silkscreen doesn't work.

    • @kolobcreek
      @kolobcreek Před rokem

      @@superslammer not sure what you mean.

    • @superslammer
      @superslammer Před rokem

      @@kolobcreek The website printed on the board doesn't work for me.

  • @DouglasHeyen
    @DouglasHeyen Před rokem +1

    Wow!! Never knew anyone with an 8 ball deluxe pinball. “Quit talking and start chalking”😃. Never forget it. One of my dad and I favorite game we’d play for high score. Also had a marble queen Xeon and a shuffleboard. He had quite the man cave. Its where I learned from apple 2e, 8088-486dx2. Def gave me quite a ton of opportunities learning with all his toys. Great vid!!

    • @DavesGarage
      @DavesGarage  Před rokem +2

      I don't actually have an 8 Ball Deluxe, I just remember it well from the arcades in the 80s/90s! I do have a Black Knight 2000 though, and I hand restored every part. Here's a tip: ramps melt in the dishwasher. But I got it fixed...

    • @jasonrubik
      @jasonrubik Před 11 měsíci

      @@DavesGarage That reminds me of the time that I learned that Lego Technic bricks melt when boiled in water. I had to mockup a false bottom for a brewing mashtun, and for some reason had to the bright idea to clean the parts from my Lego 8865 Test Car by getting them hot on the stove. Then I forgot to turn the fire off, and they were a bad warped mess. Thankfully, BrickLink had replacement parts. Thanks for the awesome content, and for being so inspired by Brian Patmore and the TRS-80 !

  • @An.Individual
    @An.Individual Před rokem

    Nice video.

  • @macdaddyns
    @macdaddyns Před rokem +1

    Nice 8all Deluxe reference!

  • @hepticftw
    @hepticftw Před rokem

    Thanks

  • @PatrioticGestalt
    @PatrioticGestalt Před rokem

    Very timely for me. Thanks. Now, can you do a video of the ESP-IDF way of programming? Please. 😅

  • @joshuamichael1232
    @joshuamichael1232 Před rokem

    Thx m8

  • @kf5tqnkf5tqn36
    @kf5tqnkf5tqn36 Před 11 měsíci

    +1 For a great how-to
    Hey Dave, where'd you get that cool pin from?

  • @franciscovarela7127
    @franciscovarela7127 Před rokem

    Great work...but where were you when I was ten years old? Just kidding, when I was ten AM transistor radios were the hot new tech. Old and retired software developer now and still code for fun. Freaked when I got my hands on neopixel strips.

  • @RhythmAndVoice
    @RhythmAndVoice Před rokem

    👏🏽

  • @solidsteal
    @solidsteal Před rokem

    You're a good egg, Dave.

  • @alliwantedisapepsi1492

    Thanks for helping Josh. BTW, I don't know him. Nice gesture though.

  • @pskry
    @pskry Před rokem

    I recommend platformio!

    • @DavesGarage
      @DavesGarage  Před rokem

      Me too! But for single source file development, the Arduino IDE is a bit simpler. If you need more, PlatformIO is the way to go!

  • @daveruble5150
    @daveruble5150 Před rokem

    oh yeah! My channel! lol

  • @guitart
    @guitart Před rokem

  • @TheKenken2001
    @TheKenken2001 Před rokem

    Josh is so lucky.

  • @mobslicer1529
    @mobslicer1529 Před rokem +1

    i wish arduino ide would allow you to write normal c++ without weird folder structure. i recently had to do some arduino programming for school. i made some pretty neat stuff, such as a morse code program and a robot that could avoid obstacles, but i chose to use some c++ features like structs and header files that arduino ide and the vscode arduino plugin i used don't support in a sane way.

    • @DavesGarage
      @DavesGarage  Před rokem

      If you need more than one source file, I'd strongly suggest moving to PlatformIO. It's really well done, quite simple, and handles larges projects logically and easily.

  • @kyleolson8977
    @kyleolson8977 Před rokem +2

    While the Arduino IDE is easier for basic functions, programmers who get serious will be better off moving to the PlatformIO extension for VS Code. It's more powerful and customizable, and you'll be working in a more real C environment, and you can more easily work with multiple boards and microcontrollers in one project.
    Some older ESP32 boards get a little bit picky when you try to program them and you'll have to hold a button. Also, there are some more basic ESP32 boards (or some of the simpler old ESP8266 boards) that don't have a USB to UART chip so you have a cheap programmer board to upload to them. I even have some with a USB port that don't have this chip, oddly enough.

    • @hayleyxyz
      @hayleyxyz Před rokem

      Yep I use PlatformIO and would highly recommend it. The arduino IDE is fine for blink.cpp, but it's lacking for full projects.
      I've coded for both ESP32 and ESP8266, and I've found 32 far more fickle about the libs you link against - I had to work through a bunch of kernel panics before I found a set that played nice with the board I have. I would've just used 8266 but I needed BLE, so 😅

    • @Smaxx
      @Smaxx Před rokem

      Don't write off the lack of an USB port as a kind of minor inconvenience. Compared to the whole processor, these programmers/USB interfaces can take quite a bit of power on their own. It's certainly not as convenient to work with them, but based on the project you might get way better battery time by doing so.

    • @kyleolson8977
      @kyleolson8977 Před rokem

      @@hayleyxyz While there are some really tiny 8266 devices I like (particularly those too small for a USB/UART chip), I think the advantages of the 32 chips keep getting bigger and bigger. With the wide variety of ESP32 chips available, I think if you're not already invested in the ESP8266, it's best to not get invested.
      And I would argue that if you start targeting only one of the platforms then the lib fickleness isn't so bad. I personally find the 8266 libs to be more likely to be a problem, and I think that's because I'm usually starting from the ESP32.

    • @kyleolson8977
      @kyleolson8977 Před rokem

      ​@@Smaxx I believe the UART is usually cut for the cost.
      A sleeping UART will run under 200ua, while the ESP32 chip will likely be taking 90ma up to 250ma. I'm not saying that's nothing, but on a dev board it is not worth it.
      In the cases that are the most odd the boards are already more expensive and power hungry, which is why I'm surprised.

    • @Smaxx
      @Smaxx Před rokem

      @@kyleolson8977 I think I was once reading about 5V ~50-75mA on USB+UART for some of the combined prototyping boards (that's excluding the ESP32, e.g. when in deep sleep). Obviously depends on how much is connected and how its wired.

  • @Pizza4eversf
    @Pizza4eversf Před 11 měsíci

    Oot question: how about some words on Netmeeting? Or IP stack pieces of SW that WFW3.11 was "using" ? Thanks, great videos. Ciao

  • @andreroy55
    @andreroy55 Před rokem

    It's like The Friendly Giant took up hacking! LOL
    Awesome. I'll call Rusty.

  • @ThePC007
    @ThePC007 Před rokem +2

    If you’re serious about ESP32 development, **please** use something like PlatformIO rather than the Arduino IDE, lol. (It’s actually even easier to set up since you don’t need to mess with the additional board manager URLs.)

    • @DavesGarage
      @DavesGarage  Před rokem +4

      I'd agree, at least as soon as you outgrow everything in a single file. At that point, I think the Arduino IDE makes sense. But you can outgrow it pretty quickly!

    • @epicethereallord2977
      @epicethereallord2977 Před rokem +2

      I’m josh and I really wanted to learn how to do it on platformio

    • @ThePC007
      @ThePC007 Před rokem +2

      @@epicethereallord2977 ​ Wow, it’s cool to see you commenting here. :)
      Unfortunately, CZcams has deleted my comment, so I’ll split it up and post it again.

    • @ThePC007
      @ThePC007 Před rokem +1

      @@epicethereallord2977 Assuming Dave isn’t going to make a video about that, here’s a little run-down of how to install it. Unfortunately, I cannot post any pictures here, but if you google “PlatformIO IDE for VSCode Quickstart” you get a nice guide with pictures in it.
      Either way, you start by installing Visual Studio Code (or VS Code for short). Googling “vscode” will get you right to the download page.

    • @ThePC007
      @ThePC007 Před rokem +2

      @@epicethereallord2977 Afterward, you click on the “Extensions” tab on the sidebar on the left of the VS Code window. It looks a little bit like a square and should read “Extensions” when you mouse over it. That should open a sidebar with a search bar at the top, where you just enter “platformio ide”. You should find an extension with that name. Its icon looks somewhat like an orange alien on top of a white background. Just press the “install” button to install it.
      You should now be able to create a new project. On the left side of your VS Code window, there should now be a “PlatformIO” tab, which looks like an alien. Click it, choose “PIO Home” → “Projects & Configuration” and then “Create New Project” in the top-right corner of the screen. Be sure to set the Board to “M5Stick-C (M5Stack)” and leave the Framework at Arduino.

  • @ezrakoper
    @ezrakoper Před 2 měsíci

    Hello Dave.
    On one of your videos you covered how you do pcb layout and order it assbeled. I can't find it with all the videos available. Can you please comment back where I can find it or even better make a dedicated video just on this matter (from esp32/Arduino evb to my own HW already assembled on my ocb layout) thanks