Skip to content
Welcome to the Workshop! Come and explore the new website features.
DroneBot Workshop

DroneBot Workshop

Arduino, Electronics, IoT, Raspberry Pi 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

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, 2019April 12, 2023 Arduino 29 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, 2019April 12, 2023 Arduino 20 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, 2019April 11, 2023 Arduino, Tutorial 56 Comments Read more

Build a Digital Level with MPU-6050 and Arduino

MPU-6050 Electronic Level with Arduino

We will look at the MPU-6050, an Inertial Measurement Unit or IMU. This inexpensive device contains both an accelerometer and a gyroscope and has many applications.

We will also build an electronic level that uses an LCD and LED display.

DroneBot Workshop April 27, 2019April 12, 2023 Arduino, Project 50 Comments Read more

I2C Part 2 – Build an I2C Sensor

Build a I2C Sensor

In our second look at using the I2C bus we will build our own I2C sensor, one that has four ultrasonic distance sensors.

We’ll also learn about the protocol used by I2C communications

DroneBot Workshop April 20, 2019April 12, 2023 Arduino, Tutorial 8 Comments Read more

Programming the Arduino Pro Mini

Using the Arduino Pro Mini

Learn how to use and program the Arduino Pro Mini, using an FTDI adapter and the Arduino IDE.

We will also use a 3.3-volt Pro Mini to build a battery-powered robot arm controller for the MeArm

DroneBot Workshop April 13, 2019April 12, 2023 Arduino, Tutorial 10 Comments Read more

I2C Communications Part 1 – Arduino to Arduino

I2C Part 1-Using 2 Arduinos

This is the first of a series of articles about using I2C. Today I will explain what I2C is and show you the Arduino Wire Library

We will run two demonstrations. The first demo will show you how to exchange data between two Arduinos using I2C. The second demo will describe how to control an LED on a slave Arduino with a potentiometer on a master.

DroneBot Workshop March 30, 2019April 11, 2023 General, Tutorial 37 Comments Read more

Using Rotary Encoders with Arduino

Rotary Encoders

Rotary encoders are versatile devices that can be used both as controls and as measurement tools.

Today I will show you two ways of using rotary encoders – as a control for a servo motor and to measure RPM on a gear motor

DroneBot Workshop March 23, 2019April 11, 2023 Arduino, Tutorial 79 Comments Read more

SD Card Experiments with Arduino

SD Cards with Arduino

SD and microSD cards are a simple way to add huge amounts of non-volatile storage to your Arduino designs. In this article, I will show you how to use SD card modules with the Arduino.

I will also show you how to record and playback the motion of a servo motor.

DroneBot Workshop March 16, 2019April 12, 2023 Arduino, Tutorial 40 Comments Read more

Using a Real Time Clock with Arduino

Real Time Clock with Arduino

Introduction The Arduino is an amazing device. It’s useful for prototyping and can also be used to construct a complete project. It has an analog to digital converters (ADC), digital I/O pins, it handles interrupts and it can communicate via

DroneBot Workshop March 9, 2019April 12, 2023 Arduino, Featured, Tutorial 27 Comments Read more
  • « Previous
  • Next »

Change Text Size

  • 90%  100%  110%  120%  

Let's keep in touch!

Please subscribe to the newsletter and keep up to date with what is happening in the workshop.

Zero spam, no sales - just useful information!

Latest Articles

  • Op-Amps – Analog Building Blocks
  • Arduino GIGA R1 WiFi
  • Use a PS3 Controller with an ESP32
  • Using ChatGPT to Write Code for Arduino and ESP32
  • Using the ESP32 DAC (and making a Fruity Instrument)

Table of Contents

  • 1 Introduction
  • 2 Limit Switches and Homing Sensors
    • 2.1 Types of Switches
  • 3 Hall Effect Switches
    • 3.1 History 
    • 3.2 Non-Latching Hall Effect Switches
    • 3.3 Latching Hall Effect Switches
    • 3.4 Testing Hall Effect Switches and Sensors
  • 4 Hall Effect Switches with Arduino
    • 4.1 Simple Arduino Hookup
    • 4.2 Arduino Simple Hall Effect Sketch
  • 5 Controlling a Stepper Motor – Limit Switches
    • 5.1 Limit Switch Demo Hookup
    • 5.2 Arduino Limit Switch Sketch
  • 6 Controlling a Stepper Motor – Homing Sensor
    • 6.1 Homing Sensor Arduino Sketch
  • 7 Conclusion
    • 7.1 Parts List
    • 7.2 Resources

Categories

  • 6-Wheel Rover Project
  • Arduino
  • Build a REAL Robot
  • Electronics
  • ESP32
  • Featured
  • General
  • IoT
  • Project
  • QuadCopter
  • Raspberry Pi
  • Raspberry Pi 10 Projects
  • Robots
  • Software
  • Tutorial
  • Vendors

What's New?

  • Op-Amps – Analog Building Blocks
  • Arduino GIGA R1 WiFi
  • Use a PS3 Controller with an ESP32
  • 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
  • Sound with ESP32 – I2S Protocol
  • Using Arduino Interrupts – Hardware, Pin Change and Timer
  • Using the ESP32-CAM MicroSD Card

What’s Popular

  • Arduino
  • Tutorials
  • ESP32
  • Electronics
  • Raspberry Pi
  • Getting started with ESP32
  • Sound with ESP32 - I2S Protocol
  • Projects
  • Getting started with the ESP32-CAM
  • ESP32 WiFiManager - Easy WiFi Provisioning

© 2023 DroneBot Workshop

  • Home
  • Arduino
  • Raspberry Pi
  • Drones
  • Robots
  • Electronics
  • IoT
  • Reviews
  • Tutorials
  • About Us
  • Contact Us
  • Privacy and Cookies