Samerli Lessons

Arduino and Robotics Lessons

  • Using LDR with Arduino for Light Detection

    List of Content 1. Needed Components 2. Connections 3. How LDRs Work & Voltage Divider 4. Voltage Dividers Voltage Divider: Convert changes in resistance into voltage changes. The output voltage (Vout) in a voltage divider circuit is calculated using: Vout = (R2 / (R1 + R2)) × Vcc Where: How it works with an LDR: […]

  • Using HC-SR04 Ultrasonic Sensor with Arduino for Traffic Light Control

    Using HC-SR04 Ultrasonic Sensor with Arduino for Traffic Light Control

    Upgrade your Arduino traffic light with an HC-SR04 ultrasonic distance sensor! This lesson walks you through replacing manual buttons with smart object/wave detection.

  • Lesson 5: Using LM35 Temperature Sensor with Arduino

    Lesson 5: Using LM35 Temperature Sensor with Arduino

    Using LM35 with Arduino List of Content 1. Needed Components 2. Connecting Your Circuit Set Up the Breadboard: Schematics and Pictures 3. How the LM35 Sensor Works The LM35 is a precision analog temperature sensor that provides an output voltage linearly proportional to the Celsius temperature. Here’s how it works: LM35 Package Types: Where to […]

  • Lesson 1: Simple Blinking LED Project With Arduino

    Lesson 1: Simple Blinking LED Project With Arduino

    Making a simple blinking LED project with Arduino is the starting point where many start. This short lesson can help you start your journey learning coding and electronics with Arduino.

  • Lesson 3: Building a Crossroad Traffic Light Circuit With Arduino

    Lesson 3: Building a Crossroad Traffic Light Circuit With Arduino

    On this page: In the previous lesson, we had learned about making a single traffic light circuit and use Arduino to control it. This lesson expands the circuit to build a crossroad traffic lights with Arduino, using either additional pins or a simple trick. 1. Needed Components 2. Connecting Your Traffic Light Circuit 3. Code […]

  • Lesson 2: Making a Traffic Light Project With Arduino

    Lesson 2: Making a Traffic Light Project With Arduino

    List of content 1. Needed Components 2. Connecting Your Traffic Light Circuit 3. Code Here’s a simple Arduino code for the traffic light system: How this code words: Variable declaration at the beginning, we stored the numbers 12 and 13 into variables (redPin, GreenPin) Setup The pinMode() Command determines the type of pin (input or […]

Want to join our live classes?