Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

SMARS HC-SR07 Range Finder Arduino Programming - Sensors

Kevin McAleer via YouTube

Overview

Learn to program an Arduino-controlled SMARS robot with an HC-SR07 range finder sensor in this 54-minute video tutorial. Connect the range finder to the Arduino, measure object distances, and implement obstacle avoidance for your robot. Explore the basics of SMARS robots, low-cost, open-source, 3D-printable devices ideal for beginners in electronics and programming. Access additional resources, including show notes, GitHub code repository, and presentation slides. Dive into topics such as pin configuration, variables, trigger and echo signals, setup code, loop frequency, distance calculation, and serial monitoring. Troubleshoot common issues and create avoidance algorithms using Python. Test and initialize your code to bring your SMARS robot to life with sensor-based navigation.

Syllabus

Introduction
Preamble
Scenarios
Left Side
Lesson Overview
Sketch
Pins
Variables
Trigger and Echo
Setup Code
Long and Int
Loop
Frequency
Distance
Serial Monitor
Troubleshooting
Creating an Avoid
Return Distance
Python Code
Delay
Main loop
Echo out
Checking the code
Initializing
Testing

Taught by

Kevin McAleer

Reviews

Start your review of SMARS HC-SR07 Range Finder Arduino Programming - Sensors

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.