What I want to do is to have timer A generate an interrupt every two seconds, and then use the serial port to send two bytes of data in the interrupt service program. However, I can only send one byte...
[i=s] This post was last edited by gxp790953623 on 2016-3-10 09:38 [/i] The circuit is as shown in the figure. I want to use a single-chip microcomputer to measure the battery voltage. During the actu...
Several C++ timing methods and examples 1. Use the clock() function header file:The clock() function returns the number of CPU clock ticks from the start of the program to the call to this function. E...
I recently made a small device with 430. The IO voltage of 430 is 3.3V. I only have 5V 12864 LCD. I use 430 to control the LCD to display. The LCD is powered by 5V. But it doesn't display (two methods...
Assume that data is read from 8-bit AD (if it is a higher-bit AD, the data type can be defined as int), the subroutine is get_ad();
1. Limited secondary filtering
/* A value can be adjust...[Details]
With the rapid development of science and technology, especially the widespread application of digital technology and various ultra-large-scale integrated circuits, electronic equipment, especially...[Details]
1 Introduction
The high temperature tester is mainly used for temperature tracking measurement and data acquisition during the heating process. By systematically analyzing the test data, the...[Details]
Floating-point digital signal processing has become a constant requirement for precision technology, often in applications requiring high accuracy in areas such as aviation, industrial machinery, a...[Details]
All electronic design engineers and scientists have performed electrical signal analysis, or signal analysis for short. Through this basic measurement, they can gain insight into signal details and...[Details]
1 Introduction
Solar street lights are mainly composed of four parts: solar photovoltaic cell components, batteries, charge and discharge controllers, and lighting fixtures. The bo...[Details]
0 Introduction
With the development of society, people pay more and more attention to security work. Monitoring products have been used in various fields instead of being used only in importan...[Details]
1. Introduction
At present, most lighting equipment still uses traditional energy for lighting. Making full use of solar energy as the energy supply for lighting equipment is of great si...[Details]
Overview:
This paper introduces a method of connecting a CAN-bus network with Ethernet to form a medium-sized remote monitoring/data transmission network.
CAN (Controller Area Network) is ...[Details]
Many battery-powered systems require a visual indicator to show when the battery needs to be replaced. LEDs are commonly used for this purpose, but they consume at least 10mA of current. This con...[Details]
Overview
In spectral measurement, photomultiplier tubes (PMT) and charge-coupled devices (CCD) are often used as photoelectric converters. PMT is used in slow-changing, high-precision spectral...[Details]
The concept of state machine
State machine is an important concept in software programming. More important than this concept is its flexible application. In a clear and efficient program, ther...[Details]
introduction
MAX6636 is a multi-channel precision temperature monitor that can not only monitor local temperature, but also connect up to 6 diodes externally. Each channel has a programmable...[Details]
At very low temperatures, certain metals and alloys lose their resistance to electric
current
and become
superconductors
. Two parameters that are often measured are the transition ...[Details]
Today, with energy becoming increasingly scarce, the utilization of natural energy has become the focus of people's attention. Among various natural energies, the endless solar energy is highly fav...[Details]