Skip to main content

Glossary

TermDefinition
ADCAnalog-to-Digital Converter. Converts continuous analog signals to discrete digital values. The ATmega328P has a 10-bit ADC (0–1023).
AutopilotA mode where the firmware executes a stored script independently without host intervention.
Baud RateThe speed of serial communication in bits per second. HIL uses 115200 baud.
CRCCyclic Redundancy Check. An error-detection code computed as XOR of all bytes in a frame.
CRUMBA circuit simulator that works with HIL transpiled code.
DEFUNDefine function. Creates a named function with parameters and a body expression.
EMAExponential Moving Average. A signal filtering technique that smooths noisy data.
FirmwareLow-level software programmed directly into hardware. HIL firmware is written in TinyGo.
HALHardware Abstraction Layer. Provides a uniform interface for hardware operations.
HILHardware-in-the-Loop. A testing technique where real hardware interacts with simulated environments.
HIL LISPThe LISP dialect used by HIL for hardware control and IoT programming.
IPCInter-Process Communication. Methods for programs to exchange data (TCP, stdin/stdout).
I2CInter-Integrated Circuit. A two-wire serial communication protocol for connecting peripherals.
JSONJavaScript Object Notation. A lightweight data interchange format used by the registry API.
LISPLISt Processing. A programming language family known for its parenthesized S-expressions.
MQTTMessage Queuing Telemetry Transport. A lightweight publish/subscribe messaging protocol.
NodeA microcontroller device running HIL firmware. Also called a "device" or "board."
OTAOver-the-Air. Wireless firmware update mechanism for deployed devices.
PWMPulse-Width Modulation. A technique for simulating analog output using digital signals.
REPLRead-Eval-Print Loop. An interactive programming environment.
S-ExpressionSymbolic Expression. The fundamental data structure in LISP, enclosed in parentheses.
SemaphoreA synchronization primitive for managing concurrent access to shared resources.
SPISerial Peripheral Interface. A synchronous serial communication protocol.
TCPTransmission Control Protocol. A reliable, connection-oriented network protocol.
TinyGoA Go compiler for microcontrollers. Used to compile HIL firmware for ATmega328P.
TokenThe smallest meaningful unit in source code (symbol, number, string, parenthesis).
UARTUniversal Asynchronous Receiver-Transmitter. Hardware for serial communication.
WebSocketA protocol for full-duplex communication over a single TCP connection.
WrapperA function that calls the underlying implementation and transforms the result.

HIL LISP Symbols​

SymbolMeaning
DDigital pin type
AAnalog pin type
PPWM pin type
1 / HIGHLogic high / true
0 / LOWLogic low / false
ACKAcknowledgment from firmware
CRCError-detection checksum