Function description: 1. After power on, the LED light lights up, which means that the current light is in automatic control mode; 2. You can switch back and forth between automatic and manual modes through button K5; 3. In manual mode, buttons K2, K3, and K4 correspond to A light brightness; (unavailable when k1 is pressed) 4. In automatic mode, it must first detect someone before automatically controlling the brightness, otherwise the desk lamp will go out. You can block the light of the photoresistor, or use a flashlight to illuminate the photoresistor to simulate changes in lighting, so that you can see that the brightness of the desk lamp will change as the light intensity in the environment changes. The effect is that the weaker the light, the brighter the desk lamp. . If the human body sensor cannot detect anyone for 1 minute, the desk lamp will automatically turn off. (The photoresistor is behind the USB lamp); 5. Whether it is automatic mode or manual mode, the brightness is divided into 10 levels, and 0-9 is displayed on the LCD; 6. Set date and time: Press K1 (setting ) key, the cursor will flash at the displayed year position, indicating that the year can be adjusted at this time. If you need to adjust the year, press K3 (plus) and K4 (minus) to adjust the year. Then press the K2 (move) key, and the cursor will flash when the month position is displayed. The month can be adjusted in the same way. Press the K2 key again to set the day, hour, minute, and second respectively. 7. When approaching the ultrasonic wave, the buzzer will alarm.
Protues simulation example (8051) - playing music
A car with intelligent judgment function is designed and produced. The car has the following functions: automatic obstacle avoidance function; tracking function (driving according to the black track on the road); phototaxis function (finding the point light source in front and driving in place); It has the function of detecting the number of iron pieces placed on the road surface; it calculates and displays the distance traveled and the walking time, and can make sounds and light up. The work can be used as a high-end smart toy, or as a powerful application example for college students to learn embedded control.
This article develops and implements a WiFi module based on STM32 on an embedded development platform. Combined with the above new concepts of the Internet of Things, it enables users to monitor the environment in real time through the network. This system enables users to grasp and control the situation they want to know in real time. Home information (temperature and humidity information, light information, PM2.5) is obtained through various sensors, and users can control this information on the Android interface.
USB HID keyboard, mouse and game controller based on stm32 and mpu9250.
Satellite GPS path recorder based on STM32 (complete source code attached).
QR code recognition source code based on STM32 + QR code decoding library lib
Electronic photo album based on STM32F103RC (schematic diagram, PCB source file, program source code and production).
Based on STM32 crowd positioning, speed-adjustable smart fan design (program, design report, video demonstration).
Smart light based on stm32 nucleo_L476 (operating instructions + source code).
(Third Prize in ST Competition) Ultrasonic Selfie Artifact.
Electronic keyboard design based on 51 microcontroller.
Very good reference document. MLX90615 communication value, lcd1602 display, 51 driver
Heart-shaped running water lamp program and circuit.
This product has been verified for use and is the best stable program after debugging.
I have an SD2405ALPI-G on hand, and I happen to have an STC learning board, so I made a clock with an annual error of about 2.5 minutes to play with. The schematic and program are all there. Now the hardware has a ringtone generating chip and a power amplifier chip, but the program has only initially implemented the function of displaying the day of the week, hours, minutes and seconds. It will be changed to an alarm clock when there is time.