Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pjpmarques/dmx512-ev3-bridge

DMX512 to LEGO EV3 brick bridge using an ESP32
https://github.com/pjpmarques/dmx512-ev3-bridge

dmx dmx512 esp32 ev3 lego-ev3 sparkfun

Last synced: 3 days ago
JSON representation

DMX512 to LEGO EV3 brick bridge using an ESP32

Awesome Lists containing this project

README

        

DMX512 to EV3 Brick bridge
===

This software is a bridge between a [DMX512 bus](https://en.wikipedia.org/wiki/DMX512) and an [Lego EV3 Mindstorms brick](https://en.wikipedia.org/wiki/Lego_Mindstorms_EV3).

In terms of hardware, it uses a [SparkFun ESP32 DMX to LED Shield](https://www.sparkfun.com/products/15110) and a [SparkFun Thing Plus - ESP32](https://www.sparkfun.com/products/15663).

It works as follows:

* Registers on the DMX bus as a receiver. The channel is hardcoded in the source code.
* If it detects a value above or below a certain threshold (also hardcode) it writes a HIGH or LOW value to an output pin D0 of the SparkFun DMX shield.
* All detected transitions are also written to serial port for debugging purposes.
* Normally, between the DMX shield and the EV3 I put a small resistor circuit so that the bridge is seen as a touch sensor. But it doesn't need to be this way.
* The internal RGB LED of the ESP32 is used to show status. RED means that no data is being read from the DMX bus. Blicking between GREEN, BLUE and RED means that data is being produced.
* Also, the BLUE LED of the ESP32 is used to show if we are writing a zero or one to the D0 line of the shield.

Here's an image of the entire aparatus:

![DMX512-EV3 Bridge in use](imgs/ClockProject.jpeg)

You can see it in action here:

https://github.com/pjpmarques/EV3-ClockController/assets/782106/8a504687-f5b2-4b46-82bb-65de99f55812

Please also refer to this project:
[EV3 Clock Controller](https://github.com/pjpmarques/EV3-ClockController)

License
===
[Apache 2.0](LICENSE.txt)