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/Building Happy, the AI hardware robot
AI

Building Happy, the AI hardware robot

By Laszlo Pinter
November 9, 2026 7 Min Read
0

The original project

The original project was created by Tech With Anant to build Scrappy, the AI hardware robot from material he found in his junk drawer. The I Gave Claude My Junk Drawer. It Built Me a Robot… (Code Included) YouTube video shows how the robot behaves, and how it was built. The Scrappy: an AI desk robot from a junk drawer GitHub repository contains the original technical details and source code by Anant.

The resources for this version of the project

His original instructions in his YouTube video and in the GitHub repository did not contain all steps to build the robot, so I have forked his repository to my ai-happy-robot GitHub repository to add more technical information and code to build and configure the robot.

This post series provides step-by-step instructions on the building and testing process to supplement the original material for those who need more information.

Computer Setup

Visual Studio Code

  • Install Visual Studio Code from Download Visual Studio Code

Claude Code

  • Install Claude Code from Download Claude

LM Studio

See Installing and configuring LM Studio for local AI model hosting

  • Install LM Studio from LM Studio Download
  • Download the google/gemma-4-26b-a4b-qat model (at the time of writing I used this model)

Arduino IDE

  • Install Arduino IDE from Arduino Software

Install and download the ESP32 board support package in the Arduino IDE

To install and download the ESP32 board support package in the Arduino IDE, add Espressif’s official JSON board manager URL in your settings and install the core esp32 by Espressif Systems via the Boards Manager

Configure the Arduino IDE
  • In the File menu select Preferences

  • On the Settings tab paste the official Espressif stable JSON link into the Additional boards manager URLs and click the OK button to save the change. You can add multiple links separated by commas.

    https://espressif.github.io/arduino-esp32/package_esp32_index.json


  • Click the editor button for easier editing experience
Install the Arduino library for the ESP32 board

To install the Arduino library on the ESP32 board

  • In the Tools menu select Board, Boards Manager…

  • Type esp32 into the search field, and click the Install button on the esp32 by Expressif Systems panel

  • The lower right corner of the screen shows the installation progress

  • When the Platform esp32:… installed message appears, restart the Arduino IDE application

Configure the esp32 board model in the Arduino IDE

Connect the panel to the computer

  • Connect the esp32 board’s TTL (right) USB C connector to the computer with a USB data cable.
    • If the light on the board does not turn on, maybe the cable does not have the data wires, it is for charging only.
      • Test the cable with a phone.
        Connect a phone to the computer with the cable. The phone should appear as an external device on the computer. If there is no connection with the phone, find another cable to try.

Check the connected device

  • Start the Device Manager application
  • Open the Ports (COM & LPT) section. Make sure the USB-SERIAL CH340 (COM5) is connected

  • If it shows up with a yellow warning or under “Other devices”, Windows is missing the driver. Install the WCH CH343 driver (CH343SER.EXE) from wch-ic.com, then unplug and re-plug the board

Select the board in the Arduino IDE

  • Start the Arduino IDE application on the computer
  • Click the small arrow next to Select Board and select the Unknown COM5 port

  • On the Select other board and port page type ESP32S3 Dev Module into the search field and select ESP32S3 Dev Module in the list and click the OK button

Set the Flash memory size and the PSRAM type

  • In the Tools menu select Flash size, 16 MB

  • In the Tools menu select PSRAM, OPI PSRAM

Save the configuration

Paste this into the sketch editor and save it in the sketch folder as sketch.yaml in your project folder. You can find the file at https://github.com/lpinter/ai-scrappy/tree/main/firmware

Use the COM port your device is attached to.

default_fqbn: esp32:esp32:esp32s3:FlashSize=16M,PSRAM=opi
default_port: serial:///COM5 

Upload a test script

  • Connect the TTL (right) USB C connector of the ESP32 board with a USB cable to the computer
  • Start the Arduino IDE application on the computer
  • Select the board on the top of the page
  • In a web browser navigate to https://github.com/techwithanant/scrappy/tree/main/firmware/tests/pin_check
  • Click the file name

  • Click the Copy raw file button

  • Paste the code into the Arduino IDE’s sketch editor

  • Click the Upload button

Serial Monitor

  • n the Tools menu select Serial Monitor

  • In the lower right corner click the small arrow and select 115,200 baud


Test the pin voltages

The sketch sends nothing to the serial port, so a blank Serial Monitor is normal. You read the results with a multimeter.

Prepare the board

  1. Unplug the USB cable.
  2. Disconnect the battery side completely by removing the wires from J5019 VOUT+ to the ESP32 5V pin and from VOUT− to GND.
  3. Remove every other wire and module from the ESP32, leaving only the board in the breadboards.
  4. Set the multimeter to DC volts, on the 20 V range if it isn’t auto-ranging. A weak meter battery can give false readings, as the README warns.

Load the sketch

  1. Plug a USB data cable into the board’s TTL (right) USB-C port.
  2. In Arduino IDE, confirm the board is ESP32S3 Dev Module on your COM port (COM5 in the article), with 16MB flash and OPI PSRAM.
  3. Open the firmware/tests/pin_check/pin_check.ino file and click Upload, even if you already did this from the article, so you know this exact sketch is running. Skip this step only if you’re sure it’s already on the board.
  4. Wait for the upload to finish, then press RST on the board once.

Measure the pins

Leave USB plugged in, since this is what powers the board during the test.

  1. Put the black probe in the breadboard row of a GND pin, and hold it there or use a clip lead.
  2. As a reference, touch the red probe to the breadboard row of the 3V3 pin. It should read about 3.3 V.
  3. Touch the red probe to each pin’s breadboard row, not the header pin itself, because the test has to include the solder joint and breadboard contact. Be careful not to bridge two neighboring rows.
  4. The following pins should have 3.3V: 1, 2, 3, 14, 21, 38, 39, 40, 41, 42, 45, 47

Connect and test the peripherals

  • Happy, the AI hardware robot – the ears – microphone
  • Happy, the AI hardware robot – the mouth – amp and speaker
  • Happy, the AI hardware robot – the face – display
  • Happy, the AI hardware robot – the neck – servo motor
  • Happy, the AI hardware robot – the eyes – camera
  • Happy, the AI hardware robot – the touch – metal plate

Set up the information flow

  • Happy, the AI hardware robot – understanding – speech to text
  • Happy, the AI hardware robot – talking – text to speech

Configuration

  • Happy, the AI hardware robot – Configuration

Tags:

AI
Author

Laszlo Pinter

Follow Me
Other Articles
Previous

How to convert STL file to solid in FreeCAD

Next

Happy, the AI hardware robot – the ears – microphone

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

  • How to convert STL file to solid in FreeCAD November 16, 2026
  • FreeCAD installation issue November 15, 2026
  • Happy, the AI hardware robot - understanding - speech to text November 15, 2026
  • Building Happy, the AI hardware robot November 14, 2026
  • Happy, the AI hardware robot – Configuration November 14, 2026

Tags

.NET .NETcore 3Dprinting AI AutodeskInventor AWS C# Chef cloud DevOps Docker EntityFramework Games Git Go iOS iPad iPhone iPod Java Kubernetes Linux MacOSX MSSQL MVC MySql Node.js Packer Python RDS RightScale Ruby security Splunk 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.