An open API service indexing awesome lists of open source software.

https://github.com/codeadamca/ev3-power-functions

This is a simple script to test the use of a LEGO Power Functions light with a LEGO Mindstorms EV3 Brick.
https://github.com/codeadamca/ev3-power-functions

ev3 ev3dev lego power-functions python

Last synced: 3 months ago
JSON representation

This is a simple script to test the use of a LEGO Power Functions light with a LEGO Mindstorms EV3 Brick.

Awesome Lists containing this project

README

        

# LEGO® EV3 and LEGO Power Functions

A Python snippet to test the use of LEGO Power Functions with the LEGO EV3 Brick. This code uses [Pybricks](https://pybricks.com/) and an EV3 to Power Functions converter. The converter instructions are available from [Christoph Bartneck, Ph.D.](https://www.bartneck.de/2015/06/0) and [TechnicRobot](https://www.youtube.com/watch?v=Ns3TODgRlCE).

This example activates any Power Functions light and/or motor using full speed forward and full speed reverse. This example was desgned to test if the homemade EV3 to Power Functions converter works with the official [LEGO EV3 Python setup](https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3).

![Connection Diagram](_readme/connection-diagram.jpg)

> Diagaram taken from TechnicRobot:
> [https://www.youtube.com/watch?v=Ns3TODgRlCE](https://www.youtube.com/watch?v=Ns3TODgRlCE)

---

## Repo Resources

- [TechnicRobot](https://www.youtube.com/@TechnicRobot/about)
- [Pybricks](https://pybricks.com/)
- [Christoph Bartneck, Ph.D.](https://www.bartneck.de/2015/06/0)