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, 2021 Arduino, Software, Tutorial No 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, 2020October 19, 2020 Arduino, Electronics, Tutorial 9 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, 2020 Arduino, Electronics 15 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, 2020February 4, 2020 Arduino 2 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, 2020January 26, 2020 Arduino 7 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, 2019December 29, 2019 Arduino, Electronics, Tutorial 13 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, 2019December 29, 2019 Arduino 13 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 16 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 9 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, 2019June 24, 2019 Arduino, Tutorial 35 Comments Read more
  • « Previous

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 second week. I’d love to be a regular visitor to your Inbox!

Recent Articles

  • Getting Started with PlatformIO
  • Build a Developers Linux Workstation
  • Meet the Seeeduino XIAO
  • Controlling AC Devices with Arduino
  • Build an ESP32-CAM Developers Module

Popular Articles

  • Stepper Motors with Arduino
    Stepper Motors with Arduino – Getting Started with Stepper Motors
    71 Comments
  • L298 Motor Control Module Arduino Potentiometers
    Controlling DC Motors with the L298N Dual H-Bridge and an Arduino
    134 Comments
  • Using Inexpensive 433MHz Transmit and Receive Modules with Arduino
    35 Comments
  • Using LCD Displays with Arduino
    Using LCD Displays with Arduino
    47 Comments
  • Robot Car With Speed Sensors
    Wireless Joystick for Arduino Robot Car with nRF24L01+
    76 Comments

Projects

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

Tutorials

  • Arduino Tutorials
  • Drone Tutorials
  • Electronics Tutorials
  • Internet of Things Tutorials
  • Raspberry Pi Tutorials
  • Robot Tutorials
  • Software Tutorials

What’s New

  • Getting Started with PlatformIO
  • Build a Developers Linux Workstation
  • Meet the Seeeduino XIAO
  • Controlling AC Devices with Arduino
  • Build an ESP32-CAM Developers Module
  • Using Basic Logic Gates – With & Without Arduino
  • Using Servo Motors with ESP32
  • Raspberry Pi Cameras – the BIG Picture
  • Getting started with the ESP32-CAM

What’s Popular

  • Getting started with the ESP32-CAM
  • Getting started with ESP32
  • Stepper Motors with Arduino - Getting Started with Stepper Motors
  • Using Rotary Encoders with Arduino
  • Convert an ATX Computer Supply to a Bench Power Supply
  • Getting Started with PlatformIO

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 © 2021 DroneBot Workshop.
  • Home
  • Arduino
  • Raspberry Pi
  • Drones
  • Robots
  • Electronics
  • IoT
  • Reviews
  • Tutorials
  • About Us
  • Contact Us
  • Privacy and Cookies
This site uses cookies: Find out more.