مكبّر الصوت، يُفضَّل استخدام USB (راجِع USB الموصى به
أو مقبس 3.5 ملم)
بطاقة SD تحمل العلامة NOOBS
المثبت مسبقًا. NOOBS هي أداة تثبيت لنظام التشغيل تحتوي على Raspbian تلقائيًا.
ويبسط عملية إعداد نظام التشغيل.
وقد تحتاج أيضًا إلى استخدام لوحة مفاتيح USB وماوس USB وشاشة مزودة
كابل HDMI. وتعمل هذه الخطوات على تبسيط عملية الإعداد الأولي للأجهزة (وهي مطلوبة
تثبيت NOOBS).
يجب عليك الآن إعداد الأجهزة وتهيئة الوصول إلى الشبكة.
توصيل الجهاز وإعداد الوصول إلى الشبكة
وصِّل الميكروفون ومكبّر الصوت بجهاز Raspberry Pi.
أدخِل بطاقة SD في جهاز Raspberry Pi (باستخدام NOOBS أو Raspbian باستخدام
تم تحميل سطح المكتب من قبل).
وصِّل لوحة مفاتيح USB وماوس USB وشاشة HDMI بجهاز Raspberry Pi. في حال حذف
لا تتوفّر هذه الميزات، ويمكنك في أي وقت
الاتصال بجهاز Pi عن بُعد
تحقَّق من ضبط التاريخ والوقت بشكل صحيح على الجهاز.
date
الاتصال بجهاز Raspberry Pi عبر بروتوكول النقل الآمن (SSH) (اختياري)
لتشغيل الأوامر على Raspberry Pi، عليك فتح المحطة الطرفية.
على الجهاز أو استخدام اتصال بروتوكول النقل الآمن. يجب استخدام اتصال بروتوكول النقل الآمن من
إذا لم يتم توصيل شاشة ولوحة مفاتيح وفأرة
إلى Raspberry Pi.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003cstrong\u003eDeprecated Library:\u003c/strong\u003e The Google Assistant Library for Python is deprecated; use the Google Assistant Service instead.\u003c/p\u003e\n"],["\u003cp\u003e\u003cstrong\u003eHardware Requirements:\u003c/strong\u003e You need a Raspberry Pi 3 (or above), USB microphone and speaker, and an SD card with NOOBS or Raspbian.\u003c/p\u003e\n"],["\u003cp\u003e\u003cstrong\u003eSetup Process:\u003c/strong\u003e Connect the hardware, configure network access, verify date/time settings, and optionally connect via SSH for remote access.\u003c/p\u003e\n"],["\u003cp\u003e\u003cstrong\u003eNext Steps:\u003c/strong\u003e Proceed to configure and test the audio settings for the Google Assistant.\u003c/p\u003e\n"]]],["The core actions involve setting up a Raspberry Pi for use, but the Google Assistant Library is deprecated; the Google Assistant Service should be used instead. Hardware setup includes connecting a microphone, speaker, SD card with NOOBS (or Raspbian), and optionally, a keyboard, mouse, and monitor. Network access via Ethernet or Wi-Fi needs configuration, and the date/time must be set correctly to avoid errors. SSH access is optional but is required if there is no monitor connected to the Raspberry Pi.\n"],null,["# Set Up Hardware and Network Access\n\n| **Warning:** The Google Assistant Library for Python is deprecated as of June 28th, 2019. Use the [Google Assistant Service](/assistant/sdk/guides/service/python) instead.\n\n\u003cbr /\u003e\n\nThe content on this page is hardware-dependent. Please select from the following: \nRaspberry Pi 3 Ubuntu Desktop Other Linux-based platforms\nBefore you begin, you'll need the following components:\n\n\u003cbr /\u003e\n\n- Raspberry Pi 3 Model B and power supply (see [recommended kit](https://www.adafruit.com/products/3334))\n\n\n | **Note:** To use a Raspberry Pi Zero (or Zero W), use the [Google Assistant Service](/assistant/sdk/guides/service/python) instead.\n\n \u003cbr /\u003e\n\n- USB microphone (see [recommended](https://www.adafruit.com/product/3367))\n\n- Speaker, preferably USB (see recommended [USB](https://www.adafruit.com/products/3369)\n or [3.5mm-jack](https://www.sparkfun.com/products/14023))\n\n- An SD card with [NOOBS](https://www.raspberrypi.org/downloads/noobs/)\n pre-installed. NOOBS is an OS installer that contains Raspbian by default\n and simplifies OS setup.\n\n | **Note:** You can also [download Raspbian](https://www.raspberrypi.org/downloads/raspbian/) and [write](https://www.raspberrypi.org/documentation/installation/installing-images/linux.md) it to the SD card yourself.\n- You may also want to have a USB keyboard, USB mouse, and a monitor with an\n HDMI cable. These simplify initial hardware setup (and are required to\n install NOOBS).\n\nYou'll now set up the hardware and configure network access.\n\nConnect the hardware and configure network access\n-------------------------------------------------\n\n1. Connect the microphone and speaker to the Raspberry Pi.\n2. Insert the SD card into the Raspberry Pi (with NOOBS or Raspbian with Desktop already loaded).\n3. Connect a USB keyboard, USB mouse and HDMI monitor to your Raspberry Pi. If you don't have these, you can always [connect to the Pi remotely](/assistant/sdk/guides/library/python/embed/setup-headless).\n4. Plug in an ethernet cable or [connect to a Wi-Fi\n network](https://www.raspberrypi.org/documentation/configuration/wireless/desktop.md).\n\nAfter you configure access, you can connect to the Raspberry Pi via [SSH](#ssh)\n(optional).\n\nConfigure the date and time\n---------------------------\n\nCheck that the date and time are set correctly on the device. \n\n```\ndate\n```\n| **Note:** An incorrect date or time may cause SSL errors. Restart the device to automatically set the correct date and time from a time server or use the `date --s=\u003cSTRING\u003e` command to set them manually.\n\nConnect to the Raspberry Pi via SSH (Optional)\n----------------------------------------------\n\nTo run commands on the Raspberry Pi, you need to open the [terminal](https://www.raspberrypi.org/documentation/usage/terminal/)\non the device or use an SSH connection. You must use an SSH connection from your\ndevelopment machine if you do not have a monitor, keyboard, and mouse connected\nto the Raspberry Pi.\n\nMake sure [SSH is enabled](https://www.raspberrypi.org/documentation/remote-access/ssh/README.md)\non the Raspberry Pi. \n\n```\nssh pi@raspberry-pi-ip-address\n``` \n\n```\npassword: password-for-raspberry-pi\n```\n\nFor example: \n\n```\n$ ssh pi@192.168.1.101\npassword: raspberry\n```\n\nOn Raspbian, the default password for the `pi` user is `raspberry`. You should\nchange this password immediately (run `passwd` in a terminal on the Pi).\n\nUse the terminal or the SSH session you set up in this step to enter the\ncommands in the rest of this guide. The working directory for both is\n`/home/pi`.\n\nNext step\n---------\n\n[Configure and Test the Audio](/assistant/sdk/guides/library/python/embed/audio)"]]