Project Goal
In this project, we connected AI voice commands from Python to an Arduino-powered 3.5-inch TFT LCD display. The goal was simple: speak a command, and see it live on the screen.

What We Achieved in This Step
✅ Took voice input using Python
✅ Sent the recognized command via serial to Arduino
✅ Arduino displayed the command on a 3.5-inch TFT LCD shield in real-time
Hardware Used
- Arduino Uno (or Mega)
- 3.5-inch TFT LCD Shield (ILI9486-based)
- USB cable for programming
- PC with microphone
- Jumper wires (optional if using shield)
Software Used
- Python 3.10 with
speech_recognition,pyserial, andpyaudio - Arduino IDE with
MCUFRIEND_kbvandAdafruit_GFXlibraries
How It Looks
When you say:
arduinoCopyEdit"Turn on fan"
The LCD shows:
vbnetCopyEditCMD:
turn on fan
Arduino Code Snippet
Here’s a short version of the core Arduino code that receives the command and prints it:
cppCopyEdit#include <MCUFRIEND_kbv.h>
#include <Adafruit_GFX.h>
#define BLACK 0x0000
#define WHITE 0xFFFF
#define GREEN 0x07E0
#define YELLOW 0xFFE0
tft.fillScreen(BLACK);
tft.setTextColor(GREEN);
tft.setCursor(30, 80);
tft.print("CMD:");
tft.setCursor(30, 130);
tft.setTextColor(YELLOW);
tft.print(incomingCommand);
Why This Is Powerful
- Can be used for IoT device interfaces
- Great for AI + Hardware integration
- A visual dashboard you can expand with touch, graphs, or buttons
What’s Next?
In the next step, we’ll:
- Add a relay module
- Use voice to actually turn ON/OFF a real fan or light
Stay tuned!
