AMB82-Mini

Content


About AMB82-Mini


Where to purchase AMB82-Mini?

A: You can purchase the board at https://www.amebaiot.com/en/where-to-buy-link/#buy_amb82_mini.


Where to get the documentation support for AMB82-Mini?

A: You may refer to https://www.amebaiot.com/en/ameba-arduino-summary/.
image


Where to find the open-source SDK for AMB82-Mini?

A: You can find the open-source SDK for AMB82-Mini development board in the links below.
Ameba Pro2 Arduino SDK: GitHub - ambiot/ambpro2_arduino
Ameba Pro2 SDK: GitHub - ambiot/ambpro2_sdk: Public SDK for AmebaPro2


Where to find the pin diagram for AMB82-Mini?

A: Navigate to the “Getting started” page to see the pin diagram via Ameba ARDUINO: Getting Started with AMB82 MINI (RTL8735B) – Realtek IoT/Wi-Fi MCU Solutions.


What are the features for AMB82-Mini?

A: You may refer to the following link to learn about the features of the AMB82-Mini development board.
AMB82-Mini: AmebaPro2 – Realtek IoT/Wi-Fi MCU Solutions


Does AMB82-Mini have built-in security feature?

A: Yes. AMB82-Mini development board supports Secure Boot and Trust-Zone.


Which BLE roles are supported?

A: AMB82-Mini can operate as either a BLE Central or BLE Peripheral device.


Which Bluetooth standard are supported in AMB82-Mini?

A: AMB82-Mini supports BLE 5.1. Classic Bluetooth (BR/EDR) is not supported.


Is XIP (execute in place) supported on AMB82 Mini?

A: Yes, it is supported.


Does AMB82-Mini support 5G WiFi?

A: Yes, AMB82-Mini supports dual band 2.4G + 5G WiFi.


Does AMB82-Mini have user-configurable push buttons and LEDs?

A: AMB28 Mini does not have user-configurable push button but have 2 user-configurable LEDs.


How to use user-configurable push buttons and LEDs on AMB82-Mini?

A: AMB28 Mini does not have user-configurable push button. However, LED options for on-board LED are “LED_B” (On-board blue LED) and “LED_G” (On-board green LED).


Can I use a different camera module with AMB82-Mini?

A: You may use different camera module, however, currently, Ameba Pro2 Arduino SDK only supports JXF37 camera module. Therefore, if different camera module is used, video related examples will not work.


Does AMB82-Mini have auto flash mode?

A: No. AMB82-Mini development board do not have auto flash mode.


Who should I contact if I encounter an issue while using HUB 8735?

A: You can proceed to GitHub - ideashatch/HUB-8735 and raise an issue in the corresponding GitHub repository.


Hardware


How to enter download mode with AMB82-Mini?

A: Press and hold the UART DOWNLOAD button. Then Press the RESET button and release both UART DOWNLOAD and RESET buttons.


How do I know if my board successfully enters download mode?

A: Open up your Serial Monitor and you will be able to see the following if your board successfully enters download mode.

In Serial Monitor:
== Rtl8735b IoT Platform ==
Chip VID: 0, Ver: 0
ROM Version: v3.0
Test Mode: boot_cfg1=0x0

[test mode PG]
test_mode_img_download
Download Image over UART1[tx=4,rx=3] baud=115200


How to exit download mode?

A: To exit download mode, press the reset button.


How to measure module's power consumption in Power Save mode?

A:

  1. Remove the onboard CH340 to disable the onboard log features. For reading logs, we might need to use an external USB-to-UART module.
    image
  2. Remove D3 LED (power indicator) to reduce unnecessary power consumption.
    image
  3. Remove R62 from the AMB82-MINI. Connect DMM6500 positive port (+) to the R62 pad closer to inductor L1, and connect negative port (-) to the other side of the R62 pad. Therefore, the whole IC power consumption on 3.3V will be measured.
    image
  4. Setup according to the connection below, connecting the DMM6500 DIGIT MULTIMETER in series to the additional USB-TTL converter and V_USB to measure the current flow on 3V3 while supplying power to AMB82-MINI board.
  5. To read the log from USB UART, connect the external USB-TTL converter to J6 (PF3 & PF4). Remove the connection to LOG_TX & LOG_RX before starting the current measurement to reduce the current consumption.
    image

Software


How to add AMB82-Mini on Arduino IDE?

A: Open Arduino IDE. To set up correctly in Arduino IDE, go to “File” → “Preferences” and paste the following URL into the “Additional Boards Manager URLs” field with https://github.com/ambiot/ambpro2_arduino/raw/main/Arduino_package/package_realtek.com_amebapro2_index.json. Next, go to “Tools” → “Board” → “Boards Manager” and install AMB82-Mini board.

You may follow the guide on Ameba ARDUINO: Getting Started with AMB82 MINI (RTL8735B) – Realtek IoT/Wi-Fi MCU Solutions.


Why am I getting "ping retry failed", "Uart boot fail" error?

image
A: If you are getting this error, it means that your board did not enter download mode. To enter download mode, hold down the download button, then also hold down the reset button. Release the reset button, and finally release the download button. Click on “Upload” and code will now be uploaded successfully.


How to erase firmware from flash on AMB82-Mini on Arduino IDE?

A: Go to “Tools” → “Erase All Flash Memory (16MB)” → “Erase only”. If “Erase then Upload” is selected, code will be uploaded immediately once flash memory has been erased.
image


Application – Multimedia

How many ISP channels are supported on AMB82-Mini?

A: There are a total of 4 usable ISP channels.


What is the difference between selecting “VIDEO_H264”, “VIDEO_ JPEG” and “VIDEO_H264_JPEG” video encoder type?

A: “VIDEO_H264_JPEG” is a double encoder whereby live streaming can take place and at the same time taking snapshots. “VIDEO_JPEG” and “VIDEO_H264” are single encoders that can either take snapshots only or live stream through RTSP on media players like VLC only, respectively.


How to achieve a better video quality on AMB82?

A: There are some recommended settings to achieve better video quality. By default, the bitrate is set to 4 Mbps; however, depending on the quality of your WiFi network, you may consider the following settings:

Recommended setting for application that involves transmitting data over WLANs: 1080p or 720p @ 2Mbps

Recommended setting for recording MP4 files to external storage such as SD card or transmitting data over LANs: 1080p @ 4Mbps


Application – Neural Network

Does AMB82-Mini support TensorFlow Lite?

A: No. However, AMB82-Mini has a built-in NN engine that can be used with pre-trained models.


What are the available Neural Network models that can be used?

A:


Can I build my own Neural Network model and use on AMB82-Mini?

A: Yes, you can. Please convert your AI model here (Amebapro2 AI Convert Model – Realtek IoT/Wi-Fi MCU Solutions) . Currently the online tool only support yolov3-tiny, yolov4-tiny, yolov7-tiny, mobilefacenet, and scrfd models. You will need to sign up an AmebaIoT account to be able to use the online tool.

Refer to How to apply your AI model – Realtek IoT/Wi-Fi MCU Solutions to learn how to install the AI converted model.


What is “Quantize Type” in AMB82-Mini AI Model Conversion?

A: “Quantize Type” indicates to what degree the model will be compressed. INT16 provides less model compression than UINT8. On the other hand, INT16 will allow for higher model accuracy.


What kind of image should I upload for “Upload one jpg file” and “Upload jpg files” in AMB82-Mini AI Model Conversion?

A: “Upload one jpg file” refers to the image in the dataset that you have to upload to be used to train the model. This is a mandatory step. The other “Upload jpg files” is optional. You may wish to upload an additional image, which may improve model training.


After uploading my .cfg and .weights files in AMB82-Mini AI Model Conversion, I received an error message related to libcudart.so.10.1. What should I do?

A:
image
If you received an email that looks like this, along with an attached error log that includes errors related to libcudart.so.10.1, a possible reason is that your custom files were generated with an outdated CUDA. Make sure you are using the newest packages before generating your .cfg and .weights files.


After uploading my .cfg and .weights files in AMB82-Mini AI Model Conversion, I received the following error message via email. What should I do?

A:
image
First ensure that you’ve uploaded files that are in .cfg, .weights and/or .onnx format. The online conversion tool does not currently support any other format. If you’ve generated files in other formats, use tools available online to convert them to the supported formats before using our tool.
Next, check if the .cfg and .weights (or .onnx) files are placed in the same directory of your zip file.


Why Neural Network failed to execute after the code is uploaded?

A: For all Neural Network example, it is mandatory to call modelSelect(nntask, objdetmodel, facedetmodel, facerecogmodel) method before calling begin() method. Indicate which NN task you would want to perform and select the models accordingly.
Do refer to the example guide under Neural Network category for more information.
Ameba ARDUINO: Peripherals & Examples – Realtek IoT/Wi-Fi MCU Solutions


Application – On Screen Display (OSD)

How to create objects in different colors on each video channel?

A: To create objects in different colors, you can choose to create 1 layer for 1 color.


Is OSD supported on all video channels?

A: No. OSD are only supported on channel 0,1 and 2.