51 microcontroller + DS1302 design an electronic clock (LCD1602 displays time)

1. Preface An electronic clock is a device that can accurately display time. It is widely used in homes, offices and public places, providing people with convenient and accurate time information. This project designs an electronic clock based on 51 microcontroller, using DS1302 as the RTC clock chip, LCD1602 as the display screen, and connecting […]

51 microcontroller kitchen fireproof infrared combustible gas detection alarm LCD display design

1. Foreword In the past two years, the requirements and difficulty of graduation projects and graduation defenses have continued to increase. Traditional graduation projects lack innovation and highlights, and often fail to meet the requirements for graduation defenses. In the past two years, junior students and junior students have constantly told Senior Xiaohong to do […]

LCD screen uses ST7567G+UC1701E

LCD screen usage record LCD screen usage record 1-Screen introduction 2-ST7567G screen 3-UC1701 screen 4-Code Example 4-Points of attention 1-Screen Introduction Since the project uses the screen, make a simple record backup The screen uses 128*64 dot matrix screen The model number is ST7567G + UC1701E Using SPI driver Brief description of screen dot matrix […]

Microcontroller experiment (ADC experiment-potentiometer LCD display)

#include <msp430.h> #include “stdint.h” //#include “HAL_UCS.h” /* Private define ————————————————– —————*/ #defineNumOfResult 8 #define Max_Volt 3.3 #define Accu_Adc 4095 uint32_t results[NumOfResult + 1]; uint16_t average; uint16_t index = 0; #define XT2_PORT_SEL P7SEL #define XT2_ENABLE (BIT2 + BIT3) // LCD segment definitions. #define d 0x01 #define c 0x20 #define b 0x40 #define a 0x80 #define dp […]

milkv4. Add LCD screen gc9306

Foreword This chapter introduces how to add the LCD screen GC9306 driver. Circuit diagram dts build\boards\cv180x\cv1800b_milkv_duo_sd\dts_riscv\cv1800b_milkv_duo_sd.dts & amp;spi2 {<!– –> status = “okay”; /delete-node/ spidev@0; gc9306: gc9306@0{<!– –> compatible = “sitronix,gc9306”; reg = <0>; status = “okay”; spi-max-frequency = <48000000>; spi-cpol; spi-cpha; rotate = <90>; fps = <30>; rgb; buswidth = <8>; //dc-gpios = < […]

Design of password lock based on 51 microcontroller – LCD1602 display

Password lock design based on 51 microcontroller (Simulation + Program + Schematic + Design Report) Specific functions: 1. Use the 4*4 matrix keyboard to set an 8-digit password. If the password is correct, the lock will open. LCD1602 displays open! 2. You can change the password (8-digit password), and the lock must be open to […]

C51 microcontroller and LCD1602

Table of Contents 1. Pin interface description diagram 2. Use of modules 1. First we initialize the module Define busy detection function Module initialization 2.Transmission of data 3. Determine the character display position 4. Integration of code In this article we use LCD1602 to display a line of characters 1. Pin interface description diagram No. […]