Forum Replies Created
The Arducam mipi camera is mounted on the i2c0 bus. There is nothing to do with the i2c1.
Please attach me your hardware setup and I will help you check it.
As normal, if you connect the led to the i2c1 and it will not be influenced with the camera.
1 – I understand it’s using bitwise operators but what is it calculating?
What is the purpose for dat1 and dat2?
This value is used to driver the motor current, Output current = (D[9:0]/1023) X 120mA
User can control the motor rotate different angles through changing different current.
the data1 is the value of D9-D4 and the data2 is the value of D0-D3.
2 – Is there any doc I can refer to?
For example, the chip and data address, are they fixed? Is it always 0 and 0x0c?
The chip address is 0x0C, for the detail information, please refer to https://www.arducam.com/downloads/DW9714A-DONGWOON(Autofocus_motor_manual).pdf
3 – What are the SCL and SDA pins for?
This signal is i2c bus and used to control the motor
4 – What are the min/max values for dat1 and dat2?
The value range of the dat1 is 0x00 – 0x3F. The value of the dat2 is 0x00-0x0F.
If you want to setup the Arducam SPI OV2640 version into MotionEye, I think you need to add our Camera into v4l2 framework. In other words, the application can find the video device, I can help you finish the hardware driver to driver the camera successfully.December 2, 2019 at 1:43 am in reply to: Board Arducam ESP32S UNO PSRAM sdmmc_send_cmd returned 0xffffffff #13595
I have the same problems with you. It is the official SD library’s bugs and I have copied the problem to the EP32 official support.
We have set the OV7251 strobe signal successfully.
Please visit our software guide here https://www.arducam.com/docs/camera-breakout-board/0-3mp-ov7251-global-shutter/software-guide/
We have checked our diagram we released and it is normal. I have said to you. The wiring diagram we released is just to tell tell user specific signal connection relation. The color of Jumper cables are different to what is shown on the web page. So you should just be care the signal instead of the color.
Please attach me your hardware connection, I will help you check it in detail.
About the vcgencmd get_camera return 0, if other camera can work normal,but the PTZ. Please contact our salse for replacement.
We have updated our auto driver and you don’t need to connect the i2c1 signal.
I advise you disconnect your Octoprint device, run the camera using our python script firstly, then connect your print device to try.
The wiring diagram we released is just to tell tell user specific signal connection relation. The color of Jumper cables are different to what is shown on the web page. So you should just be care the signal instead of the color.
About the vcgencmd get_camera command, you can’t detect the camera. What’s the sensor ID? we have release ov5647 and imx219 camera. In fact the camera is nothing do to with the PTZ controller. You can just connect the camera to the PI’s CSI interface. Then reboot and use vcgencmd get_camera commnd to check it the camera exist. It doesn’t need power up via the jumper cable.
At present, we are optimizing the quality of the mipi camera. Due to we don’t have the hardware ISP support, which means it’s not easy to adjust auto white balance and auto exposure. But you can use arducam_set_control(camera_instance, V4L2_CID_EXPOSURE, value) to adjust the exposure time manually. Use the arducam_manual_set_awb_compensation(r_gain_conpensation,b_gain_conpensation); to adjust the R_gain and B_gain to adjust the white balance.
We are finding a better solution to solve the quality of image.
Q1:mmal: mmal_vc_port_enable: failed to enable port vc.null_sink:in:0(OPQV): ENOSPC
mmal: mmal_port_enable: failed to enable connected port (vc.null_sink:in:0(OPQV) )0x15cad80 (ENOSPC)
mmal: mmal_connection_enable: output port couldn’t be enabled
A1:The raspberypi mmal failed to enable port， It seems the FPC cable is defective. I give you some suggestions:
1.Please check if you have enable the camera and i2c0
2. Please reconnect the FPC cable and use the official raspistill command to test the camera firstly. Just run [email protected]:~ $ raspistill -t 0 . If normal, you will see the preview on the hdmi screen.
Q2: E: Unable to locate package pygame
A2: Please try to use pip install pygame