The Internet of Things has developed rapidly in recent years, leading to an increasing number of scenarios requiring cameras. This article discusses the high-definition camera solution paired with the M1126-EV-Board and MIPI camera-demo-6188, to meet users’ demands for high-definition recording.The M1126-EV-Board evaluation board is carefully launched by Guangzhou Zhiyuan Electronics, integrating industrial control and evaluation into one. This evaluation board can be paired with the M1126-L LGA series core board, providing a wealth of peripheral interfaces for evaluation and expansion based on the selection of the core board, making it convenient and flexible. The evaluation board provides 2 channels of 4-channel MIPI camera interfaces, 1 channel of 4-channel MIPI display interfaces, 1 MiniPCIE socket for evaluating wide area and local wireless modules, 1 SIM card socket, 1 TF card socket, 1 Gigabit Ethernet interface, 1 USB Type C interface, and 2 expansion IO interfaces (including 1 SPI, 5 UART, 1 I2C, 1 CAN, 1 PDM, 9 GPIO, 5 ADC), 1 headphone socket with microphone, and 1 UART debugging interface, meeting the interface evaluation of the M1126-L core board, and can also be directly used in medical electronics, industrial control, face recognition, artificial intelligence, and other applications.
The M1126-EV-Board introduces 1 channel of 4-channel MIPI-CSI digital camera, using a 0.5mm 32Pin FFC connector for digital signal communication, as shown in Figure 1, with signal definitions as shown in Table 1.
Figure 1 MIPI-CSI Camera Interface
Table 1 MIPI-CSI Camera Interface Pin Definitions
This article will use the MIPI camera-demo-6188 camera as an accessory for the M1126-EV-Board evaluation board. This camera supports 1 to 4 channels of serial camera input and 1 channel of MIPI CSI output, as shown in Figure 2.
Figure 2 MIPI camera-demo-6188 Camera Accessory
The nvp6188 supports two resolutions: 1920×1080 and 1280×720, with a default of 1920×1080. You can set the resolution using the following commands:
The preview image requires a screen. When the AHD analog camera is not connected, the output will show the test color bar from the nvp6188. If the AHD analog camera is connected, the camera image should be seen under normal conditions. The corresponding 4 video device nodes for the nvp6188 are: /dev/video0, /dev/video1, /dev/video2, /dev/video3.
If no screen is connected, you can also record video data and then copy it to a PC for playback:
Technical Exchange GroupLong press to recognize the following QR code to join the “Industrial Control Board/Core Board Technical Exchange Group“, to communicate with like-minded friends, and have professional technical personnel to answer your questions. If you have any questions, you can consult Xiaozhi WeChat: zlgmcu-888.