Главная
Study mode:
on
1
Introduction
2
Preamble
3
Scenarios
4
Left Side
5
Lesson Overview
6
Sketch
7
Pins
8
Variables
9
Trigger and Echo
10
Setup Code
11
Long and Int
12
Loop
13
Frequency
14
Distance
15
Serial Monitor
16
Troubleshooting
17
Creating an Avoid
18
Return Distance
19
Python Code
20
Delay
21
Main loop
22
Echo out
23
Checking the code
24
Initializing
25
Testing
Description:
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.

SMARS HC-SR07 Range Finder Arduino Programming - Sensors

Kevin McAleer
Add to list
0:00 / 0:00