The Kynix Components
Stay Ahead with Expert Electronics Insights,
Industry Trends, and Innovative Tips
DescriptionThe weather in the past two days has suddenly cooled down, and I forgot to install a switch on the bedside, and I don’t want to get out of bed to turn off the light because of the cold. At this time, it would be nice to have an intelligent control switch.This blog introduces a smart switch controller based on ATMEGA328P-PU. The controller, without changing the existing switches and circuits, can automatically turn off the lights after a power failure. At the same time, the wireless control light switch function can also be realized through the Bluetooth module, and the light can be turned on and off while lying down, and there is no need to get out of bed. ATMEGA328P-PUCatalogDescriptionI IntroductionII ATmega328P-PU Based System PricipleIII ATmega328P-PU Based System Hardware Design3.1 Central control module3.2 Light detection circuit3.3 Bluetooth moduleIV ATmega328P-PU Based Structure DesignV ATmega328P-PU Based System Software DesignVI ConclusionComponent DatasheetFAQOrdering & QuantityI IntroductionThe smart switch light controller based on ATmega328P-PU introduced in this blog consists of the following modules:Light Detection Module: Perceive the change of indoor light intensity;Bluetooth Module: control and realize automatic light switch;Steering Gear and Mechanical Linkage Mechanism: It can also automatically turn off the lights.The controller uses the organic combination of mechatronics, which is reliable and easy to control.II ATmega328P-PU Based System PricipleThe intelligent switch light controller system is mainly composed of light detection module, Bluetooth module, steering gear, and Arduino control system. The system control process is as follows:The light detection module perceives the environment from bright to dark;The light detection module sends the sensed information to the Arduino;Arduino turns off the lighting equipment by controlling the steering gear according to this information;Or, to complete the operation of turning off the lights, you can also directly control it through the mobile phone APP Bluetooth.The system principle diagram of the intelligent switch light controller is shown in Figure 1. Figure 1. System schematic diagramIII ATmega328P-PU Based System Hardware Design3.1 Central control moduleThe most widely used microcontrollers for the central control module are AVR and 51 microcontrollers. From the perspective of function and upgrade potential, the AVR 8-bit microcontroller ATMEGA328P-PU was selected as the central control module.So, what are the advantages of the ATMEGA328P-PU control module? Why choose it?ATMEGA328P-PU, as a central control module, has flexible I/O port resources and powerful functions. It not only has low power consumption but is reliable, and can meet the needs of subsequent equipment updates.Figure 2 shows the minimum system diagram of ATMEGA328P. Figure 2. ATMEGA328P minimum system3.2 Light detection circuitHere, the light detection circuit is a four-wire system. The AO port is an analog signal output port, which converts the external light intensity into a continuous output voltage value.When the brightness of the light changes, how does the DO port act as a digital signal output port?When the ambient light brightness does not reach the set threshold, the DO terminal outputs a high level;When the brightness of the ambient light exceeds the set threshold, the DO terminal outputs a low level.Because the signal output by the circuit is stable and reliable, the controller selects the digital signal output by the DO port as the input signal of the control module. In this way, the sensitivity and reliability of the system can be improved.Illumination detection circuit diagram is shown in Figure 3. Figure 3. Illumination detection circuit diagram3.3 Bluetooth moduleThis blog uses the HC-05 master-slave integrated Bluetooth module. Its circuit diagram is shown as in Fig. 4.Figure 4. Bluetooth detection circuitThe module adopts CSR mainstream Bluetooth chip, Bluetooth V2.0 protocol standard, and can work with 3.3V low voltage. It is cheap, small in size, stable in signal, low in power, and can be used in conjunction with mobile APP to realize wireless control of the system.In this design, Bluetooth only acts as a slave, receiving instructions from the mobile phone.IV ATmega328P-PU Based Structure DesignTake the dormitory as an example to design the controller for the switch (as shown in Figure 5). Figure 5. Power switchAfter measurement, when the switch is in the equilibrium position, that is, between the closed and open positions, if the light-off position is pressed more than 2mm, the button will turn off the power. When the light-on position is pressed down more than 2mm, the button will turn on the power.We can design a link mechanism connected with the steering gear to make:When the steering gear rotates to 180°, the connecting rod position is the highest;When the steering gear rotates to 0°, the connecting rod position is lowest.Then, set the initial position of the steering gear to 90°, so that the button is at the value of the balance position.At this time, coincide the middle position of the "T"-shaped fixing bracket with the middle position of the button. In addition, in order to facilitate the realization of functions, the central position can be set as a chute.Figure 6 shows the design and installation.Figure 7 shows that the controller is designed as a rectangular box.Figure 8 shows the layout of each module.Figure 9 shows the physical object and installation diagram of the smart switch controller. Figure 6. Design and installation drawing of connecting rod part Figure 7. Overall view of the controller Figure 8. Schematic diagram of each module installation Figure 9. Physical image of smart switch controller V ATmega328P-PU Based System Software DesignThe software part completes the processing of the signals received by the light detection module and the Bluetooth module and then controls the mechanical structure to switch the lights.Figure 10 shows the system software flow chart.The light detection module (the schematic diagram of the light detection module is shown in Figure 11) is used to detect changes in the brightness and darkness of the surrounding environment.When the surrounding environment is always in a light state, the light detection circuit will continuously send a low-level signal "0" to the central control module;When the surrounding environment has been in a dark state, the light detection circuit will continuously send a high-level signal "1" to the central control module.When the surrounding environment changes from no light to light (judging the daybreak), in this case, the system does not act.When the surrounding environment changes from light to no light (judged as a moment of power failure), the light detection circuit will start to send a high-level signal "1" to the central control module.At the moment of transition, the central control module will control the system to execute a work cycle. After turning off the light, the system will automatically reset and wait for the next change from light to no light.Because the port memory of the central control module is limited, the light detection circuit continuously transmits data to the port. This will cause the central control module to restart in a short time due to exhaustion of memory, making the system unstable and unreliable.Therefore, a port clearing function is specially written when compiling the system to ensure that the expired data sent by the light detection circuit is cleared in time. Thereby improving the stability and reliability of the system. Figure 10. System software flow chart After talking about the light detection module, how does the Bluetooth module process the received signal to control the switch? We can use mobile phone APP and Bluetooth module to control the system to turn on and off the lights through wireless transmission.When the mobile phone sends the command character "A" to the central control module through the Bluetooth module, the system will execute a cycle of turning off the lights, and then automatically reset;In the same way, when the mobile phone sends the command character "B" to the central control module through the Bluetooth module, the system executes a light-on command for a working cycle, and then automatically resets. Figure 11. Schematic diagram of the light module VI ConclusionThe smart switch light controller discussed in this blog has significant advantages:* Do not change the circuit of the original push-type power switch. Therefore, it is not only safe, but also easy to disassemble and assemble;* Turn on and off the lights via Bluetooth wireless control. Therefore, it has strong operability;* After completing the switch lamp work cycle, realize automatic reset. In addition, while realizing automation, we can also move our fingers to easily switch lights on the bed;* ATmega328P-PU has great development potential. The reason for using it is to meet the needs of expanding functions in the future. such as:Cooperate with WIFI module: can realize ultra-remote control;Cooperate with timer: it can realize the function of turning on the lights at a time.In summary, the intelligent switch light controller based on ATmega328P-PU we introduced is simple and reasonable in structure, easy to install, safe, convenient and efficient to operate.With the smart switch light controller of ATmega328P-PU, when we lazily lie on the bed and play with the mobile phone, we use the mobile phone to control the light switch. At night, we are afraid that we forget to turn off the lights when we fall asleep, and we don’t need to get out of bed. It can also automatically turn off the lights when it gets dark.Component DatasheetATMEGA328P DatasheetFAQWhat is meant by ATMEGA328P?ATMEGA328P is high performance, low power controller from Microchip. ATMEGA328P is an 8-bit microcontroller based on AVR RISC architecture. It is the most popular of all AVR controllers as it is used in ARDUINO boards.What is the difference between ATMEGA328 and ATMEGA328P?ATMEGA328P and ATMEGA328 are the same every sense architecturally.ATMEGA328P just consumes lower power than ATMEGA328, which means that the 328P is manufactured in a finer process than the 328.Why ATMEGA328 is used in Arduino?The ATMEGA328/P is a low-power CMOS 8-bit microcontroller based on the AVR® enhanced RISC (reduced instruction set computer) architecture. In Order to maximize performance and parallelism, the AVR uses Harvard architecture – with separate memories and buses for program and data.How do you code ATMEGA328P?Is ATMEGA328P a microcontroller?The ATMEGA328 is a single-chip microcontroller created by Atmel in the megaAVR family (later Microchip Technology acquired Atmel in 2016). It has a modified Harvard architecture 8-bit RISC processor core.Can the ATMEGA328P microcontroller be used without the Arduino board?Yes. You can use ATMega328P without arduino board. ... You can use arduino board with the IC. Program the IC and then take it out and use it in your circuit. You will have to use 16MHZ Oscillator with capacitors.How do I program Atmega328P without bootloader?Programming AVR With Arduino As ISP Without Bootloader and External CrystalStep 1: Things You Need. ...Step 2: Upload ArduinoISP Code on Arduino Board. ...Step 3: Open Command Prompt (in Windows OS) ...Step 4: Required Downloads.. ...Step 5: Installation of WinAVR (only Help for Windows OS Is Covered for Now)
kynix On 2022-02-28
I. IntroductionFor large systems such as missile weapons and equipment, their performance is often affected by the external environment and their own operating conditions. Among them, the influence of temperature often plays a very important role. Therefore, temperature detection and control have always been the focus of many researchers. However, some temperature measurement and control devices have low accuracy and inaccurate temperature control, and some new instruments are expensive and difficult to promote. It should be particularly pointed out that the temperature measurement and control system developed in the past is usually an independent system, one thing for one use, it is difficult to be adopted by other systems, and there are problems such as maintenance difficulties and inconvenience. To this end, the author developed a high-precision temperature measurement and control device suitable for research and development under laboratory conditions based on the currently popular modular design principle. The device uses a new integrated temperature sensor AD590 as the temperature measurement element and provides two control units for experimental comparison. By measuring and controlling the temperature in the thermostat, satisfactory results have been obtained.CatalogI. IntroductionII.Working PrincipleIII. Integrated Temperature Sensor AD590IV. Temperature Measuring BridgeV. PID RegulatorVI. Program DesignVII. Experimental Analysis and ConclusionFAQOrdering & QuantityII. Working PrincipleFigure 1 is the electrical schematic diagram of the WCZ-98 temperature measurement and control device. Its working principle is: the temperature signal taken by the temperature measuring bridge with AD590 as a bridge arm is differentially amplified and buffered and then sent all the way to the digital display for digital temperature display, and the other is compared with the set value. The compared difference is controlled by switch K and can choose to send to a two-way adjustment controller. One route is composed of a comparison amplifier and a relay, which can be used as an adjustment controller to form an independent temperature measurement and control equipment without connecting to a computer; the other route is a PID regulator (composed of A/D, D/A, and Computer composition of PID adjustment software) and SCR composition. The signal from the regulating controller realizes temperature control through the temperature control actuator.Figure 1 Electrical schematic diagram of temperature measurement and control device III. Integrated Temperature Sensor AD590 AD590 is a dedicated integrated temperature sensor produced by an American AD company, which belongs to the current output type. Figure 2 shows the current-voltage characteristic curve of AD590 at three different temperatures. In a certain temperature range, it is equivalent to a high resistance current source, and its current temperature sensitivity is lμA/K. It is not susceptible to interference from contact resistance, lead resistance, voltage noise, etc. In addition, it also has the characteristics of small size, high-temperature measurement accuracy, good linearity, and strong interchangeability. It is very suitable for long-distance measurement and control. It is also suitable for the characteristics of modular and split structures required by this article. The main technical indicators are: Temperature measurement range:hCurrent output (calibration factor): lμA/K;Power supply voltage: DC 4-30V;Linearity: less than ±0.5℃ in the full scale range;Repeatability: ±0.1℃;Output impedance: about 10MQLong-term drift: ±0.1℃/monthFigure 2 I-V curve of AD590The current Ir flowing through the AD590 is a single-valued function of the absolute temperature of its environment, and the microampere of Ir is equal to the absolute temperature T, namely: Ir=T×10-6A=TμA (1) IV. Temperature Measuring BridgeFigure 3 is the schematic diagram of the temperature measurement bridge. The voltage formed on the current IiR2 and Rw2 flowing through the AD590 is: Ul=Ii×(R2+Rw2) (2)Figure 3 Schematic diagram of temperature measuring bridgeBy adjusting Rw2 to make (R2+Rw2) equal to 10K, substituting formula (1) into formula (2), we can get: U1=Ii×(R2+Rw2)=T×10-2V (3) U2=2.732V by adjusting Rwl. Then the output of the bridge is: UAB=U1﹣U2=T×10-2﹣2.732=(T﹣273.2)×10-2V (4) Because T is the absolute ambient temperature measured by AD590, after subtracting 273.2 from it, the Celsius temperature t can be obtained, namely: UAB=t×10-2V (5) At this point, the temperature measuring bridge converts the ambient temperature into a voltage value that is proportional to the temperature in Celsius. V. PID Regulator One of the adjustment controllers of the temperature measurement and control device uses a PID regulator (proportional integral derivative regulator), which can determine the size of the control quantity according to the proportional value, integral value, and derivative value of the difference between the temperature set value and the actual value. The temperature measurement and control device adopts the output feedback type control. Extracting this part from the general principle diagram, you can get the PID control principle diagram as shown in Figure 4. In the figure, Ud and U are the set value and actual value of the thermostat respectively, the error e=Ud﹣KT, K is the magnification of the measuring transducer, and Y is the adjustment value of the PID output.Figure 4 PID control principle diagramThe simulation expression of PID algorithm is:In the formula, Y(t): regulator output value;E(t): input deviation;KP: regulator proportional coefficient;Tl, TD: verse unit integral, derivative timeAfter discretizing equation (6), the PID incremental control equation is obtained:In the formula, the integral coefficient Kl=KPT/T1, the differential coefficient KD=KPTD/r, and T is the sampling period.then apply (7) to Z-transform, and get:In the experiment, the author used a step signal to roughly measure the response in the open-loop state. From the step response curve, it is known that the thermostat is a first-order inertia link plus a pure time delay link, namely:The lag time r of the system is determined to be approximately 20 seconds, and the target time constant TP is approximately 50 seconds. Select the control degree to be 1.5, according to the step response curve tuning parameter method (refer to literature [1]), obtain: T=0.34z=6.8sKr=0.85Tr, /r=2.125T1=1.62r=32.4sTD=0.65r=13s Substituting the above value for equation (9), we can obtain: Q0=6.41Q1=-5.96Q2=4.06 The equation of PID regulator is: VI. Program Design The PID control program flow of the WCZ-98 temperature measurement and control device is shown in Figure 5. The basic idea is the same as the general PID control flow. It’s no need to repeat here.Figure 5 PID control program flow chart VII. Experimental Analysis and Conclusion Put the temperature measurement and control device into a thermostat with an external dimension of 248×208×262 (mm). The thermostat uses 50mm thick polystyrene as the heat insulation material and water as the medium. The heating device is composed of 2 SRS3-220/0.5 heating tubes and auxiliary parts to prevent leakage. The temperature can be preset outside the thermostat and there is a switch to select the type of controller. Through experiments, comparing the control effects of the two adjustment control methods, we found that the temperature of the adjustment controller composed of a comparison amplifier and a relay is not stable during the temperature control process and always fluctuates within a certain error range. The temperature control performance of the regulating controller composed of PID regulator and thyristor is very good. Taking temperature control of 60°C as an example, the temperature change curve obtained by the experiment is shown in Figure 6.Figure 6 PID temperature control experiment result curveIt can be seen that the use of analog circuits for adjustment and control is beneficial to make the measurement and control device an independent instrument (no need to connect to a computer), and its temperature measurement and control accuracy can meet the general requirements; and through PID control, its precision of temperature measurement and control is very high. It is used in conjunction with the thermostat and the self-developed SYZJX-2 experimental adapter box. The analog input board PCL-818L and the analog output board PCL-726 are connected to the computer to achieve high-precision temperature control.FAQWhat is AD590?AD590 is a temperature sensor, the current output sensitivity is 1μA/℃, the standard output value is 298.2μA at 25℃, and the working voltage range is 4~30V.What are the characteristics of AD590 temperature sensor?Single function (only temperature measurement), small temperature measurement error, low price, fast response speed, long transmission distance, small size, micro power consumption, etc. It is suitable for remote temperature measurement and temperature control without non-linear calibration. The peripheral circuit is simple.How to detect the quality of AD590?AD590 has a current of 273 mA at 0°. Because 2113 is a Wen sensitive resistor 5261, it means that it is greatly affected by the surrounding temperature 4102. It is very difficult to measure without relying on 1653 other tools. Give you some suggestions.When the ambient temperature rises by one degree, the current of AD590 increases by 1uA. What you have to do is to work with AD590 simultaneously with the help of a high-precision temperature test instrument. After AD590 series 10K resistance, measure its voltage, that is to say, it should be 2.73V at 0°, and 2.98V at room temperature 25°.For higher accuracy, it is recommended that you use the electronic building block software Ardunio for measurement, and put the corresponding data into MATLAB for linear regression. The better the linearity, the more stable the measurement.AD590 is not a high-precision temperature testing device. If high-precision testing is required, other components are recommended.What is the difference between AD590 and PT100?AD590 is a current-type temperature sensor. It converts temperature changes into current conversion. The simplest processing is to pass a resistor (10K) after the output to convert the current into a voltage, and then through the detection voltage, the current at this time can be deduced. Use the relationship between current and temperature in the sensor data to calculate the current temperature.PT100 is a resistance type temperature sensor, which converts temperature changes into resistance changes. The simplest process is to place Pt100 in a bridge, use the voltage difference at the midpoint of the bridge arm, and use a differential amplifier circuit (instrument amplifier circuit) Amplify the voltage, use the amplifier gain and bridge structure data, and use the detected voltage to inversely calculate the current resistance value, and use the relationship between resistance and temperature in the PT100 data sheet to calculate the current temperature.Is AD590 a thermocouple or a thermal resistance?It is neither a thermocouple nor a thermal resistance. The main principle is to detect the temperature according to the temperature change, the output current change, and the current size.
kynix On 2022-02-28
I. 74HC164 Introduction74HC164 adopts DIP-14, SO-14, SSOP-14 and TSSOP -14 package pin configuration. It is complementary to MOS 8-bit serial input and parallel output unidirectional shift register, the logic symbol is shown in figure 1. The power supply voltage is 2~6V. In figure 1, A and B are the serial code input terminals; CLR is the clear input terminal; CLK is the clock pulse input terminal. With the arrival of the rising edge of the clock pulse, the state of phase A, phase B, and the subsequent phase shifts from QA to QH in turn.CatalogI. 74HC164 IntroductionII. 74HC164 Logic SymbolIII. Circuit DesignIV. How to Check and Repair the CircuitFAQOrdering & QuantityII. 74HC164 Logic SymbolFigure 1 74HC164 Logic SymbolIII. Circuit DesignFigure 2 is an instrument circuit composed of serial input and parallel output digital integrated circuits. T2-T5, C5, and resistance together form a turn signal flashing oscillation circuit. When the DR (connected to the turn switch) in J8 is disconnected, this circuit will not work and the turn signal will not flash; when DR is on, the oscillation circuit starts to work, the turn signal starts to flash.Figure 2 Meter circuit diagramDR is a three-position switch, one pole is connected to the left turn signal. One pole is connected to the right turn signal, one pole is suspended in the air, and the other end of the pole hits the ground. The switch-off circuit is composed of Tl, DLRll, and R12. A switch-type Hall element is installed in the front and rear brakes of the electric bicycle. When the switch is switched, the Hall element outputs a low potential, that is, the BRK terminal in the plug J2 is grounded, Tl is turned on, and there is a voltage of nearly 5V on the collector of Tl. This voltage is sent to the controller through the BRK terminal in J2, and the power supply circuit of the motor is turned off. The motor stops working and acts as a brake. On the contrary, when the brake is not pinched, the Hall element outputs a high potential, Tl is cut off, and the motor runs normally. Because 74HC164 is an 8-bit serial input and a parallel output shift register. it forms a movement mode and battery power display circuit with light-emitting diodes. 74HC164's output pin 13, pin 11, and D5-D7 form the side of the sports mode display circuit, and pins 6 and 10 and D8-D12 form the battery power display circuit. The display signal from the controller is sent to the serial input terminals 1 and 2 of the 74HC164 through the DATA terminal in the J2, and then shifted by the internal circuit, the driving signal is output from the relevant output terminal to light up the corresponding light-emitting diode, so as to complete the control of the display circuit.IV. How to Check and Repair the CircuitThis circuit is relatively simple and easy to repair. The main basis for repairing is to judge the quality of 74HC164. First, check whether the +5V voltage is normal, and then check whether the voltage at pin ③ of the 74HC164's clock signal input is close to +5V. If it is lower than +5V, and after disconnecting R73, the CLK terminal voltage of J2 is normal, and the 74HC164 is damaged. If the voltage of the CLK port is abnormal, the fault is in the controller. Next, measure whether the voltage of the serial input terminals ①and ② changes during the transition of the motion mode. If not, the fault is in the controller; if there is, the 74HC164 is damaged. From the actual repair situation, most of the 74HC164 failures are caused by damage to the internal circuit of the ⑩ pin (power supply terminal). In addition, when purchasing 74HC164. You can first measure the resistance of the ⑩ pin. The resistance value should be about 4kD in the positive test and infinite in the reverse test.FAQHow 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-02-28
1N4002 is a rectifier diode.The 1N4002 is a diode in a family of diodes called 1N400x. It is a series of general-purpose diodes. The diodes in this series are widely used for rectification purposes in electronic appliances, but also for other applications such as voltage blocking, voltage boosting, etc.This post will introduce you to the basic information about 1N4002 Diode Pinout, Features, Equivalents, etc.Diode Tutorial & How to build an AC to DC Power SupplyContent1N4002 Pinout1N4002 Features1N4002 Equivalent1N4002 Advantage1N4002 Application1N4002 PackageComponent DatasheetFAQ1N4002 PinoutIn total, 1N4002 rectifier diode has 2 pins. However, you need to know the functions of each pin before it can work better for you.1N4002 is the owner of a cathode (-) and an anode (+). In the schematic symbol, the tip of the triangle with the line at the top of the triangle is the cathode. The cathode is marked by a band on the body of a diode. It allows the current to flow through only one direction, which means that the current can flow from the anode to the cathode only, and never from the cathode to the anode – it likes a one-way valve.Pin No.Pin NameDescription1AnodeCurrent always Enters through Anode2CathodeCurrent always Exits through Cathode1N4002 FeaturesAverage Fwd Current: 1000mANon-repetitive Max Fwd Current: 30AMax Power Dissipation is: 3WPackage Type: Available in DO-41 & SMD PackagesDiode Type: Silicon Rectifier General Usage DiodeMax Repetitive Reverse Voltage is: 100 VoltsMax Storage & Operating temperature Should Be: -55 to +175 CentigradeNote: You can find complete technical details in the data sheet at the end of this page.1N4002 Equivalent1N5408, 1N4733A, 1N5822, 1N4148 , Zener Diodes .1N4002 Advantage1N4002 Rectifier Diode1N4002 is a single diode of the diode series called 1N400x, It's a series of general purpose diodes. Diodes in this series are widely used in electronic appliances for rectification purposes as well as for other purposes such as voltage blocking, voltage boosting, etc.In addition, this series of diodes is also very popular among electronic engineers, electronic students, electronic workers, and electronic hobbyists. The 1A fwd current, low cost, small package, 3 Watt power dissipation, and other specification makes it ideal for use in a wide range of electronic applications.1N4002 ApplicationPrevent the problem of reversing polarityDevice of protectionHalf wave rectifiers and full wave rectifiersCurrent flow controllersPower management:Processing of the signal1N4002 PackageThat’s all for our introduction to 1N4002 Rectifier Diode. If you find this blog useful, please bookmark our website Apogeeweb, we will provide you with electronic component blogs, industry news, tools, etc. that you are interested in. Stay tuned for our next blog…Component Datasheet1N4002 DatasheetFAQCan I use 1N4002 instead of 1N4001?The difference between a 1N4001 and 1N4002 and 1N4003 and 1N4004 and so on up to 1N4007 is just the voltage rating; they are all 1 Amp rectifiers, starting with the 1N4001 with a 50 V PIV rating, then 100 V for the 1N4002, 200V for the 1N4003 and so any of the types. Can I use 1N4007 instead of 1N4001?Yes. The 1N4007 can withstand a higher reverse voltage(Vr), 1000V vs. 50V. The 1N4007 may even be a better choice, esp. What type of diodes is the 1N4002?General purpose How many pins does 1N4002 rectifier diode have?2 pins
kynix On 2022-02-28
Product OverviewThe SJA1105 is an IEEE 802.3-compliant 5-port automotive Ethernet switch. Each of the five ports can be individually configured to operate in MII, RMII, and RGMII modes. This arrangement provides the flexibility to connect a mix of switches, microprocessors, and PHY devices such as the TJA1100 BroadR-Reach PHY from NXP Semiconductors and other commercially available Fast Ethernet and Gigabit Ethernet PHYs. This blog will introduce SJA1105 systematically from its features, pinout to its specifications, applications, also including SJA1105 datasheet and so much more. Video: How Does Ethernet Work? The Ethernet Switch Explained CatalogProduct OverviewSJA1105 FeaturesSJA1105 PinoutSJA1105 ApplicationsSJA1105 Block DiagramTypical SJA1105 Application CircuitSJA1105 SpecificationSJA1105 ManufacturerSJA1105 User Manual and DatasheetUsing WarningsSJA1105 FAQ SJA1105 Features5-port store and forward architectureEach port individually configurable for MII and RMII operation at 10 Mbit/s or100 Mbit/s and RGMII operation at 10 Mbit/s, 100 Mbit/s or 1000 Mbit/sInterface-dependent selectable I/O supply voltages; 1.2 V core voltageSmall footprint: LFBGA159 (12 mm ´ 12 mm) packageAutomotive Grade 2 ambient operating temperature: 40 C to +105 CAutomotive product qualification in accordance with AEC-Q100 Ethernet switching and AVB featuresIEEE 802.3 compliant128 kB frame buffer1024 entry MAC address learning tableAddress learning space can be configured for static and learned addresses2 kB frame length handlingIEEE 802.1Q defined tag support4096 VLANsEgress tagging/untagging on a per-VLAN basis per portQoS handling based on IEEE 802.1QPer-port priority remapping and 8 configurable egress queues per portIngress rate-limiting on a per-port and per-priority basis for Unicast/Multicast andBroadcast trafficFrame replication and retagging of trafficFrame mirroring for enhanced diagnosticsHardware support for IEEE 802.1AS and IEEE 802.1Qav for AVB traffic supportIngress and egress timestamping per portTen IEEE 802.1Qav credit-based shapers available; shapers can be freely allocated toany priority queue on a per port basisSupport for AVB SR Class A, Class B and Class C trafficIEEE 1588v2 one-step sync forwarding in hardwareIEEE 802.1X support for setting port reachability and disabling address learningBroadcast storm protectionStatistics for dropped frames and buffer load TT and TSN features (SJA1105TEL only)IEEE 802.1Qbv time-aware trafficIEEE 802.1Qci per-stream policing (pre-standard)Support for ring-based redundancy (for time-triggered traffic only)1024 deterministic Ethernet flows with per-flow based: -Time-triggered traffic transmission -Ingress policing and reception window check -Active and redundant routes -Statistics Interface featuresMII/RMII interfaces supporting all standard Ethernet PHY technologies such as (but not limited to) Fast Ethernet (IEEE 100BASE-TX), IEEE 100BASE-T1, and optical PHYsRGMII for interfacing with Gigabit Ethernet (1000BASE-T) PHYs (Gigabit Ethernet)MAC and PHY modes for interfacing (MII/RMII/RGMII) directly with another switch or host processorProgrammable drive strength for all interfacesSPI at up to 25 MHz for host processor access Other features25 MHz system clock input from crystal oscillator or AC-coupled single-ended clock25 MHz reference clock outputDevice reset input from host processorIEEE 1149.1 compliant JTAG interface for TAP controller access and boundary scan SJA1105 PinoutThe following figure is the diagram of SJA1105 pinout. SJA1105 Pinout SJA1105 Pin Configuration SJA1105 ApplicationsSJA1105 can be used in various automotive scenarios such as gateway applications, body domain controllers or for interconnecting multiple ECUs in a daisy chain. Audio Video Bridging (AVB) support (Ref. 3) fully leverages infotainment and advanced driver assistance systems. SJA1105 Block DiagramThe following figure shows the block diagram of SJA1105. SJA1105 Block Diagram1 SJA1105 Block Diagram2 Typical SJA1105 Application CircuitThe SJA1105 features a programmable traffic interface. Each of the five ports can be individually configured for 10 Mbit/s or 100 Mbit/s MII/RMII/RGMII, or for 1 Gbit/s RGMII operation. A typical use case is illustrated in following figure. SJA1105 Application Circuit SJA1105 SpecificationManufacturer:NXP SemiconductorsOperating Temperature-Max:105 °COperating Temperature-Min:-40 °CSupply Voltage-Nom:1.2 VTelecom IC Type:TELECOM CIRCUITTemperature Grade:INDUSTRIAL SJA1105 ManufacturerNXP Semiconductors N.V. enables secure connections for a smarter world, advancing solutions that make lives easier, better and safer. As the world leader in secure connectivity solutions for embedded applications, NXP is driving innovation in the automotive, industrial & IoT, mobile and communication infrastructure markets. SJA1105 User Manual and DatasheetYou can download this datasheet for SJA1105–Datasheet from the link given below:SJA1105 User Manual&Datasheet Using WarningsNote: Please check their parameters and pin configuration before replacing them in your circuit. SJA1105 FAQIs the sja1105 switch a Linux driver?The 5 ports of the SJA1105 switch do not have a Linux kernel driver. As such, the PHY chip (BCM5464R) attached to the 4 externally connected ports of the LS1021ATSN board (ETH2, ETH3, ETH4, ETH5) is not controlled by the Linux kernel either. What kind of ports does the NXP sja1105 switch support?The NXP SJA1105 is a family of 6 devices: These are SPI-managed automotive switches, with all ports being gigabit capable, and supporting MII/RMII/RGMII and optionally SGMII on one port. Being automotive parts, their configuration interface is geared towards set-and-forget use, with minimal dynamic interaction at runtime. How many retagging entries does sja1105 switch 1 use?SJA1105 switch 1 consumes 1 retagging entry for each VLAN on each user port towards the CPU. It also consumes 1 retagging entry for each non-pvid VLAN that it is also interested in, which is configured on any port of any neighbor switch. How does the sja1105 emulate a PHY interface?The SJA1105 emulates a PHY interface fully and generates the /J/ and /K/ symbols prior to frame preambles, which the real PHY is not expected to understand. So the PHY simply encodes the extra symbols received from the SJA1105-as-PHY onto the 100Base-Tx wire. What is an Ethernet switch used for?An Ethernet switch creates networks and uses multiple ports to communicate between devices in the LAN. Ethernet switches differ from routers, which connect networks and use only a single LAN and WAN port. A full wired and wireless corporate infrastructure provides wired connectivity and Wi-Fi for wireless connectivity.
kynix On 2022-02-28
LM337 is an adjustable negative voltage regulator IC. This blog describes LM337 pinout, circuit, equivalent, features, where and how to use this ic and other important details.CatalogLM337 DescriptionLM337 PinoutLM337 FeaturesLM337 ParameterLM337 EquivalentLM337 CircuitWhere & How to use LM337How to safely long run LM337 in a circuitLM337 ApplicationLM337 PackageComponent DatasheetLM337 DescriptionLM337 is an adjustable 3-terminal negative-voltage regulator capable of supplying in excess of –1.5A over an output voltage range of –1.2V to –37V. It requires only two external resistors to set the output voltage and one output capacitor for frequency compensation. As a negative voltage regulator IC, LM337 is complementary to LM317 positive voltage regulator. LM337 have many built in features like overheat shutdown, overcurrent shutdown, short circuit protection etc. which makes the IC damage proof in many situations. The IC will dissipate heat during operation because all the voltage difference will convert to heat and a suitable heat sink is must to use with the IC.LM337 PinoutLM337 voltage regulatorLM337 voltage regulator pinout Pin NumberPin NameDescription1AdjustThis pins adjusts the output voltage2Input Voltage (Vin)The input voltage which has to be regulated is given to this pin3Output Voltage (Vout)The regulated output voltage set by the adjust pin can be obtained from this pinLM337 FeaturesAdjustable 3-terminal Negative voltage regulatorOutput voltage can be set to range from -1.25V to -37VMaximum Output current is -1.5ADifferential Input and Output Voltage is 40V(max), recommended 15VMaximum output current when voltage difference is 15V is -2.2AOperating junction temperature is 125°CAvailable in To-220, SOT223, TO263 PackageLM337 ParameterManufacturer:Texas InstrumentsSeries:-Packaging:TubePart Status:ActiveOutput Configuration:NegativeOutput Type:AdjustableNumber of Regulators:1Voltage - Input (Max):-40VVoltage - Output (Min/Fixed):-1.2VVoltage - Output (Max):-37VVoltage Dropout (Max):-Current - Output:1.5APSRR:77dB (120Hz)Control Features:-Protection Features:Over Temperature Short CircuitOperating Temperature:0°C ~ 125°CMounting Type:Through HolePackage / Case:TO-220-3Supplier Device Package:TO-220-3Base Part Number:LM337LM337 EquivalentLT137, PB137, LM317 (Positive Variable Voltage regulator), L7915CVLM337 CircuitThe schematic below shows an adjustable negative-voltage regulator circuit based on the LM337 IC. The circuit's input voltage ranges from -3V to 40V DC, and the output voltage ranges from -1.25V to -37V.LM337 adjustable negative voltage regulator circuitWhere & How to use LM337Depending on the user's needs, the LM337 can be used as an adjustable or fixed regulator. The output can be adjusted using a resistor divider network connected to the IC's adjustment pin. In the resistor divider network, a variable resistor can also be used to easily adjust the output voltage to the desired level. This IC can also be used as a fixed output negative voltage regulator; simply replace the variable resistor with a fixed value resistor based on the output voltage. There are a lot of online calculators that can be used to calculate the resistor value of the desired output voltage. The ic can be used in a variety of power supply and battery charger applications. The input voltage must be 2V to 3V higher than the output voltage for this IC to produce a stable output voltage.How to safely long run LM337 in a circuitTo achieve long-term stable performance with the LM337, do not apply a load greater than 1.5A or a voltage higher than 37V. Input voltage should not exceed 40V. Use a suitable heat sink with the IC and operate it at temperatures above -40 degrees Celsius and below +125 degrees Celsius at all times. The storage temperature should be higher than -60 degrees Celsius and lower than +150 degrees Celsius.LM337 ApplicationUsed for Positive voltage regulationsVariable power supplyCurrent limiting circuitsReverse polarity circuitsCommonly used in Desktop PC, DVD and other consumer productsUsed in motor control circuitsLM337 PackageComponent DatasheetLM337 DatasheetFAQWhat is LM337?The LM337 is a negative adjustable voltage regulator which can output a range of voltages from -1.5V to -38V based on the resistors R1 and R2. The resistor R2 then is the chief resistor which allows for the swings in different voltage outputs.What is the range of the voltage level of the LM337 adjusted voltage regulator?The LM337 series are adjustable 3-terminal negative voltage regulators capable of supplying in excess -1.5 A over a -1.2 to -37 V output voltage range.What is IC 337?The LM237 and LM337 are adjustable 3-terminal negative-voltage regulators capable of supplying in excess of –1.5 A over an output voltage range of –1.2 V to –37 V. They require only two external resistors to set the output voltage and one output capacitor for frequency compensation.What is LM337 used for?The LM337 serves a wide variety of applications including local, on card regulation. This device can also be used to make a programmable output regulator, or by connecting a fixed resistor between the adjustment and output, the LM337 can be used as a precision current regulator.What are specifications of LM317 and LM337?The LM237 and LM337 are adjustable 3-terminal negative-voltage regulators capable of supplying in excess of –1.5 A over an output voltage range of –1.2 V to –37 V. They require only two external resistors to set the output voltage and one output capacitor for frequency compensation.
kynix On 2022-02-28
Join our mailing list!
Be the first to know about new products, special offers, and more.
Feature Posts
ENC624J600-I/PT microcontroller: Datasheet, Features, Application[FAQ]2023-03-07
ATMEGA1280-16AU microcontroller: Datasheet, Features, Application[FAQ]2023-03-07
STM8S207CBT6 Microcontroller: Datasheet, Features, Application[FAQ]2023-03-06
2N7002P Mosfet: Datasheet, Pinout, Features [FAQ]2021-10-21
L298N Motor Driver: Datasheet, Arduino, Circuit [Video&FAQ]2021-10-21














