100751 Views
79190 Views
45286 Views
43314 Views
39973 Views
33349 Views
Sync Files on your Pis, with Syncthing
NextCloud
Buddy Jr.
Robot Arms
TherePi - Music Making with a Raspberry Pi
Motion Controlled Arm
Introduction to FreeCAD for Beginners
Building a Robot Arm with Raspberry Pi and PCA9685
Building User Authentication for Static Sites with FastAPI
Mastering Pydantic for Robust Data Validation
Mastering Markdown for Documentation with Jekyll
Introduction to Rust
KevsRobots Learning Platform
42% Percent Complete
By Kevin McAleer, 2 Minutes
BurgerBot has a nice Python Library that controls the robotic vehicle, which includes motors and sensors, such as a distance sensor, line sensor and a servo for the pen.
This library uses the Pimoroni flavoured MicroPython.
The following libraries are required for the BurgerBot to function properly (and they are all inlcuded in the Pimoroni MicroPython):
motor
pico_motor_shim
REVERSED_DIR
pimoroni
Servo
servo
connect_to_wifi
logging
access_point
dns
server
redirect
phew
gc
Pin
machine
The BurgerBot class contains the following methods:
BurgerBot
__init__()
MOTOR_PINS
__speed
line_detected() -> bool
pen_middle()
pen_down()
pen_up()
forward(duration)
turnleft(duration)
turnright(duration)
stop()
left_motor(speed)
right_motor(speed)
speed() -> float
speed(value)
The BurgerBot also contains the following variables:
motors
Motor
pen_servo
line_sensor
< Previous Next >