
Lux sensor
benhoff/lux-sensor
USB ambient light sensor based on a CH552G MCU and VEML7700 ALS, with:

The CH543D is a microcontroller made by WCH (Nanjing Qinheng Microelectronics) in a QFN-20(3x3) package with 21 pins. QFN-20(3x3) Microcontrollers (MCU/MPU/SOC) ROHS.
PCBKit's library has its KiCad symbol (EasyEDA_Cloud:CH543D, from EasyEDA) and its footprint (EasyEDA_Cloud:QFN-20_L3.0-W3.0-P0.40-BL-EP1.7, from EasyEDA), ready for a KiCad board. 2,302 are in stock at JLCPCB (part C5183760). 1 open-source board in 1 repository on GitHub use it.
| Pin | Name | Type |
|---|---|---|
| 1 | VDD12/VHV | Unspecified |
| 2 | GND/VSS | Unspecified |
| 3 | VDD/V33 | Unspecified |
| 4 | P1.4/T2_/CAP1_/SCS/PWM3/A4 | Unspecified |
| 5 | P3.2/INT0/A2 | Unspecified |
| 6 | P1.5/MOSI/PWM0/A5 | Unspecified |
| 7 | P1.6/MISO/SCL/RXD_/PWM2/A6 | Unspecified |
| 8 | P1.7/SCK/SDA/TXD_/A7 | Unspecified |
| 9 | RST/T2EX_/CAP2_/A3/CP | Unspecified |
| 10 | P3.1/TXD/PWM1_/SDA_ | Unspecified |
| 11 | P3.0/RXD/PWM0_/SCL_ | Unspecified |
| 12 | P1.1/CC2/T2EX/CAP2/A1 | Unspecified |
| 13 | P1.0/CC1/T2/CAP1/A0 | Unspecified |
| 14 | P3.3/INT1/PWM2_ | Unspecified |
| 15 | P3.4/T0/PWM1 | Unspecified |
| 16 | P3.5/T1/HVIO | Unspecified |
| 17 | P3.6/DP/A8 | Unspecified |
| 18 | P3.7/DM/A9 | Unspecified |
| 19 | P1.3/A11/CM | Unspecified |
| 20 | P1.2/INT0_/A10/CO | Unspecified |
| 21 | GND/VSS | Unspecified |

benhoff/lux-sensor
USB ambient light sensor based on a CH552G MCU and VEML7700 ALS, with:
<iframe src="https://pcbkit.io/embed/parts/wch/CH543D" title="CH543D in PCBKit" width="100%" height="480" style="border:0;border-radius:12px" allow="fullscreen" loading="lazy"></iframe><img src="https://pcbkit.io/embed/parts/wch/CH543D.jpg" alt="CH543D" width="1200" height="900">[](https://pcbkit.io/parts/wch/CH543D)Yes. The symbol is EasyEDA_Cloud:CH543D and the footprint EasyEDA_Cloud:QFN-20_L3.0-W3.0-P0.40-BL-EP1.7, both drawn on this page. PCBKit places them on a board for you when you design with it.
QFN-20(3x3), with 21 pins. Its footprint is drawn on this page.
WCH (Nanjing Qinheng Microelectronics) publishes it: the Datasheet link on this page opens it.
JLCPCB lists it as part C5183760, with 2,302 in stock; the sellers' links on this page open their listings.
Parts like it in the library: the HC32F002C4UB-ZFN20TR by XHSC, the CH32V203F8U6 by WCH (Nanjing Qinheng Microelectronics), the CW32L031F8U6 by CW and the HK32F0301MF4N7C by HK. Check their datasheets: a part that fits the footprint may still differ in its ratings.
1 board in 1 repository on GitHub; the most starred are listed on this page, with their KiCad files.