Getting Started with PlatformIO
DroneBot Workshop
@dronebotworkshopAbout
Welcome to the Workshop! The DroneBot Workshop is the place where I work with Arduino, Raspberry Pi, ESP32, and lots of other cool microcontrollers, components, and sensors. This is a channel for learning and understanding. While I do build projects, most episodes focus on showing you HOW things work, so you can use the information to bring your own designs to life. Every video has a corresponding article on my website at https://dronebotworkshop.com , along with the diagrams and code samples you’ll need to build your own creations. You can also participate in discussions on my Forum at https://forum.dronebotworkshop.com. Please note that I no longer do any sponsored videos, enquiries for these will be ignored! If you'd like to know more about me or the DroneBot Workshop you can read the FAQ at https://dronebotworkshop.com/about-dronebot-workshop/faq/ And if you have technical questions please ask them on the Forum. Welcome to the Workshop! I hope you enjoy your stay! Bill
Latest Posts
Video Description
Get started with PlatformIO, a great alternative to the Arduino IDE. Examples with Arduino, ESP32 & XIAO microcontrollers. Article with references & code: https://dronebotworkshop.com/platformio/ More articles and tutorials: https://dronebotworkshop.com Join the conversation on the forum: https://forum.dronebotworkshop.com Subscribe to the newsletter and stay in touch: https://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.
You May Also Like
Essential PlatformIO Tools
AI-recommended products based on this video

HAUSOURCE Full Bed Frame with 4 Storage Drawers Bed Frame Full Size with Headboard LED Lights Charging Station Metal Slats Platform Heavy-Duty Support No Box Spring Needed White

VASAGLE LED Bed Frame Full Size, Storage Headboard and Charging Station, Full Bed Frame with 2 AC Outlets, 1 USB Port, 1 Type-C Port, No Box Spring Needed, Dove Gray and Camel Brown URMB842G01

VASAGLE LED Bed Frame Queen Size, Storage Headboard and Charging Station, Queen Bed Frame with 2 AC Outlets, 1 USB Port, 1 Type-C Port, No Box Spring Needed, Ink Black and Rustic Brown URMB841B01

2 Pack Controller Battery Pack Rechargeable for Xbox One/Xbox Series X|S with 4 Battery Cover Xbox Play and Charge Kit with Micro USB Charging Cable for Xbox One S/X/Elite Controller

2 Pack Rechargeable Controller Battery Pack for Xbox Series X|S and Xbox One with 10FT USB C Charging Cable and Micro USB Adapter 6amLifestyle Battery Pack Xbox Play and Charge Kit

Multi Charging Cable, Multi Charger Cable 3 in 1 Charger Fast Charge Multiple Ends 4FT Braided Universal Charging Cord with USB C Micro Lightning Cord for iPhone iPad Samsung Android Phone Tablet Global Recycled Standard

Digital Multimeter Voltmeter Battery Voltage Multi Tester AC DC Volt OHM Amp Current Meter Circuit Continuity Resistance Diode Electrical Tester with Test Leads Backlight LCD Display




















