Skip to content

Commit

Permalink
add pcb relpacement docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lewangdev committed Nov 9, 2023
1 parent e5011ad commit adc8b77
Show file tree
Hide file tree
Showing 14 changed files with 1,028 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ There are three key steps:

- **Recording** Receive real-time recording data sent by the toy through UDP, and call the STT (Sound-To-Text) API to convert the sound into text. Currently supported STT options include: `openai-whisper`, `azure-stt`, `azure-whisper`.
- **Thinking**: After receiving the previous text, the LLM (Large-Language-Model) API will be immediately called to obtain sentences generated by the LLM in a streaming manner. Then, the TTS (Text-To-Sound) API is called to convert the sentences into human speech. Currently supported LLM options include: `openai`, `azure-openai` Or llm proxied by [One-Api](https://github.com/songquanpeng/one-api).
- **Play audio**: Toys will receive TTS (Text-To-Sound) audio file streams generated by the FotoLoy Server and play them according to the order. Currently supported TTS options include: `openai-tts`, `azure-tts`, `elevenlabs`, `edge-tss`(Free).
- **Play audio**: Toys will receive TTS (Text-To-Sound) audio file streams generated by the FoloToy Server and play them according to the order. Currently supported TTS options include: `openai-tts`, `azure-tts`, `elevenlabs`, `edge-tts`(Free).

## Can't connect to your own server?

Expand Down
2 changes: 1 addition & 1 deletion docs/installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ This setup is recommended if you are running FoloToy Server **on your home netwo

## Usage

The following steps are based on the example of Huohuo Rabbit G6. For instructions on how to connect other models of toys, please refer to [Toy Connection Instructions](guides/emqx.md).
The following steps are based on the example of Alilo G6. For instructions on how to connect other models of toys, please refer to [Toy Connection Instructions](guides/emqx.md).

1. Turn on the switch at the back of the toy to power it on. The blue flashing light indicates that the toy has entered pairing mode.

Expand Down
50 changes: 50 additions & 0 deletions docs/toy-pcb-replacement/alilo-f6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: Alilo F6/F6s PCB Replacement
sidebar_label: Alilo F6/F6s
---

This document provides the necessary steps for PCB replacement of Alilo F6/F6s. If you don't plan to read the document below, you can also refer to the video below.


## Requirements

- A cross screwdriver with a diameter of 2.5mm and a length of over 5cm.
- A utility knife, used to remove the adhesive on top of the PCB socket.
- A functioning Alilo F6 can be purchased on major e-commerce websites.
- A replacement circuit board for the F6, produced by FoloToy, can be purchased at: https://gf.bilibili.com/item/detail/1104222005.

<img src="https://user-images.githubusercontent.com/1455685/281617149-782ee59a-1c4a-4a80-8516-1a2946c477cc.jpg" />

## Instructions

1. 检查 Alilo F6 录音和播放是否正常
2. 使用螺丝刀拧开 Alilo F6 底座和背后的螺丝
3. 小心的打开 Alilo F6 的外壳后,拔掉主板上所有的插头,首先拔掉电源插头,插头上有胶,可使用美工刀轻轻划开,一定要注意千万不要划到自己的手
4. 拧开主板上螺丝,取下主板
5. 使用 FoloToy 的主板替换掉原主板,拧紧螺丝固定
6. 插好话筒,灯,扬声器和电源的插座,最后插电源的插座。
7. 插好插座后,先不要合起外壳安装螺丝,先打开兔子尾巴上的电源开关,看看新安装的灯是否能亮,并且蓝色慢闪。
8. 如果没有问题,安装好外壳,拧好螺丝就完成了替换。

## Wi-Fi Configure

1. Turn on the switch at the back of the toy to power it on. The blue flashing light indicates that the toy has entered pairing mode.

2. Simultaneously press and hold the previous/next button for more than 5 seconds to enter configuration mode. At this time, the light will gradually change to blue.

![config](https://user-images.githubusercontent.com/1455685/281622340-7a607890-38d3-46f5-80e5-3168ee99a2e0.jpg)

3. Connect to the hotspot of the toy.

Open your phone or computer and select "FoloToy-xxxx" WiFi network. Wait a moment, and your phone or computer will automatically open a configuration page where you can set up which WiFi network, server address, and port number that you want your toy to connect with.

:::caution
If no page pops up, you can also configure it by entering http://192.168.4.1 in your browser.
:::

* Enter configuration mode: Simultaneously press and hold both forward and backward buttons on the front panel for 5 seconds; at this time, the earlight will flash blue.
* Connect FoloToy: Use your phone or computer to search for available WiFi networks; look for one named "FoloToy-xxxx", such as FoloToy-b8a2.
* Open configuration page: Once connected to FoloToy's WiFi network, it will automatically open a configuration page.
* Home screen explanation: There are three buttons on the home screen - "Configure WiFi" is used for setting up WiFi connection; "Info" is for viewing hardware information; "Exit" is for exiting the configuration. See the image below.

![config](https://github.com/FoloToy/folotoy-tool/assets/1455685/3cf6d0ac-9504-40ec-94c1-54a09a990fd4)
53 changes: 53 additions & 0 deletions docs/toy-pcb-replacement/alilo-g6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
title: Alilo G6/G6s PCB Replacement
sidebar_label: Alilo G6/G6s
---

This document provides the necessary steps for PCB replacement of Alilo G6/G6s. If you don't plan to read the document below, you can also refer to the video below.


<iframe width="100%" height="600" src="https://www.youtube.com/embed/hR7V1izzeZw?si=T3cY8y4Oy2Bxkg0H" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>


## Requirements

- A cross screwdriver with a diameter of 2.5mm and a length of over 5cm.
- A utility knife, used to remove the adhesive on top of the PCB socket.
- A functioning Alilo G6 can be purchased on major e-commerce websites.
- A replacement circuit board for the G6, produced by FoloToy, can be purchased at: https://gf.bilibili.com/item/detail/1104222005.

<img src="https://user-images.githubusercontent.com/1455685/281617149-782ee59a-1c4a-4a80-8516-1a2946c477cc.jpg" />

## Instructions

1. 检查 Alilo G6 录音和播放是否正常
2. 使用螺丝刀拧开 Alilo G6 背后的 6 颗螺丝
3. 小心的打开 Alilo G6 的外壳后,拔掉主板上所有的插头,首先拔掉电源插头,插头上有胶,可使用美工刀轻轻划开,一定要注意千万不要划到自己的手
4. 拧开主板上的4颗螺丝,取下主板
5. 使用 FoloToy 的主板替换掉原主板,拧紧 3 颗螺丝固定
6. 插好话筒,灯,扬声器和电源的插座,最后插电源的插座。
7. 插好插座后,先不要合起外壳安装螺丝,先打开兔子尾巴上的电源开关,看看新安装的灯是否能亮,并且蓝色慢闪。
8. 如果没有问题,安装好外壳,拧好螺丝就完成了替换。

## Wi-Fi Configure

1. Turn on the switch at the back of the toy to power it on. The blue flashing light indicates that the toy has entered pairing mode.

2. Simultaneously press and hold the previous/next button for more than 5 seconds to enter configuration mode. At this time, the light will gradually change to blue.

![config](https://user-images.githubusercontent.com/1455685/281584076-b5234f63-f7b5-4e8e-a710-6eedf19b8997.jpg)

3. Connect to the hotspot of the toy.

Open your phone or computer and select "FoloToy-xxxx" WiFi network. Wait a moment, and your phone or computer will automatically open a configuration page where you can set up which WiFi network, server address, and port number that you want your toy to connect with.

:::caution
If no page pops up, you can also configure it by entering http://192.168.4.1 in your browser.
:::

* Enter configuration mode: Simultaneously press and hold both forward and backward buttons on the front panel for 5 seconds; at this time, the earlight will flash blue.
* Connect FoloToy: Use your phone or computer to search for available WiFi networks; look for one named "FoloToy-xxxx", such as FoloToy-b8a2.
* Open configuration page: Once connected to FoloToy's WiFi network, it will automatically open a configuration page.
* Home screen explanation: There are three buttons on the home screen - "Configure WiFi" is used for setting up WiFi connection; "Info" is for viewing hardware information; "Exit" is for exiting the configuration. See the image below.

![config](https://github.com/FoloToy/folotoy-tool/assets/1455685/3cf6d0ac-9504-40ec-94c1-54a09a990fd4)
55 changes: 55 additions & 0 deletions docs/toy-pcb-replacement/mitu-c1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: Mitu C1 PCB Replacement
sidebar_label: Mitu C1
---

This document provides the necessary steps for PCB replacement of Mitu C1. If you don't plan to read the document below, you can also refer to the video below.


<iframe width="100%" height="600" src="//player.bilibili.com/player.html?aid=959871024&bvid=BV1Qp4y1T71J&cid=1303264940&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>


## Requirements

- 检查原主板是否是支持的型号
- A cross screwdriver with a diameter of 2.5mm and a length of over 5cm.
- A functioning Mitu C1 can be purchased on major e-commerce websites.
- A replacement circuit board for the C1, produced by FoloToy, can be purchased at: https://gf.bilibili.com/item/detail/1104222005.

<img src="https://user-images.githubusercontent.com/1455685/281623396-41fd475c-39c8-44b1-b994-df8e5ae5dd0b.png" />

## Instructions

1. 检查 Mitu C1 录音和播放是否正常
2. 撕开 Mitu C1 底部的标签纸,使用螺丝刀拧开螺丝,取下底部盖板
3. 用薄片撬开 Mitu C1 背后开关上面的外壳
4. 使用螺丝刀拧开 Mitu C1 背后的颗螺丝
3. 小心的打开 Mitu C1 的外壳后,拔掉主板上所有的插头,首先拔掉电源插头
4. 拧开主板上的螺丝,取下主板
5. 使用 FoloToy 的主板替换掉原主板
6. 插好替换的电源 usb 线,话筒,灯,扬声器和电源的插座,最后插电源的插座,另外固定电池的挡板需要轻轻转动一个角度。
7. 插好插座后,先不要合起外壳安装螺丝,先打开兔子尾巴上的电源开关,看看新安装的灯是否能亮,并且蓝色慢闪。
8. 如果没有问题,安装好外壳,拧好螺丝就完成了替换。

## Wi-Fi Configure

1. Turn on the switch at the back of the toy to power it on. The blue flashing light indicates that the toy has entered pairing mode.

2. Simultaneously press and hold the previous/next button for more than 5 seconds to enter configuration mode. At this time, the light will gradually change to blue.

![config](https://user-images.githubusercontent.com/1455685/281622358-88c91980-212e-4d39-a54c-7575e788e843.jpg)

3. Connect to the hotspot of the toy.

Open your phone or computer and select "FoloToy-xxxx" WiFi network. Wait a moment, and your phone or computer will automatically open a configuration page where you can set up which WiFi network, server address, and port number that you want your toy to connect with.

:::caution
If no page pops up, you can also configure it by entering http://192.168.4.1 in your browser.
:::

* Enter configuration mode: Simultaneously press and hold both forward and backward buttons on the front panel for 5 seconds; at this time, the earlight will flash blue.
* Connect FoloToy: Use your phone or computer to search for available WiFi networks; look for one named "FoloToy-xxxx", such as FoloToy-b8a2.
* Open configuration page: Once connected to FoloToy's WiFi network, it will automatically open a configuration page.
* Home screen explanation: There are three buttons on the home screen - "Configure WiFi" is used for setting up WiFi connection; "Info" is for viewing hardware information; "Exit" is for exiting the configuration. See the image below.

![config](https://github.com/FoloToy/folotoy-tool/assets/1455685/3cf6d0ac-9504-40ec-94c1-54a09a990fd4)
15 changes: 15 additions & 0 deletions docs/toy-pcb-replacement/video-tutorial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Video Tutorial
sidebar_label: Video Tutorial
---

This document summarizes several videos on replacing toy PCBs.

## Alilo G6/G6s PCB Replacement

<iframe width="100%" height="600" src="https://www.youtube.com/embed/hR7V1izzeZw?si=T3cY8y4Oy2Bxkg0H" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

## Mitu C1 PCB Replacement

<iframe width="100%" height="600" src="//player.bilibili.com/player.html?aid=959871024&bvid=BV1Qp4y1T71J&cid=1303264940&p=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

2 changes: 1 addition & 1 deletion i18n/zh/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"description": "The label for category Integrations in sidebar docs"
},
"sidebar.docs.category.Advanced Configuration": {
"message": "Advanced Configuration",
"message": "高级配置",
"description": "The label for category Advanced Configuration in sidebar docs"
},
"sidebar.docs.category.Maintenance": {
Expand Down
2 changes: 1 addition & 1 deletion i18n/zh/docusaurus-plugin-content-docs/current/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_label: 常见问题(FAQ)

- **录音**:通过UDP接收玩具发送的实时录音数据,并调用 STT(声音转文本)API 将声音转换为文本。目前支持的 STT 选项包括:`openai-whisper``azure-stt``azure-whisper`
- **思考**:在接收到上述文本后,立即调用 LLM(大型语言模型)API以流式方式获取 LLM 生成的句子。然后,调用 TTS(文本转语音)API 将句子转换为人类语音。目前支持的 LLM 选项包括:`openai``azure-openai `或由 [One-Api](https://github.com/songquanpeng/one-api) 代理的 LLM。
- **播放音频**玩具将接收由FotoLoy服务器生成的TTS(文本转语音)音频文件流,并按顺序播放它们。目前支持的 TTS 选项包括: `openai-tts`, `azure-tts`, `elevenlabs`, `edge-tss`(免费)。
- **播放音频**玩具将接收由FoloToy服务器生成的 TTS(文本转语音)音频文件流,并按顺序播放它们。目前支持的 TTS 选项包括: `openai-tts`, `azure-tts`, `elevenlabs`, `edge-tts`(免费)。

## 连不上自己的服务器?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ sidebar_label: Docker
<img alt="config" src="https://github.com/FoloToy/folotoy-tool/assets/1455685/3cf6d0ac-9504-40ec-94c1-54a09a990fd4" />


## [Update](../upgrading.mdx)
## [更新服务器镜像](../upgrading.mdx)

要将正在运行的FoloToy服务器配置更新到最新版本,请运行以下命令:

Expand Down
Loading

0 comments on commit adc8b77

Please sign in to comment.