Last Updated: 2025-10-14 | Version: 1.0.0
This document describes all configuration options available in Accelerapp hardware specification files.
device_name: "Device Name"
platform: "arduino"
software_language: "python"
ui_framework: "react"
hardware:
# Hardware specs
pins:
# Pin definitions
timing:
# Timing parameters
peripherals:
# Peripheral list
communication:
# Communication settingsType: String
Required: Yes
Description: Human-readable name for your device
Type: String
Required: Yes
Options: arduino, stm32, esp32
Description: Target hardware platform for firmware
Type: String
Required: No
Default: python
Options: python, cpp, javascript
Description: Language for generated SDK
Type: String
Required: No
Default: react
Options: react, vue, html
Description: Framework for generated UI
Defines the core hardware specifications:
hardware:
mcu: "ATmega328P"
clock_speed: "16MHz"
memory: "32KB"
wifi: falseType: String
Description: Microcontroller model
Type: String
Description: System clock speed
Type: String
Description: Available memory
Type: Boolean
Description: WiFi capability (for ESP32)
Defines pin assignments:
pins:
LED_PIN: 13
SENSOR_PIN: "A0"
BUTTON_PIN: 2Each entry maps a symbolic name to a pin number or identifier.
Defines timing parameters:
timing:
BAUD_RATE: 9600
SAMPLE_RATE: 100
UPDATE_INTERVAL: 1000
PWM_FREQUENCY: 1000All values are in appropriate units (Hz, ms, etc.)
Defines connected peripherals:
peripherals:
- type: "led"
pin: 13
description: "Status LED"
- type: "sensor"
pin: "A0"
description: "Temperature sensor"
sensor_type: "analog"
- type: "motor"
pin: 3
description: "DC motor"- type: Peripheral type (led, sensor, motor, button, encoder, etc.)
- pin: Pin assignment
- description: Human-readable description
Additional properties vary by peripheral type:
Sensor:
sensor_type: analog, digital, i2c, spi
Motor:
pwm_pin: PWM control pindir_pin: Direction control pin
Defines communication parameters:
communication:
protocol: "serial"
baudrate: 9600
data_format: "json"
wifi_enabled: falseType: String
Options: serial, i2c, spi, wifi
Type: Integer
Description: Communication speed
Type: String
Options: text, json, binary
See the examples/ directory for complete configuration examples.