Want to use a different camera sensor with your AmebaPro2 board? This guide will walk you through the steps to configure and switch camera sensors using the AmebaPro2 Arduino SDK.
If your desired camera sensor is not available in the official AmebaPro2 Arduino SDK release, you can check the pre-release version, which may include support for additional camera sensors that have not yet been included in the official release.
Step 1: Set Up Arduino IDE
Follow the Getting Started with Ameba guide to install and configure your Arduino IDE for AmebaPro2.
Step 2: Install the Pre-release Version
To use the pre-release version of the AmebaPro2 Arduino SDK:
-
Open Arduino IDE.
-
Navigate to File → Preferences.
-
Locate the Additional Boards Manager URLs field.
-
Copy and paste the following URL into the field:
https://github.com/Ameba-AIoT/ameba-arduino-pro2/raw/dev/Arduino_package/package_realtek_amebapro2_early_index.json -
Click OK to save the changes.
-
Navigate to Tools → Board → Boards Manager.
-
Search for AmebaPro2 and install the latest pre-release board package.
Step 3: Select the Camera Sensor
Once the AmebaPro2 Arduino SDK board package has been installed, follow the steps below to select your desired camera sensor.
-
Navigate to Tools → Board → Realtek Ameba Boards (32-bit Arm v8M @500MHz).
-
Select your board, such as AMB82-MINI.
-
Navigate to Tools → Camera Options.
-
Select the camera sensor you wish to use from the available options.
Note: The default camera sensor is JXF37. Ensure that the selected camera sensor matches the sensor connected to your AmebaPro2 board.
