← Back to downloads
============================================================
ProjectUNION DCC Library v0.3.2 NMRA DCC Extension for ProjectUNION
============================================================

INTRODUCTION

ProjectUNION DCC extends the ProjectUNION Core library with support for
NMRA compatible DCC accessory decoding.

It allows ESP32 projects to react to DCC commands while continuing to
use the common ProjectUNION web interface, configuration pages and OTA
firmware updates.

PROJECTUNION PLATFORM

ProjectUNION consists of:

-   ProjectUNION Core
-   ProjectUNION MQTT
-   ProjectUNION DCC

ProjectUNION Core must be installed before using this library.

MAIN FEATURES

-   NMRA compatible DCC decoding
-   Accessory decoder support
-   Event callback functions
-   Easy integration with ESP32 projects
-   Uses the common ProjectUNION web interface
-   Designed for model railway applications

SYSTEM REQUIREMENTS

-   Arduino IDE 2.x
-   ESP32 Arduino Core
-   ProjectUNION Core Library
-   ESP32 Dev Module

INSTALLATION

1.  Install ProjectUNION Core.

2.  Copy the ProjectUNION_DCC folder into:

    Documents/Arduino/libraries

3.  Restart Arduino IDE.

4.  Open Example_02_ProjectUNION_DCC.

5.  Compile and upload.

INCLUDED EXAMPLE

Example_02_ProjectUNION_DCC

Demonstrates:

-   DCC initialization
-   Accessory address handling
-   Event callbacks
-   Integration with ProjectUNION Core

TYPICAL APPLICATION

Your Application | V ProjectUNION DCC | NMRA DCC | Accessories

RECOMMENDED LEARNING ORDER

1.  ProjectUNION Core
2.  ProjectUNION MQTT
3.  ProjectUNION DCC
4.  Project Examples

VERSION HISTORY

Version 0.3.2

-   Language improvements
-   Current production release

LICENSE

ProjectUNION is intended for hobby and educational use.

No warranty or support is provided.

Use the software entirely at your own risk.