111763 Views
85221 Views
83639 Views
51774 Views
49949 Views
48472 Views
Obsidian - the best tool for Makers
10 Projects for your Raspberry Pi Pico
Raspberry Pi Telegraf Setup with Docker
Setting Up Dynamic DNS on a Raspberry Pi for Self-Hosting
Raspberry Pi WordPress Setup with Docker
Raspberry Pi WireGuard VPN Setup with Docker
Using the Raspberry Pi Pico's Built-in Temperature Sensor
Getting Started with SQL
Introduction to the Linux Command Line on Raspberry Pi OS
How to install MicroPython
Wall Drawing Robot Tutorial
BrachioGraph Tutorial
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 >