Liquid crystal interface visual identification device
By using the liquid crystal interface visual recognition device controlled by Raspberry Pi, the problem of large size and low efficiency of traditional detection devices is solved, miniaturized and efficient and accurate LCD interface recognition is achieved, and the identification results are visually displayed using the indicator module.
Patent Information
- Application Number
- CN202422237657.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2034-09-12
AI Technical Summary
Traditional LCD interface detection devices are huge in size and low in detection efficiency, prone to errors, and are difficult to meet the needs of efficient and accurate detection.
The Raspberry Pi is used as the main controller, combined with the camera module, indicator module, light source module and power supply module, and the Raspberry Pi's GPIO port is powered and connected to realize visual recognition and result display of the LCD interface.
It provides a small size and low power consumption of liquid crystal interface visual recognition device, which can efficiently and accurately identify liquid crystal interface products, and visually display the recognition results through the indicator module.
Smart Images

Figure CN223245124U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of visual recognition, in particular to a liquid crystal interface visual recognition device. Background Art
[0002] With the continuous advancement of science and technology and the rapid development of society, liquid crystal displays are increasingly used in daily life and industrial production. As an important medium for information interaction, the display quality of the liquid crystal interface directly affects the user experience and the reliability of the device. However, during the manufacturing and use of liquid crystal displays, defects such as inaccurate data and missing characters may occur. Against this background, in order to improve detection efficiency and accuracy, liquid crystal interface visual recognition technology has emerged. At the same time, image processing technology and computer vision technology have developed rapidly, providing strong technical support for liquid crystal interface visual recognition. At present, traditional liquid crystal interface detection devices are bulky, and traditional manual detection methods are inefficient and prone to errors. Utility Model Content
[0003] The technical problem to be solved by the utility model is to provide a liquid crystal interface visual recognition device for visually identifying liquid crystal interface products.
[0004] The technical solution adopted by the present invention to solve the above technical problems is: a liquid crystal interface visual recognition device, wherein the liquid crystal interface product to be recognized is placed on the table of the base of the visual recognition device, and the visual recognition device includes a main controller, a display, an indicator light module, a light source, a camera module, and a power module; the light source and the camera module are installed on a horizontal bracket located above the liquid crystal interface product;
[0005] The main controller adopts Raspberry Pi, and the display is connected to the Raspberry Pi for communication;
[0006] The camera module includes a camera and a focal length lens, and is used to photograph the liquid crystal interface product and transmit the photographed image data to the Raspberry Pi; the camera module is connected to the Ethernet port of the Raspberry Pi via a network cable to establish a communication connection with the Raspberry Pi;
[0007] The indicator light module is connected to the Raspberry Pi using GPIO, and the output voltage of the Raspberry Pi's GPIO port is used to power the indicator light module;
[0008] The power module is used to power the light source, camera module, and Raspberry Pi;
[0009] Preferably, the 5V pin of the display is connected to the 5V pin of the Raspberry Pi, and the 5V voltage is provided by the Raspberry Pi to power the display; the GND pin of the display is connected to the GND pin of the Raspberry Pi;
[0010] The LCD_RS pin of the display is connected to the GPIO_GEN5 pin of the Raspberry Pi; the LCD_SI pin of the display is connected to the SPI_MOSI pin of the Raspberry Pi; the TP_IRQ pin of the display is connected to the GPIO_GEN0 pin of the Raspberry Pi; the TP_SO pin of the display is connected to the SPI_MISO pin of the Raspberry Pi; the LCD_SCK pin of the display is connected to the SPI_SCLK pin of the Raspberry Pi; the LCD_CS pin of the display is connected to the SPI_CE0_N pin of the Raspberry Pi; the TP_CS pin of the display is connected to the SPI_CE1_N pin of the Raspberry Pi; the RST pin of the display is connected to the GPIO_GEN6 pin of the Raspberry Pi;
[0011] Preferably, the TX_D1+ pin of the camera is connected to the TRD0_P pin of the Raspberry Pi; the TX_D1- pin of the camera is connected to the TRD0_N pin of the Raspberry Pi; the BI_D3+ pin of the camera is connected to the TRD1_P pin of the Raspberry Pi; the BI_D3- pin of the camera is connected to the TRD1_N pin of the Raspberry Pi; the RX_D2+ pin of the camera is connected to the TRD2_P pin of the Raspberry Pi; the RX_D2- pin of the camera is connected to the TRD2_N pin of the Raspberry Pi; the BI_D4+ pin of the camera is connected to the TRD3_P pin of the Raspberry Pi; the BI_D4- pin of the camera is connected to the TRD3_N pin of the Raspberry Pi;
[0012] Preferably, the indicator light module includes a yellow LED light, a green LED light, a red LED light, a resistor R1, a resistor R2, and a resistor R3; the GPIO_14 pin of the Raspberry Pi is connected in series with the resistor R1 and the yellow LED light and then grounded, the GPIO_15 pin of the Raspberry Pi is connected in series with the resistor R2 and the green LED light and then grounded, and the GPIO_18 pin of the Raspberry Pi is connected in series with the resistor R3 and the red LED light and then grounded;
[0013] Preferably, the light source includes an MT7201 module, multiple LED lamp beads, and a lamp tube. The MT7201 module drives the multiple LED lamp beads. The GPIO5 pin of the Raspberry Pi is connected in series with a resistor R4 and then connected to the ADJ pin of the MT7201 module. The GPIO5 pin of the Raspberry Pi is connected in series with resistors R4 and R5 and then grounded. The U1 pin of the MT7201 module is connected to the 24V voltage output by the power module. The I SENSE The pin is the current sampling terminal;
[0014] Preferably, the lamp tube is a circular structure, and a plurality of LED lights are evenly distributed inside the lamp tube;
[0015] Preferably, it further includes a vertical bracket, one end of which supports the horizontal bracket, and the other end of which is connected to the base of the visual recognition device, the Raspberry Pi and the display are installed on the vertical bracket, and the indicator light module is installed on the horizontal bracket.
[0016] The beneficial effects of the present invention are as follows: the present invention provides a liquid crystal interface visual recognition device for visually identifying liquid crystal interface products. The liquid crystal interface product to be identified is placed on the table of the base of the visual recognition device. The camera module photographs the liquid crystal interface product and transmits the image data formed by the photograph to the Raspberry Pi. The Raspberry Pi transmits the recognition result to the display. The output voltage of the GPIO port of the Raspberry Pi powers the indicator light module. The recognition result can be intuitively understood based on the light information of the indicator light module. The present invention designs a liquid crystal interface visual recognition device. The device is based on the Raspberry Pi and has the advantages of small size and low power consumption, and can meet the recognition requirements of liquid crystal interface products. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a device structure diagram of a liquid crystal interface visual recognition device according to an embodiment of the present utility model;
[0018] Figure 2 This is a schematic diagram of the interface of the Raspberry Pi according to an embodiment of the present utility model;
[0019] Figure 3 This is a schematic diagram of the input and output of the power module of an embodiment of the utility model;
[0020] Figure 4 This is a schematic diagram of the connection between the display and the Raspberry Pi according to an embodiment of the utility model;
[0021] Figure 5 This is a schematic diagram of the connection between the camera and the Raspberry Pi according to an embodiment of the utility model;
[0022] Figure 6 This is a schematic diagram of the connection between the indicator light module and the Raspberry Pi according to an embodiment of the utility model;
[0023] Figure 7 This is a schematic diagram of the connection between the light source and the Raspberry Pi according to an embodiment of the utility model;
[0024] Figure 8 This is a schematic structural diagram of a light source according to an embodiment of the present utility model;
[0025] Among them: 1. Raspberry Pi; 2. Display; 3. Indicator module; 4. Light source; 51. Camera; 52. Focal lens; 6. Base; 71. Horizontal bracket; 72. Vertical bracket; 8. LCD interface product. DETAILED DESCRIPTION
[0026] The present invention will now be described in further detail with reference to the accompanying drawings and preferred embodiments. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show components related to the present invention.
[0027] The embodiments of the present utility model are as follows: Figure 1 The illustrated device for visual recognition of a liquid crystal interface features a liquid crystal interface product 8 placed on the surface of the device's base 6. The device includes a main controller, a display 2, an indicator light module 3, a light source 4, a camera module, and a power module. The light source 4 and camera module are mounted on a horizontal bracket 71 above the liquid crystal interface product 8. The device also includes a vertical bracket 72, one end of which supports the horizontal bracket 71 and the other end of which is connected to the device's base 6. The Raspberry Pi 1 and display 2 are mounted on the vertical bracket 72, and the indicator light module 3 is mounted on the horizontal bracket 71.
[0028] like Figure 2 As shown, the main controller adopts Raspberry Pi 1, and the display 2 is connected to the Raspberry Pi 1 for communication;
[0029] The camera module includes a camera 51 and a focal length lens 52. The camera module is used to photograph the liquid crystal interface product 8 and transmit the photographed image data to the Raspberry Pi 1. The camera module is connected to the Ethernet port of the Raspberry Pi 1 via a network cable to establish a communication connection with the Raspberry Pi 1.
[0030] The indicator light module 3 is connected to the Raspberry Pi 1 in GPIO mode, and the output voltage of the GPIO port of the Raspberry Pi 1 is used to power the indicator light module 3;
[0031] The power module is used to power the light source 4, the camera module, and the Raspberry Pi 1. Specifically, Figure 3 As shown, the power module converts the 220V voltage into 24V, 12V, and 5V DC voltages, which can be used to power the light source 4, the camera module, and the Raspberry Pi 1 respectively.
[0032] Specifically, the Raspberry Pi 1 uses the Raspberry Pi 14B, which measures 88x58x19.5mm. It runs Linux, is equipped with a 1.5GHz 64-bit quad-core processor, and has memory options of 1GB, 2GB, 4GB, or 8GB. This ARM-based microcomputer motherboard features four USB ports and an Ethernet port for connecting a keyboard, mouse, and network cable. It also has an analog TV output and an HDMI high-definition video output. Therefore, the Raspberry Pi 1 is used as the main controller.
[0033] Display 2 can use a 3.5-inch LCD screen that supports the Raspberry Pi 1 operating system, such as Figure 4 As shown, in an optional embodiment of the present invention, the display 2 includes 10 pins, which are respectively a 5V pin, a GND pin, an LCD_RS pin, an LCD_SI pin, a TP_IRQ pin, a TP_SO pin, an LCD_SCK pin, an LCD_CS pin, a TP_CS pin, and an RST pin; the Raspberry Pi 1 includes 10 pins, which are respectively a 5V pin, a GND pin, a GPIO_GEN5 pin, a SPI_MOSI pin, a GPIO_GEN0 pin, a SPI_MISO pin, a SPI_SCLK pin, a SPI_CE0_N pin, a SPI_CE1_N pin, and a GPIO_GEN6 pin.
[0034] like Figure 4 As shown, the 5V pin of the display is connected to the 5V pin of the Raspberry Pi 1, and the 5V voltage is provided by the Raspberry Pi 1 to power the display 2; the GND pin of the display is connected to the GND pin of the Raspberry Pi 1;
[0035] like Figure 4 As shown, the LCD_RS pin of the display is connected to the GPIO_GEN5 pin of the Raspberry Pi 1; the LCD_SI pin of the display is connected to the SPI_MOSI pin of the Raspberry Pi 1; the TP_IRQ pin of the display is connected to the GPIO_GEN0 pin of the Raspberry Pi 1; the TP_SO pin of the display is connected to the SPI_MISO pin of the Raspberry Pi 1; the LCD_SCK pin of the display is connected to the SPI_SCLK pin of the Raspberry Pi 1; the LCD_CS pin of the display is connected to the SPI_CE0_N pin of the Raspberry Pi 1; the TP_CS pin of the display is connected to the SPI_CE1_N pin of the Raspberry Pi 1; and the RST pin of the display is connected to the GPIO_GEN6 pin of the Raspberry Pi 1.
[0036] Specifically, the communication process between the display and Raspberry Pi 1 is mainly as follows: Raspberry Pi 1 sends data to display 2 through the SPI_MOSI pin; Raspberry Pi 1 sends a clock signal through the SPI_SCLK pin to synchronize data transmission; Raspberry Pi 1 selects display 2 for communication through the SPI_CE0_N pin; Raspberry Pi 1 controls the transmission of data (commands) through the GPIO_GEN5 pin; Raspberry Pi 1 controls the reset operation of display 2 through the GPIO_GEN6 pin.
[0037] like Figure 5As shown, in an optional embodiment of the present invention, the camera module is connected to the Raspberry Pi 1 in a straight-through form via a Gigabit Ethernet cable; the camera includes 8 pins, namely TX_D1+ pin, TX_D1- pin, BI_D3+ pin, BI_D3- pin, RX_D2+ pin, RX_D2- pin, BI_D4+ pin, BI_D4- pin; the Raspberry Pi 1 includes 8 pins, namely TRD0_P pin, TRD0_N pin, TRD1_P pin, TRD1_N pin, TRD2_P pin, TRD2_N pin, TRD3_P pin, TRD3_N pin.
[0038] like Figure 5 As shown, the TX_D1+ pin of the camera 51 is connected to the TRD0_P pin of the Raspberry Pi 1; the TX_D1- pin of the camera 51 is connected to the TRD0_N pin of the Raspberry Pi 1; the BI_D3+ pin of the camera 51 is connected to the TRD1_P pin of the Raspberry Pi 1; the BI_D3- pin of the camera 51 is connected to the TRD1_N pin of the Raspberry Pi 1; the RX_D2+ pin of the camera 51 is connected to the TRD2_P pin of the Raspberry Pi 1; the RX_D2- pin of the camera 51 is connected to the TRD2_N pin of the Raspberry Pi 1; the BI_D4+ pin of the camera 51 is connected to the TRD3_P pin of the Raspberry Pi 1; and the BI_D4- pin of the camera 51 is connected to the TRD3_N pin of the Raspberry Pi 1.
[0039] In a Gigabit network, when transmitting network data, all 8 network cables must be used, with a 2-receive 2-transmit mode, that is, 2 pairs of cores send data and 2 pairs of cores receive data;
[0040] Specifically, the data transmission process between the camera module and the Raspberry Pi 1 is as follows: the Raspberry Pi 1 sends data to the camera module through the TRD0 pair (TRD0_P and TRD0_N); the Raspberry Pi 1 receives data from the camera module through the TRD2 pair (TRD2_P and TRD2_N); the Raspberry Pi 1 performs bidirectional data transmission through the TRD1 pair and TRD3 pair (TRD1_P, TRD1_N, TRD3_P, TRD3_N).
[0041] like Figure 6 As shown, in an optional embodiment of the present invention, the indicator light module 3 includes a yellow LED light, a green LED light, a red LED light, a resistor R1, a resistor R2, and a resistor R3; the GPIO_14 pin of the Raspberry Pi 1 is connected in series with the resistor R1 and the yellow LED light and then grounded, the GPIO_15 pin of the Raspberry Pi 1 is connected in series with the resistor R2 and the green LED light and then grounded, and the GPIO_18 pin of the Raspberry Pi 1 is connected in series with the resistor R3 and the red LED light and then grounded.
[0042] Indicator Module 3 includes three LEDs of different colors, connected to GPIO_14, GPIO_15, and GPIO_18 of the Raspberry Pi 1. Because the forward voltage drops of the three different colored LEDs differ (red, approximately 2.0V; green, approximately 2.2V; and yellow, approximately 3.0V), and the GPIO port on the Raspberry Pi 1 provides a 3.3V voltage, three resistors of different specifications (R1, R2, and R3) are required to ensure that all three LEDs illuminate properly.
[0043] like Figure 7 As shown, in an optional embodiment of the present invention, the light source 4 includes an MT7201 module, multiple LED lamp beads, and a lamp tube. The multiple LED lamp beads are driven by the MT7201 module. The GPIO5 pin of the Raspberry Pi 1 is connected in series with a resistor R4 and then connected to the ADJ pin of the MT7201 module. The GPIO5 pin of the Raspberry Pi 1 is connected in series with resistors R4 and R5 and then grounded. The U1 pin of the MT7201 module is connected to the 24V voltage output by the power module. The ISENSE pin of the MT7201 module is the current sampling terminal. Figure 8 As shown, in an optional embodiment of the present invention, the lamp tube is a circular structure, and a plurality of LED lights are evenly distributed inside the lamp tube. The light source 4 is used to provide light when the camera module takes pictures.
[0044] Specifically, the LX pin of the MT7201 module is connected to a 47μH magnetic core inductor and 10 white LEDs connected in series. The GND pin of the MT7201 module is grounded. Because the input voltage of the MT7201 module's ADJ pin is less than 2.5V, while the output voltage provided by the Raspberry Pi 1's GPIO port is 3.3V, a voltage divider resistor, such as resistors R4 and R5, is connected before the MT7201 module's ADJ pin.
[0045] The present invention provides a liquid crystal interface visual recognition device for visually identifying a liquid crystal interface product 8 (i.e., taking a photo to form image data) and visually displaying the recognition result. The liquid crystal interface product 8 to be identified is placed on the tabletop of the base 6 of the visual recognition device. After the camera module takes a photo, the GPIO_14 pin of the Raspberry Pi 1 outputs a corresponding voltage to illuminate the yellow LED in the indicator module 3. Simultaneously, the camera module transmits the captured image data to the Raspberry Pi 1. If the recognition result indicates that the liquid crystal interface product 8 matches a pre-set standard interface library in the Raspberry Pi, the GPIO_15 pin of the Raspberry Pi 1 outputs a corresponding voltage to illuminate the green LED in the indicator module 3. If the recognition result indicates that the liquid crystal interface product 8 does not match the pre-set standard interface library in the Raspberry Pi, the GPIO_18 pin of the Raspberry Pi 1 outputs a corresponding voltage to illuminate the red LED in the indicator module 3. The Raspberry Pi 1 then transmits the recognition result to the display 2 for display.
[0046] The above description only describes the specific implementation methods of the utility model. Various examples do not limit the essential content of the utility model. Ordinary technicians in the relevant technical field can modify or deform the specific implementation methods described above after reading the description without departing from the essence and scope of the utility model.
Claims
1. A liquid crystal interface visual recognition device, wherein a liquid crystal interface product (8) to be recognized is placed on the table of a bottom table (6) of the visual recognition device, characterized in that: The visual recognition device comprises a main controller, a display (2), an indicator light module (3), a light source (4), a camera module, and a power module; the light source (4) and the camera module are mounted on a horizontal bracket (71) located above the liquid crystal interface product (8); The main controller adopts a Raspberry Pi (1), and the display (2) is communicatively connected with the Raspberry Pi (1); The camera module includes a camera (51) and a focal length lens (52), and the camera module is used to photograph the liquid crystal interface product (8) and transmit the photographed image data to the Raspberry Pi (1); the camera module is connected to the Ethernet port of the Raspberry Pi (1) via a network cable to form a communication connection with the Raspberry Pi (1); The indicator light module (3) is connected to the Raspberry Pi (1) in a GPIO manner, and the output voltage of the GPIO port of the Raspberry Pi (1) is used to power the indicator light module (3); The power module is used to supply power to the light source (4), the camera module, and the Raspberry Pi (1).
2. The liquid crystal interface visual recognition device according to claim 1, characterized in that: The 5V pin of the display is connected to the 5V pin of the Raspberry Pi (1), and the 5V voltage is provided to the display (2) through the Raspberry Pi (1); the GND pin of the display is connected to the GND pin of the Raspberry Pi (1); The LCD_RS pin of the display is connected to the GPIO_GEN5 pin of the Raspberry Pi (1); the LCD_SI pin of the display is connected to the SPI_MOSI pin of the Raspberry Pi (1); the TP_IRQ pin of the display is connected to the GPIO_GEN0 pin of the Raspberry Pi (1); the TP_SO pin of the display is connected to the SPI_MISO pin of the Raspberry Pi (1); the LCD_SCK pin of the display is connected to the SPI_SCLK pin of the Raspberry Pi (1); the LCD_CS pin of the display is connected to the SPI_CE0_N pin of the Raspberry Pi (1); the TP_CS pin of the display is connected to the SPI_CE1_N pin of the Raspberry Pi (1); and the RST pin of the display is connected to the GPIO_GEN6 pin of the Raspberry Pi (1).
3. The liquid crystal interface visual recognition device according to claim 1, characterized in that: The TX_D1+ pin of the camera (51) is connected to the TRD0_P pin of the Raspberry Pi (1); the TX_D1- pin of the camera (51) is connected to the TRD0_N pin of the Raspberry Pi (1); the BI_D3+ pin of the camera (51) is connected to the TRD1_P pin of the Raspberry Pi (1); the BI_D3- pin of the camera (51) is connected to the TRD1_N pin of the Raspberry Pi (1); the RX_D2+ pin of the camera (51) is connected to the TRD2_P pin of the Raspberry Pi (1); the RX_D2- pin of the camera (51) is connected to the TRD2_N pin of the Raspberry Pi (1); the BI_D4+ pin of the camera (51) is connected to the TRD3_P pin of the Raspberry Pi (1); and the BI_D4- pin of the camera (51) is connected to the TRD3_N pin of the Raspberry Pi (1).
4. The liquid crystal interface visual recognition device according to claim 1, characterized in that: The indicator light module (3) includes a yellow LED light, a green LED light, a red LED light, a resistor R1, a resistor R2, and a resistor R3; the GPIO_14 pin of the Raspberry Pi (1) is connected in series with the resistor R1 and the yellow LED light and then grounded; the GPIO_15 pin of the Raspberry Pi (1) is connected in series with the resistor R2 and the green LED light and then grounded; the GPIO_18 pin of the Raspberry Pi (1) is connected in series with the resistor R3 and the red LED light and then grounded.
5. The liquid crystal interface visual recognition device according to claim 1, characterized in that: The light source (4) includes an MT7201 module, a plurality of LED lamp beads, and a lamp tube. The MT7201 module drives the plurality of LED lamp beads. The GPIO5 pin of the Raspberry Pi (1) is connected in series with a resistor R4 and then connected to the ADJ pin of the MT7201 module. The GPIO5 pin of the Raspberry Pi (1) is connected in series with resistors R4 and R5 and then grounded. The U1 pin of the MT7201 module is connected to the 24V voltage output by the power module. The ISENSE pin of the MT7201 module is a current sampling terminal.
6. The liquid crystal interface visual recognition device according to claim 5, characterized in that: The lamp tube is a circular structure, and a plurality of LED lights are evenly distributed inside the lamp tube.
7. The liquid crystal interface visual recognition device according to claim 1, characterized in that: The device further comprises a vertical bracket (72), one end of which supports the horizontal bracket (71), and the other end of which is connected to the base (6) of the visual recognition device. The Raspberry Pi (1) and the display (2) are mounted on the vertical bracket (72), and the indicator light module (3) is mounted on the horizontal bracket (71).