Skip to content

This repo contains project files for esp32-chatgpt/llama integration.

Notifications You must be signed in to change notification settings

kevinjacb/esp-idf-chatgpt_llama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 ChatGPT Implementation

Welcome to the ESP32 ChatGPT Implementation project! This project enables you to create an ESP32 device that interacts with the ChatGPT server, delivering an intuitive touch interface experience on an LCD screen. Dive into the world of AI communication through a user-friendly setup.

Warning: Messy codebase ahead, proceed with caution! :)

Project overview GPT icon

Features

  • Utilizes ESP32 and LCD for a tactile ChatGPT experience.
  • Customizable configurations via configs.h.
  • Seamless interactions through a touch-enabled interface.

Hardware Requirements

  • ESP32 development board (I used Waveshare ESP32 S3-Pico).
  • LCD display (I am currently using a 2.4inch touch TFT display with driver ILI9341).

LCD (2.4 inch TFT touch ILI9341)

LCD Close-up

ESP32 S3-PICO

ESP32 Controller ESP32 Pinout

Schematic

Follow this schematic to wire up the LCD with the ESP32.

Schematic

Setup Instructions

  1. Clone the Repository:

    git clone https://github.com/kevinjacb/esp32-chatgpt_llama.git
    cd esp32-chatgpt_llama
  2. Configure configs.h: Modify the configs.h file according to your hardware setup:

    • Adjust LCD parameters (width, height, pins).
    • Set up Wi-Fi SSID and password.
    • Define ChatGPT server details.
  3. Build and Flash: Use ESP-IDF tools to build and flash the project to your ESP32 device. (for Windows)

    • idf.py build
    • idf.py -p COMX flash
    • idf.py monitor
  4. Interacting with the Device: Once flashed and all connections are done, the system is ready for use. Queries can be entered using the touchscreen.

Folder Structure

  • main/: Contains project source files.
  • main/ui/: Includes UI files generated by Squareline Studio and modified to fit our use.

Screenshots / Visuals

Demo

YouTube Video

https://www.youtube.com/shorts/8u8_6w0_Zd8

Click the link above to watch the YouTube video demonstrating the project.

Softwares used:

  • Squareline Studio

About

This repo contains project files for esp32-chatgpt/llama integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published