The main function of the magnetic creative desk lamp is:When two small balls pulled by ropes approach, the magnets inside the balls will attract them together, and the circuit will be connected, thus lighting up LED Light belt. In addition to simulating the functionality of the prototype magnetic table lamp, this production also added the ability to switch the color of the light strip. The specific function is to turn on the power and power on the circuit of the desk lamp,Arduino NanoThe main control board starts working. When a magnet approaches the reed switch,LEDThe light strip lights up. When the touch sensor detects a touch signal, switch LED The color of the light strip(See figure 8-3)When the magnet leaves the reed switch sensor,LED The light strip goes out.


English
简体中文
繁體中文
Français
Español
عربي ،
русский язык
Português
Deutsch