Skip to content

Commit 1f8997a

Browse files
committed
Update for Other Guides and Getting Started
1 parent 7892aeb commit 1f8997a

File tree

30 files changed

+242
-280
lines changed

30 files changed

+242
-280
lines changed

.github/workflows/rtd-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
3333
- name: Trigger Read the Docs build
3434
run: |
35-
curl -X POST -d "" https://readthe.org/api/v3/projects/ameba-arduino-pro2-doc/versions/latest/build/ \
35+
curl -X POST -d "" https://readthe.org/api/v2/projects/ameba-arduino-pro2-doc/versions/latest/build/ \
3636
-H "Authorization: token ${{ secrets.RTD_API_TOKEN }}"

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# ameba-arduino-pro2-doc
2-
Pro2 documents for Arduino SDK
2+
## Pro2 documents for Arduino SDK
3+
https://ameba-arduino-pro2-doc.readthedocs.io/en/latest/
Lines changed: 89 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,22 @@
1-
Ameba ARDUINO Getting Started
2-
=============================
1+
Ameba ARDUINO with AMB82-mini (RTL8735B)
2+
========================================
33

44
.. contents::
55
:local:
66
:depth: 2
77

8-
Ameba ARDUINO Getting Started with AMB82-mini (RTL8735B)
9-
--------------------------------------------------------
10-
118
Introduction
9+
------------
1210

13-
Ameba is an easy-to-program platform for developing all kinds of IoT
14-
applications. AMB82 MINI is equipped with various peripheral interfaces,
15-
including WiFi, BLE, GPIO INT, I2C, UART, SPI, PWM, ADC. Through these
16-
interfaces, AMB82 MINI can connect with electronic components such as
17-
LED, switches, manometer, hygrometer, PM2.5 dust sensors, …etc. Besides,
18-
AMB82 MINI has 3 key features, Audio codec, Video codec and NN (build in
19-
NPU for AIoT). The collected data can be uploaded via WiFi and be
20-
utilized by applications on smart devices to realize IoT implementation.
11+
Ameba is an easy-to-program platform for developing all kinds of IoT applications. AMB82 MINI is equipped with various peripheral interfaces, including WiFi, BLE, GPIO INT, I2C, UART, SPI, PWM, ADC. Through these interfaces, AMB82 MINI can connect with electronic components such as LED, switches, manometer, hygrometer, PM2.5 dust sensors, …etc. Besides, AMB82 MINI has 3 key features, Audio codec, Video codec and NN (build in NPU for AIoT). The collected data can be uploaded via WiFi and be utilized by applications on smart devices to realize IoT implementation.
2112

22-
AMB82 mini is connected to the open-source world by one of the widest
23-
development environments, Arduino. For more information, HDK, SDK, API
24-
documents, Example Guides and so on, refer to the following Ameba
25-
Arduino SDK page https://www.amebaiot.com/en/ameba-arduino-summary/.
13+
AMB82 mini is connected to the open-source world by one of the widest development environments, Arduino. For more information, HDK, SDK, API documents, Example Guides and so on, refer to [Ameba Arduino SDK page](https://www.amebaiot.com/en/ameba-arduino-summary/).
2614

2715
|image01|
2816

29-
| AMB82 MINI uses Micro USB to supply power, which is common in many
30-
smart devices.
31-
| Please refer to the following figure and table for the pin diagram and
32-
functions.
17+
AMB82 MINI uses Micro USB to supply power, which is common in many smart devices.
18+
19+
Please refer to the following figure and table for the pin diagram and functions.
3320

3421
|image02|
3522

@@ -100,79 +87,66 @@ Arduino SDK page https://www.amebaiot.com/en/ameba-arduino-summary/.
10087
+--------+----------+----------+---------+---------+------------+-----------+-----------+----------+---------------+
10188

10289
Set up developing environment
90+
-----------------------------
10391

10492
Step 1. OS environment
93+
~~~~~~~~~~~~~~~~~~~~~~
10594

106-
AMB82 MINI board currently supports Windows OS 64-bits (Windows 10 and
107-
above), Linux OS (Ubuntu22 and above) and MacOS (Intel and Apple
108-
Silicon). To have the best experiences, please use the latest version of
109-
OS.
95+
AMB82 MINI board currently supports Windows OS 64-bits (Windows 10 and above), Linux OS (Ubuntu22 and above) and MacOS (Intel and Apple Silicon). To have the best experiences, please use the latest version of OS.
11096

111-
For any Linux OS (Ubuntu) related issues, refer to
112-
https://forum.amebaiot.com/t/ubuntu-linux-environment/2259.
97+
For any Linux OS (Ubuntu) related issues, refer to https://forum.amebaiot.com/t/ubuntu-linux-environment/2259.
11398

114-
For any macOS related issues, refer to
115-
https://forum.amebaiot.com/t/macos-environment/2260.
99+
For any macOS related issues, refer to https://forum.amebaiot.com/t/macos-environment/2260.
116100

117101
Step 2. Installing the Driver
102+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118103

119104
First, connect AMB82 MINI to the computer via Micro USB:
120105

121106
|image03|
122107

123-
| If this is the first time connects board to computer, the USB driver
124-
for board will be automatic installed.
125-
| If you have driver issue of connect board to computer please go
126-
to http://www.wch-ic.com/downloads/CH341SER_ZIP.html for USB driver.
127-
| Check the COM port number in Device Manager of computer:
108+
If this is the first time connects board to computer, the USB driver for board will be automatic installed.
109+
110+
If you have driver issue of connect board to computer please go to http://www.wch-ic.com/downloads/CH341SER_ZIP.html for USB driver.
111+
112+
Check the COM port number in Device Manager of computer:
128113

129114
|image04|
130115

131116
Step 3. Set up Arduino IDE
117+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
132118

133-
| From version 1.6.5, Arduino IDE supports third-party hardware.
134-
Therefore, we can use Arduino IDE to develop applications, and the
135-
Arduino basic examples are supported. Arduino IDE can be downloaded in
136-
the Arduino website:
137-
| https://www.arduino.cc/en/Main/Software
119+
From version 1.6.5, Arduino IDE supports third-party hardware. Therefore, we can use Arduino IDE to develop applications, and the Arduino basic examples are supported. Arduino IDE can be downloaded in the Arduino website: https://www.arduino.cc/en/Main/Software
138120

139-
When the installation is finished, open Arduino IDE. To set up correctly
140-
in Arduino IDE, go to “File” -> “Preferences”
121+
When the installation is finished, open Arduino IDE. To set up correctly in Arduino IDE, go to “File” -> “Preferences”
141122

142123
|image05|
143124

144-
| And paste the following URL into “Additional Boards Manager URLs”
145-
field:
146-
| https://github.com/ambiot/ambpro2_arduino/raw/main/Arduino_package/package_realtek.com_amebapro2_index.json
125+
And paste the following URL into “Additional Boards Manager URLs” field: https://github.com/ambiot/ambpro2_arduino/raw/main/Arduino_package/package_realtek.com_amebapro2_index.json
147126

148127
Next, go to “Tools” -> “Board” -> “Boards Manager”:
149128

150129
|image06|
151130

152-
The “Boards Manager” requires about 10~20 seconds to refresh all
153-
hardware files (if the network is in bad condition, it may take longer).
154-
Every time the new hardware is connected, we need to reopen the Board
155-
Manager. Find “Realtek Ameba Boards” in the list, click “Install”, then
156-
the Arduino IDE starts to download required files.
131+
The “Boards Manager” requires about 10~20 seconds to refresh all hardware files (if the network is in bad condition, it may take longer).
132+
133+
Every time the new hardware is connected, we need to reopen the Board Manager. Find “Realtek Ameba Boards” in the list, click “Install”, then the Arduino IDE starts to download required files.
157134

158135
|image07|
159136

160-
After the installation tool running successfully, you may open Arduino
161-
IDE and proceed to “tools” -> “Board“ -> “Boards Manager…”. Try to find
162-
“Realtek Ameba Boards” in the list, click “Install”, then the Arduino
163-
IDE starts to download required files.
137+
After the installation tool running successfully, you may open Arduino IDE and proceed to “tools” -> “Board“ -> “Boards Manager…”. Try to find “Realtek Ameba Boards” in the list, click “Install”, then the Arduino IDE starts to download required files.
164138

165-
Finally, we select board in “tools” -> “Board” -> “AmebaPro2 ARM
166-
(32-bits) Boards” -> “AMB82-MINI”
139+
Finally, we select board in “tools” -> “Board” -> “AmebaPro2 ARM (32-bits) Boards” -> “AMB82-MINI”
167140

168141
|image08|
169142

170143
Try the First Example
144+
---------------------
171145

172146
Step 1. Selection Ameba Modes
147+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173148

174-
There are many different Modes for user to select for different settings
175-
of compile and upload. Please refer to the following picture and table.
149+
There are many different Modes for user to select for different settings of compile and upload. Please refer to the following picture and table.
176150

177151
|image09|
178152

@@ -203,129 +177,122 @@ of compile and upload. Please refer to the following picture and table.
203177
+----------------------------------+------------------------------------------+-------------+
204178

205179
Step 2. Compile
180+
~~~~~~~~~~~~~~~
181+
182+
Arduino IDE provides many built-in examples, which can be compiled, uploaded, and run directly on the boards. Here, we take the “Blink” example as the first try.
206183

207-
| Arduino IDE provides many built-in examples, which can be compiled,
208-
uploaded, and run directly on the boards. Here, we take the “Blink”
209-
example as the first try.
210-
| Open “File” -> “Examples” -> “01.Basics” -> “Blink”:
184+
Open “File” -> “Examples” -> “01.Basics” -> “Blink”:
211185

212186
|image10|
213187

214188
Arduino IDE opens a new window with the complete sample code.
215189

216-
Next, we compile the sample code directly; click “Sketch” ->
217-
“Verify/Compile”
190+
Next, we compile the sample code directly; click “Sketch” -> “Verify/Compile”
218191

219-
Arduino IDE prints the compiling messages in the bottom area of the IDE
220-
window. When the compilation is finished, you will get the message as
221-
following.
192+
Arduino IDE prints the compiling messages in the bottom area of the IDE window. When the compilation is finished, you will get the message as following.
222193

223194
|image11|
224195

225196
Afterwards, we will upload the compiled code to board.
226197

227198
Step 3. Upload
199+
~~~~~~~~~~~~~~
228200

229-
Please make sure board is connected to computer, then click “Sketch” ->
230-
“Upload”.
201+
Please make sure board is connected to computer, then click “Sketch” -> “Upload”.
231202

232-
The Arduino IDE will compile first then upload. Users are required to
233-
enter the upload mode of the board. To enter upload mode, first press
234-
and hold the UART_DOWNLOAD button, then press and release the RESET
235-
button, lastly release the UART_DOWNLOAD button.
203+
The Arduino IDE will compile first then upload. Users are required to enter the upload mode of the board. To enter upload mode, first press and hold the UART_DOWNLOAD button, then press and release the RESET button, lastly release the UART_DOWNLOAD button.
236204

237-
Additionally, if the board has the hardware updates and enabled “Auto
238-
Flash Mode”, please ignore above instruction.
205+
Additionally, if the board has the hardware updates and enabled “Auto Flash Mode”, please ignore above instruction.
239206

240207
|image12|
241208

242-
It is optional for users to check if the board entered the upload mode.
243-
Open serial monitor/terminal and check the following information,.
209+
It is optional for users to check if the board entered the upload mode. Open serial monitor/terminal and check the following information,.
244210

245211
|image13|
246212

247213
When upload completed, the “Done uploading” message is printed.
248214

249-
Step 2. Run the Blink example
215+
Step 4. Run the Blink example
216+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250217

251-
| In each example, Arduino not only provides sample code, but also
252-
detailed documentation, including wiring diagram, sample code
253-
explanation, technical details, …etc. Please refer the detailed
254-
information of the Blink example:
255-
| https://www.arduino.cc/en/Tutorial/Blink
218+
In each example, Arduino not only provides sample code, but also detailed documentation, including wiring diagram, sample code explanation, technical details, …etc. Please refer the detailed information of the Blink example: https://www.arduino.cc/en/Tutorial/Blink
256219

257220
In short, this example makes on-board LED blinks.
258221

259222
|image14|
260223

261224
Video Tutorials and Demos
225+
-------------------------
262226

263227
YouTube Channel:
264228

265-
- AMB82 Mini - Getting Started: https://youtu.be/_rLiih5RkXY .
229+
- AMB82 Mini: Start Here!: https://youtube.com/playlist?list=PLEQfNjOZQRyP1dyegDVYqgw53_AORspMK&feature=shared
266230

267-
- AMB82 Mini tutorials list:
268-
https://youtube.com/playlist?list=PLEQfNjOZQRyPnmXCuRqE1f5au2HT4E9CP
269-
.
231+
- AMB82 Mini Tutorials: https://youtube.com/playlist?list=PLEQfNjOZQRyPnmXCuRqE1f5au2HT4E9CP&feature=shared
270232

271-
- AMB82 Mini - 入門教學: https://youtu.be/-jQDpDFX2ao .
233+
- AMB82 Mini 教程: https://youtube.com/playlist?list=PLEQfNjOZQRyOxXFV7X_2fIcnd_J6VBmyM&feature=shared
272234

273-
- AMB82 Mini 教程 list:
274-
https://youtube.com/playlist?list=PLEQfNjOZQRyOxXFV7X_2fIcnd_J6VBmyM
275-
.
235+
- AMB82 mini Maker Projects: https://youtube.com/playlist?list=PLEQfNjOZQRyPWhySw16ZgBOPWnzLWDAjz&feature=shared
276236

277-
BiliBili Channel: https://space.bilibili.com/457777430 .
237+
BiliBili Channel: https://space.bilibili.com/457777430
278238

279239
Useful Links
240+
------------
241+
242+
Ameba Arduino SDK page: https://www.amebaiot.com/en/ameba-arduino-summary/
280243

281-
Ameba Arduino SDK page:
282-
https://www.amebaiot.com/en/ameba-arduino-summary/ .
244+
Forum: https://forum.amebaiot.com/
283245

284246
FAQ: https://forum.amebaiot.com/t/welcome-to-ameba-faq/1748
285247

286-
Forum: https://forum.amebaiot.com/ .
248+
Facebook Group Chinese: https://www.facebook.com/groups/AmebaIoT
287249

288-
Facebook Group Chinese: https://www.facebook.com/groups/AmebaIoT .
250+
Facebook Group English: https://www.facebook.com/groups/amebaioten
289251

290-
Facebook Group English: https://www.facebook.com/groups/amebaioten .
291252

292253
.. |image01| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image01.png
293-
:width: 6.26806in
294-
:height: 4.24028in
254+
:width: 2000 px
255+
:height: 1353 px
256+
:scale: 40%
295257
.. |image02| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image02.png
258+
:width: 4765 px
259+
:height: 1498 px
260+
:scale: 20%
296261
.. |image03| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image03.png
297-
:width: 6.26806in
298-
:height: 6.12222in
262+
:width: 687 px
263+
:height: 671 px
299264
.. |image04| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image04.png
300-
:width: 6.26806in
301-
:height: 4.56432in
265+
:width: 602 px
266+
:height: 438 px
302267
.. |image05| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image05.png
303-
:width: 4.97917in
304-
:height: 6.11458in
268+
:width: 478 px
269+
:height: 587 px
305270
.. |image06| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image06.png
306-
:width: 6.26806in
307-
:height: 8.11042in
271+
:width: 660 px
272+
:height: 854 px
308273
.. |image07| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image07.png
309-
:width: 6.26806in
310-
:height: 3.50486in
274+
:width: 778 px
275+
:height: 435 px
311276
.. |image08| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image08.png
312-
:width: 6.26806in
313-
:height: 4.86528in
277+
:width: 773 px
278+
:height: 600 px
314279
.. |image09| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image09.png
315-
:width: 5.38542in
316-
:height: 6.65257in
280+
:width: 476 px
281+
:height: 588 px
317282
.. |image10| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image10.png
318-
:width: 5.78125in
319-
:height: 6.30208in
283+
:width: 555 px
284+
:height: 605 px
320285
.. |image11| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image11.png
321-
:width: 6.26806in
322-
:height: 0.65556in
286+
:width: 669 px
287+
:height: 70 px
323288
.. |image12| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image12.png
324-
:width: 6.26806in
325-
:height: 4.57222in
289+
:width: 1040 px
290+
:height: 758 px
291+
:scale: 80%
326292
.. |image13| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image13.png
327-
:width: 6.26806in
328-
:height: 2.69375in
293+
:width: 854 px
294+
:height: 367 px
295+
:scale: 80%
329296
.. |image14| image:: ../_static/Getting_Started/Getting_Started_with_AMB82-mini/image14.png
330-
:width: 4.19792in
331-
:height: 6.9375in
297+
:width: 403 px
298+
:height: 666 px

0 commit comments

Comments
 (0)