DroneBot Workshop

DroneBot Workshop

Build your own Electronics, IoT, Drones and Robots – Welcome to the Workshop!

Menu

  • Home
    • Projects
    • Tutorials
  • Arduino
  • Raspberry Pi
  • ESP32
  • Electronics
  • Robots
    • Build a REAL Robot
    • Quadcopters
  • Forum
  • YouTube
  • About
    • Contact Us
    • Frequently Asked Questions
    • About Bill
    • DroneBot Workshop Newsletter
    • Privacy and Cookies
    • Terms of Use
    • Sitemap

Arduino Tutorial

Getting Started with PlatformIO

PlatformIO Getting Started

Today we will look at PlatformIO, an alternate IDE for working with the Arduino and many other microcontrollers.

You’ll learn how to install PlatformIO under Visual Studio Code, and also how to use it to program for the Arduino Uno, The ESP32 and Seeeduino XIAO.

Once you get used to it you’ll see that PlatformIO has many advantages over the Arduino IDE.

DroneBot Workshop January 16, 2021September 28, 2021 Arduino, Software, Tutorial 23 Comments Read more

Controlling AC Devices with Arduino

Control AC Current with an Arduino

We have seen how to control DC devices with an Arduino, now it’s time to learn how to control AC equipment.

In this article I will show you a SAFE method of experimenting with AC on your workbench.

We will also build a light-activated relay and a marquis-style light chaser using solid state switches.

DroneBot Workshop October 18, 2020September 28, 2021 Arduino, Electronics, Tutorial 16 Comments Read more

Shift Registers – 74HC595 & 74HC165 with Arduino

Shift Registers

In this rather shifty article I’ll show you how to use some fundamental electronic building blocks – shift registers.

These handy devices can let you add oodles of input and output ports to your Arduino or other microcontrollers, and they’re very easy to use..

Follow along and learn how to make 74HC165 and 74HC595 shift registers work for you.

DroneBot Workshop March 7, 2020September 28, 2021 Arduino, Electronics 29 Comments Read more

Multiple I2C Buses with an Arduino

I2C Address Conflicts

I2C address conflicts are a common problem, and in this article, I’ll show you how to resolve them by creating multiple I2C buses with your Arduino.,/p>

I’ll demonstrate how the TCA9548A I2C Multiplexer works by using two identical OLED displays and sending them unique data even though they share the same I2C address.,/p>

DroneBot Workshop February 4, 2020September 28, 2021 Arduino 3 Comments Read more

Measuring Temperature with Arduino

Arduino Temperature Sensors

Today we will look at not one but five different temperature sensors that you can use with the ASrduino

With different temperature ranges, accuracy and interface methods you’re sure to find one that is perfect for your next project!

DroneBot Workshop January 26, 2020September 28, 2021 Arduino 11 Comments Read more

Analog Feedback Servo Motor

Analog Feedback Servo Motor

An Analog Feedback Servo Motor is a servo motor that has a connection to its internal feedback potentiometer. Thi sallows you to measure the precise position of the motor shaft in real-time

Today we will learn how to calibrate and use this motor, we’ll even see how it can be used as an input device to memorize and repeat a sequence of movements.

DroneBot Workshop October 19, 2019September 28, 2021 Arduino, Electronics, Tutorial 17 Comments Read more

EEPROM with Arduino – Internal & External

EEPROM with Arduino

What do you do when you want to save data in your Arduino project and have it available even after the Arduino is powered down? One excellent way of doing this is by using EEPROM – Electrically Erasable Read-Only Memory.

In this article you will learn how to use both internal and external EEPROM with an Arduino.

DroneBot Workshop October 13, 2019September 28, 2021 Arduino 25 Comments Read more

Stepper Motor with Hall Effect Limit & Homing Switches

Stepper Motors and Hall Effect switches

Today we will learn how Hall Effect sensors and switches work. These handy devices are activated using magnets.

After that we will use a couple of Hall Effect switches to control the position of a stepper motor. Using an Arduino, we’ll build both Limit Switches and a Homing Sensor.

DroneBot Workshop September 3, 2019 Arduino 26 Comments Read more

Touchscreen Display with Arduino

Touchscreen Display with Arduino

In this article we will start using touchscreen displays in our Arduino projects.

We’ll begin by examining how touchscreens work, and what the differences are between Capacitive and Resistive touchscreens are.

Then we’ll look at some example code and then write a simple interface of our own.

DroneBot Workshop August 12, 2019 Arduino 17 Comments Read more

Using BIG Stepper Motors with Arduino

Big Stepper Motors With Arduino

In this article I will show you how to control a very large stepper motor using an Arduino and a microstep motor driver module.

We will also examine how to read and interpret stepper motor specifications, and why the “voltage” rating doesn’t really mean anything.

DroneBot Workshop May 25, 2019September 28, 2021 Arduino, Tutorial 51 Comments Read more
  • « Previous
  • Next »

Table of Contents

  • 1 Introduction
  • 2 Integrated Development Environments
  • 3 PlatformIO
    • 3.1 Visual Studio Code
  • 4 Installing PlatformIO with VS Code
    • 4.1 Linux Installation
    • 4.2 Mac OS X Installation
    • 4.3 Microsoft Windows 10 Installation
    • 4.4 Install PlatformIO Plugin for VS Code
  • 5 PlatformIO Basics
    • 5.1 Creating Your First Project
    • 5.2 main.cpp File
    • 5.3 Arduino Uno Blink Test
    • 5.4 ESP32 Blink
    • 5.5 Seeeduino XIAO with Serial Monitor
  • 6 Using Libraries with PlatformIO
    • 6.1 Library Management – Arduino IDE
    • 6.2 Library Management – PlatformIO
    • 6.3 Dual Servo Library Demo
    • 6.4 Using The Library Manager
    • 6.5 platformio.ini File
  • 7 Conclusion
    • 7.1 Resources

Welcome to the Newsletter!

Let’s keep in touch!

Subscribe to the DroneBot Workshop Newsletter and be the first to find out about new projects and new features on the website.

No spam - just useful information and updates sent to you every once in a while. I’d love to be a regular visitor to your Inbox!

Popular Articles

  • ESP32-CAM
    Getting started with the ESP32-CAM
    May 24, 2020
    By DroneBot Workshop | 130 Comments
    Today we will look at the amazing ESP32-CAM module from A-Thinker. This 10-dollar module features a 2MP camera, microSD card...
  • ESP32 Introduction
    Getting started with ESP32
    April 2, 2020
    By DroneBot Workshop | 78 Comments
    Time to move up to another microcontroller, the ESP32. This amazing device has multiple I/O ports, WiFi, Bluetooth and BLE,...
  • Stepper Motors with Arduino
    Stepper Motors with Arduino – Getting Started with Stepper Motors
    February 10, 2018
    By DroneBot Workshop | 96 Comments
    Stepper motors are used in a variety of devices ranging from 3D printers and CNC machines to Blu Ray drives,...
  • L298 Motor Control Module Arduino Potentiometers
    Controlling DC Motors with the L298N Dual H-Bridge and an Arduino
    March 11, 2017
    By DroneBot Workshop | 162 Comments
    Controlling DC Motors is an essential skill for constructing robots and other hobby projects. An easy way to control DC...
  • Using Inexpensive 433MHz Transmit and Receive Modules with Arduino
    February 17, 2018
    By DroneBot Workshop | 49 Comments
    Those inexpensive RF transmitter and receiver modules that you can get on eBay and Amazon are perfect when you need...

Projects

  • Arduino Projects
  • Drone Projects
  • Electronics Projects
  • Internet of Things Projects
  • Raspberry Pi Projects
  • Robot Projects

6-Wheel Rover

  • 6-Wheel Rover – Introduction
  • 6-Wheel Rover – Rover Base – Not wild about the Wild Thumper Chassis
  • 6-Wheel Rover – Providing Power with Voltage Regulators
  • 6-Wheel Rover – 11.4-Volt Battery Connections
  • 6-Wheel Rover – ESCs and Motor Wiring

What's New?

  • Building a Dual-Boot Workstation
  • Designing and Building Linear DC Power Supplies
  • Using GC9A01 Round LCD Modules
  • Sound with ESP32 – I2S Protocol
  • Using Arduino Interrupts – Hardware, Pin Change and Timer
  • Using the ESP32-CAM MicroSD Card
  • LED Displays with Arduino
  • ESP NOW – Peer to Peer ESP32 Communications
  • Build a Pico “Uno” – Prototyping with the Pico

What’s Popular

  • Getting started with ESP32
  • Getting started with the ESP32-CAM
  • ESP32 WiFiManager - Easy WiFi Provisioning
  • Sound with ESP32 - I2S Protocol
  • ESP NOW - Peer to Peer ESP32 Communications
  • Using Servo Motors with ESP32

Workshop Connections

  • View dronebotworkshop’s profile on Facebook
  • View @DroneBotWS’s profile on Twitter
  • View DroneBotWorkshop’s profile on GitHub
  • View UCzml9bXoEM0itbcE96CB03w’s profile on YouTube
  • View dronebotworkshop’s profile on Vimeo

Copyright © 2022 DroneBot Workshop.
  • Home
  • Arduino
  • Raspberry Pi
  • Drones
  • Robots
  • Electronics
  • IoT
  • Reviews
  • Tutorials
  • About Us
  • Contact Us
  • Privacy and Cookies