Lucas Fernando
Published © GPL3+

How to Use Relays and Transistors with Arduino - Lesson #18

In this lesson, we explore two essential electronic components: relays and transistors.

BeginnerProtip4 hours102
How to Use Relays and Transistors with Arduino - Lesson #18

Things used in this project

Hardware components

DFRobot MindPlus Arduino Coding Kit
×1
Arduino UNO
Arduino UNO
×1
DFRobot I/O expansion shield
×1
Gravity: Analog LM35 Temperature Sensor For Arduino
DFRobot Gravity: Analog LM35 Temperature Sensor For Arduino
×1
Gravity:Digital Push Button (Yellow)
DFRobot Gravity:Digital Push Button (Yellow)
×1
I2C 16x2 Arduino LCD Display Module
DFRobot I2C 16x2 Arduino LCD Display Module
×1
Gravity: Digital 5A Relay Module
DFRobot Gravity: Digital 5A Relay Module
×1
Small motor
×1
Diode (H23 FR207G)
×1
Resistors (2k and 5kΩ)
×2
Transistor (BC547)
×1
LED (generic)
LED (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1
9V battery (generic)
9V battery (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Schematic - project #1

Thermostat prototype with relay.

Schematic - project #2

Thermostat prototype with transistor.

Code

GitHub repository

GitHub repository of the Arduino for beginners series.

Credits

Lucas Fernando
24 projects • 9 followers
I build projects using Arduino, ESP32, and 3D printing. My articles document my journey from the basics to designing more practical devices.

Comments