Hello AmebaIoT community! This topic is specially created to help creators like yourself to realize your applications with camera sensor modules that are not officially supported by us yet. We hope that this will enable more people to exploit the powers of our AmebaPro2 boards to a far greater extent. This post will be continually improved upon based on the questions we receive from everyone, so please feel free to ask more questions here for us to help you!
[Hardware]
- Our AmebaPro2 boards use a specific set of 24-pin MIPI configuration as shown below. It is important that your camera sensor module follows the same pinout configuration or have an adapter to connect the module to these pins exactly.
[Software]
-
Check the list of our officially supported camera sensor modules in
sensor.h. You can find the header file under{SDK}\project\realtek_amebapro2_v0_example\inc\sensor.h. If the sensor is available, simply edit the following lines then do a clean build of your program and try to see if it works. The application can only support up to a total of 9 different sensors; you may replace any existing sensors within the list instead of adding on to it.#define SENSOR_MAX 5 static const unsigned char sen_id[SENSOR_MAX] = { SENSOR_DUMMY, SENSOR_GC2053, SENSOR_GC4653, SENSOR_F37, SENSOR_SC2333 }; #define USE_SENSOR SENSOR_F37 static const char manual_iq[SENSOR_MAX][64] = { “iq”, “iq_gc2053”, “iq_gc4653”, “iq_f37”, “iq_sc2333”, }; -
If your module is not yet supported, you will need to create a driver for it first. There is a lot of information for this section so please refer to the linked documents for the exact steps.
- Download the Sensor Driver Tool that is compatible with the SDK version.
- Create the driver binary file by following the steps in Driver Guide.
- You may follow the IQ Tuning Guide to tweak the IQ settings to your preference.
- Put the driver and IQ binary files into
{SDK}\component\soc\8735b\fwlib\rtl8735b\lib\source\ram\video\voe_bin. - Update “sensor.h” and do a clean build of the program.
