Sorry, your browser is not supported
To have the best experience using Skillshare, we recommend that you use one of these supported browsers.

Arduino Bootcamp Projects - Ultrasonic Sensor Alarm

Lee Assam, University Instructor, Software Developer

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
8 Videos (20m)
    • Introduction

    • Parts that are needed

    • Understanding how ultrasonic sensors work

    • Explaining the circuit diagram

    • Wiring up the circuit

    • Uploading the code and project demonstration

    • Explanation of the code

    • Summary


About This Class


This project introduces you to the HC-SR04 Ultrasonic Sensor. We will be creating an alarm circuit with a buzzer and warning LEDs. You will understand how an ultrasonic sensor works and how to interact with it in code. This is a very handy addition to your Arduino electronics projects for obstacle avoidance.

Learning Objectives:

  • How an ultrasonic sensor (HC-SR04) works
  • The pinouts and how to connect an ultrasonic sensor in a circuit
  • How the pulseIn() function works

If you would like to learn more about the Arduino and build projects like these, check out my Udemy Course:

Arduino Bootcamp: Learning Through Projects

Normally $150, but only $10 with the COUPON link below! Over 90% DISCOUNT! Act fast as only limited coupons left





Lee Assam

University Instructor, Software Developer

Hi, I am Lee Assam. I bring to the table 18+ years of programming, development and IT experience. I have a Bachelor's degree in Electrical and Computer Engineering and a Master's Degree in Computer Science.

I teach at Universities on topics ranging from Software Development to Electrical Engineering and prototyping. I like coming up with new ideas and prototyping them using the Arduino and Raspberry Pi platforms.

My passion and hobby is Arduino and the Internet of Things. I hav...

See full profile