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

Tutorial

Driving DC Motors with Microcontrollers

Driving DC Motors with Microcontrollers

Learn to use seven different DC motor drivers with an Arduino Uno.

We’ll see how to put these to use with motors of all sizes, and of course we have hookup diagrams and code samples!

DroneBot Workshop October 16, 2022 Arduino, Electronics, Tutorial 9 Comments Read more

Measure Air Quality with Microcontrollers

Measure Air Quality with Microcontrollers

Measure the quality of the air you are breathing using a variety of sensors, an Arduino and an ESP32.

In this article I’ll discuss air quality parameters and show you how to use several popular sensors to measure the gases and particulate matter in the air

DroneBot Workshop September 23, 2022 Arduino, ESP32, Tutorial 5 Comments Read more

Building a Dual-Boot Workstation

Building a Dual-Boot Workstation

Get the best of both worlds by building a dual-boot workstation!

I’ll show you how to take a “bare-bones” workstation and install both Microsoft Windows 11 and Ubuntu Linux 22.04.

DroneBot Workshop July 20, 2022 Software, Tutorial No Comments Read more

Designing and Building Linear DC Power Supplies

Designing and Building Linear DC Power Supplies

Linear DC Power supplies are no longer as common as switching supplies, but they are still a good choice for many applications.

Today we will learn how linear power supplies work, how they differ from switching power supplies, and how to use voltage regulator modules.

We will then construct a DC Power Supply suitable for use on the workbench.

DroneBot Workshop June 29, 2022 Electronics, Project, Tutorial 10 Comments Read more

Using GC9A01 Round LCD Modules

Using GC9A01 Round LCD Modules

The GC9A01 is a circular LCD module that is ideal for instrumentation and other cool display applications.

In this article, we will learn how to use this display with an Arduino Uno and an ESP32.

DroneBot Workshop June 5, 2022 Arduino, Electronics, ESP32, Tutorial 7 Comments Read more

Sound with ESP32 – I2S Protocol

Sound with ESP32 – I2S Protocol

The I2S protocol is not a misspelling of I2C, it is a protocol for controlling digital audio.

Today we will use the I2S protocol and some I2S peripherals with an ESP32. We’ll display microphone waveforms and build an MP3 player and an Internet Radio.

DroneBot Workshop May 22, 2022 ESP32, Tutorial 37 Comments Read more

Using Arduino Interrupts – Hardware, Pin Change and Timer

Arduino Interrupts

If your project needs a responsive user interface or has precision timing requirements, then interrupts are the key to getting it to work smoothly.

Today we will learn how to use Hardware, Pin Change and Timer Interrupts with the Arduino Uno.

DroneBot Workshop May 10, 2022 Arduino, Tutorial 10 Comments Read more

Using the ESP32-CAM MicroSD Card

Using the ESP32-CAM MicroSD Card

Learn how to use one of the ESP32-CAM board’s most neglected features – the MicroSD card. In this article, I’ll show you how to use the MicroSD card to store photos taken with the camera.

We will also build a motion-sensitive and a time-lapse camera using the ESP32-CAM.

DroneBot Workshop April 17, 2022 ESP32, Tutorial 15 Comments Read more

LED Displays with Arduino

LED Displays with Arduino

Learn how to use both 7-segment and dot-matrix LED displays with an Arduino.

We will be working with both single and multiple display units, in a variety of configurations.

LEDs are by no means dead, they are still a great choice for a number of applications. Add one to your next Arduino project.

DroneBot Workshop April 10, 2022 Arduino, Electronics, Tutorial 8 Comments Read more

ESP32 WiFiManager – Easy WiFi Provisioning

ESP32 WiFiManager – Easy WiFi Provisioning

Stop hard-coding wifi credentials in your ESP32 and ESP8266 sketches – use WiFiManager instead!

This easy-to-use wifi provisioning library eliminates the need to hard-code wifi information, and makes your projects portable!

Learn how to use WiFiManager and how to easily adapt your existing sketches to eliminate hard-coding forever!

DroneBot Workshop March 20, 2022 ESP32, IoT, Tutorial 22 Comments Read more
  • « Previous

Table of Contents

  • 1 Introduction
  • 2 Selecting DC Motor Drivers
    • 2.1 DC Motor Specifications
      • 2.1.1 Working Voltage
      • 2.1.2 Current
      • 2.1.3 Stall Current
    • 2.2 H-Bridge Motor Drivers
    • 2.3 Speed Control with PWM
    • 2.4 Controlling Speed and Direction with a Microcontroller
      • 2.4.1 PWM + 2 Control
      • 2.4.2 PWM + 1 Control
      • 2.4.3 2 PWM
  • 3 Small & Mid-sized Motor Drivers
    • 3.1 L298N Dual H-Bridge
      • 3.1.1 L298N Arduino Hookup
      • 3.1.2 L298N Arduino Sketch
    • 3.2 TB6612FNG Dual H-Bridge
      • 3.2.1 TB6612FNG Arduino Hookup
      • 3.2.2 TB6612FNG Arduino Sketch
    • 3.3 DRV8871 Single H-Bridge
      • 3.3.1 DRV8871 Arduino Hookup
      • 3.3.2 DRV8871 Arduino Sketch
    • 3.4 MX1508 Dual H-Bridge
      • 3.4.1 MX1508 Arduino Hookup
      • 3.4.2 MX1508 Arduino Sketch
  • 4 Large Motor Drivers
    • 4.1 DBH-12 Dual H-Bridge
      • 4.1.1 DBH-12 Arduino Hookup
      • 4.1.2 DBH-12 Arduino Sketch
    • 4.2 IBT-2 (BTS7960) Single H-Bridge
      • 4.2.1 IBT-2 (BTS7960) Arduino Hookup
      • 4.2.2 IBT-2 (BTS7960) Arduino Sketch
    • 4.3 Cytron MD25HV Single H-Bridge & Controller
      • 4.3.1 MD25HV Arduino Hookup
      • 4.3.2 MD25HV Arduino Sketch – Cytron Motor Driver Library
  • 5 Conclusion
    • 5.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 Introduction
    Getting started with ESP32
    April 2, 2020
    By DroneBot Workshop | 93 Comments
    Time to move up to another microcontroller, the ESP32. This amazing device has multiple I/O ports, WiFi, Bluetooth and BLE,...
  • ESP32-CAM
    Getting started with the ESP32-CAM
    May 24, 2020
    By DroneBot Workshop | 144 Comments
    Today we will look at the amazing ESP32-CAM module from A-Thinker. This 10-dollar module features a 2MP camera, microSD card...
  • Stepper Motors with Arduino
    Stepper Motors with Arduino – Getting Started with Stepper Motors
    February 10, 2018
    By DroneBot Workshop | 97 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 | 169 Comments
    Controlling DC Motors is an essential skill for constructing robots and other hobby projects. An easy way to control DC...
  • Servo Motors & ESP32
    Using Servo Motors with ESP32
    July 23, 2020
    By DroneBot Workshop | 22 Comments
    Today we will look at a few different ways to drive a servo motor with an ESP32 microcontroller.We'll be using...

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?

  • Using ChatGPT to Write Code for Arduino and ESP32
  • Using the ESP32 DAC (and making a Fruity Instrument)
  • Mecanum Wheel Robot Car with ESP-NOW Remote Control
  • Driving DC Motors with Microcontrollers
  • Measure Air Quality with Microcontrollers
  • Pico W with the Arduino IDE
  • Building a Dual-Boot Workstation
  • Designing and Building Linear DC Power Supplies
  • Using GC9A01 Round LCD Modules

What’s Popular

  • Using ChatGPT to Write Code for Arduino and ESP32
  • Sound with ESP32 - I2S Protocol
  • Getting started with ESP32
  • Getting started with the ESP32-CAM
  • ESP32 WiFiManager - Easy WiFi Provisioning
  • 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 © 2023 DroneBot Workshop.
  • Home
  • Arduino
  • Raspberry Pi
  • Drones
  • Robots
  • Electronics
  • IoT
  • Reviews
  • Tutorials
  • About Us
  • Contact Us
  • Privacy and Cookies

Web Site Updates

I am applying several updates and improvements to the website this week, and you may notice some “odd behavior” on a few pages while the changes are being performed.

Please feel free to continue to use the website during these upgrades.  The changes that I am making will (hopefully) make the website a more useful resource for you.

HAPPY NEW YEAR!

Bill

×