Skip to content
This repository has been archived by the owner on Oct 7, 2023. It is now read-only.

rueedlinger/ev3dev-python-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEGO MINDSTORMS (ev3dev) Python Robot Examples

This project contains simple robot examples for the LEGO MINDSTORMS EV3 intelligent brick. The API uses the ev3dev Python module.

You can use these examples to get started with your ev3dev self-driving robot.

Get started

Make sure that the motors are connected to the following ouput pins:

  • Right motor (EV3 large motor) => Output pin A
  • Left motor (EV3 large motor) => Output pin B

Some of the examples may require the following sensors:

  • Ultrasonic sensor
  • Gyro sensor
  • Color sensor
  • Infrared sensor

Examples:

Note: The main logic is stored in the robot package. To run these examples you need to copy the 'robot' package as well.

Plain ev3dev robot

run_robot.py is a simple example for autonomous self driving robot. Copy the example to the EV3 brick an make the script executable.

The example uses the following sensors:

  • Ultrasonic sensor
  • Color sensor
  • Gyro sensor

IR ev3dev robot (Infrared Remote)

run_robot_remote_control.py is example how to control your robot with a the infrared remote control.

The example uses the following sensors:

  • Infrared sensor
  • Ultrasonic sensor
  • Color sensor
  • Gyro sensor

About

LEGO MINDSTORMS (ev3dev) Python Robot Examples

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages