Skip to content

Latest commit

 

History

History
223 lines (142 loc) · 5 KB

File metadata and controls

223 lines (142 loc) · 5 KB

RRCI Firmware V2 - Multi-Controller Support

Overview

RRCI Firmware Version 2 expands the original roof controller architecture to support multiple motor controller types while maintaining full backward compatibility with existing Aleko installations.

This allows the same firmware to operate a variety of roof motor systems without requiring firmware modifications for each controller design.


Supported Controller Types

Mode Controller Type
1 Aleko Single Button Controller
2 Open / Close Controller
3 Open / Close / Stop Controller

Relay Assignments

Relay Function
Relay 7 Open
Relay 6 Close
Relay 5 Stop
Relay 4 Spare / Future Use

Controller Operation

Mode 1 - Aleko Single Button

This mode is designed for Aleko gate controllers that use a single trigger input.

Command Relay Activated
Open Relay 7
Close Relay 7
Abort Relay 7

The Aleko controller internally manages the sequence:

Open → Stop → Close → Stop

This mode provides complete compatibility with existing RRCI Version 1 installations.


Mode 2 - Open / Close Controller

Designed for motor controllers that provide dedicated Open and Close inputs.

Command Relay Activated
Open Relay 7
Close Relay 6
Abort No Action

Mode 3 - Open / Close / Stop Controller

Designed for controllers requiring separate Open, Close, and Stop inputs.

Command Relay Activated
Open Relay 7
Close Relay 6
Abort Relay 5

Default Startup Mode

Firmware V2 defaults to:

Mode 1 – Aleko Single Button

This ensures that all existing Aleko-based installations continue to operate exactly as they did with previous firmware versions.


Runtime Mode Selection

Controller mode may be changed at any time through the serial interface.

Commands

setmode:1#
setmode:2#
setmode:3#
Command Result
setmode:1# Select Aleko Single Button Mode
setmode:2# Select Open / Close Mode
setmode:3# Select Open / Close / Stop Mode

Changes take effect immediately and do not require firmware recompilation.


Configuration Methods

Method 1 - Firmware Configuration

Advanced users may select the controller type directly within the firmware source code before compiling.

Examples:

ControllerType controllerType =
    ALEKO_SINGLE_BUTTON;
ControllerType controllerType =
    OPEN_CLOSE;
ControllerType controllerType =
    OPEN_CLOSE_STOP;

After changing the controller type, recompile and upload the firmware.


Method 2 - Serial Terminal Configuration

Any serial terminal program may be used, including:

  • Arduino Serial Monitor
  • PuTTY
  • Tera Term
  • RealTerm

Send one of the following commands:

setmode:1#
setmode:2#
setmode:3#

The controller will immediately switch operating modes.

Important

Current firmware versions do not store controller mode selections in EEPROM.

After power loss or reboot, the controller will return to:

Mode 1 – Aleko Single Button


Method 3 - ASCOM Driver Configuration

Current RRCI ASCOM drivers support controller type selection through the Setup Dialog.

The driver automatically sends the appropriate command during connection:

setmode:1#
setmode:2#
setmode:3#

No firmware modifications are required.


Future Enhancements

EEPROM Storage

Future firmware versions may save controller mode selections to EEPROM, allowing settings to survive power cycles and controller reboots.

Status Reporting

Future firmware versions may report controller mode as part of the status response.

Example:

STATE:OPEN;SAFE;MODE:1;IDLE#

This would provide additional diagnostic information to ASCOM clients and troubleshooting tools.


Current Feature Status

Feature Status
Multi-Controller Support Complete
Aleko Compatibility Complete
Runtime Mode Switching Complete
ASCOM Driver Integration Complete
EEPROM Mode Persistence Planned
Mode Status Reporting Planned

Summary

RRCI Firmware Version 2 provides a flexible multi-controller architecture while maintaining complete backward compatibility with existing Aleko installations.

Supported controller types include:

  • Aleko Single Button
  • Open / Close
  • Open / Close / Stop

Controller selection may be performed through firmware configuration, serial commands, or the ASCOM Setup Dialog, allowing a single firmware image to support a wide range of roof motor control systems.