Skip to content

Raspi Robot is a simple python program for raspberry 3B, include Motor Shield(L298N), Ultrasonic Sensor(HC-SR04) component.

License

Notifications You must be signed in to change notification settings

veryplay/raspi-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspi Robot

License Build Status Python Versions

Raspi Robot is a simple python program for raspberry 3B, include Motor Shield(L298N), Ultrasonic Sensor(HC-SR04) component.

Motor Shield(L298N) Interface

./docs/L298N.jpg

Connection Detail of Motor Shield(L298N)

./docs/L298N_AND_RASPI.png

Connection Detail of Ultrasonic Sensor(HC-SR04)

./docs/HC-SR04.png

Usage

python raspi_robot/robot.py

Install

make install

Run

raspi-robot

Note

Need to change L298N/HC-SR04's actual GPIO port in driver.pydecelerator.pyultrasonic.py.

L298N connection detail
L298N GPIO
IN1 GPIO 05
IN2 GPIO 06
IN3 GPIO 13
IN4 GPIO 26
ENA GPIO 18
ENB GPIO 19
HC-SR04 connection detail
L298N GPIO
VCC GPIO 5V
TRIG GPIO 23
ECHO GPIO 24
GND GPIO GND

About

Raspi Robot is a simple python program for raspberry 3B, include Motor Shield(L298N), Ultrasonic Sensor(HC-SR04) component.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published