Tkool Electronics

DescriptionDS18B20isatemperaturesensorofMaxim.Thesingle-chipmicrocomputercancommunicatewithDS18B20through1-Wireprotocolandfinallyreadthetemperature.Thehardwareinterfaceofthe1-Wirebusisverysimple,justconnectthedatapinofDS18B20toanIOportofthemicrocontroller.ThisVideoIntroducesDS18B20withDatasheetCatalogDescriptionDocumentandMediaDS18B20PinoutParametersAdvantageFeaturesApplicationsDS18B20CircuitSchematicDS18B20TemperatureSensorDataDS18B20BlockDiagramHowtousetheDS18B20SensorWheretouseDS18B20SensorProductManufacturerFAQOrdering&QuantityDocumentandMediaComponentDatasheetDS18B20DatasheetDS18B20PinoutPinNameFunctionSOSOPTO-921,2,6,7,82,3,5,6,7-N.C.NoConnection383VDDOptionalVDD.VDDmustbegroundedforoperationinparasitepowermode.412DQDataInput/Output.Open-drain1-Wireinterfacepin.Alsoprovidespowertothedevicewhenusedinparasitepowermode(seethePoweringtheDS18B20section.)541GNDGroundParametersAccuracy(C)0.5ChannelsOneInterface1-WireMultiDroppableYesOper.Temp.(C)-55to+125Package/PinsSOIC(N)/8,TO92/3,UMAX/8ParasitePwr.YesPartNumberDS18B20SensorTypeLocalTemp.Resolution(bits)9,10,11,12Temp.Thresh.Programmable(NV)AdvantageTheDS18B20digitalthermometerprovides9-bitto12-bitCelsiustemperaturemeasurementsandhasanalarmfunctionwithnonvolatileuser-programmableupperandlowertriggerpoints.TheDS18B20communicatesovera1-Wirebusthatbydefinitionrequiresonlyonedataline(andground)forcommunicationwithacentralmicroprocessor.Inaddition,theDS18B20canderivepowerdirectlyfromthedataline(parasitepower),eliminatingtheneedforanexternalpowersupply.EachDS18B20hasaunique64-bitserialcode,whichallowsmultipleDS18B20stofunctiononthesame1-Wirebus.Thus,itissimpletouseonemicroprocessortocontrolmanyDS18B20sdistributedoveralargearea.ApplicationsthatcanbenefitfromthisfeatureincludeHVACenvironmentalcontrols,temperaturemonitoringsystemsinsidebuildings,equipment,ormachinery,andprocessmonitoringandcontrolsystems.FeaturesUnique1-WireInterfaceRequiresOnlyOnePortPinforCommunicationReduceComponentCountwithIntegratedTemperatureSensorandEEPROMMeasuresTemperaturesfrom-55Cto+125C(-67Fto+257F)0.5CAccuracyfrom-10Cto+85CProgrammableResolutionfrom9Bitsto12BitsNoExternalComponentsRequiredParasiticPowerModeRequiresOnly2PinsforOperation(DQandGND)SimplifiesDistributedTemperature-SensingApplicationswithMultidropCapabilityEachDeviceHasaUnique64-BitSerialCodeStoredinOn-BoardROMFlexibleUser-DefinableNonvolatile(NV)AlarmSettingswithAlarmSearchCommandIdentifiesDeviceswithTemperaturesOutsideProgrammedLimitsAvailablein8-PinSO(150mils),8-PinSOP,and3-PinTO-92PackagesApplicationsConsumerProductsIndustrialSystemsThermallySensitiveSystemsThermometersThermostaticControlsDS18B20CircuitSchematicDS18B20TemperatureSensorDataDS18B20canachievethehighest12-bittemperaturestoragevaluethroughprogramming.Thetemperaturestoragevalueisstoredintheregisterinacomplementformat.Thereare2bytesintotal,LSBisthelowbyteandMSBisthehighbyte.Amongthem,MSbisthehighbitofthebyte,andLSbisthelowbitofthebyte.Forbinarynumbers,themeaningofthetemperaturerepresentedbyeachofthemisexpressed.Amongthem,Srepresentsthesignbit,andthelower11bitsareallpowersof2,whichareusedtorepresentthefinaltemperature.ThetemperaturemeasurementrangeofDS18B20isfrom-55degreesto+125degrees.Themanifestationoftemperaturedatahaspositiveandnegativetemperatures.Eachnumberintheregisterisdistributedlikethescaleofacaliper.Thelowestbitofthebinarynumberchanges1,whichrepresentsthemappingrelationshipofatemperaturechangeof0.0625degrees.Whenthetemperatureis0℃,thecorrespondinghexadecimalnumberis0x0000.Whenthetemperatureis125℃,thecorrespondinghexadecimalnumberis0x07D0.Whenthetemperatureisminus55℃,thecorrespondinghexadecimalnumberis0xFC90.Conversely,whenthenumberis0x0001,thetemperatureis0.0625℃.DS18B20BlockDiagramHowtousetheDS18B20SensorThesensorworkswiththemethodof1-Wirecommunication.Itrequiresonlythedatapinconnectedtothemicrocontrollerwithapullupresistorandtheothertwopinsareusedforpowerasshownbelow.Thepull-upresistorisusedtokeepthelineinhighstatewhenthebusisnotinuse.Thetemperaturevaluemeasuredbythesensorwillbestoredina2-byteregisterinsidethesensor.Thisdatacanbereadbytheusingthe1-wiremethodbysendinginasequenceofdata.Therearetwotypesofcommandsthataretobesenttoreadthevalues,oneisaROMcommandandtheotherisfunctioncommand.TheaddressvalueofeachROMmemoryalongwiththesequenceisgiveninthedatasheetbelow.Youhavetoreadthroughittounderstandhowtocommunicatewiththesensor.IfyouareplanningtointerfaceitwithArduino,thenyouneednotworryaboutallthese.Youcandevelopthereadilyavailablelibraryandusethein-builtfunctionstoaccessthedata.WheretouseDS18B20SensorTheDS18B20isa1-wireprogrammableTemperaturesensorfrommaximintegrated.Itiswidelyusedtomeasuretemperatureinhardenvironmentslikeinchemicalsolutions,minesorsoiletc.Theconstrictionofthesensorisruggedandalsocanbepurchasedwithawaterproofoptionmakingthemountingprocesseasy.Itcanmeasureawiderangeoftemperaturefrom-55Cto+125withadecentaccuracyof5C.EachsensorhasauniqueaddressandrequiresonlyonepinoftheMCUtotransferdatasoitaverygoodchoiceformeasuringtemperatureatmultiplepointswithoutcompromisingmuchofyourdigitalpinsonthemicrocontroller.ProductManufacturerMaximIntegratedprovideseaseofdesign,andspeedstimetomarket,throughanalogintegration.ThecompanysanalogICsofferextrafeaturesandfunctionalitycarefullydesignedtostreamlinecircuitandsimplifydesign.LooktoMaximforsolutionsforconsumerelectronics,personalcomputersandperipherals,mobiledevices,wirelessandfibercommunications,testequipment,instrumentation,videodisplays,andautomotiveapplications.Maximsanalogandmixed-signalsolutionsincludedataconverters,interfacecircuits,power,RFwirelesscircuits,clocksandoscillators,microcontrollers(MCUs),operationalamplifiers(opamps),andsensors.FAQWhatisDS18B20temperaturesensor?TheDS18B20isa1-wireprogrammabletemperaturesensorfrommaximintegrated.Itiswidelyusedtomeasuretemperatureinhardenvironmentslikeinchemicalsolutions,minesorsoiletc.Theconstrictionofthesensorisruggedandalsocanbepurchasedwithawaterproofoptionmakingthemountingprocesseasy.HowdoestheDS18B20work?Itworksontheprincipleofdirectconversionoftemperatureintoadigitalvalue.IsDS18B20athermistor?Athermistorisathermalresistor-aresistorthatchangesitsresistancewithtemperature....Thermistorshavesomebenefitsoverotherkindsoftemperaturesensorssuchasanalogoutputchips(LM35/TMP36)ordigitaltemperaturesensorchips(DS18B20)orthermocouples.HowaccurateisDS18B20?TheDS18B20readswithanaccuracyof0.5Cfrom-10Cto+85Cand2Caccuracyfrom-55Cto+125C.Whatisds1820?TheDS18B20isonetypeoftemperaturesensoranditsupplies9-bitto12-bitreadingsoftemperature....Thecommunicationofthissensorcanbedonethroughaone-wirebusprotocolwhichusesonedatalinetocommunicatewithaninnermicroprocessor.HowdoIconnectmyDS18B20tomyRaspberryPi?OnceyouveconnectedtheDS18B20,powerupyourPiandlogin,thenfollowthesestepstoenabletheOne-Wireinterface:1.Atthecommandprompt,entersudonano/boot/config.txt,thenaddthistothebottomofthefile:2.dtoverlay=w1-gpio.3.ExitNano,andrebootthePiwithsudoreboot.WhatistheworkingprincipleofDS18B20?TheDS18B20DigitalThermometerprovides9to12-bit(configurable)temperaturereadingswhichindicatethetemperatureofthedevice.Itcommunicatesovera1-Wirebusthatbydefinitionrequiresonlyonedataline(andground)forcommunicationwithacentralmicroprocessor.Inadditionitcanderivepowerdirectlyfromthedataline(parasitepower),eliminatingtheneedforanexternalpowersupply.ThecorefunctionalityoftheDS18B20isitsdirect-to-digitaltemperaturesensor.Theresolutionofthetemperaturesensorisuser-configurableto9,10,11,or12bits,correspondingtoincrementsof0.5C,0.25C,0.125C,and0.0625C,respectively.Thedefaultresolutionatpower-upis12-bit.WheretouseDS18B20Sensor?TheDS18B20isa1-wireprogrammableTemperaturesensorfrommaximintegrated.Itiswidelyusedtomeasuretemperatureinhardenvironmentslikeinchemicalsolutions,minesorsoiletc.Theconstrictionofthesensorisruggedandalsocanbepurchasedwithawaterproofoptionmakingthemountingprocesseasy.Itcanmeasureawiderangeoftemperaturefrom-55Cto+125withadecentaccuracyof5C.EachsensorhasauniqueaddressandrequiresonlyonepinoftheMCUtotransferdatasoitaverygoodchoiceformeasuringtemperatureatmultiplepointswithoutcompromisingmuchofyourdigitalpinsonthemicrocontroller.HowconnectDS18B20toArduino?FirstplugthesensoronthebreadboardtheconnectitspinstotheArduinousingthejumpersinthefollowingorder:pin1toGND;pin2toanydigitalpin(pin2inourcase);pin3to+5Vor+3.3V,attheendputthepull-upresistor.OnanATMega328P,whyisaDS18B20temperaturesensorreturningincorrecttemperaturevalues?Severalpossibilities:1.Ifitisjustreadingalittlehigh,itmightbecausedbyselfheating.Addaheatsinkand/ormakemeasurementslessfrequently.2.Especiallyifthevaluesarereallywhacky,itmightbecodewitherrorsormis-wiring.Useapublishedsketchtocheckoperation.3.TheDS18B20mightbedefective.Tryanother.4.Itsaccurateto0.5C.Areyouexpectingittobemoreaccurate(likedowntotheLSBofthereadvalue)?

21DONAD

DescriptionDS18B20isatemperaturesensorofMaxim.Thesingle-chipmicrocomputercancommunicatewithDS18B20through1-Wireprotocolandfinallyreadthetemperature.Thehardwareinterfaceofthe1-Wirebusisverysimple,justconnectthedatapinofDS18B20toanIOportofthemicrocontroller.ThisVideoIntroducesDS18B20withDatasheetCatalogDescriptionDocumentandMediaDS18B20PinoutParametersAdvantageFeaturesApplicationsDS18B20CircuitSchematicDS18B20TemperatureSensorDataDS18B20BlockDiagramHowtousetheDS18B20SensorWheretouseDS18B20SensorProductManufacturerFAQOrdering&QuantityDocumentandMediaComponentDatasheetDS18B20DatasheetDS18B20PinoutPinNameFunctionSOSOPTO-921,2,6,7,82,3,5,6,7-N.C.NoConnection383VDDOptionalVDD.VDDmustbegroundedforoperationinparasitepowermode.412DQDataInput/Output.Open-drain1-Wireinterfacepin.Alsoprovidespowertothedevicewhenusedinparasitepowermode(seethePoweringtheDS18B20section.)541GNDGroundParametersAccuracy(C)0.5ChannelsOneInterface1-WireMultiDroppableYesOper.Temp.(C)-55to+125Package/PinsSOIC(N)/8,TO92/3,UMAX/8ParasitePwr.YesPartNumberDS18B20SensorTypeLocalTemp.Resolution(bits)9,10,11,12Temp.Thresh.Programmable(NV)AdvantageTheDS18B20digitalthermometerprovides9-bitto12-bitCelsiustemperaturemeasurementsandhasanalarmfunctionwithnonvolatileuser-programmableupperandlowertriggerpoints.TheDS18B20communicatesovera1-Wirebusthatbydefinitionrequiresonlyonedataline(andground)forcommunicationwithacentralmicroprocessor.Inaddition,theDS18B20canderivepowerdirectlyfromthedataline(parasitepower),eliminatingtheneedforanexternalpowersupply.EachDS18B20hasaunique64-bitserialcode,whichallowsmultipleDS18B20stofunctiononthesame1-Wirebus.Thus,itissimpletouseonemicroprocessortocontrolmanyDS18B20sdistributedoveralargearea.ApplicationsthatcanbenefitfromthisfeatureincludeHVACenvironmentalcontrols,temperaturemonitoringsystemsinsidebuildings,equipment,ormachinery,andprocessmonitoringandcontrolsystems.FeaturesUnique1-WireInterfaceRequiresOnlyOnePortPinforCommunicationReduceComponentCountwithIntegratedTemperatureSensorandEEPROMMeasuresTemperaturesfrom-55Cto+125C(-67Fto+257F)0.5CAccuracyfrom-10Cto+85CProgrammableResolutionfrom9Bitsto12BitsNoExternalComponentsRequiredParasiticPowerModeRequiresOnly2PinsforOperation(DQandGND)SimplifiesDistributedTemperature-SensingApplicationswithMultidropCapabilityEachDeviceHasaUnique64-BitSerialCodeStoredinOn-BoardROMFlexibleUser-DefinableNonvolatile(NV)AlarmSettingswithAlarmSearchCommandIdentifiesDeviceswithTemperaturesOutsideProgrammedLimitsAvailablein8-PinSO(150mils),8-PinSOP,and3-PinTO-92PackagesApplicationsConsumerProductsIndustrialSystemsThermallySensitiveSystemsThermometersThermostaticControlsDS18B20CircuitSchematicDS18B20TemperatureSensorDataDS18B20canachievethehighest12-bittemperaturestoragevaluethroughprogramming.Thetemperaturestoragevalueisstoredintheregisterinacomplementformat.Thereare2bytesintotal,LSBisthelowbyteandMSBisthehighbyte.Amongthem,MSbisthehighbitofthebyte,andLSbisthelowbitofthebyte.Forbinarynumbers,themeaningofthetemperaturerepresentedbyeachofthemisexpressed.Amongthem,Srepresentsthesignbit,andthelower11bitsareallpowersof2,whichareusedtorepresentthefinaltemperature.ThetemperaturemeasurementrangeofDS18B20isfrom-55degreesto+125degrees.Themanifestationoftemperaturedatahaspositiveandnegativetemperatures.Eachnumberintheregisterisdistributedlikethescaleofacaliper.Thelowestbitofthebinarynumberchanges1,whichrepresentsthemappingrelationshipofatemperaturechangeof0.0625degrees.Whenthetemperatureis0℃,thecorrespondinghexadecimalnumberis0x0000.Whenthetemperatureis125℃,thecorrespondinghexadecimalnumberis0x07D0.Whenthetemperatureisminus55℃,thecorrespondinghexadecimalnumberis0xFC90.Conversely,whenthenumberis0x0001,thetemperatureis0.0625℃.DS18B20BlockDiagramHowtousetheDS18B20SensorThesensorworkswiththemethodof1-Wirecommunication.Itrequiresonlythedatapinconnectedtothemicrocontrollerwithapullupresistorandtheothertwopinsareusedforpowerasshownbelow.Thepull-upresistorisusedtokeepthelineinhighstatewhenthebusisnotinuse.Thetemperaturevaluemeasuredbythesensorwillbestoredina2-byteregisterinsidethesensor.Thisdatacanbereadbytheusingthe1-wiremethodbysendinginasequenceofdata.Therearetwotypesofcommandsthataretobesenttoreadthevalues,oneisaROMcommandandtheotherisfunctioncommand.TheaddressvalueofeachROMmemoryalongwiththesequenceisgiveninthedatasheetbelow.Youhavetoreadthroughittounderstandhowtocommunicatewiththesensor.IfyouareplanningtointerfaceitwithArduino,thenyouneednotworryaboutallthese.Youcandevelopthereadilyavailablelibraryandusethein-builtfunctionstoaccessthedata.WheretouseDS18B20SensorTheDS18B20isa1-wireprogrammableTemperaturesensorfrommaximintegrated.Itiswidelyusedtomeasuretemperatureinhardenvironmentslikeinchemicalsolutions,minesorsoiletc.Theconstrictionofthesensorisruggedandalsocanbepurchasedwithawaterproofoptionmakingthemountingprocesseasy.Itcanmeasureawiderangeoftemperaturefrom-55Cto+125withadecentaccuracyof5C.EachsensorhasauniqueaddressandrequiresonlyonepinoftheMCUtotransferdatasoitaverygoodchoiceformeasuringtemperatureatmultiplepointswithoutcompromisingmuchofyourdigitalpinsonthemicrocontroller.ProductManufacturerMaximIntegratedprovideseaseofdesign,andspeedstimetomarket,throughanalogintegration.ThecompanysanalogICsofferextrafeaturesandfunctionalitycarefullydesignedtostreamlinecircuitandsimplifydesign.LooktoMaximforsolutionsforconsumerelectronics,personalcomputersandperipherals,mobiledevices,wirelessandfibercommunications,testequipment,instrumentation,videodisplays,andautomotiveapplications.Maximsanalogandmixed-signalsolutionsincludedataconverters,interfacecircuits,power,RFwirelesscircuits,clocksandoscillators,microcontrollers(MCUs),operationalamplifiers(opamps),andsensors.FAQWhatisDS18B20temperaturesensor?TheDS18B20isa1-wireprogrammabletemperaturesensorfrommaximintegrated.Itiswidelyusedtomeasuretemperatureinhardenvironmentslikeinchemicalsolutions,minesorsoiletc.Theconstrictionofthesensorisruggedandalsocanbepurchasedwithawaterproofoptionmakingthemountingprocesseasy.HowdoestheDS18B20work?Itworksontheprincipleofdirectconversionoftemperatureintoadigitalvalue.IsDS18B20athermistor?Athermistorisathermalresistor-aresistorthatchangesitsresistancewithtemperature....Thermistorshavesomebenefitsoverotherkindsoftemperaturesensorssuchasanalogoutputchips(LM35/TMP36)ordigitaltemperaturesensorchips(DS18B20)orthermocouples.HowaccurateisDS18B20?TheDS18B20readswithanaccuracyof0.5Cfrom-10Cto+85Cand2Caccuracyfrom-55Cto+125C.Whatisds1820?TheDS18B20isonetypeoftemperaturesensoranditsupplies9-bitto12-bitreadingsoftemperature....Thecommunicationofthissensorcanbedonethroughaone-wirebusprotocolwhichusesonedatalinetocommunicatewithaninnermicroprocessor.HowdoIconnectmyDS18B20tomyRaspberryPi?OnceyouveconnectedtheDS18B20,powerupyourPiandlogin,thenfollowthesestepstoenabletheOne-Wireinterface:1.Atthecommandprompt,entersudonano/boot/config.txt,thenaddthistothebottomofthefile:2.dtoverlay=w1-gpio.3.ExitNano,andrebootthePiwithsudoreboot.WhatistheworkingprincipleofDS18B20?TheDS18B20DigitalThermometerprovides9to12-bit(configurable)temperaturereadingswhichindicatethetemperatureofthedevice.Itcommunicatesovera1-Wirebusthatbydefinitionrequiresonlyonedataline(andground)forcommunicationwithacentralmicroprocessor.Inadditionitcanderivepowerdirectlyfromthedataline(parasitepower),eliminatingtheneedforanexternalpowersupply.ThecorefunctionalityoftheDS18B20isitsdirect-to-digitaltemperaturesensor.Theresolutionofthetemperaturesensorisuser-configurableto9,10,11,or12bits,correspondingtoincrementsof0.5C,0.25C,0.125C,and0.0625C,respectively.Thedefaultresolutionatpower-upis12-bit.WheretouseDS18B20Sensor?TheDS18B20isa1-wireprogrammableTemperaturesensorfrommaximintegrated.Itiswidelyusedtomeasuretemperatureinhardenvironmentslikeinchemicalsolutions,minesorsoiletc.Theconstrictionofthesensorisruggedandalsocanbepurchasedwithawaterproofoptionmakingthemountingprocesseasy.Itcanmeasureawiderangeoftemperaturefrom-55Cto+125withadecentaccuracyof5C.EachsensorhasauniqueaddressandrequiresonlyonepinoftheMCUtotransferdatasoitaverygoodchoiceformeasuringtemperatureatmultiplepointswithoutcompromisingmuchofyourdigitalpinsonthemicrocontroller.HowconnectDS18B20toArduino?FirstplugthesensoronthebreadboardtheconnectitspinstotheArduinousingthejumpersinthefollowingorder:pin1toGND;pin2toanydigitalpin(pin2inourcase);pin3to+5Vor+3.3V,attheendputthepull-upresistor.OnanATMega328P,whyisaDS18B20temperaturesensorreturningincorrecttemperaturevalues?Severalpossibilities:1.Ifitisjustreadingalittlehigh,itmightbecausedbyselfheating.Addaheatsinkand/ormakemeasurementslessfrequently.2.Especiallyifthevaluesarereallywhacky,itmightbecodewitherrorsormis-wiring.Useapublishedsketchtocheckoperation.3.TheDS18B20mightbedefective.Tryanother.4.Itsaccurateto0.5C.Areyouexpectingittobemoreaccurate(likedowntotheLSBofthereadvalue)?

DescriptionThe2N7002isalogiclevelMOSFETwithalowon-stateresistance.Themosfethasalowgatetosourcethresholdvoltageof2.1Vtypicallythismakesthemosfetsuitableevenfor3.3Vapplicationcircuits.Sincethemosfethaslowonstateresistanceithashighefficiencyduringwhenthemosfetinon.Duetothispropertyitcanmaintainhighswitchingperformanceandhenceusedwidelyinpowermanagementapplications.ThemosfetalsocomesinaSMDpackagehencecanbeusedforcompactapplications.Oneconsiderabledisadvantageofthemosfetisitslowdraincurrent;itcanprovideacontinuouscurrentof200mAandpeakscurrentsupto1Aatmaximumthresholdvoltage.Anythingmorethanthatwilldamagethemosfet.CatalogDescriptionPinConfigurationFeaturesDucumentsandMediaPackageOutlineApplicationsAlternativesProductManufacturerOrdering&QuantityPinConfigurationPinNo.PinNameDescription1GateControlsthebiasingoftheMOSFET2SourceCurrentflowsoutthroughSource3DrainCurrentflowsinthroughDrainFeaturesSuitableforlogiclevelgatedrivesourcesSurface-mountedpackageVeryfastswitchingTrenchMOSFETtechnologyDocumentsandMediaDatasheet2N7002N-ChannellogiclevelMOSFETDatasheetPackageOutlineApplicationsLowcurrentandLowVoltageswitchingapplicationsDC-DCconverterseMobilityapplicationsApplicationwherelowon-stateresistanceisrequired.PowermanagementapplicationsAlternativesNTR4003,FDC666,FDC5582N7002EquivalentP-Channel:BSS84,FDN358POtherN-ChannelMOSFETs:BS170N,IRF3205,2N7000,IRF1010E,IRF540NProductManufacturerNXPSemiconductorsN.V.(NXP)isaholdingcompany.TheCompanyoperatesasasemiconductorcompany.TheCompanyprovideshighperformancemixedsignalandstandardproductsolutions.TheCompanyssegmentsareHighPerformanceMixedSignal(HPMS),StandardProducts(SP),andCorporateandOther.Itsproductsolutionsareusedinarangeofend-marketapplications,includingautomotive,personalsecurityandidentification,wirelessandwirelineinfrastructure,mobilecommunications,multi-marketindustrial,consumerandcomputing.Itengageswithglobaloriginalequipmentmanufacturers(OEMs)andsellsproductsinallgeographicregions.NXPsHPMSsegmentincludesbusinesslines,suchasAutomotive,SecureIdentificationSolutions(SIS),SecureConnectedDevices(SCD),andSecureInterfacesandInfrastructure(SII).TheCompanysSPsegmentsuppliesarangeofstandardsemiconductorcomponents,suchassmallsignaldiscretesandpowerdiscretes.DescriptionTheweatherinthepasttwodayshassuddenlycooleddown,andIforgottoinstallaswitchonthebedside,andIdontwanttogetoutofbedtoturnoffthelightbecauseofthecold.Atthistime,itwouldbenicetohaveanintelligentcontrolswitch.ThisblogintroducesasmartswitchcontrollerbasedonATMEGA328P-PU.Thecontroller,withoutchangingtheexistingswitchesandcircuits,canautomaticallyturnoffthelightsafterapowerfailure.Atthesametime,thewirelesscontrollightswitchfunctioncanalsoberealizedthroughtheBluetoothmodule,andthelightcanbeturnedonandoffwhilelyingdown,andthereisnoneedtogetoutofbed.ATMEGA328P-PUCatalogDescriptionIIntroductionIIATmega328P-PUBasedSystemPricipleIIIATmega328P-PUBasedSystemHardwareDesign3.1Centralcontrolmodule3.2Lightdetectioncircuit3.3BluetoothmoduleIVATmega328P-PUBasedStructureDesignVATmega328P-PUBasedSystemSoftwareDesignVIConclusionComponentDatasheetFAQOrdering&QuantityIIntroductionThesmartswitchlightcontrollerbasedonATmega328P-PUintroducedinthisblogconsistsofthefollowingmodules:LightDetectionModule:Perceivethechangeofindoorlightintensity;BluetoothModule:controlandrealizeautomaticlightswitch;SteeringGearandMechanicalLinkageMechanism:Itcanalsoautomaticallyturnoffthelights.Thecontrollerusestheorganiccombinationofmechatronics,whichisreliableandeasytocontrol.IIATmega328P-PUBasedSystemPricipleTheintelligentswitchlightcontrollersystemismainlycomposedoflightdetectionmodule,Bluetoothmodule,steeringgearandArduinocontrolsystem.Thesystemcontrolprocessisasfollows:Thelightdetectionmoduleperceivestheenvironmentfrombrighttodark;ThelightdetectionmodulesendsthesensedinformationtotheArduino;Arduinoturnsoffthelightingequipmentbycontrollingthesteeringgearaccordingtothisinformation;Or,tocompletetheoperationofturningoffthelights,youcanalsodirectlycontrolitthroughthemobilephoneAPPBluetooth.ThesystemprinciplediagramoftheintelligentswitchlightcontrollerisshowninFigure1.Figure1.SystemschematicdiagramIIIATmega328P-PUBasedSystemHardwareDesign3.1CentralcontrolmoduleThemostwidelyusedmicrocontrollersforthecentralcontrolmoduleareAVRand51microcontrollers.Fromtheperspectiveoffunctionandupgradepotential,theAVR8-bitmicrocontrollerATMEGA328P-PUwasselectedasthecentralcontrolmodule.So,whataretheadvantagesofATMEGA328P-PUcontrolmodule?Whychooseit?ATMEGA328P-PU,asacentralcontrolmodule,hasflexibleI/Oportresourcesandpowerfulfunctions.Itnotonlyhaslowpowerconsumptionbutisreliable,andcanmeettheneedsofsubsequentequipmentupdates.Figure2showstheminimumsystemdiagramofATMEGA328P.Figure2.ATMEGA328Pminimumsystem3.2LightdetectioncircuitHere,thelightdetectioncircuitisafour-wiresystem.TheAOportisananalogsignaloutputport,whichconvertstheexternallightintensityintoacontinuousoutputvoltagevalue.Whenthebrightnessofthelightchanges,howdoestheDOportactasadigitalsignaloutputport?Whentheambientlightbrightnessdoesnotreachthesetthreshold,theDOterminaloutputsahighlevel;Whenthebrightnessoftheambientlightexceedsthesetthreshold,theDOterminaloutputsalowlevel.Becausethesignaloutputbythecircuitisstableandreliable,thecontrollerselectsthedigitalsignaloutputbytheDOportastheinputsignalofthecontrolmodule.Inthisway,thesensitivityandreliabilityofthesystemcanbeimproved.IlluminationdetectioncircuitdiagramshowninFigure3.Figure3.Illuminationdetectioncircuitdiagram3.3BluetoothmoduleThisblogusestheHC-05master-slaveintegratedBluetoothmodule.ItscircuitdiagramisshownasinFig.4.Figure4.BluetoothdetectioncircuitThemoduleadoptsCSRmainstreamBluetoothchip,BluetoothV2.0protocolstandard,andcanworkwith3.3Vlowvoltage.Itischeap,smallinsize,stableinsignal,lowinpower,andcanbeusedinconjunctionwithmobileAPPtorealizewirelesscontrolofthesystem.Inthisdesign,Bluetoothonlyactsasaslave,receivinginstructionsfromthemobilephone.IVATmega328P-PUBasedStructureDesignTakethedormitoryasanexampletodesignthecontrollerfortheswitch(asshowninFigure5).Figure5.PowerswitchAftermeasurement,whentheswitchisintheequilibriumposition,thatis,betweentheclosedandopenpositions,ifthelight-offpositionispressedmorethan2mm,thebuttonwillturnoffthepower.Whenthelight-onpositionispresseddownmorethan2mm,thebuttonwillturnonthepower.Wecandesignalinkmechanismconnectedwiththesteeringgeartomake:Whenthesteeringgearrotatesto180,theconnectingrodpositionisthehighest;Whenthesteeringgearrotatesto0,theconnectingrodpositionislowest.Then,settheinitialpositionofthesteeringgearto90,sothatthebuttonisatthevalueofthebalanceposition.Atthistime,coincidethemiddlepositionoftheT-shapedfixingbracketwiththemiddlepositionofthebutton.Inaddition,inordertofacilitatetherealizationoffunctions,thecentralpositioncanbesetasachute.Figure6showsthedesignandinstallation.Figure7showsthatthecontrollerisdesignedasarectangularbox.Figure8showsthelayoutofeachmodule.Figure9showsthephysicalobjectandinstallationdiagramofthesmartswitchcontroller.Figure6.DesignandinstallationdrawingofconnectingrodpartFigure7.OverallviewofthecontrollerFigure8.SchematicdiagramofeachmoduleinstallationFigure9.PhysicalimageofsmartswitchcontrollerVATmega328P-PUBasedSystemSoftwareDesignThesoftwarepartcompletestheprocessingofthesignalsreceivedbythelightdetectionmoduleandtheBluetoothmodule,andthencontrolsthemechanicalstructuretoswitchthelights.Figure10showsthesystemsoftwareflowchart.Thelightdetectionmodule(theschematicdiagramofthelightdetectionmoduleisshowninFigure11)isusedtodetectchangesinbrightnessanddarknessofthesurroundingenvironment.Whenthesurroundingenvironmentisalwaysinalightstate,thelightdetectioncircuitwillcontinuouslysendalow-levelsignal0tothecentralcontrolmodule;Whenthesurroundingenvironmenthasbeeninadarkstate,thelightdetectioncircuitwillcontinuouslysendahighlevelsignal1tothecentralcontrolmodule.Whenthesurroundingenvironmentchangesfromnolighttolight(judgingthedaybreak),inthiscase,thesystemdoesnotact.Whenthesurroundingenvironmentchangesfromlighttonolight(judgedasamomentofpowerfailure),thelightdetectioncircuitwillstarttosendahighlevelsignal1tothecentralcontrolmodule.Atthemomentoftransition,thecentralcontrolmodulewillcontrolthesystemtoexecuteaworkcycle.Afterturningoffthelight,thesystemwillautomaticallyresetandwaitforthenextchangefromlighttonolight.Becausetheportmemoryofthecentralcontrolmoduleislimited,andthelightdetectioncircuitcontinuouslytransmitsdatatotheport.Thiswillcausethecentralcontrolmoduletorestartinashorttimeduetoexhaustionofmemory,makingthesystemunstableandunreliable.Therefore,aportclearingfunctionisspeciallywrittenwhencompilingthesystemtoensurethattheexpireddatasentbythelightdetectioncircuitisclearedintime.Therebyimprovingthestabilityandreliabilityofthesystem.Figure10.SystemsoftwareflowchartAftertalkingaboutthelightdetectionmodule,howdoestheBluetoothmoduleprocessthereceivedsignaltocontroltheswitch?WecanusemobilephoneAPPandBluetoothmoduletocontrolthesystemtoturnonandoffthelightsthroughwirelesstransmission.WhenthemobilephonesendsthecommandcharacterAtothecentralcontrolmodulethroughtheBluetoothmodule,thesystemwillexecuteacycleofturningoffthelights,andthenautomaticallyreset;Inthesameway,whenthemobilephonesendsthecommandcharacterBtothecentralcontrolmodulethroughtheBluetoothmodule,thesystemexecutesalight-oncommandforaworkingcycle,andthenautomaticallyresets.Figure11.SchematicdiagramofthelightmoduleVIConclusionThesmartswitchlightcontrollerdiscussedinthisbloghassignificantadvantages:*Donotchangethecircuitoftheoriginalpush-typepowerswitch.Therefore,itisnotonlysafe,butalsoeasytodisassembleandassemble;*TurnonandoffthelightsviaBluetoothwirelesscontrol.Therefore,ithasstrongoperability;*Aftercompletingtheswitchlampworkcycle,realizeautomaticreset.Inaddition,whilerealizingautomation,wecanalsomoveourfingerstoeasilyswitchlightsonthebed;*ATmega328P-PUhasgreatdevelopmentpotential.Thereasonforusingitistomeettheneedsofexpandingfunctionsinthefuture.suchas:CooperatewithWIFImodule:canrealizeultra-remotecontrol;Cooperatewithtimer:itcanrealizethefunctionofturningonthelightsatatime.Insummary,theintelligentswitchlightcontrollerbasedonATmega328P-PUweintroducedissimpleandreasonableinstructure,easytoinstall,safe,convenientandefficienttooperate.WiththesmartswitchlightcontrollerofATmega328P-PU,whenwelazilylieonthebedandplaywiththemobilephone,weusethemobilephonetocontrolthelightswitch.Atnight,weareafraidthatweforgettoturnoffthelightswhenwefallasleep,andwedontneedtogetoutofbed.Itcanalsoautomaticallyturnoffthelightswhenitgetsdark.ComponentDatasheetATMEGA328PDatasheetFAQWhatismeantbyATMEGA328P?ATMEGA328Pishighperformance,lowpowercontrollerfromMicrochip.ATMEGA328Pisan8-bitmicrocontrollerbasedonAVRRISCarchitecture.ItisthemostpopularofallAVRcontrollersasitisusedinARDUINOboards.WhatisthedifferencebetweenATMEGA328andATMEGA328P?ATMEGA328PandATMEGA328arethesameeverysensearchitecturally.ATMEGA328PjustconsumeslowerpowerthanATMEGA328,whichmeansthatthe328Pismanufacturedinafinerprocessthanthe328.WhyATMEGA328isusedinArduino?TheATMEGA328/Pisalow-powerCMOS8-bitmicrocontrollerbasedontheAVRenhancedRISC(reducedinstructionsetcomputer)architecture.InOrdertomaximizeperformanceandparallelism,theAVRusesHarvardarchitecturewithseparatememoriesandbusesforprogramanddata.HowdoyoucodeATMEGA328P?IsATMEGA328Pamicrocontroller?TheATMEGA328isasingle-chipmicrocontrollercreatedbyAtmelinthemegaAVRfamily(laterMicrochipTechnologyacquiredAtmelin2016).IthasamodifiedHarvardarchitecture8-bitRISCprocessorcore.CantheATMEGA328PmicrocontrollerbeusedwithouttheArduinoboard?Yes.YoucanuseATMega328Pwithoutarduinoboard....YoucanusearduinoboardwiththeIC.ProgramtheICandthentakeitoutanduseitinyourcircuit.Youwillhavetouse16MHZOscillatorwithcapacitors.HowdoIprogramAtmega328Pwithoutbootloader?ProgrammingAVRWithArduinoAsISPWithoutBootloaderandExternalCrystalStep1:ThingsYouNeed....Step2:UploadArduinoISPCodeonArduinoBoard....Step3:OpenCommandPrompt(inWindowsOS)...Step4:RequiredDownloads.....Step5:InstallationofWinAVR(onlyHelpforWindowsOSIsCoveredforNow)

21DONAD

DescriptionTheCD405xBanalogmultiplexersanddemultiplexersaredigitally-controlledanalogswitcheshavinglowONimpedanceandverylowOFFleakagecurrent.ThesemultiplexercircuitsdissipateextremelylowquiescentpoweroverthefullVDDVSSandVDDVEEsupplyvoltageranges,independentofthelogicstateofthecontrolsignals.TheCD4051Bisasingle8-Channelmultiplexerhavingthreebinarycontrolinputs,A,B,andC,andaninhibitinput.Thethreebinarysignalsselect1of8channelstobeturnedon,andconnectoneofthe8inputstotheoutput.CatalogDescriptionPinoutConfigurationandFunctionCD4051BlockDiagramDocumentsandMediaFeaturesApplicationCD4051TypicalApplicationCircuitsOrdering&QuantityPinoutConfigurationandFunctionCD4051BlockDiagramThelogicdiagramofCD4051iscomposedofthreeparts:logiclevelconversioncircuit,8select1decodingcircuitand8CMOSswitchunits.A,BandCare3-bitbinaryaddressinputterminals,and8combinationsof3-bitbinarycanbeusedforselection8channels;INHistheaddressinputprohibitionterminal,whenitishigh,theaddressinputterminalisinvalid,thatis,nochannelisstrobed.TheinputlevelsofA,B,CandINHarecompatiblewithTTL.CD4051has8input\outputterminals,1output/inputterminal,digitalcircuitpowersupply+Eand-E1,analogcircuitpowersupply+Eand-E2.ThemainfunctionofthelogiclevelconversioncircuitistoinputtheaddressA,B,CandaddressinputinhibitterminalINHinputTTLlogiclevelisconvertedintoCMOSlevel,sothattheswitchunitcanbecontrolledbyTTLlevel.Themainfunctionofthe8-to-1addressdecodingcircuitistoconverttheaddressinputsignalfromthelogiclevelconversioncircuitintothecorrespondingswitchunitstrobesignalandturnonthecorrespondingswitchunit.DocumentsandMediaDatasheetCD405xBCMOSSingle8-ChannelAnalogMultiplexer/DemultiplexerwithLogic-LevelConversiondatasheet(Rev.I)FeaturesWideRangeofDigitalandAnalogSignalLevelsDigital:3Vto20VAnalog:20VP-PLowONResistance,125Ω(Typical)Over15VP-PSignalInputRangeforVDDVEE=18VHighOFFResistance,ChannelLeakageof100pA(Typical)atVDDVEE=18VLogic-LevelConversionforDigitalAddressingSignalsof3Vto20V(VDDVSS=3Vto20V)toSwitchAnalogSignalsto20VP-P(VDDVEE=20V)MatchedSwitchCharacteristics,rON=5Ω(Typical)forVDDVEE=15VVeryLowQuiescentPowerDissipationUnderAllDigital-ControlInputandSupplyConditions,0.2W(Typical)atVDDVSS=VDDVEE=10VBinaryAddressDecodingonChip5V,10V,and15VParametricRatings100%TestedforQuiescentCurrentat20VMaximumInputCurrentof1Aat18VOverFullPackageTemperatureRange,100nAat18Vand25CBreak-Before-MakeSwitchingEliminatesChannelOverlapApplicationAnalogandDigitalMultiplexingandDemultiplexingA/DandD/AConversionSignalGatingFactoryAutomationTelevisionsAppliancesConsumerAudioProgrammableLogicCircuitsSensorsCD4051TypicalApplicationCircuits1.CD4051,CH3130multi-channeldemodulatorcircuitdiagramThiscircuitismainlycomposedof8-channelanalogswitchCD4051andvoltagefollowerCH3130,etc.TheinputsignaloftheprohibitionterminalINHofanalogswitchCD4051isusedtocontrolthegatingofvoltagefollowerCH3130,therebyperformdemodulationtomultipleanalogsignals.2.CD4051constructs32-channelcircuitBecausetheCD4051hasonlyeightinputports,fourCD4051sareneededtobuilda32-waymultiplexer,labeledINH1,INH2,INH3,andINH4.The32-waymultiplexershouldhave5controlports,ofwhichthefirstthreearetheinputportsofCD4051andthelasttwoarecontrolports.(BecauseCD4051hasthreeinputports),labelthemasD1,D2,D3,D4,D5(0000011111,00000channel0,11111channel31).Thebasicideaistorealizethechoiceof32channelports(0-7,8-15,16-23,24-31)byselecting4CD4051s.IfyouchoosethethirdCD4051,youcanchoose16-23(10000-10111)channelport.However,theselectionofCD4051isachievedbycontrollingtheINHlevelofeachCD4051.Forexample,ifyouwanttoturnonthethirdCD4051,makeitsINHhigh(atthistimeD5=1,D4=0,thenINH3=D5!D4).Therefore,thechoiceofINHisachievedbycontrollingthelogicalrelationshipbetweenD5andD4.WhereINH1=!D5!D4;INH2=!D5D4;INH3=D5!D4;INH4=D5D4.DescriptionLM317isaadjustable3-terminalpositive-voltageregulator,thisbolgcoversLM317regulatoralternative,datasheet,applications,featuresandotherinformationonhowtouseandwheretousethisdevice.ABasicIntroductiontoLM317VoltageRegulatorCatalogDescriptionLM317PinoutLM317FeaturesLM317ApplicationsLM317CircuitLM317ParametersLM317CADModelLM317AdvantageLM317ElectricalCharacteristicsLM317PackageLM317AlternativesLM317EquivalentsWheretouseLM317HowtouseLM317LM317ManufacturerComponentDatasheetFAQOrdering&QuantityLM317PinoutPinNumberPinNameDescription1AdjustThispinsadjuststheoutputvoltage2OutputVoltage(Vout)Theregulatedoutputvoltagesetbytheadjustpincanbeobtainedfromthispin3InputVoltage(Vin)TheinputvoltagewhichhastoberegulatedisgiventothispinLM317FeaturesOutputvoltagerangeadjustablefrom1.25Vto37VOutputcurrentgreaterthan1.5AInternalshort-circuitcurrentlimitingThermaloverloadprotectionOutputsafe-areacompensationLM317ApplicationsATCAsolutionsDLP:3Dbiometrics,hyperspectralimaging,opticalnetworking,andspectroscopyDVRandDVSDesktopPCsDigitalsignageandstillcamerasECGelectrocardiogramsEVHEVchargers:levels1,2,and3ElectronicshelflabelsEnergyharvestingEthernetswitchesFemtobasestationsFingerprintandirisbiometricsHVAC:heating,ventilating,andairconditioningHigh-speeddataacquisitionandgenerationHydraulicvalvesIPphones:wiredandwirelessIntelligentoccupancysensingMotorcontrols:brushedDC,brushlessDC,lowvoltage,permanentmagnet,andsteppermotorsPoint-to-pointmicrowavebackhaulsPowerbanksolutionsPowerlinecommunicationmodemsPoweroverethernet(PoE)PowerqualitymetersPowersubstationcontrolsPrivatebranchexchanges(PBX)ProgrammablelogiccontrollersRFIDreadersRefrigeratorsSignalorwaveformgeneratorsSoftware-definedradios(SDR)Washingmachines:high-endandlow-endX-rays:baggagescanners,medical,anddentalLM317CircuitLM317ParametersOutputoptionsAdjustableOutputIout(Max)(A)1.5Vin(Max)(V)40Vin(Min)(V)3Vout(Max)(V)37Vout(Min)(V)1.25Noise(uVrms)38Iq(Typ)(mA)5ThermalresistanceJA(C/W)24Approx.price(US$)1ku|0.14Loadcapacitance(Min)(F)0RatingCatalogRegulatedoutputs(#)1FeaturesAccuracy(%)5PSRR@100KHz(dB)38Dropoutvoltage(Vdo)(Typ)(mV)2000Operatingtemperaturerange(C)0to125IhsManufacturerTEXASINSTRUMENTSINCBrandNameTexasInstrumentsLM317CADModelPackagePinsDownloadDDPAK/TO-263(KTT)3ViewoptionsSOT-223(DCY)4ViewoptionsTO-220(KCS)3ViewoptionsTO-220(KCT)3ViewoptionsLM317ElectricalCharacteristicsOverrecommendedrangesofoperatingvitualjunctiontemperature(unlessotherwisenoted)LM317PackageDDPAK/TO-263(KTT)SOT-223(DCY)TO-220(KCS)TO-220(KCT)LM317AlternativesSharethesamefunctionalityandpinoutbutisnotanequivalenttothecompareddevice:LM7805,LM7806,LM7809,LM7812,LM7905,LM7912,LM117V33,XC6206P332MR.LM317EquivalentsLT1086,LM1117(SMD),PB137,LM337(NegativeVariableVoltageregulator)WheretouseLM317WhenitcomestovariablevoltageregulationrequirementsLM317wouldmostlikelybethefirstchoice.Apartfromusingitasavariablevoltageregulator,itcanalsobeusedasafixedvoltageregulator,currentlimiter,Batterycharger,ACvoltageregulatorandevenasanadjustablecurrentregulator.OnenotabledrawbackofthisICisthatithasavoltagedropofabout2.5acrossitduringregulation,soifyoulookingtoavoidthatproblemlookintotheotherequivalentICsgivenabove.So,ifyouarelookingforavariablevoltageregulatortodelivercurrentupto1.5AthenthisregulatorICmightbetherightchoiceforyourapplication.HowtouseLM317LM317isa3-terminalregulatorICanditisverysimpletouse.Ithasmanyapplicationcircuitsinitsdatasheet,butthisICisknownforbeingusedasavariablevoltageregulator.So,letslookintohowtousethisICasavariablevoltageregulator.AssaidearliertheIChas3pins,inwhichtheinputvoltageissuppliedtopin3(VIN)thenusingapairofresistors(potentialdivider)wesetavoltageatpin1(Adjust)whichwilldecidetheoutputvoltageoftheICthatisgivenoutatpin2(VOUT).Nowtomakeitactasavariablevoltageregulatorwehavetosetvariablevoltagesatpin1whichcanbedonebyusingapotentiometerinthepotentialdivider.Thebelowcircuitisdesignedtotake12V(youcansupplyupto24V)asinputandregulateitfrom1.25Vto10V.TheResistorR1(1K)andthepotentiometer(10k)togethercreatesapotentialdifferenceatadjustpinwhichregulatestheoutputpinaccordingly.TheformulaetocalculatetheOutputvoltagebasedonthevalueofresistorsisVOUT=1.25(1+(R2/R1))Now,letsverifythisformulafortheabovecircuit.ThevalueofR1is1000ohmsandthevalueofR2(potentiometer)is5000becauseitisa10kpotentiometerplacedat50%(50/100of1000is5000).Vout=1.25(1+(5000/1000))=1.256=7.5VAndthesimulationshows7.7Vwhichisprettymuchclose.Youcanvarytheoutputvoltagebysimplyvaryingthepotentiometer.Inourcircuit,amotorisconnectedasaloadwhichconsumesaround650mAyoucanconnectanyloadupto1.5A.Thesameformulaecanalsobeusedtocalculatethevalueofresistorforyourequiredoutputvoltage.Oneeasywaytodothisistousethisonlinecalculatortorandomlysubstitutethevalueofresistorsyouhaveandcheckwhichoutputvoltageyouwillget.LM317ManufacturerTexasInstrumentsInc.(TI)isanAmericantechnologycompanythatdesignsandmanufacturessemiconductorsandvariousintegratedcircuits,whichitsellstoelectronicsdesignersandmanufacturersglobally.ItsheadquartersareinDallas,Texas,UnitedStates.TIisoneofthetoptensemiconductorcompaniesworldwide,basedonsalesvolume.TexasInstrumentssfocusisondevelopinganalogchipsandembeddedprocessors,whichaccountsformorethan80%oftheirrevenue.TIalsoproducesTIdigitallightprocessing(DLP)technologyandeducationtechnologyproductsincludingcalculators,microcontrollersandmulti-coreprocessors.Todate,TIhasmorethan43,000patentsworldwide.ComponentDatasheetLM317DatasheetFAQWhatislm317usedfor?TheLM317servesawidevarietyofapplicationsincludinglocal,oncardregulation.Thisdevicecanalsobeusedtomakeaprogrammableoutputregulator,orbyconnectingafixedresistorbetweentheadjustmentandoutput,theLM317canbeusedasaprecisioncurrentregulator.Whatisthemaximuminputvoltageoflm317?TheLM317isanadjustablevoltagelinearregulatorthatcanoutput1.2537Vatupto1.5Acurrentwithaninputvoltagerangeof340V.Whatisthedifferencebetweenlm317andlm317t?Member.Thereisnofunctionaldifferenceastheyareoneinthesame.TheTattheendjustindicatesthatitsinaTO-220package.Theyusuallytagonextrathingsafterthepartnametoreferencethingslikepackage,temprange,etc.Islm317atransistor?TheLM317isanadjustablethree-terminalpositive-voltageregulatorcapableofsupplyingmorethan1.5Aoveranoutput-voltagerangeof1.25Vto32V....Byusingaheat-sinkedpasstransistorsuchasa2N3055(Q1)wecanproduceseveralampsofcurrentfarabovethe1.5ampsoftheLM317.Howdoesanlm317work?Thecircuitconsistsofalow-sideresistorandhigh-sideresistorconnectedinseriesformingaresistivevoltagedividerwhichisapassivelinearcircuitusedtoproduceanoutputvoltagewhichisafractionofitsinputvoltage.WhatisIClm317?TheLM317deviceisanadjustablethree-terminalpositive-voltageregulatorcapableofsupplyingmorethan1.5Aoveranoutput-voltagerangeof1.25Vto37V.Itrequiresonlytwoexternalresistorstosettheoutputvoltage.Thedevicefeaturesatypicallineregulationof0.01%andtypicalloadregulationof0.1%.HowdoIknowifmylm317isworking?Testinglm317t.Ifyoulooktotheic,thelegstowardsyou,therightoneistheinputpin.youmustseeadifferenceofminimum1.2Vbetweenthetwopins,otherwisetheICisfaulty.furthermore,thefirsttestistoseeifyouhaveinputvoltage!Whatistheworkingpricipleoflm317?LM317worksonaverysimpleprinciple.Itisavariablevoltageregulatori.e.supportsdifferentoutputvoltagelevelsforaconstantappliedinputvoltagesupply.HowtomakeasimplevoltageregulatorcircuitusingLM317?DescriptionLM339(Quaddifferentialcomparator)consistoffourindependentvoltagecomparators.Itisacommonintegratedcircuitandismainlyusedinhigh-voltagedigitallogicgatecircuits.UsingLM339caneasilyformvariousvoltagecomparatorcircuitsandoscillatorcircuits.CatalogDescriptionComponentDatasheetLM339PinoutBasicParametersFeaturesApplicationPinFunctionListCircuitDiagramPackageElectricalCharacteristicsInstructionsProductManufacturerFAQOrdering&QuantityComponentDatasheetComparatorDatasheetLM339DatasheetLM339PinoutLM339PinoutBasicParametersParameternameSymbolNumericalvalueunitsupplyvoltageVCC18or36VDifferentialmodeinputvoltageVID36VCommonmodeinputvoltageVI-0.3~VCCVPowerdissipationPd570mWWorkingenvironmenttemperatureTopr0to+70℃StoragetemperatureTstg-65to150℃FeaturesLowvoltageoffset,generally2mVThecommon-modevoltagerangeisverylarge,from0vtothepowersupplyvoltageminus1.5vTheinternalresistancelimittothesignalsourceisverywideSingleSupplyOperation:2-36VDualSupplyOperation:1V-18VThepotentialofoutputcanbeselectedflexiblyandconvenientlyLM339issimilartooperationalamplifierwithnon-adjustablegain.Eachcomparatorhastwoinputsandoneoutput.Oneofthetwoinputterminalsiscalledthenon-invertinginputterminal,whichisrepresentedby+,andtheotheriscalledtheinvertinginputterminal,whichisrepresentedby-.Whencomparingtwovoltages,addafixedvoltageasareferencevoltageatanyinputterminal,andaddasignalvoltagetobecomparedattheotherterminal.Whenthevoltageatthe+terminalishigherthanthe-terminal,theoutputtubewillcutoff.Whenthevoltageofthe-terminalishigherthanthe+terminal,theoutputtubeissaturated.Thevoltagedifferencebetweenthetwoinputterminalsisgreaterthan10mV,whichcanensurethattheoutputcanbereliablyswitchedfromonestatetoanotherstate.Therefore,itisidealtousetheLM339inweaksignaloccasions.TheoutputterminalofLM339isequivalenttoacrystaltransistorthatisnotconnectedtothecollectorresistor.Whenusing,theoutputterminaltothepositivepowersupplygenerallyneedstobeconnectedtoaresistor(calledpull-upresistor).Choosingpull-upresistorswithdifferentresistancevalueswillaffectthevalueofthehighpotentialattheoutput.Becausewhentheoutputtransistorisoff,itscollectorvoltagebasicallydependsonthevalueofthepull-upresistorandtheload.Inaddition,theoutputofeachcomparatorisallowedtobeconnectedtogether.ApplicationIndustrialAutomotiveInfotainmentandClustersBodyControlModulePowerSupervisionOscillatorsPeakDetectorsLogicVoltageTranslationPinFunctionListPinNumberPinfunctionSymbolPinNumberPinfunctionSymbol1Output2OUT28Invertinginput31N-(3)2Output1OUT19Forwardinput31N+(3)3PowerSupplyVCC+10Invertinginput41N-(4)4Invertinginput11N-(1)11Forwardinput41N+(4)5Positiveinput11N+(1)12PowerSupplyVcc6Invertinginput21N-(2)13Output4OUT47Forwardinput2OUT2(2)14Output3OUT3CircuitDiagramLM339CircuitDiagramPackageLM339PackageElectricalCharacteristicsVCC=5.0V,Tamb=25℃,unlessotherwisestatedParameternameSymbolTestconditionsMinimumTypicalMaximumunitInputoffsetvoltageVIOVCM=0toVCC-1.5VO(P)=1.4V,Rs=0-1.05.0mVInputoffsetcurrentIIO--550nAInputbiascurrentIb--65250nACommonmodeinputvoltageVIC-0-VCC-1.5VQuiescentCurrentICCVCC=+5V,noload-1.12.0mAVCC=+30V,noload-1.32.5mAVoltagegainAVVCC=15V,RL>15k-200-V/mVSinkcurrentIsinkVi(-)>1V,Vi(+)=0V,Vo(p)<1.5V616-mAOutputleakagecurrentIOLEVi(-)=0V,Vi(+)=1V,VO=5V-0.1-nAInstructionsTheLM339seriesarehighgain,widebandwidthdeviceswhich,likemostcomparators,caneasilyoscillateiftheoutputleadisinadvertentlyallowedtocapacitivelycoupletotheinputsviastraycapacitance.Thisshowsuponlyduringtheoutputvoltagetransitionintervalsasthecomparatorchangesstates.Powersupplybypassingisnotrequiredtosolvethisproblem.StandardPCboardlayoutishelpfulasitreducesstrayinput-outputcoupling.Reducingthisinputresistorsto10kreducesthefeedbacksignallevelsandfinally,addingevenasmallamount(1to10mv)ofpositivefeedback(hysteresis)causessucharapidtransitionthatoscillationsduetostrayfeedbackarenotpossible.SimplysocketingtheICandattachingresistorstothepinswillcauseinput-outputoscillationsduringthesmalltransitionintervalsunlesshysteresisisused.Iftheinputsignalisapulsewaveform,withrelativelyfastriseandfalltimes,hysteresisisnotrequired.Allpinsofanyunusedcomparatorsshouldbetiedtothenegativesupply.ThebiasnetworkofLM339establishesadraincurrentwhichisindependentofthemagnitudeofthepowersupplyvoltageovertherangeoffrom2Vto30V.Itisusuallyunnecessarytouseabypasscapacitoracrossthepowersupplyline.ThedifferentialinputvoltagemaybelargerthanV+withoutdamagingthedevice.Protectionshouldbeprovidedtopreventtheinputvoltagesfromgoingnegativemorethan-0.3VDC(at25℃).Aninputclampdiodecanbeusedasshownintheapplicationssection.TheoutputoftheLM339istheuncommittedcollectorofagrounded-emitterNPNoutputtransistor.ManycollectorscanbetiedtogethertoprovideanoutputORingfunction.Anoutputpull-upresistorcanbeconnectedtoanyavailablepowersupplyvoltagewithinthepermittedsupplyvoltagerangeandthereisnorestrictiononthisvoltageduetothemagnitudeofthevoltagewhichisappliedtotheV+terminaloftheLM1339package.TheoutputcanalsobeusedasasimpleSPSTswitchtoground(whenapull-upresistorisnotused).Theamountofcurrentwhichtheoutputdevicecansinkislimitedbythedriveavailable(whichisindependentofV+)andtheofthisdevice.Whenthemaximumcurrentlimitisreached(approximately16mA),theoutputtransistorwillcomeoutofsaturationandtheoutputvoltagewillriseveryrapidly.Theoutputsaturationvoltageislimitedbytheapproximately60RSAToftheoutputtransistor.Thelowoffsetvoltageoftheoutputtransistor(1mV)allowstheoutputtoclampessentiallytogroundlevelforsmallloadcurrents.ProductManufacturerTexasInstrumentsInc.(TI)isanAmericantechnologycompanythatdesignsandmanufacturessemiconductorsandvariousintegratedcircuits,whichitsellstoelectronicsdesignersandmanufacturersglobally.ItsheadquartersareinDallas,Texas,UnitedStates.TIisoneofthetoptensemiconductorcompaniesworldwide,basedonsalesvolume.TexasInstrumentssfocusisondevelopinganalogchipsandembeddedprocessors,whichaccountsformorethan80%oftheirrevenue.TIalsoproducesTIdigitallightprocessing(DLP)technologyandeducationtechnologyproductsincludingcalculators,microcontrollersandmulti-coreprocessors.Todate,TIhasmorethan43,000patentsworldwide.FAQWhatisLM339?LM339isavoltagecomparatorICfromLMx39xseriesandismanufacturedbymanyindustries.Thedevicesconsistoffourindependentvoltagecomparatorsthataredesignedtooperatefromasinglepowersupply.WhatisthedifferencebetweenLM324andLM339?TheLM324hasacomplementaryoutputwhiletheLM339isopencollector.Inthecomplementaryoutput,currentcanflowineitherdirectionasrequired(eithersourceorsink)whiletheopencollectoroutputcanonlysinkcurrent.HowdoesLM339comparatorwork?TheLM339isaquadopampcomparator.Acomparatorworksbyasimpleconcept.Eachopampofacomparatorhas2inputs,ainvertinginputandanoninvertinginput.Iftheinvertinginputvoltageisgreaterthanthenoninvertinginput,thentheoutputisdrawntoground.Whatiscomparatoric?Acomparatorisanelectroniccircuit,whichcomparesthetwoinputsthatareappliedtoitandproducesanoutput.Theoutputvalueofthecomparatorindicateswhichoftheinputsisgreaterorlesser.Pleasenotethatcomparatorfallsundernon-linearapplicationsofICs.WhatisthereplacementforLM339?LM311,LM324,LM397,LM139,LM239,LM2901Whatisacomparatorcircuit?Acomparatorcircuitcomparestwovoltagesandoutputseithera1(thevoltageattheplusside;VDDintheillustration)ora0(thevoltageatthenegativeside)toindicatewhichislarger.Comparatorsareoftenused,forexample,tocheckwhetheraninputhasreachedsomepredeterminedvalue.WhatistheuseofLM339?LM339isusedinapplicationswhereacomparisonbetweentwovoltagesignalsisrequired.Inadditionwithfourofthosecomparatorsonboardthedevicecancomparefourpairsofvoltagesignalsatatimewhichcomesinhandyinsomeapplications.

21DONAD

DescriptionThe74HC595isanhighspeedCMOS8-BITSHIFTREGISTERS/OUTPUTLATCHES(3-STATE)fabricatedwithsilicongateC2MOStechnology.Thisdevicecontainsan8-bitserial-in,parallel-outshiftregisterthatfeedsan8-bitD-typestorageregister.Thestorageregisterhas83-STATEoutputs.Separateclocksareprovidedforboththeshiftregisterandthestorageregister.Theshiftregisterhasadirect-overridingclear,serialinput,andserialoutput(standard)pinsforcascading.Boththeshiftregisterandstorageregisterusepositive-edgetriggeredclocks.Ifbothclocksareconnectedtogether,theshiftregisterstatewillalwaysbeoneclockpulseaheadofthestorageregister.Allinputsareequippedwithprotectioncircuitsagainststaticdischargeandtransientexcessvoltage.TheShiftRegister:Explained[74HC595]CatalogDescriptionFeaturesApplicationPinoutLogicDiagramParametersComponentDatasheetPackageProductManufacturerFAQOrdering&QuantityFeaturesLowquiescentcurrent:80AmaximumLowinputcurrent:1Amaximum8-bitserial-in,parallel-outshiftregisterwithstorageWideoperatingvoltagerange:2V~6VShiftregisterhasdirectclearGuaranteedshiftfrequency:DCto30MHzPackage:SOP16ApplicationSerial-to-paralleldataconversionRemotecontrolholdingregisterPinoutPinNo.SymbolNameandFunction1,2,3,4,5,6,7,15QAtoQHDataoutput8GNDGround(0V)9QHSerialdataoutput10SCLRShiftregisterclearinput11SCKShiftregisterclockinput12RCKStorageregisterclockinput13GOutputenableinput14SISerialdatainput16VCCPositivesupplyvoltageLogicDiagramParametersBrandNameDiodesLow-powerconsumptionWhenTA=25℃,Icc=4A(MAX)LowquiescentcurrentMaximum80ALowinputcurrentMaximum1AWideoperatingvoltagerange2V-6VPackageDIP16/SOP16ComponentDatasheetDatasheet74HC595DatasheetPackageProductManufacturerDiodesIncorporatedisaleadingglobalmanufacturerandsupplierofhigh-qualityapplicationspecificstandardproductswithinthebroaddiscrete,logic,analog,andmixed-signalsemiconductormarkets.DiodescorporateheadquartersandAmericassalesofficearelocatedinPlano,Texas,andMilpitas,California.Diodesservetheconsumerelectronics,computing,communications,industrial,andautomotivemarkets.Diodesproductsincludediodes,rectifiers,transistors,MOSFETs,protectiondevices,function-specificarrays,singlegatelogic,amplifiersandcomparators,Hall-effectandtemperaturesensors,powermanagementdevices,includingLEDdrivers,AC-DCconvertersandcontrollers,DC-DCswitchingandlinearvoltageregulators,andvoltagereferencesalongwithspecialfunctiondevices,suchasUSBpowerswitches,loadswitches,voltagesupervisors,andmotorcontrollers.FAQWhatis74HC595?74HC595isashiftregisterwhichworksonSerialINParallelOUTprotocol.Itreceivesdataseriallyfromthemicrocontrollerandthensendsoutthisdatathroughparallelpins.Wecanincreaseouroutputpinsby8usingthesinglechip.Whatisa74hc595n?8-bitShiftRegister74HC595NAshiftregisterisachipyoucanusetocontrolmanyoutputs(8here)atthesametimewhileonlyusingafewpins(3here)ofyourArduino.Howdoesashiftregisterwork?Shiftregistersholdthedataintheirmemorywhichismovedorshiftedtotheirrequiredpositionsoneachclockpulse.Eachclockpulseshiftsthecontentsoftheregisteronebitpositiontoeithertheleftortheright.How74HC595ShiftRegiesterworks?The595hastworegisters(whichcanbethoughtofasmemorycontainers),eachwithjust8bitsofdata.ThefirstoneiscalledtheShiftRegister.TheShiftRegisterliesdeepwithintheICcircuits,quietlyacceptinginput.Howdoesan8bitshiftregisterwork?TheSN74HC595Nisasimple8-bitshiftregisterIC.Simplyput,thisshiftregisterisadevicethatallowsadditionalinputsoroutputstobeaddedtoamicrocontrollerbyconvertingdatabetweenparallelandserialformats.YourchosenmicroprocessorisabletocommunicatewiththeTheSN74HC595Nusingserialinformationthengathersoroutputsinformationinaparallel(multi-pin)format.Essentiallyittakes8bitsfromtheserialinputandthenoutputsthemto8pins.DescriptionTheMMBT3904LT1GisaNPNsiliconBipolarTransistor,designedforuseinlinear,lowerpowersurfacemountandswitchingapplications.MMBT3904LT1GHowdoesatransistorwork?CatalogMMBT3904LT1GDescriptionMMBT3904LT1GPinoutMMBT3904LT1GFeaturesMMBT3904LT1GMarkingDiagramMMBT3904LT1GCADModelsMMBT3904LT1GFunctionalEquivalentsMMBT3904LT1GPackageOutlinesMMBT3904LT1GPopularitybyRegionMMBT3904LT1GMarketingPriceAnalysisMMBT3904LT1GManufacturerComponentDatasheetFAQOrdering&QuantityMMBT3904LT1GPinoutMMBT3904LT1GFeaturesTheseDevicesarePbFree,HalogenFree/BFRFreeandareRoHSCompliantSPrefixforAutomotiveandOtherApplicationsRequiringUniqueSiteandControlChangeRequirements;AECQ101QualifiedandPPAPCapableMMBT3904LT1GMarkingDiagramMMBT3904LT1GCADModelsPartSymbolFootprint3DModelMMBT3904LT1GFunctionalEquivalentsMMBT3904LT1GPackageOutlinesMMBT3904LT1GPopularitybyRegionMMBT3904LT1GMarketingPriceAnalysisMMBT3904LT1GManufacturerONSemiconductor(Nasdaq:ON)isdrivingenergyefficientinnovations,empoweringcustomerstoreduceglobalenergyuse.Thecompanyoffersacomprehensiveportfolioofenergyefficientpowerandsignalmanagement,logic,discreteandcustomsolutionstohelpdesignengineerssolvetheiruniquedesignchallengesinautomotive,communications,computing,consumer,industrial,LEDlighting,medical,military/aerospaceandpowersupplyapplications.ONSemiconductoroperatesaresponsive,reliable,world-classsupplychainandqualityprogram,andanetworkofmanufacturingfacilities,salesofficesanddesigncentersinkeymarketsthroughoutNorthAmerica,Europe,andtheAsiaPacificregions.ComponentDatasheetMMBT3904LT1GDatasheetFAQWhatisMMBT3904LT1G?TheMMBT3904LT1GisaNPNsiliconBipolarTransistor,designedforuseinlinear,lowerpowersurfacemountandswitchingapplications.Whatisatransistor?Atransistorisasemiconductordeviceusedtoamplifyorswitchelectronicsignalsandelectricalpower.Itiscomposedofsemiconductormaterialusuallywithatleastthreeterminalsforconnectiontoanexternalcircuit.WhatisPNPtransistor?APNPtransistorisabipolarjunctiontransistorconstructedbysandwichinganN-typesemiconductorbetweentwoP-typesemiconductors.APNPtransistorhasthreeterminalsaCollector(C),Emitter(E)andBase(B).ThePNPtransistorbehavesliketwoPNjunctionsdiodesconnectedbacktoback.Whatdoesatransistordo?Atransistor,alsoknownasaBJT(BipolarJunctionTransistor),isacurrentdrivensemiconductordevicewhichcanbeusedtocontroltheflowofelectriccurrentinwhichasmallamountofcurrentintheBaseleadcontrolsalargercurrentbetweentheCollectorandEmitter.Howmanytypesoftransistorarethere?Transistorsarebasicallyclassifiedintotwotypes;theyareBipolarJunctionTransistors(BJT)andFieldEffectTransistors(FET).TheBJTsareagainclassifiedintoNPNandPNPtransistors.TheFETtransistorsareclassifiedintoJFETandMOSFET.Whatistransistordiagram?DiagramAshowsanNPNtransistorwhichisoftenusedasatypeofswitch.Asmallcurrentorvoltageatthebaseallowsalargervoltagetoflowthroughtheothertwoleads(fromthecollectortotheemitter).ThecircuitshownindiagramBisbasedonanNPNtransistor.Whentheswitchispressedacurrentpassesthroughtheresistorintothebaseofthetransistor.Thetransistorthenallowscurrenttoflowfromthe+9voltstothe0vs,andthelampcomeson.Thetransistorhastoreceiveavoltageatitsbaseanduntilthishappensthelampdoesnotlight.Whatarethetwomainappilcationsoftransistor?Transistorsarecommonlyusedindigitalcircuitsaselectronicswitcheswhichcanbeeitherinanonoroffstate,bothforhigh-powerapplicationssuchasswitched-modepowersuppliesandforlow-powerapplicationssuchaslogicgates.

21DONAD

DescriptionBC327isageneralpurposePNPtransistor,todaywewilldiscussaboutitspinoutconfiguration,equivalent,uses,packagedimensionsandmanyotherdetails.BC327UsingTransistorsBC327BC337toMakeaMiniPowerfulAudioAmplifierCatalogueDescriptionBC327IntroductionBC327PinConfigurationBC327MarkingDiagramBC327TechnicalSpecificationsBC327CADModelsBC327ApplicationsBC327PackageDimensionsBC327FunctionalEquivalentsBC327PopularitybyRegionWhereandHowtoUseBC327HowtoGetLongTermPerformancefromBC327BC327ManufacturerComponentDatasheetOrdering&QuantityBC327IntroductionBC327isageneralpurposePNPBJPtransistorthatcanbeusedforswitchingandamplificationpurposesinelectroniccircuits.Thetransistorfeatures800mAcollectorcurrenthenceitcanbeusedtodrivevarietyofloadsinanelectronicapplication.Themaxcollector-emittervoltageis-45Vthereforeitcaneasilyhandleloadvoltageunder45V.Apartfromthattransistoralsofeatures625mWcollectordissipationandDCcurrentgainofmaximum630thereforeitcanalsobeusedasanaudioamplifierorforanytypeofsignalamplification.BC327manufacturedindifferenthFEclassificationthatcanbedifferentiatewiththecodenumberwrittenafterthetransistornumber.Ifyoufindcode-16afterthetransistornumberthenthehFEwillbe100~250,ifthecodeis-25thenthehFEwillbe160~400andifthecodeis-40thenthehFEwillbe250~630.BC327PinConfigurationPinNumberPinNameDescription1CollectorCurrentflowsinthroughcollector,normallyconnectedtoload2BaseControlsthebiasingoftransistor,UsedtoturnONorOFFthetransistor3EmitterCurrentDrainsoutthroughemitter,normallyconnectedtogroundBC327MarkingDiagramBC327TechnicalSpecificationsPackageType:TO-92TransistorType:PNPMaxCollectorCurrent(IC):-800mAMaxCollector-EmitterVoltage(VCE):-45VMaxCollector-BaseVoltage(VCB):-50VMaxEmitter-BaseVoltage(VBE):-5VMaxCollectorDissipation(Pc):625MilliwattMaxTransitionFrequency(fT):100MHzMinimumMaximumDCCurrentGain(hFE):100to630MaxStorageOperatingtemperatureShouldbe:-55to+150CentigradeBC327CADModelsBC327PartSymbolBC327FootprintBC327ApplicationsOutputofMicrocontrollerstoDriveLoadsAnyTypeofSignalAmplificationAudioamplifierAudioAmpStagesDriveLoadsUnder800mABC327PackageDimensionsBC327FunctionalEquivalentsBC327PopularitybyRegionWhereandHowtoUseBC327LikeotheressentialgeneralpurposetransistorstheBC327isalsoamustofhavetransistorinyourlabbecauseitcanbeusedinwidevarietyofapplications.Itcanbeusedasaswitchtodriveloadsupto800mAwhichincludeshighpowerrelays,highpowertransistors,highpowerLEDs,ICsandotherpartsofacircuit.With-5Vemitter-basevoltagethistransistorcanalsobeusedastheoutputofmicrocontrollerstodriveloadofupto800mAwhichcaneasilydrivemotors,modules,sensorsetc.HowtoGetLongTermPerformancefromBC327Togetlongtermgoodperformancewiththistransistorinyourelectronicapplicationsitisrecommendedtonotdriveloadmorethan0.8Aor800mA,donotdriveloadormorethan-45V,alwaysuseasuitablebaseresistorwiththetransistor.Donotstoreoroperatethistransistorintemperaturebelow-55centigradeandabove+150centigradeandalwayscheckpinconfigurationbeforeplacinginthecircuit.BC327ManufacturerONSemiconductor(Nasdaq:ON)isdrivingenergyefficientinnovations,empoweringcustomerstoreduceglobalenergyuse.Thecompanyoffersacomprehensiveportfolioofenergyefficientpowerandsignalmanagement,logic,discreteandcustomsolutionstohelpdesignengineerssolvetheiruniquedesignchallengesinautomotive,communications,computing,consumer,industrial,LEDlighting,medical,military/aerospaceandpowersupplyapplications.ONSemiconductoroperatesaresponsive,reliable,world-classsupplychainandqualityprogram,andanetworkofmanufacturingfacilities,salesofficesanddesigncentersinkeymarketsthroughoutNorthAmerica,Europe,andtheAsiaPacificregions.ComponentDatasheetBC327Datasheet

DescriptionIRFZ44NisaN-channelPowerMOSFETs,thisblogcoversIRFZ44NMOSFETpinout,datasheet,equivalent,featuresandotherinformationonhowtouseandwheretousethisdevice.CatalogDescriptionIRFZ44NCADModelIRFZ44NPinoutIRFZ44NCircuitIRFZ44NApplicationsIRFZ44NFeaturesIRFZ44NAdvantageIRFZ44NPackageIRFZ44NParametersIRFZ44NDocumentsIRFZ44NProductComplianceIRFZ44NAlternativesIRFZ44NEquivalentsWheretouseIRFZ44NIRLZ44NandIRFZ44NDifferenceHowtouseIRFZ44NHowtoSafelyLongRunIRFZ44NinCircuitsIRFZ44NManufacturerComponentDatasheetFAQOrdering&QuantityIRFZ44NCADModelIRFZ44NSymbolIRFZ44NFootprintIRFZ44NPinoutPinNumberPinNameDescription1SourceCurrentflowsoutthroughSource2GateControlsthebiasingoftheMOSFET3DrainCurrentflowsinthroughDrainIRFZ44NCircuitSwitchingTimeTestCircuitUnclampedInductiveTestCircuitGateChargeTestCircuitPeakDiodeRecoverydv/dtTestCircuitIRFZ44NApplicationsBatteryChargersBatteryManagementSystemsSolarBatteryChargersApplicationsFastSwitchingApplicationsUninterruptiblePowerSuppliesMotorDriverCircuitsSolarUninterruptiblePowerSuppliesIRFZ44NFeaturesAdvancedProcessTechnologyUltraLowOn-ResistanceDynamicdv/dtRating175COperatingTemperatureFastSwitchingFullyAvalancheRatedLead-FreeIRFZ44NAdvantageIRFZ44NisawidelyusedMOSFETtransistordesignedtouseinvarietyofgeneralpurposeapplications.Thetransistorpossesseshighspeedswitchingcapabilitywhichmakesitidealtouseinapplicationswherehighspeedswitchingisacrucialrequirement.Thetransistoriscapabletodriveloadofupto49Aandthemaxloadvoltagecanbe55V.Howeverthepeakpulsecurrentcanbeupto160A.Theminimumthresholdvoltagerequiredforthistransistortomakeitinfullyopenstateis2Vto4V.Thistransistorcanalsobeusedasanaudioamplifierorinaudioamplifierstages;itiscapabletodelivermaximumaudiooutputof94W.IRFZ44NPackageTo-220ABPackageOutlineIRFZ44NParametersBrandInfineon/IRChannelModeEnhancementConfigurationSingleFallTime45nsForwardTransconductance-Min19SHeight15.65mmId-ContinuousDrainCurrent49ALength10mmManufacturerInfineonMaximumOperatingTemperature+175CMinimumOperatingTemperature-55CMountingStyleThroughHoleNumberofChannels1ChannelPackage/CaseTO-220-3Pd-PowerDissipation94WProductCategoryMOSFETProductTypeMOSFETRdsOn-Drain-SourceResistance17.5mOhmsRiseTime60nsSubcategoryMOSFETsTechnologySiTransistorPolarityN-ChannelTransistorType1N-ChannelTypeHEXFETPowerMOSFETTypicalTurn-OffDelayTime44nsTypicalTurn-OnDelayTime12nsUnitWeight0.211644ozVds-Drain-SourceBreakdownVoltage55VVgs-Gate-SourceVoltage-20V,+20VWidth4.4mmIRFZ44NDocumentsEOLEndofLifeNotification(PDF)ModelsIRFZ44NSymbolFootprintbySnapEDAProductCatalogsGateDriverSelectionGuide2019(PDF)SelectionGuide(PDF)IRFZ44NProductComplianceUSHTS8541290095TARIC8541100000ECCNEAR99IRFZ44NAlternativesIRF2807,IRFB3207,IRFB4710IRFZ44NEquivalentsIRFZ46N,STP55N06,2SK2376,BUK456-60H,STP50N06,2SK2312,2SK2376,BUZ102S,IRF1010AIRLZ44NandIRFZ44NDifferenceTheIRLZ44NandIRFZ44NMOSFETsareoftenconfusedamongeachotherandusedincorrectly.TheIRLZ44NisaLogiclevelMosfetwithaverylowgatethresholdvoltageof5V,meaningtheMOSFETcanbefullyturnedonwithjust5Vonitsgatepinwhichavoidstheneedforadrivercircuit.IRLZ44NTheIRFZ44NontheotherhandrequiresagatedrivercircuitiftheMOSFEThastobeturnedoncompletelyusingamicrocontrollerlikeArduino.Howeveritdoesturnonpartiallywithdirect5VformaI/Opin,buttheoutputdraincurrentwillbelimited.IRFZ44NWheretouseIRFZ44NTheIRFZ44Nisknownforitshighdraincurrentandfastswitchingspeed.AddingtothatitalsohasalowRdsvaluewhichwillhelpinincreasingtheefficiencyofswitchingcircuits.TheMOSFETwillstartturningonwithasmallgatevoltageof4V,butthedraincurrentwillbemaximumonlywhenagatevoltageof10Visapplied.IfthemosfethastobedrivendirectlyfromamicrocontrollerlikeArduinothentrythelogiclevelversionIRLZ44Nmosfet.HowtouseIRFZ44NUnliketransistorsMOSFETsarevoltagecontrolleddevices.Meaning,theycanbeturnedonorturnedoffbysupplyingtherequiredGatethresholdvoltage(VGS).IRFZ44NisanN-channelMOSFET,sotheDrainandSourcepinswillbeleftopenwhenthereisnovoltageappliedtothegatepin.Whenagatevoltageisappliedthesepinsgetsclosed.IfitisrequiredtobeswitchedwithArduino,thenasimpledrivecircuitusingatransistorwillworktoprovidetherequiredgatevoltagetotriggertheMOSFETtoopenfully.Forotherswitchingandamplifyingapplications,adedicatedMOFETDriverICisrequired.HowtoSafelyLongRunIRFZ44NinCircuitsTogetlongtermperformancewithIRFZ44Nitissuggestedtonotusethistransistoronitsmaximumratings.Usinganycomponentsonitsmaximumratingcancausestressonthecomponentandmaydamageorweakitsinsidecircuitrywhichresultinweakerperformance.Wealwayssuggestuseanycomponentatleat20%belowfrommaximumcapacityorspecifications.ThesamerulewillbeappliedforIRFZ44N.Themaximumdraincurrentis49amperesthereforedonotdriveloadofmorethan39amperes.Themaximumloadvoltageis55Vandforsafetydonotdriveloadofmorethan44V.TheGatetosourcevoltageshouldbeunder20Vandalwaysstoreoroperatethetransistorintemperatureabove-55centigradeandbelow+175centigrade.IRFZ44NManufacturerInfineonTechnologiesAGisaworldleaderinsemiconductorsolutionsthatmakelifeeasier,saferandgreener.MicroelectronicsfromInfineonisthekeytoabetterfuture.Inthe2019fiscalyear(ending30September),thecompanyreportedsalesofaround8billionwithabout41,400employeesworldwide.InfineonislistedontheFrankfurtStockExchange(tickersymbol:IFX)andintheUSAontheover-the-countermarketOTCQXInternationalPremier(tickersymbol:IFNNY).ComponentDatasheetIRFZ44NDatasheetFAQWhatisirfz44n?TheIRFZ44NisaN-channelMOSFETwithahighdraincurrentof49AandlowRdsvalueof17.5m.Italsohasalowthresholdvoltageof4VatwhichtheMOSFETwillstartconducting.Henceitiscommonlyusedwithmicrocontrollerstodrivewith5V.WhatarepowerMOSFETsusedfor?PowerMOSFETsarewidelyusedintransportationtechnology,whichincludeawiderangeofvehicles.Intheautomotiveindustry,powerMOSFETsarewidelyusedinautomotiveelectronics.PowerMOSFETs(includingDMOS,LDMOSandVMOS)arecommonlyusedforawiderangeofotherapplications.HowdoIuseirfz44n?IRFZ44NisanN-channelMOSFET,sotheDrainandSourcepinswillbeleftopenwhenthereisnovoltageappliedtothegatepin.Whenagatevoltageisappliedthesepinsgetsclosed.HowdoIturnonamosfetchannel?N-ChannelForanN-ChannelMOSFET,thesourceisconnectedtoground.ToturntheMOSFETon,weneedtoraisethevoltageonthegate.Toturnitoffweneedtoconnectthegatetoground.P-ChannelThesourceisconnectedtothepowerrail(Vcc).Whattodowithirfz44n?IntroductionAcircuitordevicethatchangesthephaseofasignalby180,asrequiredforfeedingapush-pullamplifierstagewithoutusingacouplingtransformer,orforchangingthepolarityofapulse;atriodeiscommonlyusedasaphaseinverter.Alsoknownasinverter.Thefollowingisanintroductionto74LS04andothersimilarICchips.CatalogIntroductionI74LS04VS.74LS141.1BriefIntroduction1.2Differencebetween74LS04and74LS14II74LS04VS.74LS08III74LS04VS.74HC04IV74LS04VS.54LS04FAQOrdering&QuantityI74LS04VS.74LS141.1BriefIntroductionBoth74LS04and74LS14arenotgatesofthe74series.74LS04isaHexInverter.74LS14isaHexSchmidttrigger.The74LS04gatecircuithasathresholdvoltage.Whentheinputvoltagerisesfromthelowleveltothethresholdvoltage,ordecreasesfromthehighleveltothethresholdvoltage,theconditionofthecircuitwillchange.74LS14isaSchmidttrigger.Itisaspecialgatecircuit,whichisnotcompatiblewiththesimplegatecircuit.Schmidttriggerhastwothresholdvoltages(positivethresholdvoltageandnegativethresholdvoltage).1.2Differencebetween74LS04and74LS14◾Output:Theoutputof74LS04and74LS14arethesame.Ifthesamemanufacturer,theoutputparametersarethesame.◾Input:Thedifferencebetweenthetwoisthattheinputisnotthesame.74LS04inputisTTLlevel,while74LS14inputisSchmidtinput(withhysteresischaracteristics).Becausetheinputisdifferent,theapplicationofthetwochipsisalsodifferent.74LS04ismostlyusedfornoncontrolofgeneraldataontheboard,while74LS14isgenerallyusedforsignalshapingorsignalbufferingofcriticalsignals.Inmostcases,74LS14canreplace74LS04.II74LS04VS.74LS08The74LS08devicecontains4independent2-inputANDgates.Thelogicfunctionexpressionof74LS08is:Y=ABorY=/(A+B),positivelogic.74LS08iscommonlyusedindigitalcircuitsystems.74LS0474LS08VCC(Min)(V)4.754.75VCC(Max)(V)5.255.25LogiclevelTTLTTLPin/Package14PDIP,14SO,14SOIC,14SSOPPDIP14,SOIC14,SOP14,SSOP14III74LS04VS.74HC0474HC04isahexinverterofCMOScircuit,andtheworkingvoltageis2V-6V.Both74LS04and74HC04areinverters,butLSstandsforlow-powerSchottkyandHCishigh-speedCOMS.LSisslightlyfasterthanHC.LSadoptsTTLlevel.HCisCMOSlevel.74HC04iseasytounderstand.Inputlowlevel,outputhighlevel.Inputhighlevel,outputlowlevel.74LS04containssixindependentgateseachofwhichperformsthelogicINVERTfunction.Theoutputsignalsofthesixinvertersareoppositetotheinputsignals.Theinvertercanreversethephaseoftheinputsignalby180degrees.Thiscircuitisusedinanalogcircuits,suchasaudioamplifier,clockoscillator,etc.IV74LS04VS.54LS0454LS04containssixindependentinverters.Itischaracterizedforoperationoverthefullmilitarytemperaturerangeof-55℃to125℃.74LS0454LS04TechnologyFamilyLSLSVCC(Min)(V)4.754.5VCC(Max)(V)5.255.5Bits(#)66Voltage(Nom)(V)55F@NomVoltage(Max)(Mhz)3535ICC@NomVoltage(Max)(mA)0.0330.033tpd@NomVoltage(Max)(ns)2222IOL(Max)(mA)88IOH(Max)(mA)-0.4-0.4SchmittTriggerNoNoRatingCatalogMilitaryOperatingTemperatureRange(C)0to70-55to125Pin/Package14PDIP,14SO,14SOIC,14SSOP14CDIP,14CFP,20LCCCFAQWhatis74LS04?74LS04isamemberof74XXYYICseries.The74-seriesaredigitallogicintegratedcircuits.74LS04IChassixNOTgates.TheseNOTgatesperformInvertingfunction.HencenameHEXINVERTINGGATES.Whatisthefunctionofic74ls04?74LS04HexNOTGateIC.74LS04isa2inputquadruple8-bitNOTgateIC.InverterinlogicconvertersisanelectronicsdevicewhosebasicfunctionsaretoinverttheincominglogicweatheritisHIGHorLOW.TheyarealsoknownasNOTgates.Whatisahexinverter?Ahexinverterisatypeofanintegratedcircuitthatcontainssixinverters.Manysophisticateddigitaldevicesuseinverters,includingmultiplexers,decoders,andstatemachines.Aninvertercircuitsmainfunctionistooutputthevoltagerepresentingtheoppositeleveltoitsinput.WhyisNOTgatecalledaninverter?ANOTgate,oftencalledaninverter,isanicedigitallogicgatetostartwithbecauseithasonlyasingleinputwithsimplebehavior.ANOTgateperformslogicalnegationonitsinput.Inotherwords,iftheinputistrue,thentheoutputwillbefalse.

DescriptionTIP122isanNPNDarlingtontransistor.Darlingtontransistormeanstherearetwotransistorinonepackageconnectedtoincreasegainatoutput.TIP122transistorhasalotofgoodfeatureslike5Acollectorcurrent,maxemitter-basevoltageis5V,maxcollectordissipationis65watt,minimummaximumcurrentgainisequalto1000.Thistransistorisdesignedtouseasaswitchandforamplificationpurposes.CatalogDescriptionTIP122ComponentDatasheetTIP122PinoutTIP122FeaturesTIP122ApplicationsTIP122EnvironmentalandExportClassificationsTIP122ParametersWorkingofTIP122HowtoSafelyLongRuninaCircuitDarlingtonCircuitSchematicWheretouseTIP122HowtouseTIP122TIP122ReplacementandEquivalentComplementofTIP122TIP122AlternativeNPNTransistorsTIP122SameFamilyTransistorsAdditionalResourcesFAQOrdering&QuantityTIP122ComponentDatasheetResourceTypeLinkDatasheetsTIP120-22TIP120-22,TIP125-27TO220B03PkgDrawingPCNObsolescence/EOLMultipleDevices19/Jun/2009MultDeviceEOL19/May/2017PCNDesign/SpecificationHeatsinkDesingChanges24/Feb/2014Logo17/Aug/2017PCNPackagingTapeandBox/ReelBarcodeUpdate07/Aug/2014MultDevices24/Oct/2017HTMLDatasheetTO220B03PkgDrawingTIP122PinoutPinNumberPinNameDescription1BaseItgovernsthebiasingofthetransistorandworkstoturnONorOFFthetransistor.2CollectorCurrentflowsinthroughcollector,usuallyconnectedtoload3EmitterCurrentcomesoutbytheemitter,itisusuallylinkedtoground.TIP122FeaturesHighDCCurrentGainhFE=2500(Typ)@IC=4.0AdcCollectorEmitterSustainingVoltage@100mAdcVCEO(sus)=60Vdc(Min)TIP120,TIP125=80Vdc(Min)TIP121,TIP126=100Vdc(Min)TIP122,TIP127LowCollectorEmitterSaturationVoltageVCE(sat)=2.0Vdc(Max)@IC=3.0Adc=4.0Vdc(Max)@IC=5.0AdcMonolithicConstructionwithBuiltInBaseEmitterShuntResistorsPbFreePackagesareAvailable*TIP122ApplicationsAudioAmplifierAudioAmplifierStagesAudioPreamplifiersSwitchingLoadsUnder5ATIP122EnvironmentalandExportClassificationsAttributeDescriptionRoHSStatusRoHSnon-compliantMoistureSensitivityLevel(MSL)1(Unlimited)TIP122ParametersBaseProductNumberTIP122CategoryDiscreteSemiconductorProducts-Transistors-Bipolar(BJT)-SingleCollector-BaseVoltageVCBO100VConfigurationSingleCurrent-Collector(Ic)(Max)5ACurrent-CollectorCutoff(Max)500ADCCurrentGain(hFE)(Min)@Ic,Vce1000@3A,3VDescriptionTRANSNPNDARL100V5ATO220ABDetailedDescriptionBipolar(BJT)TransistorEmitter-BaseVoltageVEBO5VFactoryPackQuantity200Height9.4mmLength10.67mmManufacturerONSemiconductorManufacturerProductNumberTIP122MaximumCollectorCut-offCurrent200uAMaximumDCCollectorCurrent5AMaximumOperatingTemperature+150CMinimumOperatingTemperature-65CMountingStyleThroughHoleMountingTypeThroughHoleOperatingTemperature-65C~150C(TJ)PackagingBulkPartStatusObsoletePower-Max2WProductTypeDarlingtonTransistorsSeriesTIP122SubcategoryTransistorsTransistorTypeNPN-DarlingtonUnitWeight0.042329ozVceSaturation(Max)@Ib,Ic4V@20mA,5AVoltage-CollectorEmitterBreakdown(Max)100VWidth4.83mmWorkingofTIP122Thistransistorisrecognizedforitshighercurrentgainwhichis1000andhighercollectorcurrent5amperes,therefore,itisusuallyusedtoswitchThistransistorhaslessbaseandemitterVoltageofthemerely5VhenceforthcanbeeffortlesslyorganizedbyaLogicinstrumentsuchasamicrocontrollerThoughprecautionhastobeengagedtocheck,ifthelogicinstrumentscanfontupto120mA.ThoughTIP122hasextraordinarycurrentatcollectorandcurrentgain,itisimpartiallymodesttoswitchtheexpedientmeanwhileithasanEmitter-Basevoltage(VBE)oftheonly5VandIbofmerely120mA.HowtoSafelyLongRuninaCircuitTogetbetterperformancewiththisdarlingtiontransistorwesuggesttoalwaysstayingbelowitsmaximumratings.Donotoperateitincircuitsusingmorethan100V.Donotprovideloadmorethan5A.Alwaysuseasuitablebaseresistortoproviderequiredcurrentatitsbase.Useasuitableheatsinktosaveitfromoverheatinganddostoreoruseitintemperaturebelow-65centigradeandabove+150centigrade.DarlingtonCircuitSchematicWheretouseTIP122Thistransistorisknownforitshighcurrentgain(hfe=1000)andhighcollectorcurrent(IC=5A)henceitisnormallyusedtocontrolloadswithhighcurrentorinapplicationswherehighamplificationisrequired.ThistransistorhasalowBase-EmitterVoltageoftheonly5VhencecanbeeasilycontrolledbyaLogicdevicelikemicrocontrollers.Althoughcarehastobetakentocheckifthelogicdevicecansourceupto120mA.So,ifyoulookingforatransistorthatcouldbeeasilycontrolledbyaLogicdevicetoswitchhighpowerloadsortoamplifyhighcurrentthenthisTransistormightbeanidealchoiceforyourapplication.HowtouseTIP122AlthoughTIPhashighcollectorcurrentandcurrentgain,itisfairlysimpletocontrolthedevicesinceithasanEmitter-Basevoltage(VBE)ofonly5Vandbasecurrentofonly120mA.InthebelowcircuitIhaveusedtheTIP122tocontrola48Vmotorwhichhasacontinuouscurrentofabout3A.Thecontinuescollectorcurrentofthistransistoris5Aandourloadconsumesonly3Awhichisfine.Themaximumbasecurrentisabout120mA,butIhaveusedhighvalueof100ohmresistortolimititto42mA.Youcanuseevena1Kresistorifyourcollectorcurrentrequirementisless.Thepeak(pulse)currentofthistransistoris8Asomakesureyourmotordoesnotconsumemorethanthat.Thisisjustamodelcircuitdiagramthatshowstheworkingonthistransistoritcannotbeusedassuch.So,similarlyyoucancontrolyourloadinthesameway.TIP122ReplacementandEquivalentTIP132,TIP102,NTE261,NTE263,2N6045,2N6045G,2SD2495,BDT65B,2N6532,BDT63B,BDW43,TIP142T(PinconfigurationofsometransistorsmaydifferfromTIP122,checkpinconfigurationbeforereplacinginacircuit)TIP22isadarlingtionpairtransistormanufacturedinTO-220package,itsagoodtransistortouseasahighgainswitchoramplifier.ComplementofTIP122ThecomplementoftheTIP122transistorisTIP127.TIP122AlternativeNPNTransistorsBC547,BC548,BC549,BC636,BC639,2N2369,2N3055,2N3904,2N3906,2SC5200TIP122SameFamilyTransistorsNPNFamilytransistorsareTIP120,TIP121,TIP122,andPNPFamilyareTIP125,TIP126,TIP127(PNP)AdditionalResourcesAttributeDescriptionOtherNamesTIP122FSTIP122FS-NDTIP122FS-NDRTIP122OSFAQWhatisTIP122transistor?TIP122TransistorisanNPNDarlingtontransistor....TIP122Darlingtontransistorhasalotofgoodfeatures,like5Acollectorcurrent,maximumemitter-basevoltageis5V,maximumcollectordissipationis65watt,andsoon.Thistransistorismanufacturedtouseasaswitchandforamplificationpurposes.WhattypeofpackageisusedforTIP122transistor?TheTIP122isasiliconNPNDarlingtontransistorinaTO-220typepackagedesignedforgeneralpurposeamplifierandlow-speedswitchingapplications.HowdoyoutestatransistorTIP122?Harvino.Theproperwaytotestistosetyourdmmtodiodetest(usually2ksettingontheohmscale).Transistorshavethreelegs;anemitter,abase,andacollector.HowdoIknowifmytransistorisblown?Connectthebaseterminalofthetransistortotheterminalmarkedpositive(usuallycolouredred)onthemultimeter.Connecttheterminalmarkednegativeorcommon(usuallycolouredblack)tothecollectorandmeasuretheresistance.Itshouldreadopencircuit(thereshouldbeadeflectionforaPNPtransistor).Whatarethe3terminalsofatransistor?Abipolartransistorhasterminalslabeledbase,collector,andemitter.Asmallcurrentatthebaseterminal(thatis,flowingbetweenthebaseandtheemitter)cancontrolorswitchamuchlargercurrentbetweenthecollectorandemitterterminals.HowtomakeminiaudioamplifieruseTIP122/TIP127transistor?IntroductionLM339(Quaddifferentialcomparator)consistoffourindependentvoltagecomparators.Itisacommonintegratedcircuitandismainlyusedinhigh-voltagedigitallogicgatecircuits.UsingLM339caneasilyformvariousvoltagecomparatorcircuitsandoscillatorcircuits.CatalogIntroductionCatalogICircuitofSingleLimitComparatorIIOverheatDetectionandProtectionCircuitIIIHysteresisComparatorIVOver-voltageDetectionCircuitVDoubleLimitComparatorVIUsingLM339toformanOscillatorFAQOrdering&QuantityICircuitofSingleLimitComparatorFigure(a)showsabasicsinglelimitcomparator.AddtheinputsignalUIN(i.e.voltagetobecompared)tothein-phaseinputterminal,andconnectareferencevoltageUrattheanti-phaseinputterminal.WhentheinputvoltageUinUr,theoutputishighlevelUOH.Figure(b)showsitstransmissioncharacteristics.Figure1.CircuitofSingleLimitComparatorIIOverheatDetectionandProtectionCircuitItispoweredbyasinglepowersupply.Afixedreferencevoltageisaddedtotheanti-phaseinputterminalof1/4LM339,anditsvaluedependsonR1andR2.UR=R2/(R1+R2)*UCC.Thevoltageatthein-phaseterminalisequaltothevoltagedropofthethermistorRT.Whenthetemperatureinsidethemachineisbelowthesetvalue,the+terminalvoltageisgreaterthanthe-terminalvoltage,andUoisahighpotential.Whenthetemperaturerisesabovethesetvalue,the-terminalvoltageisgreaterthanthe+terminal,andtheUooutputisatzeropotential,whichcausestheprotectioncircuittooperate.AdjustingthevalueofR1canchangethethresholdvoltage,whichsetsthetemperaturevalue.Figure2.OverheatDetectionandProtectionCircuitIIIHysteresisComparatorThehysteresiscomparatorcanalsoberegardedasasinglelimitcomparatorwithpositivefeedback.Inthesinglelimitcomparatordescribedabove,iftheinputsignalUinhasslightinterferencenearthethreshold,theoutputvoltagewillproducecorrespondingundulation.Thisshortcomingcanbeovercomebyintroducingpositivefeedbackintothecircuit..Figure(a)showsahysteresiscomparator.ThefamiliarSchmidtcircuitisacomparatorwithhysteresis.Figure(b)showsthetransmissioncharacteristicsofthehysteresiscomparator.Figure3.HysteresisComparatorItisnotdifficulttoseethatoncetheoutputstateischanged,theoutputvoltagewillbestableaslongastheinterferencenearthejumpvoltagevaluedoesnotexceedthevalueofU.Accordingly,itcomestoareductioninresolution.Forthehysteresiscomparator,itcantdistinguishtwoinputvoltageswhosedifferenceislessthanU.Thehysteresiscomparatorwithpositivefeedbackcanacceleratetheresponsespeedofthecomparator,whichisoneofitsadvantages.Inaddition,sincethepositivefeedbackaddedbythehysteresiscomparatorisverystrongandmuchstrongerthantheparasiticcouplinginthecircuit,thehystericcomparatorcanalsoavoidtheself-oscillationcausedbytheparasiticcouplingofthecircuit.IVOver-voltageDetectionCircuitFigure4showsthepartofover-voltagedetectioncircuitinaninductioncookercircuit.Whenthegridvoltageisnormal,1/4lm339u42.8v,thecomparatorturnsover.Theoutputis0VandBG1iscutoff.ThevoltageofU5iscompletelydeterminedbythepartialvoltagevalueofR1andR2,whichis2.7V.ItmakesU4largerthanU5,whichmakesthestateafteroverturningextremelystableandavoidstheinstabilitycausedbythesmallfluctuationofgridvoltageneartheover-voltagepoint.Duetocertainhysteresis,afterovervoltageprotection,theinductioncookerstartstoworkagainwhenthegridvoltagedropsto242-5=237vandU4U3.Figure4.Over-voltageDetectionCircuitVDoubleLimitComparatorThecircuitinFigure5consistsoftwoLM339toformawindowcomparator.WhenthecomparedsignalvoltageUinisbetweenthethresholdvoltages(UR1UinUR2),theoutputishighpotential(UO=UOH).WhenUinisnotbetweenthethresholdpotentialrange,(UinUR2orUinUR1)theoutputislowpotential(UO=UOL),andthewindowvoltageU=UR2-UR1.Itcanbeusedtojudgewhethertheinputsignalpotentialisbetweenthespecifiedthresholdpotential.Figure5.DoubleLimitComparatorVIUsingLM339toformanOscillatorFigure6showsthecircuitofanaudiosquarewaveoscillatorcomposedof1/4LM339.ChangingC1canchangethefrequencyoftheoutputsquarewave.Inthiscircuit,whenC1=0.1uF,f=53Hz;whenC1=0.01uF,f=530Hz;whenC1=0.001uF,f=5300Hz.LM339canalsoformahigh-voltagedigitallogicgatecircuit,andcandirectlyinterfacewithTTLandCMOScircuits.Figure6.LM339OscillatorFAQWhatisLM339?LM339isavoltagecomparatorICfromLMx39xseriesandismanufacturedbymanyindustries.Thedevicesconsistoffourindependentvoltagecomparatorsthataredesignedtooperatefromasinglepowersupply.WhatisthedifferencebetweenLM324andLM339?TheLM324hasacomplementaryoutputwhiletheLM339isopencollector.Inthecomplementaryoutput,currentcanflowineitherdirectionasrequired(eithersourceorsink)whiletheopencollectoroutputcanonlysinkcurrent.HowdoesLM339comparatorwork?TheLM339isaquadopampcomparator.Acomparatorworksbyasimpleconcept.Eachopampofacomparatorhas2inputs,ainvertinginputandanoninvertinginput.Iftheinvertinginputvoltageisgreaterthanthenoninvertinginput,thentheoutputisdrawntoground.Whatiscomparatoric?Acomparatorisanelectroniccircuit,whichcomparesthetwoinputsthatareappliedtoitandproducesanoutput.Theoutputvalueofthecomparatorindicateswhichoftheinputsisgreaterorlesser.Pleasenotethatcomparatorfallsundernon-linearapplicationsofICs.WhatisthereplacementforLM339?LM311,LM324,LM397,LM139,LM239,LM2901Whatisacomparatorcircuit?Acomparatorcircuitcomparestwovoltagesandoutputseithera1(thevoltageattheplusside;VDDintheillustration)ora0(thevoltageatthenegativeside)toindicatewhichislarger.Comparatorsareoftenused,forexample,tocheckwhetheraninputhasreachedsomepredeterminedvalue.WhatistheuseofLM339?LM339isusedinapplicationswhereacomparisonbetweentwovoltagesignalsisrequired.Inadditionwithfourofthosecomparatorsonboardthedevicecancomparefourpairsofvoltagesignalsatatimewhichcomesinhandyinsomeapplications.

IIntroductionInthisblog,wecomparetheLM339andLM339NproducedbyTI.Thecontentofcomparisonincludescomponentparameters,packaging,applicationareas,andtheircircuitdiagrams,etc.HopethisblogishelpfultothoseinterestedinLM339orLM339N.LM339NCatalogIIntroductionIIComponentDatasheetIIIDifferenceBetweenLM339andLM339NIVParametersVFeaturesVIApplicationsVIIPinoutFAQOrdering&QuantityIIComponentDatasheetComponentDatasheet1LM339NDatasheetComponentDatasheet2LM339DatasheetIIIDifferenceBetweenLM339andLM339N◾LM339Nisaquadvoltagecomparator.Itadoptsdualin-line14-pinpackage.Themaximumoperatingvoltageis18Vandthepowerconsumptionis265mW.Itisusedininductioncookersandotherproducts.◾LM339(Quaddifferentialcomparator)consistoffourindependentvoltagecomparators.Itisacommonintegratedcircuitandismainlyusedinhigh-voltagedigitallogicgatecircuits.LM339commonmoderangeisverylarge,from0vtothepowersupplyvoltage-1.5v;widesupplyvoltagerange:singlepowersupplyis2-36V;dualpowersupplyvoltageis1V~18V.IVParametersParametersLM339NLM339Numberofchannels(#)44OutputtypeOpen-collector,Open-drainOpen-collectorPropagationdelaytime(s)0.70.3Vs(Max)(V)3630Vs(Min)(V)22Vos(offsetvoltage@25C)(Max)(mV)55Iqperchannel(Typ)(mA)0.20.2Inputbiascurrent(+/-)(Max)(nA)25050Rail-to-railOutOutRatingCatalogCatalogOperatingtemperaturerange(C)0to700to70FeaturesStandardcomparatorStandardcomparatorVICR(Max)(V)3428.5VICR(Min)(V)00Approx.price(US$)1ku|0.241ku|0.05VFeaturesLM339NLM339WideSupplyVoltageRangeLM139/139ASeries2to36VDCor1to18VDCLM2901-N:2to36VDCor1to18VDCLM3302-N:2to28VDCor1to14VDCVeryLowSupplyCurrentDrain(0.8mA)IndependentofSupplyVoltageLowInputBiasingCurrent:25nALowInputOffsetCurrent:5nAOffsetVoltage:3mVInputCommon-ModeVoltageRangeIncludesGNDDifferentialInputVoltageRangeEqualtothePowerSupplyVoltageLowOutputSaturationVoltage:250mVat4mAOutputVoltageCompatibleWithTTL,DTL,ECL,MOS,andCMOSLogicSystemsWideSupplyRangesSingleSupply:2Vto36V(Testedto30VforNon-VDevicesand32VforV-SuffixDevices)DualSupplies:1Vto18V(Testedto15VforNon-VDevicesand16VforV-SuffixDevices)LowSupply-CurrentDrainIndependentofSupplyVoltage:0.8mA(Typical)LowInputBiasCurrent:25nA(Typical)LowInputOffsetCurrent:3nA(Typical)(LM139)LowInputOffsetVoltage:2mV(Typical)Common-ModeInputVoltageRangeIncludesGroundDifferentialInputVoltageRangeEqualtoMaximum-RatedSupplyVoltage:36VLowOutputSaturationVoltageOutputCompatibleWithTTL,MOS,andCMOSOnProductsComplianttoMIL-PRF-38535,AllParametersAreTestedUnlessOtherwiseNoted.OnAllOtherProducts,ProductionProcessingDoesNotNecessarilyIncludeTestingofAllParameters.VIApplicationsLM339NLM339High-PrecisionComparatorsReducedVOSDriftOvertemperatureEliminatesNeedforDualSuppliesAllowsSensingNearGNDCompatibleWithAllFormsofLogicPowerDrainSuitableforBatteryOperationIndustrialAutomotiveInfotainmentandClustersBodyControlModulesPowerSupervisionOscillatorsPeakDetectorsLogicVoltageTranslationVIIPinoutLM339andLM339NsharethesamepinoutdiagramFAQWhatisLM339?LM339isavoltagecomparatorICfromLMx39xseriesandismanufacturedbymanyindustries.Thedevicesconsistoffourindependentvoltagecomparatorsthataredesignedtooperatefromasinglepowersupply.WhatisthedifferencebetweenLM324andLM339?TheLM324hasacomplementaryoutputwhiletheLM339isopencollector.Inthecomplementaryoutput,currentcanflowineitherdirectionasrequired(eithersourceorsink)whiletheopencollectoroutputcanonlysinkcurrent.HowdoesLM339comparatorwork?TheLM339isaquadopampcomparator.Acomparatorworksbyasimpleconcept.Eachopampofacomparatorhas2inputs,ainvertinginputandanoninvertinginput.Iftheinvertinginputvoltageisgreaterthanthenoninvertinginput,thentheoutputisdrawntoground.Whatiscomparatoric?Acomparatorisanelectroniccircuit,whichcomparesthetwoinputsthatareappliedtoitandproducesanoutput.Theoutputvalueofthecomparatorindicateswhichoftheinputsisgreaterorlesser.Pleasenotethatcomparatorfallsundernon-linearapplicationsofICs.WhatisthereplacementforLM339?LM311,LM324,LM397,LM139,LM239,LM2901Whatisacomparatorcircuit?Acomparatorcircuitcomparestwovoltagesandoutputseithera1(thevoltageattheplusside;VDDintheillustration)ora0(thevoltageatthenegativeside)toindicatewhichislarger.Comparatorsareoftenused,forexample,tocheckwhetheraninputhasreachedsomepredeterminedvalue.WhatistheuseofLM339?LM339isusedinapplicationswhereacomparisonbetweentwovoltagesignalsisrequired.Inadditionwithfourofthosecomparatorsonboardthedevicecancomparefourpairsofvoltagesignalsatatimewhichcomesinhandyinsomeapplications.IDescriptionThisblogmainlydiscussesandsolvesthefollowingproblem:HowtouseLM339voltagecomparatortomakeareservoirwaterlevelgauge?Accordingtowaterlevel,thisdesignperformssignalprocessingandcontrolsthepotentialofmultiplevoltagecomparators,sotheoutputwillchangeaccordingly.Therefore,underitsdrive,LEDcannotonlyemitlight,butalsoachievetheeffectofindicatingthewaterlevel.Figure1.LM339CatalogIDescriptionIIIntroductionIIIWokingPrincipleIVDeviceselectionandComponentProduction4.1deviceselection4.2PartProductionVInstallationandDebugging5.1DetectionPart5.2DisplayPartVIConclusionFAQOrdering&QuantityIIIntroductionDuetoinsufficientwatersupplyinsomeresidentialareas,pumpworkersmustfirststorewaterinthereservoirandthensupplywaterinaregularmanner.Inthisway,thepumpworkermustknowthewaterlevelofthereservoiratanytimeinthepumproom.Inthepast,electrodessuchascopperrodsorstainlesssteelwereusedtodetectthewaterlevelofthepool.However,duetoelectriccorrosion,thefunctionoftheelectrodeislostsoonafteruse.Forthisreason,thisblogusesLM339voltagecomparatortomakewaterlevelgauge.Thisnotonlyeliminatesthepainofoftenchangingelectrodes,butalsosimpleandeasy.Howsimpleisit?Onlytwowiresneedtobeconnectedfromthereservoirtothepumproom.Aftermorethantwoyearsofoperation,itsperformancehasbeenstableandreliable,achievingtheexpectedresults.IIIWokingPrincipleThemaincircuitofthewaterlevelgaugeiscomposedof4LM339voltagecomparators.Thiskindofintegratedcircuithasthecharacteristicsofeasypurchase,lowprice,singlepowersupplyoperationandwidedifferentialrange.EachLM339has4independentvoltagecomparators(15inthisdesign).Aslongasthepotentialdifferencebetweenthepositiveandnegativeinputterminalsis10mV,theoutputterminalcanbereliablyswitchedfromonestatetoanother.Whenthepositiveinputterminalis10mVhigherthanthenegativeinputterminal,itsoutputterminalishigh;Whenthenegativeinputis10mVhigherthanthepositiveinput,itsoutputislow.Inaddition,LEDscanbedrivendirectly.ThenhowtomaketheoutputendofLM339havehighandlowlevelchanges?Inspecificuse,anappropriateresistanceisgenerallyaddedbetweentheoutputterminalandthepositivepowersupply.Thisresistoriscalledapull-upresistor.Thatis,whentheoutputterminalofLM339isinahighimpedancestate,thepotentialoftheoutputterminalispulledupbytheresistor.Figure2.BlockDiagramofWaterLevelGaugeTheprincipleblockdiagramofthedeviceisshowninFigure2.Thevoltagesignalmeasurementconsistsofareedswitchandavoltagedividerresistor.Theringmagnetssuspendedinthewaterareindifferentpositions.Duetotheprincipleofelectromagneticinduction,notonlythecorrespondingdryreedswitchnormallyopencontactsareclosed,butalsothecorrespondingvoltagedividerresistorisconnected.Therefore,thecircuitwillpickupdifferentvoltagesignals.Thepotentialofthenegativeinputterminalofthecomparatorisformedbyafixedvoltagedividerresistor.Themeasuredvoltagesignaliscomparedwiththesetpotential.TheresultofthisisthattheLEDdisplaysthewaterlevelwhendriven.Inaddition,analarmisissuedwhenthehighestwaterlevelisreachedtoremindthepumpertostopwaterinjectiontopreventwateroverflow.TheconcretecircuitisshownasinFig.3.Figure3.WaterLevelGaugeCircuitDiagramInFigure3,thepowersupplyis+12V,andthedepthofthepoolisdividedinto15segmentsfordisplay.Inthispicture:A1~A15arevoltagecomparatorscomposedofLM339;GK1~GK15aredryreedswitches,thenormallyopencontactisclosedwhentheringmagnetisclosetoacertaindryreedswitch;ThevoltagedividercircuitcomposedofresistorsR1toR15determinesthepotentialofthepositiveinputterminalofeachcomparator.ThevoltageofthepositiveinputterminalofLM339changesduetothedifferentpositionsofthemagneticsteel.ThevoltagedividercircuitcomposedofresistorsR01~R030determinesthepotentialofthenegativeinputterminalofeachcomparator.Thepotentialofeachnegativeinputterminalisfixedafterdetermination.Whenthemagneticsteelfloatingonthewatersurfaceisclosetoacertaindryreedswitch,duetothepartialpressureofR1,R2,,R15,thepositiveinputterminalsofthecomparatorsA1,A2,,A15havedifferentinputs.Afterthissignaliscomparedwiththepotentialsetatthenegativeinputofthecomparator,therewillbeacorrespondingoutput.FromFigure3,whenGK1pullsin,itisequivalenttoholdingthemagneticsteelfloatattheupperlimitwaterlevel.Thepositiveinputofeachcomparatorisequaltothegroundpotential,whichislowerthantheirnegativeinput.Therefore,theoutputterminalsarealllowlevel,sothatallLEDsarelit.Atthistime,theoutputofA1dropsfromhighleveltolowlevel,andNE555istriggeredthroughcapacitorC.NE555isconnectedasamonostablecircuit.Oncetriggered,its3pinwilloutputahighlevel,whichwilldrivethebuzzertoalarm.ItsdurationisdeterminedbytheRCcomponentsconnectedtothe6and7pins.WhenGK2isclosed,LED2~LED15shouldbeonandLED1shouldbeoff.Atthistime,thepotentialofthepositiveinputterminalofeachcomparatorishigherthanthepotentialofthenegativeinputterminalofA1andlowerthanthepotentialofthenegativeinputterminalofA2~A15,andsoon.IVDeviceselectionandComponentProduction4.1deviceselectiona.SetthenegativeinputpotentialofeachcomparatortoVsh.Thenegativeinputpotentialofeachcomparatorissetartificiallyaccordingtothenumberofsegmentsdividedintopowersupplyandwaterdepth.Becausethepooldepthhasbeendividedinto15segmentsfordisplay,startingfrom2.0V,thedifferencebetweeneachadjacentnegativeinputterminalis0.4V.AsshowninthefirstrowinTable1.b.Selecttheresistancebetweenthenegativeinputterminalofeachcomparatorandthepowersupply,thatis,thevoltagedividerresistanceR01=R03==R029=20k,settoR.c.CalculatethegroundresistanceR02,R04,...,R030,whichisRr.SupposetheresistanceofthenegativeinputterminaltogroundisRr,andthepotentialofeachnegativeinputterminalisVsh,accordingtocircuitdiagram3:(1)Fromthisformula:(2)Forexample,tomakethepotentialofthenegativeinputterminalofthevoltagecomparatorA1Vsh=2V,accordingtoequation(2),wecangetAsshowninthesecondrowandthefirstcolumninTable1.TheselectionoftheotherresistorsR04,R06,,R030canbecalculatedaccordingtotheaboveformula(theresultisatheoreticalvalue,seethedatashowninthesecondrowinTable1fordetails).d.DeterminethenominalresistanceRbfromRr.Infact,thenominalvalueofcommerciallyavailableresistorsisdifferentfromthiscalculatedvalue.Inspecificapplications,anominalresistanceRbwithasimilarresistancevaluecanbeselected.ThespecificvalueisshowninthethirdrowofTable1.e.DeterminethepotentialVofthenegativeinputterminalofeachcomparatorAbyRb.WhenthenominalvalueofresistanceRbisselected,usethefollowingformulatocheckthepotentialVgeneratedbythisresistance.(3)Thespecificpotentialvalueisshowninthe4throwofTable1,comparedwiththesetvalueinthe1strow,aslongasitdoesnotexceed0.1V.f.DeterminetheresistancesR1,R2,,R15ofthepositiveinputterminalsofeachcomparatorandsetthemasRzh.FirstfindR1,setthepositiveinputpotentialofeachcomparatorasVzh,whenGK1pullsin,itcanbeseenfromTable1that2VVzh2.4V,setVzh=2.2V,R=20k,accordingtoformula(3),itcanbelistedThesolutionisthatRzh=R14.5k.Thisresistanceisnotthenominalvalue.Chooseasimilarnominalvalueof4.8k.ThenfindtheotherresistancesR2,R3,,R15,whichcanallbecalculatedbythismethod.Theresultisthetheoreticalvalue,whichhasaslightdeviationinpractice.Aftercorrection,thevalueisshowninthefifthrowofTable1.Aftertheaboveparametersareselectedinthisway,itcanbeensuredthatwhenthewaterlevelinthepoolreachesthelowestlimitandthefloatholdingthemagneticsteelsinkstothelowestposition,themagneticsteelseparatesfromallthereedswitchesandtheLEDsareallextinguished;AndwhenthefirstreedswitchGK1isclosed(equivalenttothewaterlevelinthepoolreachesthehighestlimit,thefloatholdingthemagneticsteelrisestothehighestposition)LEDsareallon.Whenthefloatisatacertainpositioninthemiddle,thecorrespondingLEDandtheLEDsbelowareallon,andtheLEDaboveitisoff,toshowthewaterlevel.Aftertheabovecalculation,thespecificdatashowninTable1isobtained.4.2PartProductionItisnecessarytomeasuretheheightfromthelowestwaterlevelofthereservoirtothelimitwaterlevel,anddividethisheightinto15segments.Thedistanceofeachsegmentislessthan200mm,thisdistancecanensurethatthemagneticsteelcanalwaysattractanadjacentdryreedswitch,soastoavoiddisplaybreakpoints.Thatistopreventthemagneticsteelfromnotattractingtheupperdryreedpipeorthelowerdryreedpipeduringoperation,sothattheLEDdisplayisallextinguished,causingtheillusionofwaterlessness.FortheconnectionsofGK1,R1~GK15,R15,firstsolderthemtoasmallprintedcircuitboardwithawidthlessthanorequalto20mm,andthenusewirestoconnectthematadistanceoflessthanorequalto200mm,andencapsulatethemina25mmhardplastictube..Theupperandlowermouthsofthepipeshouldbetightlysealedtopreventwaterleakage.Thetubeiscoveredwitharing-shapedmagnet.Afterdroppinganon-ferromagneticheavyobjectonthelowerendofthehardplasticpipe,theplasticpipeisverticallysunkintothebottomofthereservoir.Aringfloatisplacedunderthemagneticsteelandissleevedonthetube,andtheupperendofthetubeisfixedontheobservationportabovethereservoir.Duetothefunctionofthefloat,themagneticsteelisalwayssuspendedonthewatersurface,risingandfallingwiththewatersurface.Notethattheplaneofthemagneticsteelshouldalwaysbeparalleltothewatersurface,andtheplasticpipeshouldbeverticaltothewatersurfacetopreventthemagneticsteelfrombeingstuckbyfrictionwiththepipewallwhenthewaterlevelrisesandfalls.VInstallationandDebuggingThewholedeviceconsistsoftwoparts:Itisadetectionpartcomposedofareedswitchandvariousvoltagedividers;ItisthesignalprocessingdisplaypartcomposedofLM339.5.1DetectionPartBeforeencapsulatingtheplastictube,putsomesilicagelinthetubetoabsorbthemoistureinthetubeandpreventthelineinthetubefromgettingdamp.Ifring-shapedmagneticsteelisusedasthedetectionelement,thereedpipeconnectedinseriesintheplastictubeshouldberealizedbytwostaggeredreedpipes.Accordingtotheelectromagneticinductiontheory,theanalysisofthemagneticfieldlinesofthemagneticsteelshowsthatthereareasmallsectionofmagneticfieldlinesparalleltotheplaneofthemagneticsteelattheupperandloweropeningsofthemagneticsteel.Whenthissectionisclosetothereedswitch,thedirectionofitsmagneticfieldlineisperpendiculartothedirectionofthereedofthereedswitch.Atthistime,althoughthereedswitchisveryclosetothemagneticsteel,thecontactisstillreleasedanddisconnected,whichwillmakealltheLEDsgoout.Iftwostaggeredreedpipesareusedinstead,theproblemcanbesolved,andthestaggereddistancecanbedeterminedinexperiments.5.2DisplayPartThewaterlevelofeachsegmentisdisplayedbygreen10LED,andthelimitwaterlevelisdisplayedbyeye-catchingredLED.IftheLEDsarearrangedneatlytogether,thewaterlevelinthepoolcanbeclearlyseenaccordingtotheonoroffoftheLEDs.Equippedwithabuzzer,itwillgivethepumpworkeraclearerreminder.Note:Fromthedetectorinthepooltothecircuitboardofthepumproom,itisbesttouseshieldedwiretopreventinterferencesignalsfromentering.Weshouldalsonotethatthepowersupplymustberegulated.Fugure4.lm339VIConclusionThenegativeinputpotentialofthevoltagecomparatorA1~A15composedofLM339shouldbesetaccordingtoacertainrule,andthepotentialintervalbetweeneachotherdependsonthedepthofthecell.Ifthewaterlevelisdeeper,theintervalcanbesmaller,andthenumberofsectionscanbeselectedmore.Thepotentialdifferencebetweenadjacentcomparatorsisgenerally0.4V.Ifthepotentialdifferenceislarge,theselectionoftheresistanceiseasy;ifthepotentialdifferenceissmall,becausethenominalvalueintervalofthegeneralresistanceislarge,itisnecessarytouseanadjustableresistortoadjustthepotential.Ofcourse,inthecaseofsmallintervals,thesmallestpotentialdifferencebetweeneachothershouldbegreaterthan10mV,otherwisetheinputcharacteristicsofLM339willnotbeabletodistinguishthepotentialbetweeneachother.Inaddition,thevoltageofthepowersupplyandthenominalvalueofeachresistancemustbeconsidered.Thismethodcanalsobeappliedtootherfields.Suchasmonitoringthewaterdepthofrivers,rivers,lakes,andbays,theoillevelofgasstations,andthedepthofwatertanksinwaterplants.FAQWhatisLM339?LM339isavoltagecomparatorICfromLMx39xseriesandismanufacturedbymanyindustries.Thedevicesconsistoffourindependentvoltagecomparatorsthataredesignedtooperatefromasinglepowersupply.WhatisthedifferencebetweenLM324andLM339?TheLM324hasacomplementaryoutputwhiletheLM339isopencollector.Inthecomplementaryoutput,currentcanflowineitherdirectionasrequired(eithersourceorsink)whiletheopencollectoroutputcanonlysinkcurrent.HowdoesLM339comparatorwork?TheLM339isaquadopampcomparator.Acomparatorworksbyasimpleconcept.Eachopampofacomparatorhas2inputs,ainvertinginputandanoninvertinginput.Iftheinvertinginputvoltageisgreaterthanthenoninvertinginput,thentheoutputisdrawntoground.Whatiscomparatoric?Acomparatorisanelectroniccircuit,whichcomparesthetwoinputsthatareappliedtoitandproducesanoutput.Theoutputvalueofthecomparatorindicateswhichoftheinputsisgreaterorlesser.Pleasenotethatcomparatorfallsundernon-linearapplicationsofICs.WhatisthereplacementforLM339?LM311,LM324,LM397,LM139,LM239,LM2901Whatisacomparatorcircuit?Acomparatorcircuitcomparestwovoltagesandoutputseithera1(thevoltageattheplusside;VDDintheillustration)ora0(thevoltageatthenegativeside)toindicatewhichislarger.Comparatorsareoftenused,forexample,tocheckwhetheraninputhasreachedsomepredeterminedvalue.WhatistheuseofLM339?LM339isusedinapplicationswhereacomparisonbetweentwovoltagesignalsisrequired.Inadditionwithfourofthosecomparatorsonboardthedevicecancomparefourpairsofvoltagesignalsatatimewhichcomesinhandyinsomeapplications.

访客,请您发表评论:

Powered By Tkool Electronics

Copyright Your WebSite.sitemap