Difference between revisions of "13.3inch PiPad"

From Waveshare Wiki
Jump to: navigation, search
 
(23 intermediate revisions by 4 users not shown)
Line 22: Line 22:
 
==Features==
 
==Features==
 
*13.3inch IPS screen,1920 x 1080 high resolution.
 
*13.3inch IPS screen,1920 x 1080 high resolution.
*Embed Raspberry Pi 3A+ as controller.
+
*Embedded Raspberry Pi 3A+ as controller, 64-bit 1.4GHz quad-core, dual-band WIFI, Bluetooth 4.2.
*Toughened glass capacitive touch panel, 6H hardness, supports up to 10-points touch.
+
*Support displaying news, weather, time.
*Embedded ferrite Hi-Fi speaker.
+
*Toughened glass capacitive touch panel, 6H hardness, supports up to 10-point touch.
*Embedded Microphone And Speaker, Adopts Snowboy Hotword Detection Engine.
+
*Embedded ferrite Hi-Fi speaker, high-quality MEMS silicone mic, with 3.5mm audio jack.
 +
*Embedded microphone and speaker, adopts Snowboy Voice Wakeup.
 
*75 x 75mm spacing mounting holes (M4 screw hole).
 
*75 x 75mm spacing mounting holes (M4 screw hole).
 
*Comes with a 75° tilt angle stand.
 
*Comes with a 75° tilt angle stand.
  
 
==Difference between Migic mirror and Pipad==
 
==Difference between Migic mirror and Pipad==
The only difference between Magic mirror and the Pipad is that the Magic mirror use one-way mirror and the Pipad use Toughened Glass.
+
The only difference between the Magic Mirror and the Pipad is that the Magic Mirror uses a one-way mirror and the Pipad use Toughened Glass.
  
 
==User Guide==
 
==User Guide==
To use the Magic mirror, you can use the pre-configured image which we provide or configure it yourself with the original Raspbian image.
+
To use the Magic mirror, you can use the pre-configured image which we provide or configure it yourself with the original Raspbian image.<br>
<font color="#FF0000">It is recommended to install pre-configured images for newbies or first-time installations. The pre-configured images have already installed the required libraries and drivers, and the program runs automatically after booting.</font>
+
<font color="#FF0000">It is recommended to install pre-configured images for newbies or first-time installation. The pre-configured images have already installed the required libraries and drivers, and the program runs automatically after booting.</font>
 
===Method 1. Pre-configured image===
 
===Method 1. Pre-configured image===
 
;1. Download the pre-configured image and write it to your SD card.
 
;1. Download the pre-configured image and write it to your SD card.
 
*[https://1drv.ms/u/s!AjQhuE4TeXmAltNPYioynEHlEMVpoQ?e=Dl5REk Image for 13.3inch Magic Mirror]
 
*[https://1drv.ms/u/s!AjQhuE4TeXmAltNPYioynEHlEMVpoQ?e=Dl5REk Image for 13.3inch Magic Mirror]
 +
*[https://drive.google.com/file/d/1DVU9EfwfzZHe_Rkcj4s2MMphuCng2Bbu/view?usp=sharing Image for 13.3inch Magic Mirror (Google Drive)]
 +
 
;2. Add the following lines to wpa_supplicat.conf files in the BOOT directory. (if you didn't find the files, create them.)
 
;2. Add the following lines to wpa_supplicat.conf files in the BOOT directory. (if you didn't find the files, create them.)
 
<pre>
 
<pre>
Line 53: Line 56:
  
 
===Method 2. Configure image manually===
 
===Method 2. Configure image manually===
;1. Write a Raspbian image.
+
;1. Write a Raspbian image
: Download the lasted Raspbian image from the Rasberry Pi website and write it to an empty micro SD card.
+
: Download the latest Raspbian image from the Rasberry Pi website and write it to an empty micro SD card.
 
: Create a new Txt file under the BOOT directory of the micro SD card and name it SSH.  
 
: Create a new Txt file under the BOOT directory of the micro SD card and name it SSH.  
: Modify the config.txt file which is located in the BOOT directory, and add the following lines to the config.txt file
+
: Modify the config.txt file which is located in the BOOT directory, and add the following lines to the config.txt file:
 
<pre>
 
<pre>
 
hdmi_group=2
 
hdmi_group=2
Line 65: Line 68:
 
: Connect the Magic mirror to the network and power on Raspberry Pi.
 
: Connect the Magic mirror to the network and power on Raspberry Pi.
 
: After booting, you can access Raspberry Pi via SSH, or directly connect the keyboard and mouse.
 
: After booting, you can access Raspberry Pi via SSH, or directly connect the keyboard and mouse.
;2. Install WM8960 sound card driver
+
;2. Install WM8960 sound card driver:
: Open the terminal and use the following commands to install
+
: Open the terminal and use the following commands to install.
 
<pre>
 
<pre>
 
git clone https://github.com/waveshare/WM8960-Audio-HAT
 
git clone https://github.com/waveshare/WM8960-Audio-HAT
Line 76: Line 79:
 
#dtparam=audio=on
 
#dtparam=audio=on
 
</pre>
 
</pre>
: Then reboot Raspberry Pi
+
: Then reboot Raspberry Pi.
 
<pre>
 
<pre>
 
sudo reboot
 
sudo reboot
 
</pre>
 
</pre>
: After rebooting, check the driver by the following command
+
: After rebooting, check the driver by the following command.
 
<pre>
 
<pre>
 
sudo dkms status  
 
sudo dkms status  
Line 88: Line 91:
 
wm8960-soundcard, 1.0, 4.19.58-v7l+, armv7l: installed
 
wm8960-soundcard, 1.0, 4.19.58-v7l+, armv7l: installed
 
</pre>
 
</pre>
: Test the sound card
+
: Test the sound card.
 
*Test playing: aplay -l
 
*Test playing: aplay -l
 
<pre>
 
<pre>
Line 105: Line 108:
 
   Subdevice #0: subdevice #0
 
   Subdevice #0: subdevice #0
 
</pre>
 
</pre>
;3. Install Magic Mirror driver
+
;3. Install Magic Mirror driver.
 
: Open the terminal and type the following commands.
 
: Open the terminal and type the following commands.
 
<pre>
 
<pre>
Line 119: Line 122:
 
</pre>
 
</pre>
 
:[[File:MgicMirror-1.png|600px]]
 
:[[File:MgicMirror-1.png|600px]]
: Install MMM-VoiceAssistant model and display
+
: Install MMM-VoiceAssistant model and display.
 
<pre>
 
<pre>
 
cd ~/MagicMirror/modules
 
cd ~/MagicMirror/modules
Line 142: Line 145:
 
source ~/env/bin/activate
 
source ~/env/bin/activate
 
</pre>
 
</pre>
;5. Install snowboy
+
;5. Install Snowboy.
 
: Install libraries
 
: Install libraries
 
<pre>
 
<pre>
Line 152: Line 155:
 
pip3 install SpeechRecognition
 
pip3 install SpeechRecognition
 
</pre>
 
</pre>
: Download snowboy
+
: Download Snowboy.
 
<pre>
 
<pre>
 
git clone https://github.com/Kitt-AI/snowboy.git
 
git clone https://github.com/Kitt-AI/snowboy.git
Line 159: Line 162:
 
cd ../../examples/Python3
 
cd ../../examples/Python3
 
</pre>
 
</pre>
:Modify snowbiydecoder.py file. Change '''from.import snowboydetect''' to '''import snowboydetect'''. Save and enable snowboy
+
: Modify snowbiydecoder.py file. Change ''' from.import snowboydetect''' to '''import snowboydetect'''. Save and enable Snowboy.
 
<pre>
 
<pre>
 
cd ~/snowboy/examples/Python3
 
cd ~/snowboy/examples/Python3
Line 168: Line 171:
 
INFO:snowboy:Keyword 1 detected at time: 2019-12-03 11:30:16
 
INFO:snowboy:Keyword 1 detected at time: 2019-12-03 11:30:16
 
</pre>
 
</pre>
;6. Install Google Assistant Service
+
;6. Install Google Assistant Service.
:Create .asoundrc file in /home/pi directory (the user directory)
+
: Create .asoundrc file in /home/pi directory (the user directory)
 
<pre>
 
<pre>
 
nano .asoundrc
 
nano .asoundrc
 
</pre>
 
</pre>
:Add the following lines to the .asoundrc file
+
: Add the following lines to the .asoundrc file.
 
<pre>
 
<pre>
 
pcm.!default {
 
pcm.!default {
Line 211: Line 214:
 
       --save --headless --client-secrets /path/to/client_secret_ client-id .json
 
       --save --headless --client-secrets /path/to/client_secret_ client-id .json
 
</pre>
 
</pre>
: Then you will get an URL, please copy it and open it on browser of your PC.
+
: Then you will get a URL, please copy it and open it on the browser of your PC.
 
<pre>
 
<pre>
 
Please visit this URL to authorize this application: https://...
 
Please visit this URL to authorize this application: https://...
 
</pre>
 
</pre>
: Go to the URL, you are asked to log in your Google Account and get the authorization code by following the guides, Copy the code to the terminal.
+
: Go to the URL, you are asked to log in to your Google Account and get the authorization code by following the guides, Copy the code to the terminal.
 
<pre>
 
<pre>
 
Please go to this URL: https://...
 
Please go to this URL: https://...
 
Enter the authorization code:
 
Enter the authorization code:
 
</pre>
 
</pre>
: If the authorization process is done successfully, you will get the information as below.
+
: If the authorization process is done successfully, you will get the information below.
 
<pre>
 
<pre>
 
credentials saved: /path/to/.config/google-oauthlib-tool/credentials.json
 
credentials saved: /path/to/.config/google-oauthlib-tool/credentials.json
Line 228: Line 231:
 
googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model
 
googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model
 
</pre>
 
</pre>
: Note: my-dev-project is the Google Could Platform ID of Actions Console project you created. You need to find the project ID  in the Actions Console. my-model is the device model name you create
+
: Note: my-dev-project is the Google Could Platform ID of the Actions Console project you created. You need to find the project ID  in the Actions Console. my-model is the device model name you create
 
: Press Enter, and try to ask something.
 
: Press Enter, and try to ask something.
 
;7. Set auto-run
 
;7. Set auto-run
Line 244: Line 247:
 
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
 
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
 
</pre>
 
</pre>
: Run Magic mirror by PM2
+
: Run Magic mirror by PM2.
 
<pre>
 
<pre>
 
cd MagicMirror/modules/MMM-VoiceAssistant/pi
 
cd MagicMirror/modules/MMM-VoiceAssistant/pi
 
pm2 start mm.sh
 
pm2 start mm.sh
 
</pre>
 
</pre>
: Run snowbiy by PM2
+
: Run snowboy by PM2.
 
<pre>
 
<pre>
 
cd MagicMirror/modules/MMM-VoiceAssistant/pi
 
cd MagicMirror/modules/MMM-VoiceAssistant/pi
 
pm2 start snowboy.sh
 
pm2 start snowboy.sh
 
</pre>
 
</pre>
:Set auto-run
+
: Set auto-run.
 
<pre>
 
<pre>
 
pm2 save
 
pm2 save
Line 263: Line 266:
 
pm2 stop snowboy
 
pm2 stop snowboy
 
</pre>
 
</pre>
;8. kepp display lighting all the time
+
;8. Keep display lighting all the time.
 
: Modify lightdm.conf
 
: Modify lightdm.conf
 
<pre>
 
<pre>
Line 282: Line 285:
  
 
==Note==
 
==Note==
;1. If the wakeup word is unworkable for you, please log in snowboy website: https://snowboy.kitt.ai , And add the new wakeup word.
+
;1. If the wakeup word is unworkable for you, please log in Snowboy website: https://snowboy.kitt.ai, And add the new wakeup word.
 
:[[File:MgicMirror-3.png|600px]]
 
:[[File:MgicMirror-3.png|600px]]
:Click recording icon to record voice and test if the voice model is workable
+
: Click recording icon to record voice and test if the voice model is workable
 
:[[File:MgicMirror-4.png|500px]]
 
:[[File:MgicMirror-4.png|500px]]
:Download the model file and copy it to ~/MagicMirror/modules/MMM-VoiceAssistant/pi direcotory.  
+
: Download the model file and copy it to ~/MagicMirror/modules/MMM-VoiceAssistant/pi directory.  
:Modify snowboy.sh file
+
: Modify snowboy.sh file
 
<pre>
 
<pre>
 
nano snowboy.sh
 
nano snowboy.sh
 
</pre>
 
</pre>
:Modify the name to the the one you download, for English, you need to modify the snowboy.umdl to the yours
+
: Modify the name to the one you download, for English, you need to modify the snowboy.umdl to yours
 
<pre>
 
<pre>
 
cd ~/MagicMirror/modules/MMM-VoiceAssistant/pi
 
cd ~/MagicMirror/modules/MMM-VoiceAssistant/pi
 
~/env/bin/python3 demo.py smart_mirror.umdl snowboy.umdl
 
~/env/bin/python3 demo.py smart_mirror.umdl snowboy.umdl
 
</pre>
 
</pre>
:2. Google Assistant Service can only support 500 request every day.
+
:2. Google Assistant Service can only support 500 requests every day.
Open ~/MagicMirror/modules/MMM-VoiceAssistant/pi/audiofileinput.py. You can enter the following code<br\>
+
Open ~/MagicMirror/modules/MMM-VoiceAssistant/pi/audiofileinput.py. You can enter the following code.<br/>
 
[[File:13.3inch mmirror.png]]<br/>
 
[[File:13.3inch mmirror.png]]<br/>
  
 
Follow the previous Google Assistant Service installation section to register an account, device model, and install authorization.<br/>
 
Follow the previous Google Assistant Service installation section to register an account, device model, and install authorization.<br/>
Finally, replace DEVICE_ID and DEVICE_MODEL_ID in the program with the corresponding values<br/>
+
Finally, replace DEVICE_ID and DEVICE_MODEL_ID in the program with the corresponding values.<br/>
 +
 
 +
==Key Introduction==
 +
[[File:13.3inch PiPad09.jpg]]
 +
*1: Turn on or off the LCD display, if the LCD is not used for a long time, the LCD display can be turned off by this button to reduce power consumption.
 +
*2: Direction key.
 +
*3: Determine the function.
 +
*4: Open the menu and return the function.
 +
 
 
=Resource=
 
=Resource=
 
==Drawing==
 
==Drawing==
*[[:File:13.3inch HDMI LCD 3D file.rar | 13.3inch HDMI LCD 3D Drawing]]
+
*[https://files.waveshare.com/upload/2/27/13.3inch_HDMI_LCD_3D_file.rar 13.3inch HDMI LCD 3D Drawing]
 
==Software==
 
==Software==
*[https://{{SERVERNAME}}/w/upload/5/56/Putty.zip putty]
+
*[https://files.waveshare.com/upload/5/56/Putty.zip putty]
*[https://{{SERVERNAME}}/w/upload/d/d7/Panasonic_SDFormatter.zip Panasonic_SDFormatter]
+
*[https://files.waveshare.com/upload/d/d7/Panasonic_SDFormatter.zip Panasonic_SDFormatter]
*[https://{{SERVERNAME}}/w/upload/7/76/Win32DiskImager.zip Win32DiskImager]
+
*[https://files.waveshare.com/upload/7/76/Win32DiskImager.zip Win32DiskImager]
 
==Authentication Information==
 
==Authentication Information==
*[https://{{SERVERNAME}}/w/upload/4/46/13.3inch_HDMI_LCD_%28H%29_Certification.rar CE RoHS]
+
*[https://files.waveshare.com/upload/4/46/13.3inch_HDMI_LCD_%28H%29_Certification.rar CE RoHS]
{{Service00}}
+
=FAQ=
 +
{{FAQ |What is the power supply for this screen? |
 +
12V 1A outer diameter 3.5 and inner diameter 1.35. If you want to use other power supplies, you need to ensure that the power supply ripple is within ±5%
 +
|||}}
 +
 
 +
=Support=
 +
{{Servicebox1}}
 
[[Category:OLEDs / LCDs|OLEDs / LCDs]] [[Category:Raspberry Pi|Raspberry Pi]] [[Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 
[[Category:OLEDs / LCDs|OLEDs / LCDs]] [[Category:Raspberry Pi|Raspberry Pi]] [[Category:Raspberry Pi LCD|Raspberry Pi LCD]]
 
</div>
 
</div>

Latest revision as of 09:26, 21 February 2024

13.3inch PiPad
13.3inch-PiPad-1.jpg

Mini-Computer Powered by Raspberry Pi 3A+, 13.3inch HD Touch Screen, USB / ETH Ports
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

Overview

Introduction

Mini-Computer Powered by Raspberry Pi 3A+, 13.3inch HD Touch Screen, USB / ETH Ports

more

Features

  • 13.3inch IPS screen,1920 x 1080 high resolution.
  • Embedded Raspberry Pi 3A+ as controller, 64-bit 1.4GHz quad-core, dual-band WIFI, Bluetooth 4.2.
  • Support displaying news, weather, time.
  • Toughened glass capacitive touch panel, 6H hardness, supports up to 10-point touch.
  • Embedded ferrite Hi-Fi speaker, high-quality MEMS silicone mic, with 3.5mm audio jack.
  • Embedded microphone and speaker, adopts Snowboy Voice Wakeup.
  • 75 x 75mm spacing mounting holes (M4 screw hole).
  • Comes with a 75° tilt angle stand.

Difference between Migic mirror and Pipad

The only difference between the Magic Mirror and the Pipad is that the Magic Mirror uses a one-way mirror and the Pipad use Toughened Glass.

User Guide

To use the Magic mirror, you can use the pre-configured image which we provide or configure it yourself with the original Raspbian image.
It is recommended to install pre-configured images for newbies or first-time installation. The pre-configured images have already installed the required libraries and drivers, and the program runs automatically after booting.

Method 1. Pre-configured image

1. Download the pre-configured image and write it to your SD card.
2. Add the following lines to wpa_supplicat.conf files in the BOOT directory. (if you didn't find the files, create them.)
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
 
network={
        ssid="your_real_wifi_ssid"
        psk="your_real_password"
}

Note: you need to change your_real_wifi_ssid and your_real_password" to the real ssid and password.

3. Inset the card to Raspberry Pi and power on it.

Method 2. Configure image manually

1. Write a Raspbian image
Download the latest Raspbian image from the Rasberry Pi website and write it to an empty micro SD card.
Create a new Txt file under the BOOT directory of the micro SD card and name it SSH.
Modify the config.txt file which is located in the BOOT directory, and add the following lines to the config.txt file:
hdmi_group=2
hdmi_mode=82
hdmi_cvt 1920 1080 60 6 0 0 0
Save and insert the micro SD card into Raspberry Pi.
Connect the Magic mirror to the network and power on Raspberry Pi.
After booting, you can access Raspberry Pi via SSH, or directly connect the keyboard and mouse.
2. Install WM8960 sound card driver
Open the terminal and use the following commands to install.
git clone https://github.com/waveshare/WM8960-Audio-HAT
cd WM8960-Audio-HAT
sudo ./install.sh 
Modify the config.txt file, remove the following line from the file, or comment on it.
#dtparam=audio=on
Then reboot Raspberry Pi.
sudo reboot
After rebooting, check the driver by the following command.
sudo dkms status 
If you can get the information below, it means that the driver was installed successfully.
wm8960-soundcard, 1.0, 4.19.58-v7l+, armv7l: installed
Test the sound card.
  • Test playing: aplay -l
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: wm8960soundcard [wm8960-soundcard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  • Test recording: arecord -l
pi@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: wm8960soundcard [wm8960-soundcard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
3. Install Magic Mirror driver.
Open the terminal and type the following commands.
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y nodejs
git clone https://github.com/MichMich/MagicMirror
cd MagicMirror/
npm install
After installing, run the command to display.
DISPLAY=:0 npm start
MgicMirror-1.png
Install MMM-VoiceAssistant model and display.
cd ~/MagicMirror/modules
git clone https://github.com/waveshare/MMM-VoiceAssistant.git
cd MMM-VoiceAssistant
cp config/config.js.en ~/MagicMirror/config/config.js  #Display English
#cp config/config.js.cn ~/MagicMirror/config/config.js  #Display Chinese
cd ~/MagicMirror
DISPLAY=:0 npm star
MgicMirror-2.png
4. Install Python3 virtual environment.
sudo apt-get update
sudo apt-get install python3-dev python3-venv
python3 -m venv env
env/bin/python -m pip install --upgrade pip setuptools wheel
source env/bin/activate
Note: The following steps should be taken in the virtual environment, if you close the terminal and restart it, you should use the command below to enter the environment again first.
source ~/env/bin/activate
5. Install Snowboy.
Install libraries
sudo apt-get install swig
sudo apt-get install libatlas-base-dev
sudo apt-get install portaudio19-dev
sudo apt-get install flac
pip3 install PyAudio
pip3 install SpeechRecognition
Download Snowboy.
git clone https://github.com/Kitt-AI/snowboy.git
cd snowboy/swig/Python3
make
cd ../../examples/Python3
Modify snowbiydecoder.py file. Change from.import snowboydetect to import snowboydetect. Save and enable Snowboy.
cd ~/snowboy/examples/Python3
python3 demo.py resources/models/smart_mirror.umdl
Try to say smart mirror, you will hear ding and the information below are printed on the mirror
INFO:snowboy:Keyword 1 detected at time: 2019-12-03 11:30:16
6. Install Google Assistant Service.
Create .asoundrc file in /home/pi directory (the user directory)
nano .asoundrc
Add the following lines to the .asoundrc file.
pcm.!default {
  type asym
  capture.pcm "mic"
  playback.pcm "speaker"
}
pcm.mic {
  type plug
  slave {
    pcm "hw:0,0"
  }
}
pcm.speaker {
  type plug
  slave {
    pcm "hw:0,0"
  }
}
According to the official guide to installing Google Assistant Service.
Please follow the third step of the official guide to configure and create OAuth Client ID JSON file. Don't forget to copy the JSON file to your Raspberry Pi.
Following the fourth step of the guide to register the device model.
Install Google Assistant SDK.
(env) $ sudo apt-get install portaudio19-dev libffi-dev libssl-dev
(env) $ python -m pip install --upgrade google-assistant-sdk[samples]
Authorize model
(env) $ python -m pip install --upgrade google-auth-oauthlib[tool]
Genegrate credential
(env) $ google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk-prototype \
      --save --headless --client-secrets /path/to/client_secret_ client-id .json
Then you will get a URL, please copy it and open it on the browser of your PC.
Please visit this URL to authorize this application: https://...
Go to the URL, you are asked to log in to your Google Account and get the authorization code by following the guides, Copy the code to the terminal.
Please go to this URL: https://...
Enter the authorization code:
If the authorization process is done successfully, you will get the information below.
credentials saved: /path/to/.config/google-oauthlib-tool/credentials.json
Use the following command to test.
googlesamples-assistant-pushtotalk --project-id my-dev-project --device-model-id my-model
Note: my-dev-project is the Google Could Platform ID of the Actions Console project you created. You need to find the project ID in the Actions Console. my-model is the device model name you create
Press Enter, and try to ask something.
7. Set auto-run
Install PM2.
sudo npm install -g pm2
Setup pm2
pm2 startup
You will get the information below, please copy the command and run it on the terminal.
[PM2] To setup the Startup Script, copy/paste the following command:
sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u pi --hp /home/pi
Run Magic mirror by PM2.
cd MagicMirror/modules/MMM-VoiceAssistant/pi
pm2 start mm.sh
Run snowboy by PM2.
cd MagicMirror/modules/MMM-VoiceAssistant/pi
pm2 start snowboy.sh
Set auto-run.
pm2 save
If you want to disable the services, you can also use the following command.
pm2 stop mm
pm2 stop snowboy
8. Keep display lighting all the time.
Modify lightdm.conf
sudo nano /etc/lightdm/lightdm.conf
Find the line "Xserver-command" below [SeatDefaults] section and change it from
#xserver-command=X

to

xserver-command=X -s 0 -dpms
Then save and reboot.
sudo reboot

Note

1. If the wakeup word is unworkable for you, please log in Snowboy website
https://snowboy.kitt.ai, And add the new wakeup word.
MgicMirror-3.png
Click recording icon to record voice and test if the voice model is workable
MgicMirror-4.png
Download the model file and copy it to ~/MagicMirror/modules/MMM-VoiceAssistant/pi directory.
Modify snowboy.sh file
nano snowboy.sh
Modify the name to the one you download, for English, you need to modify the snowboy.umdl to yours
cd ~/MagicMirror/modules/MMM-VoiceAssistant/pi
~/env/bin/python3 demo.py smart_mirror.umdl snowboy.umdl
2. Google Assistant Service can only support 500 requests every day.

Open ~/MagicMirror/modules/MMM-VoiceAssistant/pi/audiofileinput.py. You can enter the following code.
13.3inch mmirror.png

Follow the previous Google Assistant Service installation section to register an account, device model, and install authorization.
Finally, replace DEVICE_ID and DEVICE_MODEL_ID in the program with the corresponding values.

Key Introduction

13.3inch PiPad09.jpg

  • 1: Turn on or off the LCD display, if the LCD is not used for a long time, the LCD display can be turned off by this button to reduce power consumption.
  • 2: Direction key.
  • 3: Determine the function.
  • 4: Open the menu and return the function.

Resource

Drawing

Software

Authentication Information

FAQ

 Answer:

12V 1A outer diameter 3.5 and inner diameter 1.35. If you want to use other power supplies, you need to ensure that the power supply ripple is within ±5%


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 AM GMT+8 (Monday to Friday)