Skip to content

(contains additions) This is the library to run a modified SMARS robot with the Raspberry Pi Pico, as well as two walking robots. Ultrasonic and ir sensors and a servo to turn the sensors are included in the code. A remote control via bluetooth can also be used.

License

Notifications You must be signed in to change notification settings

Veicm/robotlibrary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

This branch contains many features I implemented myself.

Robotlibrary for Raspberry Pi Pico

Project description

This is a library written in micropython for robots based on the Raspberry Pi Pico. The follwing sensors / parts can be used with this:

  • ultrasonic sensor
  • infrared sensor
  • servo motor that turns the ultrasonic sensor for sweeps of the surroundings.
  • the motors of course
  • a remote control via bluetooth can be connected. 2 tpyes are available: 1 with a slider for speed and two rotary encoders, one with a joystick.
  • a bluetooth library that handles the connections.

Types of robots

  • a modified SMARS robot
  • a crawling robot that moves like a turtle
  • a four-legged robot that moves like a dog Detailed description is available on: Jb Knowledgebase (Only in German)

Installation and running

Copy the folder robotlibrary to the Raspberry Pi Pico. To use the robots import the main class of the robot you want to use:

  • from robotlibrary.robot import Robot for the SMARS robot.
  • from robotlibrary.crawly import Crawly for the turtle like robot.
  • from robotlibrary.walky import Walky for the dog like robot.

In each file you can also find example code to get you started.

Needed parts

Apart from the Raspberry Pi Pico you will need an ultrasonic sensor, a motor driver, two motors and an energy source. There are so many possibilities on how to do this that I won't describe them here.

Some advice

This whole project is for my robotics classes, so all of that goes with lessons and help from me. If you know what you are doing you can certainly try this for yourself as well.

About

(contains additions) This is the library to run a modified SMARS robot with the Raspberry Pi Pico, as well as two walking robots. Ultrasonic and ir sensors and a servo to turn the sensors are included in the code. A remote control via bluetooth can also be used.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Python 100.0%