Getting Started with PlatformIO

  Рет қаралды 602,001

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Get started with PlatformIO, a great alternative to the Arduino IDE. Examples with Arduino, ESP32 & XIAO microcontrollers.
Article with references & code: dronebotworkshop.com/platformio/
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
Today we are going to be programming microcontrollers with PlatformIO, a development environment with many advantages over the Arduino IDE.
I’ll show you how to install PlatformIO under Visual Studio Code (VS Code), a free programming environment from Microsoft (yes, Microsoft also makes free software!). Full instructions for Linux, Mac OS X, and MS Windows.
After we add the PlatformIO plugin to VS Code I’ll show you examples of using it with an Arduino Uno, an ESP32 development module, and a Seeeduino XIAO. You’ll quickly see the advantages of using this amazing programming environment.
I’ll also show you how to use the PlatformIO Library Manager, and how it differs from using libraries with the Arduino IDE. To do this we’ll also build a dual servo motor controller with an LCD display.
Here is the Table of Contents for today's video:
00:00 - Introduction
02:22 - PlatformIO Basics
06:51 - Install VS Code - Linux
08:28 - Install VS Code - Mac OS X
10:13 - Install VS Code - MS Windows 10
11:55 - Install PlatformIO plugin for VS Code
13:56 - PlatformIO Basics with Arduino Uno
18:29 - PlatformIO Basics with ESP32
21:09 - PlatformIO Basics with Seeeduino XIAO
25:18 - Functions with PlatformIO vs Arduino IDE
31:17 - PlatformIO Library Management Basics
33:43 - Dual Servo Controller Demo Hookup
36:01 - Dual Servo Controller Code & Demo
46:44 - Understanding the platformio.ini file
Hopefully, after viewing this video you’ll be tempted to give PlatformIO a try. It can really speed and improve your coding tasks once you get used to it, and you’ll be seeing more of it here in the DroneBot Workshop.

Пікірлер: 565
@Dronebotworkshop
@Dronebotworkshop 3 жыл бұрын
Thanks for the great response to the video, and I must apologize for the bad link that I put in the description for the article! It has now been corrected, sorry about that! I also have a post where you can discuss this video in detail on the DroneBot Workshop Forums, you'll find that link in the description as well. And I promise this one works! BTW, I'm planning on another PlatformIO video soon, to answer some of the things I left out here. So please subscribe if you haven't already so that you get notified when it is released.
@edwardaudet8367
@edwardaudet8367 3 жыл бұрын
Thank you , the video was excellent. I learned something new. And i can't wait to get this going for my arduino projects.
@certified-forklifter
@certified-forklifter 3 жыл бұрын
This video was very clear and helpful! Thank you so much! :D
@passenger000
@passenger000 3 жыл бұрын
it would be nice to see some processing/java serial plotters in new video
@Meennnoo
@Meennnoo 3 жыл бұрын
Thank you for this clear tutorial! This must have taken some time to put together. Two things I would like to know of PlatformIO: 1) How to organise lengthy code files, in the Arduino IDE I used tabs for that but I don't see that option here. 2) Perhaps you could elaborate on how to set up OTA programming in this environment. Thanks again for this video! Oh, and is there an equivalent of auto format (ctrl+T) in PlatformIO?
@passenger000
@passenger000 3 жыл бұрын
by the way I have one serial plotter app for windows, which utilizes just default print command in code and supports few graphs on one plot
@DesertVox
@DesertVox 3 жыл бұрын
It's CRAYZEE that such detailed and organized tutorials are available for free. Thank God for the internets.
@Friendroid
@Friendroid 3 жыл бұрын
@@mitch_the_-itch have you been checked for lead poisoning lately?
@khalidmaulana9838
@khalidmaulana9838 3 жыл бұрын
@@mitch_the_-itch danke
@shaunmorrissey7313
@shaunmorrissey7313 3 жыл бұрын
Mitchel R******** and is there a down side?
@Friendroid
@Friendroid 3 жыл бұрын
@@mitch_the_-itch I didnt say it was free, I dont live in a binary world.
@thearchibaldtuttle
@thearchibaldtuttle 3 жыл бұрын
@@mitch_the_-itch don‘t forget your tinfoil hat 👒
@larrytubbs
@larrytubbs 3 жыл бұрын
I've been a software engineer for 20+ years. Platform IO is so much more comfortable for me than the Arduino IDE. VS Code is my second home. Thanks for the great introduction.
@reedreamer9518
@reedreamer9518 3 жыл бұрын
Running PlatformIO in VS Code is NOT suitable for large applications. It cannot handle multiple files and it restricts you to ordering your functions before they are called, which is only a sign of a primitive compiler - and does NOT make your code any "better". PlatformIO has some useful features compared to the Arduino IDE, but overall the Arduino IDE would be more suitable for developing larger (multi-file) applications. Because of the restrictions, PlatformIO is really only suitable for simple sketches. If you want the best of all worlds with no restrictions, use Visual Studio Community or Atmel Studio with the Visual Micro plug-in. I've tested all the above and this is definitely the way to go. Visual Micro totally blows PlatformIO away!
@GonePh1shing
@GonePh1shing 3 жыл бұрын
@@reedreamer9518 This simply isn't true. PlatformIO works just fine with multi-file projects, it just doesn't do all the automation that the Arduino IDE does. You have to treat the project like you would any other C++ project with forward declarations, header files, header guards, etc. Visual Micro is really good from what I have seen, but there's no need to fork out $100 for it when PlatformIO is FOSS and does what most people need it to.
@maxpower6542
@maxpower6542 2 жыл бұрын
@@reedreamer9518 Nonfactual. Use forward declarations.
@gautombose4172
@gautombose4172 Жыл бұрын
@@reedreamer9518 Visual Micro is not Free.
@arnolduk123
@arnolduk123 Жыл бұрын
@@reedreamer9518 PlatformIO uses C++ coding principles. If you know anything about programming then you should know that C++ also use Header files for defining and declaring functions within your code. C++ is more than capable of handling multiple files. The video simply shows a quick way of using functions without a header file. The correct way should be to declare and define the function along with it's parameters within a header file then include that header file at the top of your C++ code file. PlatformIO is a very powerful tool as the end user does not have endure the stress of downloading all the SDK's, tools and packages to compile a simple blink code for over 900 devices. Try that in the Arduino IDE then withdraw your comment 🤨 The Arduino IDE still has some good features but for large scale projects with multiple files I'd much prefer a more capable IDE such as VSCode with PlatformIO. Sounds to me that you are struggling with the structure of the C++ programming language which requires some ground level learning first 🤔
@NLGeebee
@NLGeebee 3 жыл бұрын
“Welcome to the Workshop” My favorite sentence, right after “I love you” and “Happy birthday” :)
@nateamus3920
@nateamus3920 3 жыл бұрын
Lolol!
@casemodder89
@casemodder89 3 жыл бұрын
Yep goes down just as creamy like "hello everyone and welcome" by jason fenske (EE) 😎
@neilbarnett3046
@neilbarnett3046 3 жыл бұрын
You must have lived a sheltered life so far. ;-)
@rjinnh3933
@rjinnh3933 3 жыл бұрын
WHOW! Simply Whow..... 51+ minutes of pure instruction that's probably going to save 51 hours of frustrated head banging on the work bench. A great intro to PlatformIO from instillation to practical use. Very inspirational. Hat Tip to you Sir.....
@larrysmall3521
@larrysmall3521 3 жыл бұрын
Thank You! I am a retired embedded systems engineer. I use the Arduino for simple home projects and I have always thought the Arduino IDE was too basic. Platform IO is exactly what I was looking for. I did not want to try and setup Eclipse for Arduino and this is perfect for my needs. One suggestion, instead of moving the function ahead of setup() in the blink example it would have been the perfect time to explain function prototypes and how they are required for C and C++.
@elonyao3894
@elonyao3894 Жыл бұрын
I met the xxx was not declared in the very first day using PIO for Arduino, that frustrated me for a half day until I wrote a header file.🤣
@33_njindo72
@33_njindo72 4 ай бұрын
Hey @larrysmall3521 as an embedded engineer could you explain your line of work...... I'm a student looking to major in embedded systems and electronics
@guyprovost
@guyprovost Жыл бұрын
I'm a VS veteran, been using the platform in it's different iteration over the years and tend to forget how awesome it actually is compared to more basic IDE. You did an awesome job of showing the capabilities of VS Code and overall, your videos are so well done with the correct amount of information. You sir are a very good teacher! Thanks for the content!
@gautombose4172
@gautombose4172 Жыл бұрын
It is time to show a Pico Debug with PlatformIo IDE
@valizeth4073
@valizeth4073 Жыл бұрын
You dont need to define your functions before using them, you need to declare them before using them. The linker will take care of the definition, but the compiler still needs a forward declaration to be able to generate the translation unit. It's not an IDE specific thing but a C++ specific thing.
@gautombose4172
@gautombose4172 Жыл бұрын
It is time for some one to publish a video showing, function declarations, function definitions in several different files.
@jeffro.
@jeffro. Жыл бұрын
Vali Zeth: Yeah, it's those declarations where I always screw up! Thanks for explaining the difference between them and "definitions." I think maybe I wasn't clear on that distinction. At least, I think that's my problem! (Sometimes, in complex code, I can't figure out why it won't compile. The logic is all correct, but I have problems with functions not being declared. I guess I just forget.)
@viktorkoryavyy
@viktorkoryavyy Жыл бұрын
I'm very impressed!!! This is the best intro I've seen for using Platformio (product developed in Ukraine)!!! Now I try to create small inexpensive setup for fridge and electricity availability monitoring (for my close relatives) in Ukraine based on ESP32. It's really help me!
@GonePh1shing
@GonePh1shing 3 жыл бұрын
Great video! Pro C++ tip: For cleaner code, you can split function declarations and definitions. This allows you to have the first proper block of code be your main function/loop, whilst still allowing you to write and call functions separate from your main function. To do this, just declare the function before your main like this: void myFunction(); Then, write your main function, and define your extra function below the same as you did in the Arduino IDE.
@_ahmedwalid_
@_ahmedwalid_ 2 жыл бұрын
Yes, It's called a function prototype
@gautombose4172
@gautombose4172 Жыл бұрын
@@_ahmedwalid_ Show a Video with a proper demonstration
@chrisengland5523
@chrisengland5523 Жыл бұрын
Function declarations work really well. I've always thought that having a load of functions at the top of the code is a real pain because it can take ages to find where the actual main program starts and as often as not the actual functions are low level trivia that just get in the way. Bill says that having to declare all functions before you use them encourages people to write good code. I disagree - who cares where the functions are defined as long as they are defined? Putting them at the end makes the resultant code a lot clearer and easier to read. Also, I've found that the Arduino IDE sometimes allows you to put them at the end but sometimes it doesn't. Function prototypes solve this problem, but ideally they shouldn't be necessary. The same goes for variables - they have to be declared before you use them. Why (as long as they're in scope)? I worked for many years writing in assembler and liked the ability to declare variables where it was convenient for me. The only advantage that I can see obtained by having to declare functions and variables BEFORE using them is that it saves a compiler pass and hence a few milliseconds. That's hardly an overriding reason with modern high speed processors. However, despite the above comments, don't let this distract from the fact that this is yet another superb video from the master presenter.
@ShadowCruize
@ShadowCruize 3 жыл бұрын
this is insane timing , i have been very recently researching moving to specifically platformio on vs code and i had some issues with it, and this video comes out a few days later and clears everything up.
@raagamparmar179
@raagamparmar179 3 жыл бұрын
Yup me too.....😁
@briandavis7033
@briandavis7033 3 жыл бұрын
Same
@droidebuilder486
@droidebuilder486 3 жыл бұрын
same
@timobreumelhof88
@timobreumelhof88 3 жыл бұрын
I'm getting back into electronics after about 20 years and I love your videos!
@willlockler9433
@willlockler9433 3 жыл бұрын
Same situation!
@FranekFunFacts
@FranekFunFacts 3 ай бұрын
Same too !
@hennero.3826
@hennero.3826 5 ай бұрын
Thanks very much for this video. I have been working in IT for many years, but I have just started with Microcontroller programming only 1..2 weeks ago, so I really appreciate that you explained VSCode and PlatformIO so well, even showing the installation on 3 operating systems. This has motivated me today to install both on my Linux laptop - and it works! 😃 On Linux, I now need to pay attention to the access right for the port (which I didn't need to worry about under Windows), and apparently the "chown " needs to be done after each restart (or reconnect), but I am using OTA anyway now most of the time ...
@GeekRedux
@GeekRedux Жыл бұрын
It's common practice to not make the code too "front heavy" by putting all the function definitions after setup and loop like you had it before, but _duplicate just the first line_ of the function definition (e.g., write just "int sample_function(int var1) ; " ) before setup and loop. This line is called a function prototype and it's there to make the compiler aware the function exists so it doesn't throw the error you see but still makes for arguably more readable code. Not making these prototype declarations necessary is some of the hand-wavy stuff the Arduino IDE does to make coding more accessible for beginners, but that can also lead to moments of confusion/difficulty when people move beyond it. I continue to be impressed by the clarity and high production quality of your tutorial videos--thanks for helping the community like this!
@rene-jeanmercier6517
@rene-jeanmercier6517 3 жыл бұрын
Hi, Thank you for This Excelllent excellent tutorial. I thing though I want to mention, is that it is NOT an obligation to put the functions in front of the loop(). You simply need to "declare" the "prototype" of your function so that the compiler is made aware of the function and can double check the integrity / match of the parameter's types declared. Thank you again for an excellent tutorial. RJM
@slinco65
@slinco65 3 жыл бұрын
For those that maybe don't know what @René-Jean just said: Simply add the function declaraion line `void blink_led(int LED, int delaytime)` above the loop() - no need to move the whole function.
@omshree901
@omshree901 3 жыл бұрын
@@slinco65 thank you
@maroneda1063
@maroneda1063 Жыл бұрын
Hello there, from Ubuntu 22.04.1LTS here! Hi my fellow Ubuntu user, Linux user in general😉 Thanks for this!
@michelpoisson3500
@michelpoisson3500 3 жыл бұрын
You are like wine, You are always getting better and better...And I have to mention that you started from VeryGood!! Congratulations!!
@karllaun2427
@karllaun2427 3 жыл бұрын
Thanks so much for making this video. I installed VBC and PlatformIO about a year ago, but really struggled to understand the usage and functions. Lately, I've been picking out bits and pieces from other KZbin videos, but this one really ties everything together and makes sense out of some items I was having issues with. I look forward to more content on this subject. Well done!
@wb7ond
@wb7ond 3 жыл бұрын
I dove into the VScode and downloaded PIO. Blindly started an Arduino project, got it to work, then tried to get a new project. I got lost in the "woods" of C++ and VScode. Your vid helped me understand that my Arduino projects were managed thru the PIO and not in the VScode itself.. Thanks a million for this video. I tried to figure out how to make a new project, but was searching for the wrong thing... Your video made me realize I had exited the PIO environment and was wandering around in the VScode C++, where there are no "new project" selections... Thanks again...
@jimstarwood
@jimstarwood 3 жыл бұрын
This is now the 30th+ of your YT videos I've been binge -watching. You do a great job of teaching. Subscribed.
@t1d100
@t1d100 2 жыл бұрын
Wow! Just used your webpage link to get through the download/install process. The only way you could have made this easier is if you came to my house and you put it on my laptop for me, while I watched and drank a soda and ate potato chips... LOL!!! Amazingly thorough, well written/professional and soooo graciously shared freely = thank you so much!
@DinoFancellu
@DinoFancellu 3 жыл бұрын
If you want to use the same code, but target multiple boards, you can add extra environments to the project, and flip between them.
@droidebuilder486
@droidebuilder486 3 жыл бұрын
how exactly? Link to Post or Video would be enough :)
@DinoFancellu
@DinoFancellu 3 жыл бұрын
@@droidebuilder486 docs.platformio.org/en/latest/projectconf/section_env.html PIO projects tab, click configure on your project, click +configuration
@92mrkite
@92mrkite 2 жыл бұрын
Clear, concise, extremely well documented: a paradigm of a perfect tutorial. I’m an Arduino newbie, now fully convinced to leave Arduino IDE for PlatformIO. Motivation reloaded!
@guy-francknakach488
@guy-francknakach488 3 жыл бұрын
Brilliant tutorial, clear and uncomplicated with just the right level of details. Clearly well prepared and delivered. Many thanks!
@51zodiac
@51zodiac 3 жыл бұрын
Just started out with PlatformIO today, sat down and did the whole tutorial, downloaded the exercises, everything was really clear. Thank you so much for an excellent video!
@burnermaster5375
@burnermaster5375 3 жыл бұрын
Thank you so much for this excellent tutorial. You solved the problem I had with including additional libraries on my project. Nobody goes over this crucial task, they only demonstrate the LED blink project with the built in libraries.
@harrykunte1021
@harrykunte1021 3 жыл бұрын
Although I have been using PlatformIO for some time, I still found this video very educational. I am already looking forward to the sequels. Thank you and many greetings from the Black Forest in Germany.
@michaelmcnaughton1535
@michaelmcnaughton1535 3 жыл бұрын
Your videos are absolutely top notch. I watch about 10 or so different you tube presenters who really put it all out there (Andreas Spiess is another standout) and your work is so excellent. Thanks for being there.
@ChrisBalmforth
@ChrisBalmforth 3 жыл бұрын
I just discovered this video, and through it your KZbin channel and web site. Fantastic! I'm just getting to grips with PlatformIO and VSC, and this video cleared up some problems I was having. Keep up the great work!
@YoutubeBorkedMyOldHandle_why
@YoutubeBorkedMyOldHandle_why 3 жыл бұрын
Thank you Bill. There's nothing here that I haven't come across before, but you've put it all in one video and covered everything it in brilliant detail. So, I'm going to fine tune my setup, while re-watching your video ... in case I might have missed something.
@tenocipri2566
@tenocipri2566 Жыл бұрын
Thanks for the informative workshops. I am a longtime hardware engineer who did a lot of C and C++ work in the late 90s up to about 5 years ago and, as you can imagine I'm am quite rusty. As a nubi to Arduino there are a number of issues I ran into but your videos usually got me through them. Whenever someone had a video that used PlatformIO the screen was so cluttered it became overwhelming. Throughout my history of writing code, setting up the IDE was what made or broke my sucess at it. As you mentioned in the video, the Arduino IDE is very simple to use, and a great way to get familiar with hardware and software development. After a few weeks I've been able to get a lot done in it and ready to move on to PlatformIO. Your video is very clear and easy to follow along with. Great job.
@VinceBusch
@VinceBusch 3 жыл бұрын
You're the man! Just migrated to PlatformIO, ran into issues with the terminal, watched your video, solved. Many thanks, again!!
@VelocityTheory
@VelocityTheory 2 жыл бұрын
I e never seen PlatformIo or anything about Arduino before and DBW made me feel like I understand it. This is a sign of a great teacher. Thank you DBW.
@mikesearle7077
@mikesearle7077 2 жыл бұрын
Yet another brilliant video! You explain things clearly and simply with an exceptional attention to detail. Thank you for introducing this topic, as a retired programmer I’m much more comfortable using VS so this will really reinvigorate my interest in this type of project. Thank you.
@jim5148
@jim5148 Жыл бұрын
Thanks for a very nice, coherent presentation of PlatformIO.
@JonathanDeWitt1988
@JonathanDeWitt1988 3 жыл бұрын
After your other video introducing the XIAO it is exciting to see more videos on it. Thank you for putting this up Bill.
@melvinbullock5674
@melvinbullock5674 3 жыл бұрын
Thanks Bill! As usual, concise and informative. I see the reasoning behind the changes, bring on more DB1! Best regards from the UK.
@klave8511
@klave8511 3 жыл бұрын
Wow, what a great tutorial, I followed from a fresh install with the only minor issues being the drivers for my boards. I even got my Digispark ATtiny85 board running without a hitch. Thank you very much, great details.
@nicksterspad
@nicksterspad 9 ай бұрын
I accidentally clicked this video scrolling and had to finish something on another tab before I clicked off it but before I knew it, the whole video was over, I picked up some things I've been wondering about, and it helped me fix the sketchbook I have open on on the second monitor. Great work!
@aloysiussnailchaser272
@aloysiussnailchaser272 3 жыл бұрын
Very useful, thanks. I’ve just started using PlatformIO. Perfect timing.
@peter.stimpel
@peter.stimpel 3 жыл бұрын
Man, if I had known this 2 weeks ago you are doing this video. I was struggling with some parts of my VSC/PLatformIO installation, and it took me some good time to duckduckgo the details. Well done. What I like most is that in VSC/PlatformIO the board settings are part of the project. Great, if you work with different boards in the same IDE
@browland601
@browland601 Жыл бұрын
Thank you, just got my first esp32 project going from scratch on platform io with no issues by following this tutorial!
@technohelp21
@technohelp21 3 жыл бұрын
This is such a great video! I've used VSCode for React Native and TypeScript in the past and loved it. I'm pretty new to Arduino, the fact that I can use the PlatformIO plugin for VSCode is such great news. I love your videos, please keep up the excellent work.
@passenger000
@passenger000 3 жыл бұрын
I switched to Visual Studio Code and actively use PlatformIO for past month to finish my project at work. Very helpful video Bill! thank you
@headbanger1428
@headbanger1428 2 жыл бұрын
Great job Bill! Very comprehensive! I actually feel confident using it now.
@juankmilisimo
@juankmilisimo 3 жыл бұрын
Cada video esta tan bien producido, tan detallado, tan impecable, que uno se queda con la boca abierta. Gracias Bill
@danialothman
@danialothman Жыл бұрын
thank you so much, I cannot believe it took me this long to use PlatformIO!
@vincent.borreux
@vincent.borreux 3 жыл бұрын
Thanks a lot for this introduction to PlatformIO. Thanks also for this "complex" sample! Really like this video and look forward to watching next ones...
@jackdaniels8898
@jackdaniels8898 3 жыл бұрын
Excellent primer for Platform IO. Thank you very much.
@peppyzacat5179
@peppyzacat5179 Жыл бұрын
You, Sir, are a treasure to the mankind! Thank you for taking the time to educate others in such a clear and simple manner!
@markmccornack7983
@markmccornack7983 3 жыл бұрын
Another great video! This one was particularly useful to me as I was just trying to bring up VScode as a new IDE to try (replacing the Arduino IDE). I couldn't get my previous Arduino IDE code to port over readily as I couldn't get the library path issue figured out. I looked at several different cryptic online sources with no luck. Your video made it clear as a bell. Setting baud rate in the terminal too was mired in dead ends. That was made clear and simple here as well. To the point, simple answers to simple questions. What a concept! Thanks for doing these vids!
@jacobgellinger
@jacobgellinger 10 ай бұрын
Thank you for breaking this down so simple. Been tearing my hair out trying to figure this stuff out and you have a great ability to relay this info into a way i can understand.
@hughmulgrew6966
@hughmulgrew6966 3 жыл бұрын
Yet another excellent presentation. Compelling, inciteful, informative and entertaining - what more can I ask for.
@TYGAMatt
@TYGAMatt 3 жыл бұрын
Why someone wouldn't subscribe to your channel is beyond comprehension. Probably the clearest explanations on you tube. I toyed with platform io a while back but ended up sticking with the Arduino IDE. But thanks to you I'll take a fresh look. Thanks Bill.
@HappyHermitt
@HappyHermitt Жыл бұрын
You're channel is one if the best in the subject. Thank you for your dedication and work.
@dwhughes1975
@dwhughes1975 11 ай бұрын
I love this. I love you. I'm a competent-ish computer geek in other spheres, but I'm a beginner at both embedded programming and VS, and I've been making progress but a lot of the material has left me stuck in the middle thinking, "WTF, what did I miss?". It feels like striking gold when you find a teacher who knows all their stuff but can still put themselves in a newbie's shoes to make sure all the basics are covered in detail. And the result is that where I was starting to despair of the Arduino IDE and fall backwards to arduino-cli, now I've jumped forwards again to a much more capable and supportive environment. Which feels amazing. :) Thank you sensei for the sense of empowerment and potential!
@OcenaSoft
@OcenaSoft 3 жыл бұрын
Oh My! Just when I thought things could not get any better - you come up with another amazing tutorial. Amazing, with a night off tomorrow - I will be installing on my Linux Mint work station and let you know how it goes. Please keep up this amazing work...
@flyingfarm1
@flyingfarm1 3 жыл бұрын
Wow, great, love this level of detail. For someone with no experience with any IDE, other than Arduino, this is excellent. Just subscribed.
@ontropia
@ontropia 3 жыл бұрын
Fantastic instruction video! Clear, well organized, with attention to details, Just perfect!
@WillBelden
@WillBelden Жыл бұрын
Not even hardly into the video yet and I simply love how organized the shop is!
@mikevanin1
@mikevanin1 3 жыл бұрын
Wow Bill - this is a fantastic video! Well done - and many thanks!
@justyx846
@justyx846 2 жыл бұрын
Thank you very much. This video gave me the confidence to select this IDE for my new hobby. Writing code wasn't my issue, picking the right IDE for a new (to me) device from the start was.
@englishrupe01
@englishrupe01 3 жыл бұрын
Fantastic intro to PlatformIo! Thank you!
@SapperUSMC1371
@SapperUSMC1371 3 жыл бұрын
Good to see you Bill. I hope you are doing well.
@Streetdirt
@Streetdirt 3 жыл бұрын
Thank you for this great tutorial. PlatformIO is just what I was looking for and I got it work easily thanks to your instructions. You are an excellent teacher.
@frank.moerman
@frank.moerman 3 жыл бұрын
Thanks a lot for ALL your tutorials! Very helpful.
@queenidog1
@queenidog1 3 жыл бұрын
This was one of the best How-To videos I've ever seen. Very clear and concise. I had tried to install PlatformIO a number of times but kept getting bogged down with dependencies. It was like Linux all over again... but this video really made it clear how to get it going from an Arduino perspective. I got it going, put in an Arduino program and got couple errors. One library (from GitHub) was NOT found and I had to add it manually...some hassle. I was able to build but now can't upload, says nothing at COM1 where my boot loader gizmo is located. (I use it to program an Atmega 328P MCU, using the program port.) Works perfectly well in Arduino, but not in PIO. Again. I haven't got time to keep doing these little fixes. I had a Corolla IDE, wanted a Mustang, got a Ferrari. Well Mr. Ferrari I will be delisting you.
@curtisibarra1600
@curtisibarra1600 2 жыл бұрын
Bill, I want to thank you for such a well crafted instructional video. You really bring it home in an understandable and clear way… Respectfully: Curtis
@Helli__
@Helli__ 3 жыл бұрын
I really like your very detailed tutorials. You're not too fast and it's still easy to follow, even for me, who doesn't speak English as a first language.
@BryanByTheSea
@BryanByTheSea 3 жыл бұрын
Excellent video, struggled with VS Code IDE trying to figure it out, your video put it all together. Thumbs up.
@ionix2000
@ionix2000 3 жыл бұрын
This tutorial is amazing. Thank you very much for all your effort on making this video. For me it was critical to know that vs code integrates so good with platformIO.
@user-xh9cj7in3p
@user-xh9cj7in3p 4 ай бұрын
Very nice presentation. Your pace, volume, and editing are first-class, as is the material. Thanks for the education.
@dcpowered
@dcpowered 3 жыл бұрын
This is extremely useful given the many limitations of the Arduino IDE. Thank you!!
@AdhavR7
@AdhavR7 Жыл бұрын
Very Clear and full of substance in all his videos. Very Nice.
@insanebullet
@insanebullet Жыл бұрын
Your teaching style and video production is top notch!! I've been learning so much watching countless tutorials of yours.
@Dronebotworkshop
@Dronebotworkshop Жыл бұрын
Thank you Robert, so glad you have benefitted from my work.
@Burborted
@Burborted 9 ай бұрын
Haven't seen anything better so far. I'm deeply impressed and I can't suggest anything to make it better. Thanks you sir.
@duncancampbell9742
@duncancampbell9742 2 жыл бұрын
Thanks for this ... loving PlatformIO after installing it based on this video. I've been using Arduino IDE since getting my 1st Arduino (Elegoo Mega2560) about a month ago, and today received an Elegoo Nano. Took a while to get the COM Port working, but all good now. PlatformIO is delivering the IDE environment I'm used to from years ago when c/c++ programming.
@JoseFernandez-yz1sf
@JoseFernandez-yz1sf 3 жыл бұрын
As usual here in DroneBot Workshop, this has been an excellent tutorial on PlatformIO, thanks a lot. I'm thinking to switch to this VS Code/platformIO IDE for my embedded projects.
@romanalaivi6967
@romanalaivi6967 Жыл бұрын
I would like thank you for a series of impossibly thorough videos on working with with the various embedded systems available to hobbyists like me. You've communicated every single concept so clearly and so well in every video I almost feel like this is too good to be true. Your channel is a treasure, literally. How so many informative videos can be packaged up like this for free is amazing. This is a better education than I've ever come across in my old comp sci classes at college. A sincere thank you. You're teaching a generation of kids out there how to do some really cool things.
@jeffro.
@jeffro. Жыл бұрын
He's not just teaching kids! I'm 67, and I learn a lot of stuff from this channel! And I've been doing embedded development and other electronics for decades. People think I'm smart, this guy is really talented!
@klaymon03
@klaymon03 3 жыл бұрын
Bill, another outstanding video. It sounds like you've changed something in your audio setup for the off-screen parts of the presentation (showing circuit diagrams, etc.). It sounds much better. It wasn't awful before but now the sound is more uniform across the entire presentation. Well done.
@adilsongoliveira
@adilsongoliveira 3 жыл бұрын
Congrats on the tutorial! I found out about your channel today and already subscribed. Extra kudos for running Linux :)
@houtmann774
@houtmann774 Жыл бұрын
Thanks for your time and effort in producing truly high quality tutorials. Much appreciated. 👍👍👍
@naidol
@naidol 3 жыл бұрын
Excellent tutorial. It simplifies the transition from Arduino IDE to platformIO. Really informative. Thanks
@mountainsprings3303
@mountainsprings3303 3 жыл бұрын
Thanks for that great tutorial. I looked at platformIO before and was unable to work it out, I have a much better understanding of it now.
@ianbertenshaw4350
@ianbertenshaw4350 3 жыл бұрын
I have to learn to use platform io to sort the firmware for 32bit boards used in 3D printers and this has helped me immensely- thanks Bill !
@flashcorp76
@flashcorp76 3 жыл бұрын
OK, going round this the second time, getting there ! I like the way things have to be declared sequentially ! It suites my mind !
@pgfitzgerald
@pgfitzgerald 3 жыл бұрын
Thanks for this video! I wasn't aware this was even and thing. I'm loving PlatformIO!
@Rendon276
@Rendon276 3 жыл бұрын
Thanks for spelling it all out so concisely.
@jamess1787
@jamess1787 3 жыл бұрын
Glad to see you back!
@sunpeter8260
@sunpeter8260 Жыл бұрын
That is another superb tutorial! Thank you for the time and efforts you spent on these!
@MrJoegotbored
@MrJoegotbored 3 жыл бұрын
I've always been impressed with the Microsoft IDE built into their Office suite for VBA. I'm excited to try the VS Code IDE now.
@ltggill
@ltggill 3 жыл бұрын
Exactly what I have been looking for ... thanks Bill!
@DaveDickens
@DaveDickens 2 жыл бұрын
Thank you! Amazing video and content. Cheers Dave
@peterdlynes
@peterdlynes Жыл бұрын
Thank you for a very nice introduction to moving over to platformio.
@zapphoddbubbahbrox5681
@zapphoddbubbahbrox5681 3 жыл бұрын
Thanks for the videos! You seem to be the only person out there doing these in-depth tutorials on these topics. Regarding Function ordering vs. IDE - this is actually C++ being a more strict language : the compiler won't reorder for you. Reordering is an option, however more complex code may force you to declare your function ( before being fully defined) at the top of your oode as a stub. This has the added benefit providing more robust documentation for other people who might maintain your cod , if you find yourself in that type of environment.
@jeffro.
@jeffro. Жыл бұрын
Or even if I'm the one to go back and edit the code sometime in the future, after working on other projects! Yep, good documentation of code is essential!
@SpeccyMan
@SpeccyMan Жыл бұрын
Function prototypes have been a feature of C/C++ from the outset. The Arduino IDE's obfuscation isn't a good thing at all and teaches bad programming habits.
@pjwlk
@pjwlk 3 жыл бұрын
Excellent video! Thanks from Canada!
@ThumpinV
@ThumpinV 2 жыл бұрын
Great video! You are a fantastic teacher. Very thorough and methodical
@kresimircoric2503
@kresimircoric2503 3 жыл бұрын
Excellent video as always. I have recommend your previous videos to my pupils in Secondary Technical School.
@JosueMartinez-ww1vj
@JosueMartinez-ww1vj 3 жыл бұрын
Thanks so much! for this type of tutorials, they are very helpful and bring me back to when I was working on capstone course of computer science.
@tseckwr3783
@tseckwr3783 3 жыл бұрын
Thanks for your hard work on these detailed videos.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 222 М.
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Рет қаралды 1,5 МЛН
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 89 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Рет қаралды 585 М.
Using Git with VS Code and PlatformIO
14:17
Gavin T
Рет қаралды 16 М.
PlatformIO - A True Alternative to the Arduino, MBED, and STM32 IDEs
16:10
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Рет қаралды 285 М.
Seeeduino XIAO - 32-bit Arduino-compatible Microcontroller
41:54
DroneBot Workshop
Рет қаралды 247 М.
Build a Developer's Linux Workstation - Complete Guide
1:28:11
DroneBot Workshop
Рет қаралды 438 М.
Top 5 Beginner PCB Design Mistakes (and how to fix them)
12:52
Altium Academy
Рет қаралды 194 М.
#264 PlatformIO for Arduino, ESP8266, and ESP32 Tutorial
18:47
Andreas Spiess
Рет қаралды 252 М.
Optimizing Arduino Code: no setup(), no loop() ⛔
9:27
Wokwi
Рет қаралды 192 М.
MOM TURNED THE NOODLES PINK😱
0:31
JULI_PROETO
Рет қаралды 10 МЛН
Sigma girl have a good heart #shorts #tiktok #sigmagirl
0:37
mountainlion5
Рет қаралды 15 МЛН
会变色的西施龙凤凤鸣壶#凤鸣壶 #西施壶
0:52
壶棚杯友
Рет қаралды 17 МЛН
Choose the right bottle to win
0:59
Fun4Two
Рет қаралды 25 МЛН