AI Tech Talk & Support Platform
Enterprise ASP.NET Core 9.0 platform providing AI-assisted technical diagnostics, hardware control, subscription management, and professional board repair services. 12-project solution with multi-domain routing and full protocol stack support.
Platform Summary
PlatformASP.NET Core 9.0
Projects12 total (10 src/ + 2 shared/)
Primary Domainaitechtalkandsupport.com
AI EngineGroq API + OLLAMA (local)
Payment GatewayPayPal (Live)
Phone+1-629-276-9373
Address2321 E. 61 Avenue, Spokane WA 99223
Build Status0 errors, 2 harmless NuGet warnings
Domain Routing
| Domain | Routes To | Purpose |
|---|---|---|
aitechtalkandsupport.com | landing-pro.html | Customer landing page |
admin.aitechtalkandsupport.com | admin/server-control.html | Admin control center |
payments.aitechtalkandsupport.com | payments/admin.html | Payments management |
Project Structure
| Project | Purpose |
|---|---|
| AITechTalk.Web | Main web UI, Blazor/Razor, wwwroot static files |
| AITechTalk.API | REST API backend, all /api/* endpoints |
| AITechTalk.AIEngine | AI bot orchestration, 6 bots, Groq API client |
| AITechTalk.SerialDataPro | Hardware/serial/PDU control, ESP32 bridge |
| AITechTalk.Payments | Stripe + PayPal payment processing |
| AITechTalk.Twilio | Voice/SMS via Twilio |
| AITechTalk.DeviceService | Device management and registry |
| AITechTalk.Worker | Background workers and scheduled tasks |
| AITechTalk.AppHost | Aspire orchestration host |
| AITechTalk.ServiceDefaults | Shared service configuration |
Quick Start
Get the platform running locally in minutes. Prerequisites: .NET 9 SDK, Docker (for MQTT), Groq API key, PayPal developer account.
Setup Steps
- Clone or open the solution:
AITechTalkPlatform.slnin Visual Studio 2022 ordotnet runfrom the AppHost project. - Copy
appsettings.example.jsontoappsettings.Development.jsonand fill in your API keys. - Start the MQTT broker:
docker run -d -p 1883:1883 eclipse-mosquitto - Build the solution to confirm 0 errors:
dotnet build - Run the platform:
dotnet run --project src/AITechTalk.AppHost - Open your browser and navigate to
http://localhost:5000/landing-pro.html
Required Configuration
// appsettings.Development.json
{
"Groq": { "ApiKey": "gsk_your_key_here" },
"PayPal": { "ClientId": "AREQm-HY..." },
"Mqtt": { "Host": "localhost", "Port": 1883 },
"Hardware": { "SerialPort": "COM3", "BaudRate": 115200 },
"Twilio": { "AccountSid": "AC...", "AuthToken": "..." }
}
Platform Architecture
The platform uses a multi-project ASP.NET Core 9.0 architecture with Aspire orchestration, subdomain routing middleware, and hardware integration via serial/ESP32 gateway.
AI Bot System
| Bot Name | Model | Specialty |
|---|---|---|
| Automotive Specialist | wizardlm-uncensored:13b | ECU, CAN bus, OBD-II, IMMO |
| IoT Expert | dolphin3-llama3.1:8b | ESP32, MQTT, sensors, firmware |
| HVAC Technician | hermes3:8b | HVAC systems, climate control |
| Computer Support | llama3.2-dark | General hardware/software support |
| Electronics Pro | pygmalion-uncensored:8b | PCB, EEPROM, circuit analysis |
Hardware Stack
| Component | Role | Connection |
|---|---|---|
| 16-ch Relay Module (LOW-LEVEL TRIGGER) | PDU / power distribution | ESP32 GPIO β Relay IN pins |
| ATX PC Power Supply | 12V rail source | GREENβBLACK jumper, YELLOW=+12V to relay COM |
| KICKPI H168 (Γ2) | SBC / OLLAMA nodes | CH 1-4 relay, Ethernet |
| BigTreeTech Pi 1.2.1 | IoT control node | CH 3-4 relay, Ethernet |
| EAIDK310V | AI inference (NPU) | CH 5-6 relay, Ethernet |
| ESP32 Heltec HTIT-V32 | PDU bridge / MQTT gateway | COM3 Β· DSD Tech SH-U09GN Β· 115200 |
| Waveshare USB-to-All | Protocol programmer | USB Β· I2C/SPI/JTAG |
AI Chat API
The AI chat endpoint routes queries to the appropriate specialist bot via Groq API. All requests must include a message and agentType.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/ai/chat | Send a message to an AI specialist bot |
Request Body
// POST /api/ai/chat
{
"message": "What is the UDS diagnostic flow for P0300?",
"agentType": "automotive",
"modelId": "wizardlm-uncensored:13b" // optional
}
Agent Types
automotiveAutomotive Specialist
iotIoT Expert
hvacHVAC Technician
computerComputer Support
electronicsElectronics Pro
Payments API
Payment processing via PayPal. Orders are created client-side using the PayPal SDK and confirmed server-side after capture.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/payments/process | Record a captured PayPal payment |
| GET | /api/payments/subscriptions | List active subscriptions |
| GET | /api/payments/history | Transaction history |
Process Payment Body
{
"orderId": "5O190127TN364715T",
"serviceType": "professional", // starter|professional|board-repair
"amount": 49.99,
"email": "customer@email.com",
"name": "John Doe",
"phone": "+1-555-123-4567"
}
Hardware API
Control relay channels, fan speeds, and connected devices via the PDU orchestrator service. Requests are routed through the ESP32 serial bridge.
PDU Relay Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/pdu/status | All 16 relay channel states |
| POST | /api/pdu/channel/{n}/on | Turn on relay channel N (1-16) |
| POST | /api/pdu/channel/{n}/off | Turn off relay channel N |
| POST | /api/hardware/fans | Set fan speeds (0-100%) |
| POST | /api/hardware/fans/auto | Enable auto fan control |
| POST | /api/hardware/cyd/message | Send text to ESP32 CYD display |
Relay Channel Map
| Channel(s) | Assignment |
|---|---|
| CH 1β4 | SBC Power (KICKPI H168 Γ2, BigTreeTech Pi) |
| CH 5β6 | AI Lab Power (EAIDK310V) |
| CH 7β8 | Automotive Scanners (KTAG / KESS2) |
| CH 9β10 | I2C/SPI bus via Waveshare programmer |
| CH 11β12 | JTAG bus via Waveshare programmer |
| CH 13β14 | RF / RFID / IR modules |
| CH 15 | Chassis fans |
| CH 16 | Aux 12V rail |
Tech News API
Tech news feed aggregated from RSS sources. Used in the landing page Tech News tab.
Endpoint
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/news?category=&page=&limit= | Fetch paginated tech news articles |
Query Parameters
categoryall | ai | automotive | security | hardware
pageinteger (default: 1)
limitinteger (default: 9, max: 50)
Automotive Protocols
Supported automotive communication protocols and diagnostic standards.
Supported Protocols
OBD-II
UDS (ISO 14229)
CAN bus
CAN-FD
J2534
K-Line
LIN bus
IMMO / BCM
FlexRay
DoIP (Eth)
UDS Service IDs
| SID | Service Name | Description |
|---|---|---|
0x10 | Diagnostic Session Control | Switch diagnostic session modes |
0x11 | ECU Reset | Soft/hard reset of the ECU |
0x22 | Read Data By Identifier | Read parameter IDs (PIDs) |
0x27 | Security Access | Seed/key authentication |
0x2E | Write Data By Identifier | Write calibration or config values |
0x31 | Routine Control | Execute diagnostic routines |
0x34 | Request Download | Begin flash programming session |
0x36 | Transfer Data | Transfer firmware/calibration data |
0x19 | Read DTC Information | Read fault codes (DTCs) |
Embedded & IoT Protocols
Low-level communication protocols supported for embedded systems, IoT devices, and hardware programming.
Supported Protocols
UART
I2C
SPI
JTAG
SWD
1-Wire
RS-232
RS-485
MQTT
ESP-NOW
RFID
RF 433MHz
IR
Modbus RTU
EEPROM / Flash Operations
Read EEPROMI2C or SPI via Waveshare programmer
Write EEPROMPage-write mode with verify
Flash ProgrammingJTAG/SWD via Waveshare or J-Link
EraseSector or chip erase supported
Hardware Setup
Physical hardware setup guide for the relay PDU, ATX PSU, and SBC connections.
ATX PSU Configuration
- Jump the GREEN wire (PS_ON) to any BLACK wire (GND) on the ATX 24-pin connector to enable standalone operation without a motherboard.
- Connect YELLOW (+12V) to the relay module COM terminals. This provides the switched 12V output power.
- Connect BLACK (GND) from PSU to relay module GND and all device ground references.
- The relay module is LOW-LEVEL TRIGGER β the relay activates when the ESP32 GPIO goes LOW (0V). Keep this in mind when writing firmware.
- Connect relay NO (Normally Open) contacts to device power inputs. Devices are OFF by default (safe state).
SBC Power Connections
// Relay channel to device mapping
CH1 β KICKPI H168 #1 power input (+12V via relay NO)
CH2 β KICKPI H168 #2 power input (+12V via relay NO)
CH3 β BigTreeTech Pi 1.2.1 (+5V adapter via relay)
CH4 β BigTreeTech Pi #2 (reserved)
CH5 β EAIDK310V AI Lab (+12V via relay)
CH6 β EAIDK310V secondary rail
CH7 β KTAG automotive scanner
CH8 β KESS2 automotive programmer
CH9 β I2C/SPI bus power (Waveshare)
CH10 β SPI target device power
CH11 β JTAG target device power
CH12 β JTAG secondary
CH13 β RF module power
CH14 β RFID/IR module power
CH15 β Chassis fans
CH16 β Aux 12V rail (general purpose)
PDU Relay Control
The PDU Orchestrator service manages the 16-channel relay module through the ESP32 serial bridge. The PDUController exposes REST endpoints consumed by the admin UI.
Key Files
PDU ServiceAITechTalk.SerialDataPro/Services/PDUOrchestrator.cs
API ControllerAITechTalk.SerialDataPro/Controllers/PDUController.cs
ESP32 Firmwarefirmware/ESP32_PDU_Bridge/ESP32_PDU_Bridge.ino
Wiring Diagramdocs/ATX-PSU-RELAY-WIRING-DIAGRAM.md
Config Keyappsettings.json β "Hardware"
Serial Protocol
// Command format (ASCII over UART @ 115200 baud)
RELAY:ON:CH{n} // Turn on relay N (1-16)
RELAY:OFF:CH{n} // Turn off relay N
RELAY:STATUS // Get all 16 channel states
// Response: STATUS:1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0
ESP32 Firmware
The ESP32 Heltec HTIT-V32 runs the PDU bridge firmware, listening on UART (COM3) for relay commands from the ASP.NET backend and bridging them to the 16-channel relay module via GPIO.
Setup
- Install Arduino IDE and add the ESP32 board manager URL:
https://dl.espressif.com/dl/package_esp32_index.json - Install DSD Tech SH-U09GN USB-to-TTL driver. Connect to COM3 at 115200 baud.
- Open
firmware/ESP32_PDU_Bridge/ESP32_PDU_Bridge.inoin Arduino IDE. - Select board: Heltec WiFi Kit 32 or compatible ESP32 variant.
- Upload the firmware. The ESP32 will begin listening on Serial at 115200 baud.
GPIO Relay Mapping
// ESP32 GPIO β Relay IN pin mapping
// Relay module: LOW-LEVEL TRIGGER (GPIO LOW = relay ON)
GPIO 4 β Relay CH1 (KICKPI #1)
GPIO 5 β Relay CH2 (KICKPI #2)
GPIO 16 β Relay CH3 (BigTreeTech #1)
GPIO 17 β Relay CH4 (BigTreeTech #2)
GPIO 18 β Relay CH5 (EAIDK #1)
GPIO 19 β Relay CH6 (EAIDK #2)
GPIO 21 β Relay CH7 (KTAG)
GPIO 22 β Relay CH8 (KESS2)
// ... CH9-16 on GPIO 23, 25, 26, 27, 32, 33, 34, 35
Subscription Plans
Three-tier subscription model processed through PayPal. Customers subscribe via the landing page payment section.
Plan Comparison
| Feature | Starter $9.99/mo | Professional $49.99/mo | Enterprise Custom |
|---|---|---|---|
| AI Queries/Month | 100 | 1,000 | Unlimited |
| AI Models Access | 2 models | All 5 models | All + custom |
| Email Support | β | β | β |
| Priority Support | β | β | β |
| Custom Training | β | β | β |
| API Access | β | β | β |
| SLA Guarantee | β | β | β |
Platform Changelog
History of major platform changes, fixes, and features.
2026
2026-03-07
Feature
Full enterprise UI rebuild β all HTML pages rebuilt to service-info.html design system (dark theme, Segoe UI, tab-based navigation)
2026-03-06
Feature
PDU Orchestrator created β PDUOrchestrator.cs, PDUController.cs, ESP32_PDU_Bridge.ino, ATX wiring diagram
2026-03-06
Fix
Complete warning cleanup β 186 code warnings resolved to 0 (CS8603, CS1998, CA2021, CA2022 and more)
2026-03-06
Feature
AiChatEndpoints.cs created β /api/ai/chat endpoint wired to GroqService for real AI responses
2026-03-06
Fix
Removed Flask Jinja2 template syntax from admin/dashboard.html (url_for, config.AI_MODEL, etc.)
2026-03-06
Fix
Fixed index.html AI chat to route through /api/ai/chat instead of direct OLLAMA hostname
2026-03-06
Infra
SubdomainRoutingMiddleware updated β admin subdomain now routes to admin/server-control.html
Recommended Tools & Resources
Essential open-source tools, partner services, and APIs used across the AI Tech Talk & Support platform for diagnostics, firmware development, reverse engineering, and network analysis.
Automotive & Diagnostics
SavvyCAN
savvycan.com
Open-source CAN bus reverse engineering and analysis tool. Capture, filter, and decode CAN frames from OBD-II, J1939, and UDS protocols. Works with SocketCAN and GVRET interfaces.
Open Source
NHTSA VIN Decoder
vpic.nhtsa.dot.gov
Free government VIN lookup API. Decode any 17-character VIN to get make, model, year, engine, transmission, body type, and plant info. No API key required. JSON/XML response.
Free API
PicoScope
picotech.com
Professional automotive oscilloscope for waveform analysis. Diagnose injectors, ignition coils, CAN bus signals, sensor outputs, and ECU drive circuits. Industry standard for automotive electrical diagnostics.
Diagnostic Hardware
Reverse Engineering & Security
Ghidra
ghidra-sre.org
NSA's open-source software reverse engineering framework. Disassemble and decompile ECU firmware binaries, analyze embedded protocols, and reverse engineer proprietary communication stacks.
Open Source
Wireshark
wireshark.org
Network protocol analyzer for deep packet inspection. Capture and analyze MQTT, HTTP, TCP/IP, and WebSocket traffic between the platform, ESP32 devices, and API endpoints.
Open Source
Firmware & Embedded Development
Arduino IDE
arduino.cc
Primary development environment for ESP32 PDU bridge firmware. Supports Heltec WiFi Kit 32, ESP32-S3, and CYD boards. Upload firmware via USB-to-TTL (DSD Tech SH-U09GN).
Open Source
OpenOCD
openocd.org
Open On-Chip Debugger for JTAG/SWD debugging and flash programming. Works with Waveshare USB-to-All programmer for firmware debugging on EAIDK310V, BigTreeTech Pi, and target MCUs.
Open Source
Partners & Services