Instructions you have followed. (link/manual/etc.)
Quick start guide on Arducam site.
Problems you were having?
Cannot adjust manual exposure. I’m using the 3MP model on a Raspberry Pi Pico with the full_featured example. Setting manual exposure via the Ardulink app does not change the output image at all, and the image data is returned instantly. Changing the manual gain, values seem very on/off, with huge jumps in sensitivity between integer steps between 1 and 10. Both of these actions are performed after turning off auto exposure / gain.
The dmesg log from your hardware?
Troubleshooting attempts you’ve made?
Wrote a quick Web Serial interface and attempted to send various exposure settings there, first turning off auto exposure. Gain also behaves oddly - the camera reports it supports values up to 1023 but tends to white out around 200/300.
What help do you need?
Are the correct registers defined for setting exposure? They seem to vary between files in the Arducam Mega repository. What exposure values are actually supported? Are any extra steps necessary after disabling auto exposure, and setting the manual time?
I’m sorry that our description may mislead you. For the mega series cameras, we don’t have an API interface for exposure time. The entry parameter of setAbsoluteExposure is the exposure line, not the exposure time. In other words, users can adjust the exposure time by changing the Exposure row. If you want to accurately set the exposure time, it is not an easy task for MEGA’s current architecture. Users need to read information such as frame length, line length, and frame rate to calculate the pixel clock, and then map the exposure line to the exposure time. if needed please contact our [email protected]
for customization. Feel free to let me know if you need more help.
Directly setting the exposure time through the use of registers can be quite challenging, as my colleague previously mentioned. Instead, you will need to use the setAbsoluteExposure API to adjust the exposure rows and control the exposure time accordingly.
Moreover, we are very interested in your Web Serial client for ArduLink, and we would like to schedule a video conference to discuss this feature further. We appreciate your hard work and would like to explore this opportunity in greater detail. You can contact the [email protected] and we will send the meeting link via email.