Cash & Card Operated Service Timer

Cash & Card Operated Service Timer

Autonomous, self-service timed utility activation powered by MDB cash/cashless payment systems and dedicated hardware relay control.

Overview

This configuration transforms the terminal into a heavy-duty, self-service timed activation controller. Designed for environments where equipment, utilities, or services are billed on a time basis, the unit integrates full MDB payment acceptance with dedicated on-board relay outputs driven directly at the hardware layer.

The front-facing panel PC manages the interactive user interface, payment selection, and real-time countdown display, while the internal GalaxyVend controller deterministically manages the timed electrical switching via its on-board shift-register relay channel (RELAYB).

1. Hardware-Enforced Relay Execution (RELAYB)

Unlike standard software-timed timers that risk freezing or dropping out if an operating system lags, the service timer relies on autonomous hardware-level timing:

  • Autonomous Down-Counting: When authorized, the host software transmits the RELAYB(X) command over USB/MQTT, setting the hold duration in seconds. The micro-controller shifts the relay bit high, energizes the coil, and independently runs the countdown at the firmware level.
  • Immediate Acknowledgment: The hardware controller instantly responds with RELAYBOK to confirm the load has energized and the countdown has begun.
  • Deterministic Asynchronous Cutoff: The exact millisecond the timer reaches zero, the firmware automatically de-energizes the relay channel and fires an asynchronous RELAYBOFF telemetry event back to the host.
  • Fail-Safe Operation: Critical safety watchdog logic prevents stuck relays or infinite execution in the event of interface disconnects or host reboots.

2. Multi-Payment Acceptance: Banknotes, Coins & Cards

The terminal provides complete payment flexibility, accommodating all customer payment preferences without separate cashier intervention:

  • MDB Contactless & EMV Card Payments: Instant card tap authorization (CSLS1VNDREQ / CSLS2VNDREQ) via MDB cashless readers, supporting credit cards, debit cards, and NFC mobile wallets (Apple Pay, Google Pay).
  • Banknote Validation & Stacking: High-security banknote acceptance using standard MDB bill validators with escrow holding (BILLESCROW) and anti-stringing protection.
  • Coin Processing & Change Giving: MDB coin acceptor and multi-tube changer integration to accept all local coin denominations, dynamically compute inserted credit, and return remaining change if configured.
  • Accumulated Credit Top-Up: Customers can insert cash incrementally to add more operating time before or during an active session, backed by internal mathematical variable parsing ($ACCUMULATED_CREDIT$, $PRICE_DUE$).

3. Real-Time Countdown UI & Session Protection

The panel PC software provides visual clarity and operational safeguards during active timed runs:

  • Prominent Countdown Display: A high-contrast timer screen renders remaining minutes and seconds in real-time, accompanied by clear visual status banners (remaining_time).
  • Active Relay Channel Lockout: While a product channel is running its countdown, the system tracks expiration timestamps (ActiveRelayTimers) and blocks duplicate activation requests on that channel, rendering a disabled countdown button on the screen.
  • Grace Periods & Warnings: Configurable audio-visual warning signals prompt users before the relay cuts off, offering an intuitive window to add more funds for continuous service.
  • Multilingual Interaction: Prompts and instructions dynamically adapt across up to seven pre-configured languages (EN, RO, DE, FR, IT, ES, BG).

4. Scriptable Time & Pricing Logic (Lua Workflow Engine)

Pricing structures and operational rules can be adjusted dynamically in the local database or through the administrative portal:

  • Lua-Defined Execution Pipelines: Pricing-to-time ratios, activation stages, and device commands are fully scriptable via Lua (execute_stage(stage)).
  • Tiered & Progressive Pricing: Set up volume discounts (e.g., 5 minutes for €2, 15 minutes for €5, or bonus minutes on larger cash/card transactions) directly inside the workflow logic.
  • External Relay Expansion: For multi-bay or multi-appliance installations, the architecture scales via external cascaded relay expansion boards (RELAY(A,B,C) / RELAYALL), driving up to 8 independent timed circuits from a single kiosk.
  • Audit & Transaction Logging: Every timed session is recorded in local telemetry tables (mall_payment_telemetry) with exact timestamps, payment methods (CASHSALE / CARDSALE), and run durations, then synchronized via WebSockets to central cloud dashboards.

Technical Specifications

  • Relay Output: On-board power relay driven via shift register with opto-isolation; supports direct control or pilot activation of high-power contactors.
  • Timing Resolution: 1-second increments up to extended multi-hour operational cycles.
  • Host Communication: Native USB UART serial (115,200 baud, 8-N-1) or local/cloud MQTT bus.
  • Enclosure: Industrial ABS wall/chassis mount housing with convective ventilation, internal power supply bracket, and sealed front panel PC bezel.
  • Power Requirements: 12V / 24V DC internal rail fed by integrated industrial power supplies.

Key Applications

  • Car Wash Bays & Vacuum Islands: Timed self-service pressure washing, foam canons, vacuum cycles, and carpet dryers.
  • Recreational & Sports Facility Lighting: Automated lighting control for tennis courts, padel arenas, squash courts, and bowling lanes.
  • Commercial Laundry Equipment: Timed power activation for washing machines, tumble dryers, and commercial ironing presses.
  • Campgrounds, Marinas & RV Parks: Automated utility supply pedestals providing timed shore power, freshwater pumping, and hot water showers.
  • Industrial Equipment & Air Compressors: Pay-per-use industrial tooling, vehicle tire inflators, and sandblasting cabinets.
  • Multi-cabin tanning salons & solarium banks, SPA facilities, etc.
  • Pet grooming stations.