How Rotary Encoders Work

Rotary encoders are components used for measuring the rotation of a shaft or axle. They are often used for volume knobs in audio equipment, DIY gaming controllers, or as an input device for different Arduino or Raspberry Pi projects. In this guide, you’ll learn how rotary encoders work and how they can be integrated into

Arduino Rotary Encoder: Tutorial With Example

In this tutorial, you’ll learn how to interface an incremental rotary encoder with an Arduino to read the movement of the knob. This can be useful for creating user interfaces or reading mechanical positions in robotics and other applications. What You Will Need Schematic and Breadboard Setup Note that in this schematic I’m using a

Arduino Motor Guide: How to Drive a DC Motor

In this Arduino motor guide, you’ll learn how to drive and control the speed of a DC motor using an Arduino UNO and a TIP120 transistor. In this example, you’ll use a pushbutton to ramp up the motor speed and then slow it down, thanks to the power of Pulse Width Modulation (PWM). Materials Needed:

Arduino Servo Motor: Reference Code and Wiring Example

In this Arduino servo motor tutorial, you’ll learn how to control a servo motor using an Arduino UNO board and a potentiometer. As soon as you’ve got this example project up and running, you’ll have the skill of controlling servo motors from your Arduino. This can be the basis for more advanced robotics projects. Components

Arduino Hall Effect Sensor: How to Detect Magnetic Fields

In this guide, you’ll learn how to set up an Arduino Hall effect sensor, specifically the US1881, to detect magnetic fields. This can be useful for projects where you need to find the RPM of a motor or other movements in a machine. Parts Needed Schematic Diagram Connect the VDD pin of the US1881 Hall

Arduino Ultrasonic: Controlling an HC-SR04 with Arduino UNO

A popular Arduino Ultrasonic Sensor is the HC-SR04. It’s widely used for non-contact distance measurements and often used in robotics and automation projects. This guide will show you how to connect an HC-SR04 to an Arduino and write a simple program to measure distance. Requirements Connection Diagram Step-by-Step Guide Arduino Ultrasonic Example Code Copy and

What Is A Resistor And What Does It Do?

The resistor is a component that resists the flow of current. It doesn’t do anything actively, so it’s called a passive component. Sounds boring and pretty useless, but it’s actually an extremely useful component. Once you know the basics of the resistor – and how it works with currents and voltages in a circuit –

Arduino Sound Sensor: Control an LED with Sound

In this tutorial, you’ll learn how to connect an Arduino sound sensor to control an LED with sound. By the end of this guide, you’ll have a working sound-activated LED! Parts List How To Connect the Arduino Sound Sensor In the schematic diagram below, you can see the complete connections for this project. Connect the

Arduino Speaker Tutorial: Play Melodies with Your Arduino

In this beginner-friendly tutorial, you’ll learn how to set up an Arduino Speaker circuit where you will play a melody from your Arduino. By the end, you’ll have a basic understanding of how to create Arduino projects that play melodies.

What You’ll Need:

Arduino Buzzer Tutorial: Play Melodies with Your Arduino

In this quickstart tutorial, you’ll learn how to control a passive buzzer using your Arduino UNO to play a simple melody. By the end, you’ll have a basic understanding of how to incorporate sound into your Arduino projects. Materials Needed Arduino Buzzer Schematic Diagram Refer to the schematic diagram provided to connect your passive buzzer

The Potentiometer: Pinout, Wiring, and How It Works

A potentiometer is an adjustable resistor with three pins. The fact that it has three pins instead of two was confusing to me when I was starting to learn electronics. But as soon as I saw the inside of it, it all made sense.

In this guide, I’ll show you what the potentiometer looks like on the inside, the different potentiometer types, and examples of how to wire it up for different circuits.

What Is A Potentiometer?

Potentiometers are adjustable resistors used in circuits for many things, such as to control the volume of an amplifier, control the brightness of a light, and much more.

It is like the resistor. But while the resistance value of a resistor stays the same, you can adjust the resistance value of a potentiometer.

Arduino Potentiometer – Circuit and Code Example

This Arduino Potentiometer circuit is a simple example that shows you how analog inputs work, and how you can use the Serial Monitor to learn about what is going on inside the chip.

In this quickstart guide, you’ll learn how to connect a potentiometer to an Arduino board and read out the voltage. This is a great practice circuit when you’re learning Arduino. The code is straightforward and the potentiometer connections are simple.

Parts Needed

Arduino Potentiometer Circuit

To connect a potentiometer to an Arduino, connect the middle pin of the potentiometer to an analog input pin on the Arduino. Then connect the outer pins to 5V and GND.

What is Arduino and How Do I Get Started?

Arduino is a microcontroller board that makes it really easy to program electronics. It’s an easy way to get started with microcontrollers that I highly recommend since it lets you jump right into the code and do stuff from the start.

You can use it both for building simple things like a blinking LED – and advanced stuff like building an internet-connected robot. With Arduino, it’s simple to build really cool electronics projects without learning a bunch of theory. And it’s fun!

It has several inputs and outputs that are controlled by simple commands that you write into a program on your computer.

Arduino UNO board

Open Collector Output – What Is It and How Do I Use It?

An open collector output is not a normal high/low output. Instead, these outputs are connected via a transistor. And the collector of the transistor is available at the pin. For example, if you have a NAND gate with an open-collector output, it will look like this: So when the output from the NAND gate is ‘1’,

Arduino Blink LED – Circuit and Code Example

The Arduino blink LED circuit is a simple circuit that works great for starting to learn Arduino. Both the code and the connections are straightforward so that you can understand it with little to no background.

In this quickstart guide, you’ll learn how to connect an LED to an Arduino board and make it blink.

Parts Needed

Arduino Blink LED Circuit

To connect an LED to an Arduino, you need a resistor in series with the LED. This is to limit how much current the LED pulls out of the Arduino pin. The value isn’t crucial but should be between 220 Ω and 1000 Ω.