Schematic diagram of multi-way switch status display circuit based on C51 single chip microcomputer

Single chip microcomputer STM32L151CCU6
Probe domestic switch needle KG-300K needle head diameter is 3.0mm normally open switch needle
Industrial Router Crystal 3.2*2.5mm 3225 26M (26.000MHZ) 12PF 10PPM 20PPM 30PPM
1206RGB (single)

As shown in the figure below, P1.0 - P1.3 of AT89S51 MCU is connected to four LEDs L1 - L4, P1.4 - P1.7 are connected with four switches K1 - K4, and the status of the switch is reflected on the LED. . (The switch is closed, the corresponding light is on, the switch is off, and the corresponding light is off).

1 . Connect P1.0 - P1.3 in the "Microcontroller System" area to the L1 - L4 port in the "Eight LED Indicator Module" area;
2 . Connect P1.4 - P1.7 in the "Microcontroller System" area to the K1 - K4 ports in the "4-way toggle switch" area.

Screen Touching WIFI Switch

touching screen switch black02touching screen switch champagne 02touching screen switch grey 02touching screen switch white 02

Glass surface material ,copper inside,screen touching wall switch

Wenzhou Niuniu Electric Co., Ltd. , https://www.anmuxisocket.com