The program for reading a byte from 18b20 is a bit strange. See the following program:
unsigned char readbyte(void) { unsigned char i,read_dat; read_dat=0x00;for(i=8;i0;i--) { DQ=0; read_dat=1; //This...
[color=#333333][font=Verdana, Helvetica, Arial, sans-serif][size=14.04px] With the rapid development of computer communication technology and the widespread application of the Internet, especially in ...
Many students still don't know what a single-chip microcomputer is. For freshmen, you may not know, but for members of the Mechanical and Electronics Association, you should know what a single-chip mi...
[hide]
1. It is the pressure divider effect2. The pull-down resistor is to discharge the gate charge as quickly as possible to cut off the MOS tube as soon as possible3. Prevent surge overvoltage on t...
ISP devices, such as field programmable devices (FPGAs and CPLDs), do not require a programmer. Using programming kits provided by the device manufacturer, they employ a top-down modular design app...[Details]
Current Development Status of DVR Market
A DVR, or digital video recorder, uses a hard disk for recording, unlike traditional analog video recorders. It's often called a DVR because it's a com...[Details]
On August 21st, Zhiyuan Robotics revealed at its first partner conference that it expects shipments to reach thousands of units this year and tens of thousands next year. The company hopes to reach...[Details]
Electric vehicles are becoming increasingly popular, with increasingly longer ranges. There are two ways to charge electric vehicles: slow charging and fast charging. Which is the most suitable? Sl...[Details]
Consumer demand for premium listening experiences has driven rapid evolution in the wireless headphone market in recent years. Hybrid designs, which utilize two drivers per earbud to enhance sound ...[Details]
New version helps developers build secure and trustworthy embedded systems
Shanghai, China—August 21, 2025—
QNX, a division of BlackBerry Ltd., today announced the release of QNX...[Details]
Lithium-ion batteries are a key component of electric vehicles. Their high energy density enables them to store a large amount of energy in a relatively compact and lightweight package, which is cr...[Details]
0 Introduction
With a rapidly aging population, a young couple is now required to care for an increasing number of elderly people, leading to a growing difficulty in providing care for them. E...[Details]
We know that the power output by the engine does not directly act on the wheels to drive the car, but needs to pass through a series of power transmission mechanisms. So how is the power transmitte...[Details]
Currently, PLCs are widely used in various industries, including special machine tools, machine tools, control systems, building automation, steel, petrochemicals, electricity, building materials, ...[Details]
Abstract: This design uses field-effect transistors to create a tube-like audio power amplifier. The preamplifier uses a single Class A transistor, while the power stage utilizes Class AB push-pull...[Details]
1. Introduction to power amplifier circuit
1. Generally speaking, the main function of a power amplifier circuit is to allow the load to obtain maximum power without distorting the signal or c...[Details]
01 Introduction
The SINAMICS V20 inverter controls three-phase AC asynchronous motors. Depending on the size (frame sizes FSA to FSD), the power range of the three-phase AC 400V inverter cover...[Details]
Robots are rapidly being deployed in diverse scenarios. Flexible, easy-to-use, and fast-to-deploy robots can be quickly adapted to diverse application scenarios across various industries, making th...[Details]
Introduction
Currently, IoT-related applications, including those enabling furniture display panels, industrial control display panels, handheld devices, and facial recognition, are gradually s...[Details]