Skip to content
Pinter Computing

Knowledge Base for IT Professionals, Teachers, and Astronauts

Pinter Computing

Knowledge Base for IT Professionals, Teachers, and Astronauts

  • Home
  • Programming
  • DevOps
  • Project Management
  • Software and Hardware
  • Miscellaneous
  • Egyebek
  • About
  • Experience
  • Education
  • Contact
  • Home
  • Programming
  • DevOps
  • Project Management
  • Software and Hardware
  • Miscellaneous
  • Egyebek
  • About
  • Experience
  • Education
  • Contact
Close

Search

Home/AI/Happy, the AI hardware robot – speech to text
AI

Happy, the AI hardware robot – speech to text

By Laszlo Pinter
November 12, 2026 1 Min Read
0

These are the steps to set up the speech to text converter process for the Building Happy, the AI hardware robot project

Happy’s speech-to-text works in two parts. The ESP32 records your voice and sends it over Wi-Fi to your PC, and Whisper turns it into text on the PC. Whisper is too big to run on the ESP32 itself.

Setup on the PC

  1. Install Python 3.12:
winget install Python.Python.3.12
  1. Open a new terminal in the brain folder. Install PyTorch with GPU support first; this command is for an Nvidia card:
pip install torch --index-url https://download.pytorch.org/whl/cu126
  1. Install the rest:
pip install -r requirements.txt
  1. Start the server. The first start downloads the Whisper model.
python stt_server.py --model small --language en
  1. Let the ESP32 reach the server through Windows Firewall. Run this in an admin PowerShell:
New-NetFirewallRule -DisplayName "Scrappy STT" -Direction Inbound -Protocol TCP -LocalPort 8000 -Action Allow
  1. Optionally, test with any 16-bit WAV file before the robot is involved:
curl -X POST -H "Content-Type: audio/wav" --data-binary "@test.wav" http://localhost:8000/stt

Setup on the ESP32

  1. At the top of the sketch, fill in WIFI_SSID, WIFI_PASS and STT_URL. For the URL, use your PC’s IPv4 address from ipconfig.
  2. Upload it the same way you did mic_test.
  3. Open the Serial Monitor, hold BOOT, and say something.

Tags:

AI
Author

Laszlo Pinter

Follow Me
Other Articles
Previous

Happy, the AI hardware robot – the touch – metal plate

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Last Changes

  • Building Happy, the AI hardware robot November 12, 2026
  • Happy, the AI hardware robot – speech to text November 12, 2026
  • Happy, the AI hardware robot - the touch - metal plate November 11, 2026
  • Happy, the AI hardware robot – the neck – servo motor November 11, 2026
  • Happy, the AI hardware robot - the ears - microphone November 11, 2026

Tags

.NET .NETcore 3Dprinting AI AWS C# Chef cloud DevOps Docker EntityFramework Games Git Go iOS iPad iPhone iPod Java Kubernetes Linux MacOSX MSSQL MVC MySql Node.js Packer PowerShell Python RDS Ruby security Splunk storage TeamCity Terraform TestKitchen Tomcat Ubuntu Vagrant VirtualBox VisualStudio Windows WordPress Xcode

Recent Comments

  • Laszlo Pinter on Turn off the built in touchpad when a mouse is attached
  • Kenneth Bush on Turn off the built in touchpad when a mouse is attached
  • Zengei László on MyHeritage családfa exportálása és küldése emailben
  • Raúl Castillo on DynDns update error
  • MICHAEL on Windows Media Player 12 cannot find the album information

–

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright 2026 — Pinter Computing. All rights reserved.