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

https://github.com/codeadamca/brickpi-infrared-remote

A basic example of using the EV3 Infrared sensor to interact with the remote with the Raspberry Pi 3 and the Dexter Industries BrickPi.
https://github.com/codeadamca/brickpi-infrared-remote

brickpi dexter ev3 python

Last synced: 12 months ago
JSON representation

A basic example of using the EV3 Infrared sensor to interact with the remote with the Raspberry Pi 3 and the Dexter Industries BrickPi.

Awesome Lists containing this project

README

          

# Dexter BrickPi and the Infrared Sensor and Remote

A Python snippet utilizing the LEGO EV3 infrared sensor and remote, the Dexter BrickPi and [BrickPi3](https://github.com/DexterInd/BrickPi3). [BrickPi3](https://github.com/DexterInd/BrickPi3) is the Dexter recommended method of using the BrickPi with Python.

This example assumes the remote is set to the first channel.

This example simply returns the five current remote values:

1. Red Up Button
2. Red Down Button
3. Blue Up Button
4. Blue Down Button
5. Toggle Button

This example requires the [Remote Development](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack) VS Code extension to be installed.

![BrickPi Diagram](_readme/infrared-remote.jpg)

***

## Repo Resources

* [Dexter BrickPi](https://www.dexterindustries.com/BrickPi/)
* [BrickPi3](https://github.com/DexterInd/BrickPi3)
* [Remote Development](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack)