Gemini ChatMate: Your AI Assistant

Multi-purpose View the repo

This firmware runs on the M5Cardputer, allowing users to type queries via its keyboard, which are sent to the Gemini API; the device then displays the generated responses on its screen while managing Wi‑Fi connectivity and configuration from an SD card.

auto-summary

58 stars · 6 forks

Maintainer
vanshksingh
Capabilities
wifi
Chip families
esp32-s3

Runs on these boards

Unverified

  • CardputerUnverifiedM5Stack
    Flash Cardputerguided

    Unverified esp-atlas asserts this board↔firmware link at the shown trust tier — it does not guarantee your specific unit or the current firmware version. Flashing can erase keys/config and can brick the device. At your own risk.

README

M5Cardputer Chat with Gemini API

An application that uses M5Cardputer to interact with the Gemini API for generating responses based on user input. This project includes code for managing Wi-Fi connectivity, handling user input, making API requests, and displaying responses on the M5Cardputer's screen.

Features

  • User Input Handling: Accepts user input through the M5Cardputer keyboard.
  • API Integration: Sends queries to the Gemini API and processes the responses.
  • Display Management: Manages the display of user input and responses.
  • Wi-Fi Connectivity: Connects to the specified Wi-Fi network for API communication.
  • Configuration: Reads configuration data such as Wi-Fi credentials and API key from an SD card.

Usage

  1. Insert SD Card

  2. Follow On-screen instructions.

  3. Get API key From https://aistudio.google.com/app/apikey

  4. Type your queries using the M5Cardputer keyboard, and the application will send them to the Gemini API.

  5. The responses from the Gemini API will be displayed on the M5Cardputer screen.

In-Development

  1. Re-integrate Fastled implementation
  2. Clean code
  3. Remove Print Debug function
  4. Save Response to SD card
  5. Voice to text input
  6. Text to voice
  7. Button to switch voice modes

Create .bin

https://www.reddit.com/r/CardPuter/comments/1aoka55/finally_i_manage_to_compile_m5nemo_from_source/

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository and create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Read the full README on GitHub

source github.com/vanshksingh/M5Cardputer-Chat-with-Gemini-API