Raspberry Pi: создание голосового ИИ-ассистента на базе ChatGPT [Udemy] [Олег Борейко]

Bot

Администратор
Команда форума
23 Янв 2020
205,187
3,142
113
269049.jpg

Unlock the Power of Raspberry Pi 5: Build Your Own AI Voice Assistant
Unlock the full potential of Raspberry Pi 5 and dive into the future of AI and smart home automation! In this hands-on course, you’ll learn how to create a fully functional voice assistant powered by ChatGPT, one of the most advanced AI technologies today.
What You’ll Learn

  1. Set up your Raspberry Pi from scratch – Get familiar with the Raspberry Pi setup process and the necessary software tools.
  2. Integrate smart devices – Learn how to control devices like plugs and switches using your voice assistant.
  3. Use speakers for communication – Enable your assistant to communicate with you through speakers.
  4. Explore IoT and smart home automation – Understand essential IoT components and how to use platforms like Tuya for automation.
APIs for Your Projects
  1. OpenAI API – Learn how to use the OpenAI API for ChatGPT integration.
  2. Tuya API – Control smart devices remotely through the Tuya API.
  3. Learn how you can leverage these APIs to enhance your own projects.
Telegram Bot Integration

As an extra perk, I’ll show you how to integrate your assistant with Telegram by creating a Telegram bot. With this feature, you’ll be able to control your smart home remotely from your phone, expanding your assistant’s functionality and enabling you to manage your devices from anywhere.
Develop Essential Skills

  1. Apply your basic Python skills in a real-world project.
  2. Gain experience in hardware integration.
  3. Master automation techniques.
A Living Project

This course is a living project! I continuously update lessons based on your feedback and the latest advancements in technology to keep the content cutting-edge. Have a feature request? Drop it in the Q&A – your ideas directly shape future updates!
What You'll Achieve

  1. Built your own voice-controlled AI assistant that interacts with your smart home.
  2. Gained the skills to create advanced automation projects with Raspberry Pi.
Updates (Oct 2025)

New article in Section 4 – "Tuya IoT Core Trial for Home Projects: Staying Free (and Sane) Long–Term" - renewal steps, quota behavior, and fully local control (LocalTuya/TinyTuya).
Who this course is for

  1. IoT Enthusiasts: Anyone interested in creating smart home or IoT projects using Raspberry Pi
  2. Beginners in AI and Voice Assistants: Those curious about building their first AI-powered voice assistant with minimal prior experience
  3. Beginner Python Developers: Programmers looking to apply their Python skills to real-world automation and AI integration
  4. Hobbyists and Makers: People passionate about DIY projects and exploring cutting-edge technologies like ChatGPT
  5. Tech Educators and Students: Teachers or learners seeking a practical, hands-on project to deepen their understanding of IoT and AI
Course content
Introduction

  1. Welcome to the Course: Build Your AI Voice Assistant
  2. Essential Components for Your Project
  3. Useful Resources
Raspberry Pi 5 Initial Setup
  1. Introduction to Raspberry Pi
  2. Installing the Raspberry Pi OS
  3. Connecting to Your Raspberry Pi: Monitor or SSH
  4. Connecting the Speaker and Microphone
  5. Installing Audio Libraries
  6. Useful Resources
Getting Started with ChatGPT API
  1. What is an API and Why Do We Need It?
  2. Creating an API Key for ChatGPT
  3. Hands-on: Making Our First API Request
  4. Useful Resources
Introduction to the Tuya Developer Platform
  1. Introduction to Tuya: Understanding Local Key and Device Control
  2. Creating Your Tuya Developer Account
  3. Adding a Smart Plug to Your Tuya Account
  4. Retrieving Smart Plug Information with TinyTuya
  5. Retrieving Smart Plug Information with Tuya API Explorer
  6. Hands-on: Controlling a Tuya Smart Plug with Raspberry Pi
  7. Useful Resources
  8. Tuya IoT Core Trial for Home Projects: Staying Free (and Sane) Long-Term
Building the Core Functionality of Your AI Assistant
  1. Implementing Voice Activation
  2. Enhancing Raspberry Pi Development: VS Code & Remote SSH Setup
  3. Voice-Controlled Smart Plug Integration
  4. Integrating ChatGPT for Advanced Conversations
  5. Fixing Audio Warnings: A Simple Solution
  6. Deep Dive into the Code: Integrating a Voice Assistant with Tuya and ChatGPT
  7. Useful Resources
Finalizing, Automating, and Improving Your AI Voice Assistant
  1. Putting It All Together
  2. Introduction to systemd
  3. Add Script to Raspberry Pi Startup
  4. Expanding and Enhancing Your Project
  5. Useful Resources
Last but not least
  1. Congratulations & What’s Next?
[Extra] Expanding Your AI Assistant: Telegram Bot Integration
  1. Introduction to Telegram Integration: Why and How?
  2. Creating a Telegram Bot and Getting the API Token
  3. Integrating the Telegram Bot with the AI Assistant
  4. Live Demo: Controlling Your AI Assistant via Telegram
  5. Deep Dive into the Code: Integrating Tuya and ChatGPT in a Telegram Bot
  6. Useful Resources
What you’ll learn
  1. Set up a Raspberry Pi as a functional AI-powered voice assistant
  2. Use the ChatGPT API to process voice inputs and generate responses
  3. Control smart devices using voice commands and Tuya API
  4. Automate assistant startup on Raspberry Pi using systemd
  5. Integrate a Telegram bot for remote control of your assistant
  6. Gain the knowledge and tools to expand your assistant’s capabilities
Requirements
  1. Basic familiarity with Python programming and using the command line
  2. A Raspberry Pi 5 (or a similar model) with necessary peripherals (microSD card, power supply, etc.)
  3. A microphone and speakers for voice input and output
  4. Access to OpenAI and Tuya developer platform accounts for integrating ChatGPT and Tuya
  5. Access to a Telegram account for integrating the assistant with a Telegram bot
  6. No advanced skills are required – this course is beginner-friendly and guides you step by step