An automated hardware recommendation engine designed to accelerate the initial board architecture phase.
This project simulates an enterprise-level Board Design Automation workflow. It features a Python-based recommendation engine that parses natural language user requirements (e.g., "Microcontroller board with 3 sensors and WiFi") and instantly maps those constraints to an optimal combination of embedded hardware subsystems.
To validate its capacity for scalable, server-side enterprise environments, this tool is configured for and deployed on the ASPIRE 2A High-Performance Computing (HPC) cluster via PBS job scheduling.
- Natural Language Parsing: Translates human-readable design constraints into structured query logic.
- Automated Component Selection: Dynamically queries a custom database (
components_db.py) to select compatible compute (STM32, ESP32), sensor interfaces (SPI, I2C), connectivity modules, and power management subsystems. - Enterprise HPC Deployment: Fully containerized via Conda and executed as a batch job on an HPC cluster using multi-core node allocation.
components_db.py- The structured dictionary database containing categorized hardware components.board_ai_assistant.py- The core Python engine containing the text-parsing and recommendation logic.run_board_ai.pbs- The Bash/PBS script used to schedule and execute the workload on the ASPIRE 2A cluster.*.o*(Output Logs) - Unedited cluster execution logs retained in this repository as physical verification of successful HPC deployment and automated job completion.
To run the assistant locally on your machine, run the following command:
python board_ai_assistant.py
Prompt: Describe your board requirements: Microcontroller board with sensors and wifi
To deploy the automated pipeline on a Linux-based HPC cluster, use the job scheduler:
qsub run_board_ai.pbs
To monitor your job status:
qstat -u <username>
Describe your board requirements:
Suggested Components:
- STM32F4
- SPI interface
- WiFi module
- Voltage regulator
- Language: Python 3
- Environment: Linux (CentOS/RHEL), Miniforge3 / Conda
- Infrastructure: High-Performance Computing (HPC), PBS Job Scheduler