Giter Site home page Giter Site logo

git4dcc / rtb_e13 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 589 KB

Universal charlieplexing WS28xx emulator with variable LED voltage.

Home Page: https://rtb4dcc.de/hardware/modules/e13/

License: Apache License 2.0

charlieplexing kicad ws281x hardware modelrailroad modelrailway

rtb_e13's Introduction

RTB_E13

Real-time Bus (RTB) Kicad_Libs Apache License 2.0

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.

See also
User Guides

The decoder has the following features,

  • Protocol
    • WS2811 compatible timing
  • LED ports
    • 12 channel output
    • Charlieplexing (Multiplexing) output
    • 128 step PWM (300Hz)
    • Software adjustable LED voltage 0..5V (see also RTB_E15)
    • gamma correction (optional)
  • firmware update via V24 debug interface

Hardware

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.

PCB

  • 2-layer PCB, FR4, 1.6mm
  • CPU: AVR64DB32
  • BUS: WS28xx
  • LED: Charlieplexing

Kicad

Schematic | Layout | Gerber

Dependency

๐ŸŸก Requires my Kicad project library RTB_SamacSys in the same directory tree.

Firmware

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

UPDI

The fuse settings as well as the P-code (E13Pxxxx.hex) has to be installed by using UPDI.

Details
Fuse Setting P-code Install

Debug Interface

Subsequent code updates can be done via the built-in serial debug interface.

Details
  • 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'

Software

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

Images

This project is intended for hobby use only and is distributed in accordance with the Apache License 2.0 agreement.

rtb_e13's People

Contributors

git4dcc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.