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.
- Host: GitHub
- URL: https://github.com/codeadamca/ev3-power-functions
- Owner: codeadamca
- Created: 2020-08-03T19:39:47.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-26T21:30:58.000Z (5 months ago)
- Last Synced: 2025-01-26T22:25:16.616Z (5 months ago)
- Topics: ev3, ev3dev, lego, power-functions, python
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).

> 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)