This project is
divided into two parts.
Board 1 is a schematic diagram of the module for collecting trash at a seafood market. Only a partial pinout is shown, and there may be inaccuracies.
Board 2 contains the microcontroller and audio circuitry, used to configure the CXN0102 and output audio and
video. [Link to video
: "Microcontroller Powers Projector Module, Ideal for Hand-held Projectors" https://www.bilibili.com/video/BV19S411c7A6/] [Link to video:
"Hand-held Projector, Wrong Wiring Caused Burnout..."] [Link to video : https://www.bilibili.com/video/BV1NCvZepEWr/](https://www.bilibili.com/video/BV1NCvZepEWr/)
My profile: [Link to Gitee
: https://gitee.com/lambda_zhang/cxn0102-hdmi/tree/master/doc](https://gitee.com/lambda_zhang/cxn0102-hdmi/tree/master/doc
) Why did I do this?
I saw a project on LCSC called "【LCSC·Taishanpai】Smart Projector - Sony CXN0102".
This project even has an app, it's perfect. The link is in the "References" section later. Let's all admire this master! The
CXN0102 output is 1920x720, RGB888 interface.
I searched for the model of this optical engine on Xiaohuangyu (a second-hand marketplace), CXN0102,
and found a disassembled part for a certain robot, which turned out to be this optical engine. I decisively bought one for 150 yuan plus 6 yuan for shipping.
This disassembled module is actually not limited to the CXN0102 optical engine. There was also an HDMI to RGB converter and other functional PCB
directly connected to the HDMI port. It only showed a blue light source,
and I initially didn't know what to do with it. However, adhering to the principle that "even a pair of underwear or a piece of toilet paper has its use,"
I couldn't let this PCB go to waste. It cost 150 yuan, so I couldn't let it go to waste.
After searching online, I found only partial information and code for the CXN0102 chip. No one explained how to use this PCB; some people said there was no display after connecting the HDMI cable.
So I had to debug it myself. Looking back, I realized I went through a lot of detours.
The conclusion is that the HDMI to RGB chip code on the PCB is already configured in the flash chip; it works immediately upon power-on.
Essentially, this module only needs I2C configuration of the CXN0102; the HDMI PCB itself doesn't require any configuration.
Initially, I used: a disassembled robot module and a standard HDMI to Mini converter. The HDMI adapter cable, 12V power supply, STM32F103C8T6 microcontroller, and small fan
module, when powered on, display a 1920x1080 resolution on the computer, but it's likely 720p due to scaling.
Note that
in my first version, the ribbon cable direction was reversed; you need to manually reverse it. Carefully check the schematic before powering on. Reversing the cable direction burned out the CXN0102's I2C (don't ask me how I know). Refer
to the diagram below for the reversed ribbon cable direction. [LCSC Taishanpai] Smart Projector - Sony CXN0102: https://oshwhub.com/fengmoxi/taspi-smart-projector