Loading files…
This E13 module implements a 12 channel WS2811 emulator with compatible bus timing to drive multiplex (charlieplexing) LEDs. The E13 may be cascaded with regular WS28xx chips. The number of LEDs attached is automatically detected (0-12). This module allows the common LED voltage be dynamically adjusted via the bus protocol. The intended use is to drive Multiplex Signals on Model Railway layouts via the WS28xx bus.
Note: The RTB_E13 is nearly identical to the RTB_E15 but allows for variable LED voltage.
<img src=supplemental/images/E13_main.jpg>
The decoder has the following features,
My current PCB layout uses SMD footprints with 0.5mm pitch and 0603 parts. Reflow soldering is my recommendation, but with some experience handsoldering is also possible.
<img src=supplemental/images/E13_top_connect.jpg>
Schematic | |
:yellow_circle: Requires my Kicad project library RTB_SamacSys in the same directory tree.
Filename structure: { pcb }{ code }{ version }.hex
Example: E13F0001.hex
| Description | |
|---|---|
| pcb | Name of matching hardware (E13) |
| code | Type of code contained (R=rom, B=bootloader, F=flash, U=bld update, P=UPDI factory code) |
| version | Release version (####) |
The fuse settings as well as the P-code (E13Pxxxx.hex) has to be installed by using UPDI.
<img src=supplemental/images/E13_updi.jpg>
| Fuse Setting | P-code Install |
|---|---|
| <img src=supplemental/images/E13_updi_fuses.jpg width=500> | <img src=supplemental/images/E13_updi_memory.jpg width=500> |
Subsequent code updates can be done via the built-in serial debug interface.
connect the serial cable (1Mb, 8N1, RTS/CTS)
press 'break' within the VT100 terminal to bump the module to console prompt
upload the firmware file (E13Fxxxx.hex)
for more details, refer to the 'User Guide'
<img src=supplemental/images/E13_debugIF.jpg>
The LED common voltage must be sent as the first byte (virtual LED) over the bus followed by the intensity values for the individual LEDs, with N being the number of configured LEDs.
Byte order: {voltage} {led_0} ... {led_N}
Led Voltage: 5V * {voltage} / 255
<img src=supplemental/images/E13_samples.jpg width=260> <img src=supplemental/images/E13_usecase.jpg width=260>
This project is intended for hobby use only and is distributed in accordance with the Apache License 2.0 agreement.
No comments yet. Be the first to ask about this board.