Phone

    00852-6915 1330

The Kynix Components

Stay Ahead with Expert Electronics Insights,
Industry Trends, and Innovative Tips

Integrated Circuits (ICs)

FQP27P06 Mosfet: Datasheet, Equivalents, Circuit [FAQ]

Product OverviewThe FQP27P06 is a through hole, -60V P channel QFET MOSFET in TO-220 package. This device feature planar stripe and DMOS technology which has been tailored to minimize the onstate resistance and provide superior switching performance and high avalanche energy strength. It is suitable for switched mode power supply, audio amplifier, DC motor control and variable switching power applications. This blog will introduce FQP27P06 systematically from its features, pinout to its specifications, applications, also including FQP27P06 datasheet and so much more. CatalogProduct OverviewFQP27P06 FeaturesFQP27P06 PinoutFQP27P06 ApplicationsFQP27P06 EquivalentsFQP27P06 CAD ModelsFQP27P06 Circuit DiagramFQP27P06 SpecificationFQP27P06 ManufacturerFQP27P06 DatasheetUsing WarningsFQP27P06 FAQ FQP27P06 Features-27A, -60V, RDS(on) = 0.07Ω @VGS = -10 VLow gate charge ( typical 33 nC)Low Crss ( typical 120 pF)Fast switching100% avalanche testedImproved dv/dt capability175°C maximum junction temperature rating FQP27P06 PinoutThe following figure is the diagram of FQP27P06 pinout. FQP27P06 Pinout FQP27P06 ApplicationsOther Audio & Video FQP27P06 EquivalentsFQP10N20, FQP1 ON20C, FQP1 0N50CF, FQP10N60, FQP1 0N60C FQP27P06 CAD ModelsFollowings are FQP27P06 Symbol, Footprint, and 3D Model. FQP27P06 Symbol FQP27P06 Footprint FQP27P06 3D Model FQP27P06 Circuit DiagramFollowing are the testing circuit diagrams of FQP27P06. Gate Charge Test Circuit & Waveform Resistive Switching Test Circuit & Waveforms Unclamped Inductive Switching Test Circuit & Waveforms Peak Diode Recovery dv/dt Test Circuit & Waveforms FQP27P06 SpecificationAttributeValueChannel TypePMaximum Continuous Drain Current27 AMaximum Drain Source Voltage60 VPackage TypeTO-220ABMounting TypeThrough HolePin Count3Maximum Drain Source Resistance70 mΩChannel ModeEnhancementMaximum Gate Threshold Voltage4VMinimum Gate Threshold Voltage2VMaximum Power Dissipation120 WTransistor ConfigurationSingleMaximum Gate Source Voltage-25 V, +25 VNumber of Elements per Chip1Height9.4mmTypical Gate Charge @ Vgs33 nC @ 10 VWidth4.7mmLength10.1mmMaximum Operating Temperature+175 °CTransistor MaterialSiMinimum Operating Temperature-55 °CSeriesQFET FQP27P06 ManufacturerON Semiconductor is a Fortune 500 company driving energy efficient innovations, empowering customers to reduce global energy use. The company is a leading supplier of semiconductor-based solutions, offering a comprehensive portfolio of energy efficient power and signal management, logic, standard and custom devices. The company’s products help engineers solve their unique design challenges in automotive, communications, computing, consumer, industrial, medical and military/aerospace applications. FQP27P06 DatasheetYou can download this datasheet for FQP27P06–Datasheet from the link given below:FQP27P06 Datasheet Using WarningsNote: Please check their parameters and pin configuration before replacing them in your circuit. FQP27P06 FAQHow is a p channel MOSFET connected to ground?P channel MOSFET. N channel – For an N channel MOSFET, the source is connected to ground. If we want to let current flow, we can easily raise the voltage on the gate allowing current to flow. If no current is to flow, the gate pin should be grounded. Why does the MOSFET need to be high current?Gate-Source Capacitance – There is also a capacitance on the Gate-Source pins which prevents the MOSFET from switching states quickly. In order to quickly change voltage on internal capacitance, the MOSFET driver needs to be high current. It needs to actively charge (source) and discharge (sink) the capacitor too (for N channel). When to use n channel vs n channel MOSFET?When there is a large Gate-Source potential difference, the Drain-Source resistance is very low and may be thought of as a closed switch — current may flow through the Drain-Source pins. N channel – For an N channel MOSFET, the source is connected to ground. What package does the FQP27P06 come with?TO-220 What features does the FQP27P06 feature?Planar stripe and DMOS technology
kynix On 2022-03-23   2451
Integrated Circuits (ICs)

MK20DX256VLH7 Microcontroller: Datasheet, Pinout, Features

Product OverviewThe MK20DX256VLH7 is a Kinetis K20 72MHz Microcontroller, that offers a scalable entry point into the mid-performance Kinetis portfolio with various levels of integration, featuring high-precision analog integration and flexible low-power.MK20DX256VLH7 ARM MicrocontrollerCatalogProduct OverviewMK20DX256VLH7 CAD ModelsK2x Series Microcontrollers OverviewMK20DX256VLH7 FeaturesProduct AttributesMK20DX256VLH7 ApplicationsSimilar PartsComponent DatasheetUsing WarningsMK20DX256VLH7 ManufacturerFAQMK20DX256VLH7 CAD ModelsMK20DX256VLH7 SymbolK2x Series Microcontrollers OverviewThe Kinetis K2x MCU family is pin-peripheral and software-compatible with many of the Kinetis K series MCU families, offering full and high-speed USB 2.0 On-The-Go (OTG), in addition to other features like device charge detect capability and USB crystal-less functionality. These devices offer various levels of integration, with a rich suite of analog, communication, timing, and control peripherals. Kinetis K2x Microcontrollers are further optimized for performance with industry-leading power consumption and offer more streamlined integration for further BOM cost reductions. Devices start from 32 KB of flash in 5 x 5 mm 32-pin QFN packages extending up to 1 MB in a 144-pin MAPBGA package.The Kinetis range of ARM Cortex core microcontrollers consists of multiple hardware- and software-compatible Cortex-M0+ and Cortex-M4 MCU families with exceptional low-power performance, memory scalability, and feature integration. Families range from the entry-level Cortex-M0+ Kinetis L Series to the high-performance, feature-rich Cortex-M4 Kinetis K and include a wide selection of analog, communication, HMI, connectivity, and security features.Independent Flash Bank allows concurrent code execution & firmware update w/o performance degradation.MK20DX256VLH7 Features• Ultra-low-power Consumption• 10 Low-power Modes with Power and Clock Gating for Optimal Peripheral Activity and Recovery Times• Stop Currents of <1.45µA, Run Currents of <277µA/MHz, 4µs Wake-up from Stop Mode• Full Memory and Analogue Operation Down to 1.71V for Extended Battery Life• Low-leakage Wake-up Unit with up to eight internal modules and sixteen pins as Wake-up sources• 500ns Conversion Time Achievable with Programmable Delay Block Triggering• One 12-bit DAC for Analogue Waveform Generation for Audio Applications• Three high-speed comparators providing fast & accurate motor over-current protection by driving PWMs• Two Programmable Gain Amplifiers with x64 Gain for Small Amplitude Signal Conversion• Analogue Voltage Reference provides an accurate reference to Analogue Blocks, ADC, and DAC• Low-power Timer for Continual System Operation in Reduced Power State• 64 to 256kb Flash, Fast Access, High Reliability with 4-level Security Protection• 16 to 64kb SRAM• Mixed-signal Capability• 16-bit ADCs with configurable resolution, single or differential o/p mode for better noise rejection• ARM Cortex-M4 Core + DSP• 72MHz, Single Cycle MAC, Single Instruction Multiple Data (SIMD) Extensions• 16-channel DMA for peripheral & memory servicing with reduced CPU loading & faster system throughput• Cross Bar Switch Enables Concurrent Multi-master Bus Accesses, Increasing Bus BandwidthProduct AttributesSpecificationsValuesEU RoHSCompliantECCN (US)3A991a.2.Part StatusActiveHTS8542.31.00.01SVHCYesFamily NameK20Instruction Set ArchitectureRISCDevice CoreARM Cortex M4Core ArchitectureARMMaximum CPU Frequency (MHz)72Maximum Clock Rate (MHz)72Data Bus Width (bit)32Program Memory TypeFlashProgram Memory Size256KBRAM Size64KBProgrammabilityYesInterface TypeCAN/I2C/I2S/SPI/UART/USBNumber of I/Os40No. of Timers8PWM1Number of ADCsDualADC Channels24/24ADC Resolution (bit)16/16Number of DACsSingleDAC Resolution (bit)12USART0UART3USB1SPI1I2C2I2S1CAN1Ethernet0Watchdog1Analog Comparators3Parallel Master PortNoReal Time ClockNoSpecial FeaturesCAN ControllerMinimum Operating Supply Voltage (V)1.71Typical Operating Supply Voltage (V)3.3|2.5|1.8Maximum Operating Supply Voltage (V)3.6Minimum Operating Temperature (°C)-40Maximum Operating Temperature (°C)105PackagingTraySupplier PackageLQFPPin Count64Standard Package NameQFPMountingSurface MountPackage Height1.45(Max)Package Length10Package Width10PCB changed64Lead ShapeGull-wingHalogen FreeYesMK20DX256VLH7 ApplicationsMedicalSimilar PartsMK10DX256VLH7, STM32F103RCY6TR, STM32F105RCT6, STM32F107RCT6Component DatasheetMK20DX256VLH7 DatasheetUsing WarningsPlease check their parameters and pin configuration before replacing them in your circuit.MK20DX256VLH7 ManufacturerNXP Semiconductors N.V. is a Dutch semiconductor manufacturer with headquarters in Eindhoven, Netherlands that focuses on the automotive industry. The company employs approximately 31,000 people in more than 35 countries, including 11,200 engineers in 33 countries. NXP Advanced Analog products intelligently convert analog occurrences into digital information for the automotive, industrial, loT, and mobile markets.FAQWhat is the Kinetis K2x MCU family?Pin-peripheral and software-compatible. What are Kinetis K2x Microcontrollers optimized for?Performance with industry-leading power consumption
kynix On 2022-03-23   1491
Integrated Circuits (ICs)

CD40106 Hex Inverter: Pinout, Datasheet,Use [Video]

CD40106 is a hex inverter Schmitt trigger, meaning it has 6 inverted Schmitt triggers inside it. This is a video introducing CD40106 in more details.CatalogCD40106 DescriptionCD40106 PinoutCD40106 FeaturesCD40106 EquivalentsWhere to Use CD40106 ICHow to Use CD40106 ICCD40106 ApplicationsCD40106 PackageComponent DatasheetFAQCD40106 DescriptionCD40106 IC consists of six Schmitt-Trigger inputs. Each circuit functions as an inverter with Schmitt-Trigger input. The trigger switches at different points for positive- and negative-going signals. The difference between positive-going voltage (VP) and negative-going voltage (VN) is defined as hysteresis voltage (VH). CD40106B device is supplied in ceramic packaging (J) as well as standard packaging (D, N, NS, PW). All CD40106B devices are rated for –55°C to +125°C ambient temperature operation.CD40106 PinoutCD40106CD40106 Pinout CD40106 Pin Descriptions:Pin NumberPin NameDescription1,3,5,11,13,15Schmitt Input PinsInput pins of the Schmitt trigger2,4,6,10,12,14Schmitt Inverted Output PinsOutput pins of the Schmitt trigger7GroundConnected to the ground of the system14Vcc (+5V)Resets all outputs as low. Must be held high for normal operationCD40106 FeaturesSchmitt Trigger – Hex InverterOperating Voltage: 5VLow-Level Hysteresis voltage: 0.3VHigh-Level Hysteresis voltage: 3.5VOutput current High: -1mAOutput current Low: 1mAQuiescent Current: 40 nAPropagation Delay Time: 280 nsOperating Temperature Range: -55 C to + 125 CAvailable in 14-pin PDIP, GDIP, PDSO packagesCD40106 EquivalentsEquivalent for CD40106: MM74C14Alternatives Schmitt Triggers:  SN74LS14, TC4584, MC14584Where to Use CD40106 ICThe CD40106B device consists of six Schmitt-Trigger inputs, which means it has 6 inverted Schmitt triggers inside it. The Schmitt trigger is used to prevent the problem of hysteresis. It can also be used to smooth a noise signal into a sharp one. Schmitt trigger gate can convert the sinusoidal or triangular wave into a square wave. It can also be used as a logic inverter, if necessary. The Schmitt trigger is also useful for setting up a pushbutton or other noisy input devices. So if you're looking for an IC that can help you get a switching noise or create sharp square wave signals based on an input signal, this IC could be the right choice for you.How to Use CD40106 ICAs mentioned above, the CD40106 has six INVERTING SCHMITT TRIGGER GATES which can be used as six individual gates. The internal structure of CD40106 is given below:CD40106 Functional DiagramEach of these 6 gates can be used individually on the basis of our application. Since the gates are inverting, we can also combine two gates into a non-inverting gate. The input signal can be a noise square wave or any signal wave that oscillates between the low and high hysteresis voltages.CD40106 ApplicationsWave and Pulse ShapersHigh-Noise-Environment SystemsMonostable MultivibratorsAstable MultivibratorsCD40106 PackageComponent DatasheetCD40106 Hex Inverter DatasheetFAQHow many Schmitt-Trigger inputs does CD40106 IC consist of?Six What are all CD40106B devices rated for?–55°C to +125°C What is the equivalent for CD40106? MM74C14
kynix On 2022-03-23   10732
Integrated Circuits (ICs)

SHC5320KH SAMPLE AMPLIFIER: Datasheet, Pinout, Circuit [FAQ]

Product OverviewThe SHC5320 is a bipolar, monolithic, sample/hold circuit designed for use in precision, high-speed, data-acquisition applications. The circuit employs an input transconductance amplifier capable of providing large amounts of charging current to the holding capacitor, thus enabling fast acquisition times. It also incorporates a low 1eakage analog switch and an output integrating amplifier with input bias current optimized to assure low droop rates. Since the analog switch always drives into a load at virtual ground, charge injection into the holding ca- pacitor is constant over the entire input voltage range. As a result, the charge offset (pedestal voltage) resulting from this charge injection can be adjusted to zero by use of the offset adjustment capability. The device includes an internal holding capacitor  to simplify ease of application; however, provision is also made to add additional external capacitance to improve the output voltage droop rate. This blog will introduce SHC5320KH systematically from its features, pinout to its specifications, applications, also including SHC5320KH datasheet and so much more. CatalogProduct OverviewSHC5320KH FeaturesSHC5320KH PinoutSHC5320KH ApplicationsSHC5320KH Circuit DiagramSHC5320KH Typical Performance CurvesSHC5320KH SpecificationSHC5320KH ManufacturerSHC5320KH DatasheetUsing WarningsSHC5320KH FAQ SHC5320KH FeaturesACQUISITION TIME To 0.01%: 1.5xs maxHOLD MODE SETTLING TIME: 350nsmaxDROOP RATE AT +25°C: 0.5*Vlxs maxTTL COMPATIBLEFULL DIFFERENTIAL INPUTSINTERNAL HOLDING CAPACITORTWO TEMPERATURE RANGES:-40C to +85°C (KH, KP, KU)-55°C to +125°C (SH)PACKAGE OP TIONS: Ceramic and PlasticDIP-14, SO-16 SHC5320KH PinoutThe following figure is the diagram of SHC5320KH pinout. SHC5320KH Pinout SHC5320KH ApplicationsPRECISION DATA ACQUISITIONSYSTEMSDIGITAL .-TO-ANAL .OG CONVERTERDEGLITCHERAUTO ZERO CIRCUITSPEAK DETECTORS SHC5320KH Circuit DiagramThe SHC5320 may be used to hold data for analog-to-digital conversion or may be used to provide pulse-amplitude modulation (PAM) data output. Typical Data Acquisition Configuration Typical Overlapped Sample/Hold Configuration Noninverting Configuration with Gain= 1 + R2/R1. Inverting Configuration with Gain= -(R2/R1) Input Overload Protection-Inverting Configuration Input Overload Protection-Noninverting Configuration SHC5320KH Typical Performance CurvesThe following figures are the diagrams of typical performance curves. Typical Sample/Hold Performance as Function of Holding Capacitor Charge Offset vs Mode Control (VIH) Voltage SHC5320KH SpecificationProduct AttributeAttribute ValueManufacturer:Texas InstrumentsProduct Category:Sample & Hold AmplifiersSeries:SHC5320Number of Channels:1 ChannelAcquisition Time:1.5 usMinimum Operating Temperature:- 40 CMaximum Operating Temperature:+ 85 CMounting Style:Through HolePackage/Case:CDIP-16Packaging:RailBrand:Texas InstrumentsHeight:4.57 mmLength:19.56 mmMaximum Dual Supply Voltage:+/- 18 VMinimum Dual Supply Voltage:+/- 12 VOperating Supply Voltage:+/- 15 VProduct:Sample and Hold Amplifiers SHC5320KH ManufacturerTexas Instruments Incorporated (TI) is a global semiconductor design and manufacturing company that develops analog ICs and embedded processors. By employing the world's brightest minds, TI creates innovations that shape the future of technology. TI is helping more than 100,000 customers transform the future, today. SHC5320KH DatasheetYou can download SHC5320KH datasheet from the link given below:SHC5320KH Datasheet Using WarningsNote: Please check their parameters and pin configuration before replacing them in your circuit. SHC5320KH FAQWhat is a sample and hold amplifier?The sample-and-hold amplifier, or SHA, is a critical part of most data acquisition systems. It captures an analog signal and holds it during some operation (most commonly analog-digital conversion). When the sample-and-hold is in the sample (or track) mode, the output follows the input with only a small voltage offset. How does sample and hold work?In electronics, a sample and hold (also known as sample and follow) circuit is an analog device that samples (captures, takes) the voltage of a continuously varying analog signal and holds (locks, freezes) its value at a constant level for a specified minimum period of time. What is a bipolar sample/hold circuit designed for use in precision? SHC5320. What is the SHC5320s output integrating amplifier?Low leakage analog switch and an output integrating amplifier. What is constant over the entire input voltage range?Charge injection.
Kynix On 2022-03-23   228
Integrated Circuits (ICs)

DS18B20 Circuit: Temperature Sensor & Alarm System [FAQ]

I DescriptionThis blog introduces a temperature acquisition and alarm system based on AT89S52 microcontroller and DS18B20 temperature sensor.Here, we have described the following in detail: scheme design, component selection, hardware structure and software design, etc.CatalogI DescriptionII Introduction2.1 Introduction to temperature measurement system2.2 Introduction to DS18B202.3 DS18B20 Temperature measurement systemIII System scheme structure designIV Selection of main components4.1 Processor4.2 Digital temperature sensor DS18B20V System hardware design5.1 Power module5.2 Temperature acquisition module5.3 Display module5.4 Alarm module5.5 Button moduleVI System software design6.1 Instructions6.2 Initialization sequence6.3 Bus write timing6.4 Bus read timing6.5 Temperature acquisition programVII Experimental testVIII ConclusionFAQOrdering & QuantityII Introduction2.1 Introduction to temperature measurement systemTemperature measurement systems are widely used in the following fields:grain storage;medical care;transportation;smart homes and greenhouses;power telecommunication systems; …Moreover, the system with an alarm function can also reduce the risk of temperature accidents.At present, the temperature values collected by the temperature measuring device are still mainly analog signals. However, the microprocessor can only process digital signals, and A/D conversion is required first. This makes the device structure complex and low precision. However, the emergence of digital temperature sensors can solve this problem.2.2 Introduction to DS18B20The new digital temperature sensor represented by DS18B20 integrates temperature acquisition and A/D conversion directly outputs digital signals and has a simple interface circuit with the single-chip microcomputer.DS18B20 has the features of a single bus, small size, high resolution, strong anti-interference, etc. It has applications in the measurement of highway subgrade temperature field and bearing temperature detection in frozen soil areas.Moreover, the sensor has a unique 64-bit serial number, and multiple devices can be connected to a single signal line to achieve long-distance, multi-point distributed temperature measurement.2.3 DS18B20 Temperature measurement systemThis blog uses 51 single-chip microcomputers as the processing core, uses DS18B20 to form a temperature measurement module, plus a button module, a display module, and an alarm module, etc., to design a digital temperature collection alarm system suitable for multiple occasions. It is designed to realize multiple functions of synchronous collection, display, alarm, and control of specified temperature. The temperature measurement alarm system has passed the simulation test of the PROTUS simulation platform and successfully verified its function with the circuit board. The device runs stably, with a good temperature measurement effect and small error.III System scheme structure designThe system includes the following parts:The core AT89S52 microcontroller and its peripheral circuits;Temperature measurement module (DS18B20 digital temperature sensor);Power module;Display module (drive circuit, multi-digit LED digital tube);Button module;Alarm module (buzzer; LED light-emitting diode).We can take a look at details shown in Figure 1.Figure 1. Block Diagram of temperature measurement systemWhen we use the DS18B20 intelligent temperature sensor, it outputs digital signals without processing and conversion. As long as the read and write a sequence of DS18B20 is strictly followed, the real-time temperature can be accurately read.Even though the system has high precision and relatively complicated procedures, the circuit is simple and small, which is conducive to the intelligentization and lightweight of the system. With multiple DS18B20s connected to a single bus, the microcomputer can communicate with multiple DS18B20s with only one data line. In this way, it can also meet the requirements of multi-point temperature measurement.IV Selection of main components4.1 ProcessorThe system processor uses an AT89S52 single-chip microcomputer. AT89S52 is a high-performance, low-power 8-bit CMOS microprocessor from At-mel. Its 8K system programmable FLASH memory makes its download circuit simple and can realize online programming in serial and parallel mode.There are 3 16-bit timer/counters inside the AT89S52 chip, 1 full-duplex serial port, 4 I/O ports, and 256bytes RAM, which is convenient for program debugging.4.2 Digital temperature sensor DS18B20The DS18B20 temperature sensor is a one-line smart digital temperature sensor produced by DALLAS Semiconductor. In addition, DS18B20 is also the world's first temperature sensor supporting a "single-wire bus" interface. It has the characteristics of long transmission distance, small size, and simple interface.The DS18B20 is mainly composed of the following components:Temperature sensor, configuration register;64-bit ROM;High and low alarm triggers TH and TL.Among them, lithography ROM is the key to realizing multi-point temperature measurement.After the temperature measurement is converted, it is output in the form of 16-bit sign-extended two's complement and stored in the DS18B202 8-bit RAMs.V System hardware designThe hardware circuit of the system is mainly composed of the following 5 modules:Temperature measurement module, power supply module, display module, alarm module and button module. The overall circuit schematic diagram is shown as in Fig. 2.AT89S52 single-chip microcomputer is connected to a 11.0592MHz crystal oscillator circuit to provide an external clock, and the reset terminal RESET is connected to the watchdog circuit to form a minimal single-chip system.The system can achieve the following functions:DS18B20 collects temperature, and the microcontroller is responsible for the communication and control of the sensor;The display module displays the processed temperature value in real time;The alarm module monitors the temperature range. When the temperature exceeds the upper and lower limits, LED diodes and buzzers are used to generate alarm signals to remind users to take measures;The button module sets the alarm value as required to improve the practicality.5.1 Power moduleThe circuit uses +5V working voltage to supply power for the single-chip, acquisition, and alarm circuits. In addition, an independent power module needs to be added during hardware production.5.2 Temperature acquisition moduleDS18B20 utilizes the characteristic of a single bus line, connects the temperature output end DQ and P0.3 mouth through a 4.7kΩ pull-up resistor. The single-chip microcomputer initializes the sensor and completes the temperature collection through the wire. The GND of the sensor is grounded, and VDD can be powered by a data line or an external power supply. In order to improve the anti-interference ability, this design uses an external power supply mode.Figure 2. Hardware circuit structure5.3 Display moduleIn order to save the hardware interface, a dynamic scanning display scheme is adopted. Dynamic scanning is a cyclic shift method that uses the persistence of the human eye to achieve the effect of continuous display.This design uses a 6-digit 8-segment common cathode digital tube with a decimal point to display the temperature value. Among them, the first digit is the positive and negative sign digit, the second, third, fourth, and fifth digits respectively display the hundreds, tens, ones and decimal places of the temperature, and the last digit displays the temperature unit ℃.The P2 port of the single-chip microcomputer (P2.0 ~ P2.7 total 8 bits corresponding to 8 fields) is connected with the segment selection common signal line of the nixie tube through the driver chip 74LS245. P3. 0~P3.5 of P3 port are connected with the bit selection signal line of the digital tube to realize bit selection control.5.4 Alarm moduleIn order to increase the safety factor, the alarm circuit adopts an alarm method with sound and light double guarantee. This includes a buzzer and 2 LEDs of different colors.The collected temperature is constantly compared with the set temperature threshold:When the temperature is higher than the upper limit threshold, the buzzer of port P3.7 sends out a high-frequency alarm signal, and the red LED light of port P0.6 is lit at the same time to give high temperature alarm.When the temperature is lower than the lower limit threshold, the buzzer sends out a low-frequency alarm signal, and at the same time lights up the blue LED light of port P0.7 to give a low-temperature alarm.5.5 Button moduleWe can realize human-computer interaction through buttons, adjust the temperature threshold, and make the system suitable for more occasions. This module is composed of two parts, one part is the control button (K1~K4), the other part is the indicator light, which occupies the port P1.0~P1.5 of the single-chip microcomputer. For details, we can see Figure 3 below.When K1 is pressed, the red light is on, indicating that the upper limit setting state is entered, and the temperature is adjusted through the buttons K2 (+) and K3 (-). At the same time, the display module displays the temperature value setting synchronously. After the adjustment is completed, press K1 again to exit.The lower limit temperature value adjustment (K4) process is consistent with the upper limit.VI System software designThe DS18B20 hardware circuit is simple, and relatively complicated software design must be used to provide reasonable logic timing to ensure reliable and accurate work. DS18B20 mainly includes 3 kinds of operations: initialization, bus read, and bus write. These three operations must strictly follow the timing requirements. In the following, we will conduct an in-depth analysis of these three aspects.6.1 InstructionsAccording to the communication protocol of DS18B20, the sensor must use the ROM instruction and memory RAM instruction provided by it to operate. And these two kinds of instructions appear in the program in the hexadecimal form of 8bit word length. Commonly used codes and specific meanings are shown in Table 1 and Table 2.Each temperature conversion generally goes through three steps: reset operation, send ROM command, send RAM command, and then read the temperature.6.2 Initialization sequenceInitialization is one of the basic operations at the bottom of the DS18B20, which is equivalent to establishing a communication bridge between the microcontroller and the sensor to prepare for the subsequent operations. The initialization pulse includes the reset pulse sent by the CPU and the response pulse sent by the sensor. The initialization pulse sequence is shown in Figure 3.Figure 3. DS18B20 initialization sequenceThe host first sends out a reset pulse (low-level signal) of 480-960μs and then releases the bus to enter the receiving mode (RX). When DS18B20 detects the rising edge when the bus is released, it waits for 15-60μs, and then sends out a low-level response pulse with a delay of 60-240μs. At this time, the DQ of the sensor is set to 1, and the host is also set to 1, and the initialization process is completed. At this time, the sensor is in a state where it can be read and written6.3 Bus write timingWriting data to DS18B20 is the basic operation of sending instructions and data. The right shift operation is used to realize bit-by-bit writing with low bit in front and high bit in back. It mainly includes two timings: writing "0" and writing "1".The write sequence starts when the host pulls down the bus for more than 1μs, and sends the signal to be sent to the DQ within 15μs, waiting for the sensor to sample it, and the sensor completes the data collection within 45μs.During data collection, if the bus is high, write logic "1"; otherwise, write logic "0".It can be seen from the write sequence in Figure 4 that one write cycle requires at least 60 μs, and there must be an interval greater than 1 μs between two write cycles.Figure 4. Write time sequence of DS18B206.4 Bus write timingWriting data to DS18B20 is the basic operation of sending instructions and data. The right shift operation is used to realize bit-by-bit writing with low bit in front and high bit in back. It mainly includes two timings: writing "0" and writing "1".The write sequence starts when the host pulls down the bus for more than 1μs, and sends the signal to be sent to the DQ within 15μs, waiting for the sensor to sample it, and the sensor completes the data collection within 45μs. During data collection, if the bus is high, write logic "1"; otherwise, write logic "0".It can be seen from the write sequence in Figure 4 that one write cycle requires at least 60 μs, and there must be an interval greater than 1 μs between two write cycles.Figure 5. Read time sequence of DS18B206.5 Temperature acquisition programTake the temperature acquisition program as an example to briefly explain the source code:  Void Convert_18B20(Void)  {RST_18B20();  WR_18B20(0xcc);  WR_18B20(0x44);}  Int Read_18B20(Void)  {RST_18B20();  WR_18B20(0xcc);  WR_18B20(0xbe);  Temp_8[0]= RD_18B20;  Temp_8[1]= RD_18B20;  return(Temp_8);}VII Experimental testThe test temperature value is shown in Table 3.The system error is less than 0.5, and the test results show that the system has high accuracy and strong practicability.VIII ConclusionThis article designs a temperature acquisition alarm system based on AT89S52 single-chip microcomputer and DS18B20 digital temperature sensor, and details the software and hardware design. The design has the advantages of simple structure, high precision and good stability, and is suitable for the following fields: granary, electric machine room, bearing, air conditioner, refrigerator, industry and agriculture, etc.The DS18B20 single bus and multi-point temperature measurement feature strengthens its scalability and has a broad market prospect.FAQWhat is DS18B20 temperature sensor?The DS18B20 is a 1-wire programmable temperature sensor from maxim integrated. It is widely used to measure temperature in hard environments like in chemical solutions, mines or soil etc. The constriction of the sensor is rugged and also can be purchased with a waterproof option making the mounting process easy.How does the DS18B20 work?It works on the principle of direct conversion of temperature into a digital value. Is DS18B20 a thermistor?A thermistor is a thermal resistor - a resistor that changes its resistance with temperature. ... Thermistors have some benefits over other kinds of temperature sensors such as analog output chips (LM35/TMP36 ) or digital temperature sensor chips (DS18B20) or thermocouples.How accurate is DS18B20?The DS18B20 reads with an accuracy of ±0.5°C from -10°C to +85°C and ±2°C accuracy from -55°C to +125°C.What is ds1820?The DS18B20 is one type of temperature sensor and it supplies 9-bit to 12-bit readings of temperature. ... The communication of this sensor can be done through a one-wire bus protocol which uses one data line to communicate with an inner microprocessor.How do I connect my DS18B20 to my Raspberry Pi?Once you've connected the DS18B20, power up your Pi and log in, then follow these steps to enable the One-Wire interface:1.At the command prompt, enter sudo nano /boot/config.txt , then add this to the bottom of the file:2.dtoverlay=w1-gpio.3.Exit Nano, and reboot the Pi with sudo reboot.What is the working principle of DS18B20?The DS18B20 Digital Thermometer provides 9 to 12-bit (configurable) temperature readings which indicate the temperature of the device. It communicates over a 1-Wire bus that by definition requires only one data line (and ground) for communication with a central microprocessor. In addition it can derive power directly from the data line (“parasite power”), eliminating the need for an external power supply.The core functionality of the DS18B20 is its direct-to-digital temperature sensor. The resolution of the temperature sensor is user-configurable to 9, 10, 11, or 12 bits, corresponding to increments of 0.5°C, 0.25°C, 0.125°C, and 0.0625°C, respectively. The default resolution at power-up is 12-bit.Where to use DS18B20 Sensor?The DS18B20 is a 1-wire programmable Temperature sensor from maxim integrated. It is widely used to measure temperature in hard environments like in chemical solutions, mines or soil etc. The constriction of the sensor is rugged and also can be purchased with a waterproof option making the mounting process easy. It can measure a wide range of temperature from -55°C to +125° with a decent accuracy of ±5°C. Each sensor has a unique address and requires only one pin of the MCU to transfer data so it a very good choice for measuring temperature at multiple points without compromising much of your digital pins on the microcontroller.How connect DS18B20 to Arduino?First plug the sensor on the breadboard the connect its pins to the Arduino using the jumpers in the following order: pin 1 to GND; pin 2 to any digital pin (pin 2 in our case); pin 3 to +5V or +3.3V, at the end put the pull-up resistor.On an ATMega328P, why is a DS18B20 temperature sensor returning incorrect temperature values?Several possibilities:1. If it is just reading a little high, it might be caused by “self heating”. Add a heat sink and/or make measurements less frequently.2. Especially if the values are really whacky, it might be code with errors or mis-wiring. Use a published sketch to check operation.3. The DS18B20 might be defective. Try another.4. It’s accurate to 0.5ºC. Are you expecting it to be more accurate (like down to the LSB of the read value)?
kynix On 2022-03-22   3077
Integrated Circuits (ICs)

74HC164 Based Display Drive Circuit Design

I. DescriptionNowadays, LCD,  VFD,  LED  and other display devices have brought infinite charm to intelligent household appliances. At present, major chip manufacturers have introduced various dedicated display driver chips,  they have become the mainstream of display drive technology. However, the display requirements of white goods are relatively low. Based on cost considerations, this article introduces a 74HC164-based display drive circuit design scheme, which not only achieves the same display effect, reduces costs, but also improves system reliability.74HC164CatalogI. DescriptionII.74HC164 Advantage AnalysisIII.74HC164 Chip IntroductionIV.74HC164 Display Drive CircuitV. 74HC164 Display Circuit DriverVI. Procedure DescriptionFAQOrdering & Quantity II.74HC164 Advantage Analysis Under normal circumstances, the display circuit of smart home appliances is controlled by a single-chip microcomputer, such as the displayed content and the display mode. The single-chip microcomputer plays an important role in the control circuit of smart home appliances. Its selection not only determines the realization of the control circuit but also has a great influence on the cost of the controller. We use the serial input and parallel output functions of the 74HC164 chip to carry out serial communication with the microcontroller, and the parallel output port directly drives the display device. This solution can expand the I/O port of the single-chip microcomputer and reduce the resource requirements of the single-chip microcomputer. Moreover, the chip installation method is very flexible, which can reduce the number of connecting wires of the display panel, improve the reliability of the system, and has a greater cost advantage. , It is widely used in buttons and display drive circuits.   III.74HC164 Chip Introduction 74HC164 is a high-speed silicon gate CMOS device, which is pin compatible with low-power Schottky TTL (LSTTL) devices. 74HC164 is an 8-bit edge-triggered shift register, serial input data, and then parallel output. Data is serially input through one of the two input terminals (DSA or DSB); either input terminal can be used as a high-level enable terminal to control the data input of the other input terminal. Either connect the two input terminals together, or connect the unused input terminals to a high level, so they must not be left floating. The pin distribution of 74HC164 is shown as in Fig. 1. Compatible with TTL level, the highest operating clock frequency is 20MHz, the fan-out factor is 10, the power dissipation is 500mW, and the output current Io (each end) is 25mA, which can directly drive LED display devices.Figure 1 74hc164 pinoutAccording to the logic function of the chip, the waveform diagram of the input and output signals can be obtained, as shown in Figure 2. The output signals Q0~Q7 are delayed by one clock cycle respectively, and can form 8 scan signals.Figure 2 74HC164 signal waveform IV.74HC164 Display Drive Circuit The circuit shown in Figure 3 is a hybrid display circuit composed of touch switches, nixie tubes and LEDs. Among them, 16 buttons, 2 nixie tubes, and 8 LEDs are a typical 538 scanning circuit. The 8 pins of the 74HC164 chip Q0~Q7 output column scan signals, and the microcontroller directly provides 5 rows of scan signals. The single-chip microcomputer provides clock input and data input signals for 74HC164 to control the display content. The circuit requires 8 pins of the single-chip microcomputer in total, which saves 6 pin resources compared with the conventional scanning circuit and has certain cost advantages. Diode D2-D23 plays an isolation role to prevent the mutual interference of 74HC164 chip pin potential. For example: when a channel is selected, the 74HC164 output pins Q0~Q6 are high level, and Q7 is low level. At this time, if SW1 and SW2 are pressed at the same time, pin Q7 and pin Q6 are in a short-circuit state, which will damage the chip. Clock input pins and data input pins need to be connected to ceramic capacitors to resist high-frequency interference, but the capacitance should not be too large to avoid excessive distortion of the input waveform and make the circuit unable to work normally. It is recommended to use 100-1000pF.Figure 3 shows a practical example of the circuit V. 74HC164 Display Circuit Driver Take the 78K0S series 8-bit MCU UPD78F9116 from NEC Corporation of Japan as an example, the driver needs to detect 16, the number of keys to be detected, the display drive 2 8-segment digital tubes, and the number of LEDs 16 (8 expanded on the basis of the reference circuit). The single-chip microcomputer directly provides 6 line scan signals, and at the same time provides clock input and data input signals for 74HC164 to control the display content. The IO port is defined as follows:Each subroutine scans 2 groups of 31 keys, and scans all keys within 8 times. Display scan channel number 0~3, display time of each channel (1 digital tube or 1 group of LED) occupies 1/4, and the refresh cycle depends on the frequency of subroutine execution. The program must be executed cyclically. It can be called as a regular subroutine or directly embedded in the main program file. It is more appropriate to execute it every 1~3mS. The confirmation time for a button to be lifted or pressed (24mS~32mS)--(72ms~96mS), the response speed can meet people's operating habits, the display refresh frequency is set to 250Hz--83Hz, if it is lower than 40~50Hz Flashing. The program flow chart is shown in Figure 4.Figure 4 Program flow chart VI. Procedure Description (1) External name and global variable declarationFAQHow does the 74HC164 transmit data in the microcontroller circuit?One pin of the single-chip microcomputer is like a faucet, and the data is sent one by one, that is, like the water from the faucet, dripping drop by drop. The 74H164 is like a small bowl receiving water. It is just full after receiving 8 drops of water. At this time, it is sent to the digital tube.The single-chip microcomputer must send an 8-bit (or more) data, if it is sent at the same time, it is a parallel transmission, if it is a bit by bit, it is a serial transmission. The data of the single-chip microcomputer is sent to the 74HC164 bit by bit, which is serial, and the 74HC164 sends the data to the digital tube at once, which is parallel. So 74HC164 plays a role from serial transmissionto paralleltransmission.What is the difference between 74HC164D and 74HC164N MCU?The D in 74HC164D represents a chip package. The N in 74HC164N means dual in-line plastic packaging.What is the difference between 74HC164 and 74LS164, can they be used together?74ls164 is a TTL circuit, the power supply voltage is 5V, the high-level output current Ioh is -0.4MA, and the low-level output current is 8MA.74HC164 is a CMOS circuit, the power supply voltage is 2V ~ 6V, the output drive current can reach plus or minus 20MA. If the power supply voltage you use is 5V and the output drive current is suitable for 74ls164, they can be used together.What devices can 74hc164 be replaced with?74HC164 is a CMOS device with a power supply voltage of 2V-6V. It can be directly replaced by 74HCT164, 40H164. If the power supply voltage is 5V and the output drive current is small, it can also be replaced by 74164, 74LS164, 74F164, 74ALS164.Which of 74LS164 and 74HC164 has higher driving capability?74LS164 is a TTL device with a high-level driving capability of about 0.4mA and a low-level driving capability of about 8mA. 74HC164 is a CMOS device, with high-level and low-level drive capability up to 20mA. The above data comes from DATASHEET. But generally speaking, the high-level output capability of many CMOS devices is weak, smaller than TTL, and the low-level drive capability is stronger.Can 74hc164n be used to drive the digital tube?Of course, you can use the 164 chip to drive the nixie tube, which is mostly used in situations where the IO port resources are tight and the display data refresh of the nixie tube is slow. When designing the circuit, multiple 164 chips are used in cascade, no matter how many digital tubes are driven, only 2 IO ports of the single-chip microcomputer are occupied. It can be said that it is the most IO port-saving driving method, and it is still driven statically, without strobe and brightness Low phenomenon.The disadvantage is that multiple 164s are used in cascade connection, which will cause the single-chip microcomputer to send a large amount of display data (1 byte per nixie tube) at one time when refreshing the display data. During this process, the nixie tube will be all on, although the data is sent The process duration is very short, but it still affects the display effect. It is recommended to turn off the digital tube when refreshing the data.
kynix On 2022-03-22   3999

Kynix

Kynix was founded in 2008, specializing in the electronic components distribution business. We adhere to honesty and ethics as our business philosophy and have gradually established an excellent reputation and credibility in our international business. With the accurate quotation, excellent credit, reasonable price, reliable quality, fast delivery, and authentic service, we have won the praise of the majority of customers.

Follow us

Join our mailing list!

Be the first to know about new products, special offers, and more.

Kynix

  • How to purchase

  • Order
  • Search & Inquiry
  • Shipping & Tracking
  • Payment Methods
  • Follow Us

authentication

Kynix

© 2008-2026 kynix.com all rights reserve.