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 […]
Tag: lcd
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 = < […]
Allwinner R128 application development case – SPI driver ST7789V1.3-inch LCD
SPI driver ST7789V1.3-inch LCD The R128 platform provides the SPI TFT interface of SPI DBI, which has the following features: Supports DBI Type C 3 Line/4 Line Interface Mode Supports 2 Data Lane Interface Mode Supports data source from CPU or DMA Supports RGB111/444/565/666/888 video format Maximum resolution of RGB666 240 x 320@30Hz with single […]
Microcontroller Experiment 2 – LCD/LED Experiment (MSP430F6638)
1 Experiment purpose: Understand how to use LCD/LED TM1638 2 Experiment content: 1 Display 01234567 on LCD or LED 2 Design electronic clock (starting time 23:59:45) 3 Combined with Experiment 3, use a timer to control the operation of the clock Three experimental circuit diagram: ?4 Experimental ideas and procedures: 1.Display 01234567 on LCD #include […]
Embedded Peripheral Set — Display Module (LCD12864 — Serial)
Table of Contents 1. Module introduction Follow the WeChat public account – Star Aid Studio and send keywords (LCD12864) 2. Connection and driver code – serial LCD.c LCD.h main.c 3. Reference 1. Module Introduction The LCD12864 display module is a common liquid crystal display module with a size of 128×64 pixels. It uses LCD technology […]
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. […]