In daily life, I think that in addition to clocks, set clocks are also very useful, such as cooking and steaming steamed buns. I want to make a low-cost, easy-to-use timing clock. It can be powered by 5VUSB charging wire. Use it for power supply, take it off when not in use.
LED brightness dimming changes the brightness by changing the LED's on-time. The longer the LED's on-time per unit time, the higher the brightness. In practical applications, it is controlled by changing the duty cycle. It can be seen from the light efficiency conversion characteristics of LED that when the same duty cycle is increased, the brightness increases more at low gray values than at high gray values. At the same time, at low gray values, every time the gray value changes by one In small units, the value of the light intensity increase rate D is relatively large. As the brightness increases, the light intensity increase rate D decreases, and the human eye's sensitivity to light changes also decreases. That is to say, the level jump is very obvious at low brightness. The brightness jump is particularly sensitive to human vision and cannot achieve a flexible effect of gradually brightening or dimming. The principle of smooth dimming is to improve the dimming effect of LED by changing the linearity of LED dimming curve.
The entire work is designed with only three buttons (one KEY1 on the GD32E231 board and two KEY2 and KEY3 on my stm32 board). In the game, KEY1 can be used to pause the game, and KEY2 and KEY3 are used to control the greedy snake. direction, KEY2 controls the snake to rotate clockwise, and KEY3 controls the snake to rotate in the forward direction.
Password locks are relatively common in life. There are various types of locks. The most common ones are in the form of numbers. Generally, you need to enter a few numbers to complete the password. This project uses color to complete the password lock. There are many types of colors, which are more complicated than numbers. Using color cards to set the password and unlock the lock is more difficult to crack, and it is relatively safer.
The ornamental fish tank controller is studied, developed and verified based on the Arm® Cortex®-M23 core GD32E231C-START evaluation board provided by GigaDevice for this competition. Finally, the GD32E231C8T6 microcontroller chip donated by GigaDevice was used to realize the status control of the fish tank circulating water pump, the three-stage brightness control of the LED lighting, and the granular bait feeding control using the 315MHz remote control receiving and transmitting device and other related peripheral equipment. As well as an ornamental fish tank controller with functions such as water temperature collection and digital tube display.
If you are away from home for a long time on a business trip, the goldfish at home will starve. Therefore, in order to prevent goldfish from starving when the owner is not at home, an automatic feeding robot was designed based on a 4-degree-of-freedom robotic arm and GD32E231. GD32E231 controls the robotic arm by generating PWM. At the same time, it picks up fish food from a fixed place and puts it into the fish tank according to the preset time. Through multiple manual trainings, the robotic arm automatically calculates the feeding based on the manual training data. eating position. At the same time, you can also add some auxiliary functions. You can roughly obtain the internal temperature of GD32E231 and the lighting conditions around the fish tank through the serial port or onboard ADC and photoresistor. You can turn on lighting equipment such as desk lamps when it is dark.
The overall idea of the project is to use the GD32E231 development board as the main control unit, use the LCD5110 display screen and two user buttons as the human-computer interaction module, use the infrared probe for monitoring, and use the AT24C02flash chip to save and record the triggering time of the monitoring alarm, so that Initial implementation of basic intelligent functions.