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

Поделиться
HTML-код
  • Опубликовано: 21 июл 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...
  • НаукаНаука

Комментарии • 191

  • @elisha9876
    @elisha9876 Год назад +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  Год назад +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 Год назад +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 Год назад +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 Год назад +4

      @@teunisvaandering3103 thanks for your kind words

    • @masternobody1896
      @masternobody1896 Год назад +1

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

  • @JCWren
    @JCWren Год назад +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 Год назад +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 Год назад +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 Год назад +4

      @@JCWren Ah, makes sense, yeah.

    • @criptych
      @criptych Год назад +2

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

  • @amcluesent
    @amcluesent Год назад +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  Год назад +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 Год назад

      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.

  • @cherrymountains72
    @cherrymountains72 Год назад +13

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

  • @grahambourne1
    @grahambourne1 Год назад +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 RUclips 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  Год назад +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 Год назад +4

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

  • @RFLTools
    @RFLTools Год назад +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 Год назад +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  Год назад +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 Год назад +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 Год назад +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.

  • @NeverlandSystemZor
    @NeverlandSystemZor Год назад +6

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

  • @epicethereallord2977
    @epicethereallord2977 Год назад +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

  • @thebeeamberheardsdogsteppe6368
    @thebeeamberheardsdogsteppe6368 Год назад +3

    I love how Dave cares about his Viewers

  • @novamaster0
    @novamaster0 Год назад +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

  • @thevideoman12
    @thevideoman12 Год назад +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  Год назад +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 Год назад

      @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 Год назад

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

  • @casperes0912
    @casperes0912 Год назад +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 Год назад +5

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

  • @Pizza4eversf
    @Pizza4eversf Год назад +8

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

  • @ansiviewer
    @ansiviewer Год назад +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 Год назад

      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! 🇨🇦

  • @sparthir
    @sparthir Год назад +2

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

  • @joopterwijn
    @joopterwijn Год назад +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!

  • @PonderingJosh
    @PonderingJosh Год назад +1

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

  • @XxXaRvoxXx
    @XxXaRvoxXx Год назад +1

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

  • @rogerp5816
    @rogerp5816 Год назад +7

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

  • @anon_y_mousse
    @anon_y_mousse Год назад

    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.

  • @SimonWahlin
    @SimonWahlin 11 месяцев назад

    Great video! I would love a continuing series.

  • @morekaccino
    @morekaccino Год назад +1

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

  • @KwanLowe
    @KwanLowe Год назад

    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).

  • @ulisesgonzalezhorta7197
    @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!

  • @-validites-
    @-validites- Год назад

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

  • @heisenberg4249
    @heisenberg4249 Год назад

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

  • @ocpud2999
    @ocpud2999 11 месяцев назад

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

  • @Steph.98114
    @Steph.98114 Год назад

    The esp32 has quickly become my favourite Arduino replacement.

  • @corewarrior
    @corewarrior 11 месяцев назад

    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!

  • @hessex1899
    @hessex1899 Год назад +6

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

  • @Badsniperarmy
    @Badsniperarmy Год назад

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

  • @joshismyhandle
    @joshismyhandle Год назад

    Thanks Dave, great stuff.

  • @philsbbs
    @philsbbs Год назад

    great support and great video.

  • @user-jm8ho2hy8g
    @user-jm8ho2hy8g Год назад

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

  • @djlalorocks
    @djlalorocks Год назад

    Awesome step by step!

  • @ceuabara159
    @ceuabara159 Год назад

    Good man Dave. Thanks for that.

  • @SoulcatcherLucario
    @SoulcatcherLucario Год назад

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

  • @konradkubit6525
    @konradkubit6525 Год назад

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

  • @Vampirat3
    @Vampirat3 Год назад

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

  • @casperghst42
    @casperghst42 Год назад +1

    Both informative and entertaining. Thanks.

  • @wxfreak
    @wxfreak Год назад

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

  • @GingerJohnnyOR
    @GingerJohnnyOR Год назад

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

  • @stevegelnett4469
    @stevegelnett4469 Год назад

    This is a great idea.
    I dig it.

  • @govcorpwatch
    @govcorpwatch Год назад +2

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

    • @KegRaider
      @KegRaider Год назад +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 Год назад

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

  • @jacoblf
    @jacoblf Год назад

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

  • @roblatour3511
    @roblatour3511 Год назад

    Well done Dave!

  • @RufusVidS
    @RufusVidS Год назад +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 Год назад +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 Год назад +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 Год назад +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

  • @smartups1
    @smartups1 Год назад

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

  • @jaredlozano1692
    @jaredlozano1692 Год назад

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

  • @spasm
    @spasm Год назад

    my favorite channel ever

  • @viperjay1
    @viperjay1 Год назад +1

    Thanks Dave and Josh!

  • @guatagel2454
    @guatagel2454 Год назад

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

  • @unrealminigolf4015
    @unrealminigolf4015 Год назад

    Thank you Josh. 🙏🏼 ❤

  • @3Dgifts
    @3Dgifts Год назад

    Awesome and inspiring!

  • @COMATRON.
    @COMATRON. Год назад

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

  • @HBrooks
    @HBrooks Год назад

    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!

  • @ike45mc
    @ike45mc Год назад

    Have fun Josh!

  • @OldePhart
    @OldePhart Год назад

    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 :)

  • @tenktorypisze
    @tenktorypisze Год назад

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

  • @gazzacroy
    @gazzacroy Год назад

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

  • @ophawku
    @ophawku Год назад

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

  • @ScottPlude
    @ScottPlude Год назад

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

  • @rodneysmith1750
    @rodneysmith1750 Год назад

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

  • @johnbryant9079
    @johnbryant9079 Год назад +1

    Sir, you are a legend!

  • @kolobcreek
    @kolobcreek Год назад +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 Год назад

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

    • @superslammer
      @superslammer Год назад

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

    • @kolobcreek
      @kolobcreek Год назад

      @@superslammer not sure what you mean.

    • @superslammer
      @superslammer Год назад

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

  • @TheSilent333
    @TheSilent333 Год назад

    Good luck, Josh!

  • @paulomigueldias1111
    @paulomigueldias1111 Год назад

    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.

  • @UndiagnosedGenXer
    @UndiagnosedGenXer Год назад

    Outstanding!

  • @Jamesninja99
    @Jamesninja99 Год назад +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  Год назад +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 Год назад +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 Год назад +1

    “….good luck buddy”. ❤

  • @DouglasHeyen
    @DouglasHeyen Год назад +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  Год назад +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 11 месяцев назад

      @@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 !

  • @jdlives8992
    @jdlives8992 Год назад

    rock on dude!

  • @kf5tqnkf5tqn36
    @kf5tqnkf5tqn36 Год назад

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

  • @epicethereallord2977
    @epicethereallord2977 Год назад +1

    Hey, thanks! I use C++ mainly

  • @muddyexport5639
    @muddyexport5639 Год назад

    Good job! Thanks!

  • @scottcopus
    @scottcopus Год назад

    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.

  • @macdaddyns
    @macdaddyns Год назад +1

    Nice 8all Deluxe reference!

  • @An.Individual
    @An.Individual Год назад

    Nice video.

  • @buleini
    @buleini Год назад

    Thanks Josh!

  • @godfreypoon5148
    @godfreypoon5148 Год назад

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

  • @MASSTERZINGER
    @MASSTERZINGER Год назад

    You're the best.

  • @guilherme5094
    @guilherme5094 Год назад

    Really nice👍!

  • @PatrioticGestalt
    @PatrioticGestalt Год назад

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

  • @mobslicer1529
    @mobslicer1529 Год назад +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  Год назад

      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.

  • @Pizza4eversf
    @Pizza4eversf Год назад

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

  • @solidsteal
    @solidsteal Год назад

    You're a good egg, Dave.

  • @hepticftw
    @hepticftw Год назад

    Thanks

  • @Nikola_Bojinovic
    @Nikola_Bojinovic Год назад +1

    Hello Dave,
    Do you know port manipulation for programming Arduino, if You do, can You make a video where You can teach us about that. I tried to learn it on other tutorials but it was a bit confusing.
    Thank You.

  • @kyleolson8977
    @kyleolson8977 Год назад +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 Год назад

      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 Год назад

      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 Год назад

      @@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 Год назад

      ​@@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 Год назад

      @@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.

  • @ezrakoper
    @ezrakoper 2 месяца назад

    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

  • @joshuamichael1232
    @joshuamichael1232 Год назад

    Thx m8

  • @mrrobert462
    @mrrobert462 11 месяцев назад

    Project question. I have about 800 leds in a project i am working on. I also have 9 buttons. Does it matter if i use the power ground for my buttons or should i run a separate ground wire to another ground pin just for the buttons?

  • @reoproedros
    @reoproedros Год назад

    it seems like arduino was invented for the ide to be build for the shake of esp's
    by the way , is your memory based on tattoos you have on your body and rediscover the past from the tattoos through a mirror , each day , which introduce random bit swap ?

  • @christhorney
    @christhorney Год назад

    i brought an esp32 the other day and just started playing with it, i want to get you led project working on it, i need a transformer converter jigger thingo

  • @RandomTorok
    @RandomTorok Год назад

    There are so many different models of ESP32. On my ESP32-WROOM, I have to click upload then push an upload button on the ESP.

  • @pskry
    @pskry Год назад

    I recommend platformio!

    • @DavesGarage
      @DavesGarage  Год назад

      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 Год назад

    oh yeah! My channel! lol

  • @alliwantedisapepsi1492
    @alliwantedisapepsi1492 Год назад

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

  • @mars3142
    @mars3142 Год назад

    Could you do this with esp-idf as well?