{"title":"ICs \u0026 Semiconductors","description":"\u003cp\u003eIntegrated circuits and semiconductors are the active intelligence of every electronic system. From high-current Darlington driver arrays to high-power shift registers, our IC and semiconductor range provides the essential logic, switching, and signal processing components for embedded systems, industrial control, and electronics prototyping.\u003c\/p\u003e\u003cp\u003eOur ICs \u0026amp; Semiconductors collection includes:\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eDarlington Driver Arrays\u003c\/strong\u003e — ULN2003A (7-channel) and ULN2803A (8-channel) high-voltage, high-current Darlington transistor arrays for driving relays, stepper motors, solenoids, and LED arrays directly from microcontroller GPIO pins; rated up to 50V \/ 500mA per channel\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eHigh-Power Shift Registers\u003c\/strong\u003e — TPIC6B595 8-bit power logic shift registers with open-drain outputs rated up to 50V \/ 150mA per channel; ideal for driving high-current LED displays, solenoid valves, and industrial loads from SPI interfaces\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eLogic ICs\u003c\/strong\u003e — standard 74-series and CMOS logic gates, buffers, and flip-flops for digital circuit design and signal conditioning\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003eAll ICs are available in standard DIP packages for breadboard and through-hole PCB assembly. Compatible with Arduino, Raspberry Pi, ESP32, and all 3.3V\/5V microcontroller platforms.\u003c\/p\u003e","products":[{"product_id":"atmega328p-with-bootloader","title":"ATmega328P Microcontroller with Arduino Bootloader","description":"\u003ch2\u003eATmega328P Microcontroller with Arduino Bootloader — DIP-28\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eATmega328P\u003c\/strong\u003e is the heart of the Arduino Uno — an 8-bit AVR microcontroller with the \u003cstrong\u003eArduino Uno bootloader pre-loaded\u003c\/strong\u003e, ready to program via USB without a dedicated programmer. Drop-in replacement for a faulty Arduino Uno MCU, or use standalone in your own PCB design with a minimal external circuit.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eArchitecture: \u003cstrong\u003e8-bit AVR\u003c\/strong\u003e | Package: \u003cstrong\u003eDIP-28\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eClock speed: \u003cstrong\u003e16MHz\u003c\/strong\u003e (with external crystal) | Flash: \u003cstrong\u003e32KB\u003c\/strong\u003e | SRAM: \u003cstrong\u003e2KB\u003c\/strong\u003e | EEPROM: \u003cstrong\u003e1KB\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eDigital I\/O: \u003cstrong\u003e23 pins\u003c\/strong\u003e | PWM: \u003cstrong\u003e6 channels\u003c\/strong\u003e | ADC: \u003cstrong\u003e6 channels (10-bit)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eInterfaces: \u003cstrong\u003eUART \/ SPI \/ I2C\u003c\/strong\u003e | Operating voltage: \u003cstrong\u003e1.8V–5.5V\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eBootloader: \u003cstrong\u003eArduino Uno (Optiboot)\u003c\/strong\u003e pre-loaded | Baud rate: \u003cstrong\u003e115200\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003eArduino bootloader pre-loaded\u003c\/strong\u003e — program directly via USB-to-serial adapter, no ISP programmer needed\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eDIP-28 package\u003c\/strong\u003e — breadboard and socket compatible, ideal for prototyping and standalone designs\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eDrop-in Arduino Uno replacement\u003c\/strong\u003e — swap out a faulty MCU without replacing the entire board\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eMinimal external circuit\u003c\/strong\u003e — add a 16MHz crystal, two capacitors and a reset resistor to run standalone\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eArduino Uno MCU replacement and repair\u003c\/li\u003e\n\u003cli\u003eStandalone AVR microcontroller projects\u003c\/li\u003e\n\u003cli\u003eCustom PCB designs requiring Arduino compatibility\u003c\/li\u003e\n\u003cli\u003eEmbedded systems prototyping and production\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45664718553323,"sku":"","price":19.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/ATmega328P-Chip-with-Bootloader.jpg?v=1723010659"},{"product_id":"infrared-phototransistor-940nm-5mm-5-pack","title":"Infrared Phototransistor 940nm — 5mm, 5-Pack","description":"\u003ch2\u003eInfrared Phototransistor 940nm — 5mm, 5-Pack\u003c\/h2\u003e\n\n\u003cp\u003eAn \u003cstrong\u003eNPN infrared phototransistor\u003c\/strong\u003e with \u003cstrong\u003e940nm peak sensitivity\u003c\/strong\u003e — 5mm package, pack of 5. Conducts current proportional to the intensity of incident infrared light, making it ideal for \u003cstrong\u003eIR remote control receivers, line follower sensors, proximity detectors, and optical encoders\u003c\/strong\u003e. Matched to 940nm IR emitter LEDs for maximum sensitivity in IR communication and detection circuits.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eType: \u003cstrong\u003eNPN phototransistor\u003c\/strong\u003e | Package: \u003cstrong\u003e5mm\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003ePeak wavelength: \u003cstrong\u003e940nm\u003c\/strong\u003e | Half-angle: \u003cstrong\u003e30°\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eCollector current: \u003cstrong\u003eup to 50mA\u003c\/strong\u003e | VCE: \u003cstrong\u003e30V max\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eResponse time: \u003cstrong\u003efast (suitable for PWM and modulated IR)\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003ePack: \u003cstrong\u003e5 phototransistors\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003cli\u003eCompliance: \u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhy Choose This?\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e✅ \u003cstrong\u003e940nm peak sensitivity\u003c\/strong\u003e — matched to standard IR emitter LEDs for maximum signal\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003e30° half-angle\u003c\/strong\u003e — focused detection for directional IR sensing\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003eFast response\u003c\/strong\u003e — suitable for 38kHz modulated IR signals and PWM\u003c\/li\u003e\n\u003cli\u003e✅ \u003cstrong\u003e5-pack value\u003c\/strong\u003e — spares for prototyping and production\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eIR remote control receiver circuit\u003c\/li\u003e\n\u003cli\u003eLine follower robot IR sensor\u003c\/li\u003e\n\u003cli\u003eProximity and object detection sensor\u003c\/li\u003e\n\u003cli\u003eOptical encoder for motor speed sensing\u003c\/li\u003e\n\u003cli\u003eIR beam-break sensor for counting and detection\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45672618787051,"sku":"","price":6.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Phototransistor-Infrared-940nm-5-Pack-1.jpg?v=1723008360"},{"product_id":"ds18b20-digital-temperature-sensor","title":"DS18B20 Digital Temperature Sensor — 1-Wire, TO-92, -55°C to +85°C, with 4.7K Resistor","description":"\u003ch2\u003eDS18B20 Digital Temperature Sensor — 1-Wire Interface, TO-92 Package\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eDS18B20\u003c\/strong\u003e is the industry-standard 1-Wire digital temperature sensor from Dallas\/Maxim, measuring temperatures from \u003cstrong\u003e-55°C to +85°C\u003c\/strong\u003e with \u003cstrong\u003e±0.5°C accuracy\u003c\/strong\u003e over the -10°C to +85°C range. Its single-wire digital interface means only one microcontroller pin is needed — and multiple DS18B20 sensors can share the same bus, each identified by a unique 64-bit serial number. Includes a \u003cstrong\u003e4.7kΩ pull-up resistor\u003c\/strong\u003e for immediate use.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003e1-Wire (single digital pin)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSupply Voltage\u003c\/td\u003e\n\u003ctd\u003e3.0V – 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eTemperature Range\u003c\/td\u003e\n\u003ctd\u003e-55°C to +85°C\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eAccuracy\u003c\/td\u003e\n\u003ctd\u003e±0.5°C (-10°C to +85°C)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eResolution\u003c\/td\u003e\n\u003ctd\u003e9–12 bit (programmable)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eConversion Time\u003c\/td\u003e\n\u003ctd\u003e93.75ms (9-bit) to 750ms (12-bit)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePackage\u003c\/td\u003e\n\u003ctd\u003eTO-92 (3-pin through-hole)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eLogic Levels\u003c\/td\u003e\n\u003ctd\u003eLogic High \u0026gt;2.2V \/ Logic Low \u0026lt;0.8V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eManufacturer\u003c\/td\u003e\n\u003ctd\u003eDallas \/ Maxim (now Analog Devices)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhy Choose the DS18B20?\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSingle-wire bus\u003c\/strong\u003e — only one GPIO pin required; multiple sensors can share the same wire\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDigital output\u003c\/strong\u003e — immune to electrical noise and long cable runs, unlike analog sensors (LM35, NTC thermistor)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUnique 64-bit address\u003c\/strong\u003e — identify and address each sensor individually on a shared 1-Wire bus\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eProgrammable resolution\u003c\/strong\u003e — 9 to 12-bit resolution trades off speed vs. precision\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParasitic power mode\u003c\/strong\u003e — can operate on just 2 wires (data + ground) without a separate power supply\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCompact TO-92 package\u003c\/strong\u003e — fits tight PCB areas or can be soldered to a cable for remote mounting\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIncludes 4.7kΩ resistor\u003c\/strong\u003e — required pull-up for 1-Wire bus, included in the package\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eTypical Applications\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eArduino and Raspberry Pi temperature monitoring projects\u003c\/li\u003e\n  \u003cli\u003eMulti-point temperature logging (multiple sensors on one pin)\u003c\/li\u003e\n  \u003cli\u003eThermostat and temperature controller builds\u003c\/li\u003e\n  \u003cli\u003eRemote temperature sensing with long cable runs\u003c\/li\u003e\n  \u003cli\u003eHeat sink and enclosure thermal monitoring\u003c\/li\u003e\n  \u003cli\u003eAquarium, greenhouse, and environmental monitoring\u003c\/li\u003e\n  \u003cli\u003e3D printer heated bed and hotend temperature sensing\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eWiring (Arduino)\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eDS18B20 Pin\u003c\/th\u003e\n\u003cth\u003eConnection\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eVDD (pin 3)\u003c\/td\u003e\n\u003ctd\u003e3.3V or 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eGND (pin 1)\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eDQ (pin 2)\u003c\/td\u003e\n\u003ctd\u003eDigital pin (e.g. D4) + 4.7kΩ pull-up to VDD\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eFrequently Asked Questions\u003c\/h2\u003e\n\u003ch3\u003eQ: What libraries do I need for Arduino?\u003c\/h3\u003e\n\u003cp\u003eInstall \u003cstrong\u003eOneWire\u003c\/strong\u003e and \u003cstrong\u003eDallasTemperature\u003c\/strong\u003e libraries via the Arduino Library Manager. These handle all 1-Wire protocol communication and make reading temperature as simple as calling \u003ccode\u003esensors.getTempCByIndex(0)\u003c\/code\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eQ: How many DS18B20 sensors can I connect to one pin?\u003c\/h3\u003e\n\u003cp\u003eTheoretically unlimited — each sensor has a unique 64-bit address. In practice, 10–20 sensors on a single bus is common. Use a stronger pull-up resistor (2.2kΩ) for longer buses or more sensors.\u003c\/p\u003e\n\n\u003ch3\u003eQ: What is parasitic power mode?\u003c\/h3\u003e\n\u003cp\u003eIn parasitic mode, the sensor draws power from the data line, requiring only 2 wires (DQ + GND). This simplifies wiring for remote sensors but requires special timing considerations. For most projects, use standard 3-wire mode (VDD + GND + DQ).\u003c\/p\u003e\n\n\u003ch3\u003eQ: DS18B20 vs LM35 — which should I use?\u003c\/h3\u003e\n\u003cp\u003eThe DS18B20 is better for: long cable runs, multiple sensors on one pin, noise-sensitive environments, and digital systems. The LM35 is simpler (direct analog output, no library needed) but is more susceptible to noise and requires one analog pin per sensor.\u003c\/p\u003e\n\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e1× DS18B20 Digital Temperature Sensor (TO-92)\u003c\/li\u003e\n  \u003cli\u003e1× 4.7kΩ resistor (pull-up for 1-Wire bus)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673261531371,"sku":"","price":5.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/DS18B20-Digital-Temp-Sensor-1.jpg?v=1723007563"},{"product_id":"1n4001-rectifier-diode-50v-1a-10-pack","title":"1N4001 Rectifier Diode 50V 1A (10-Pack)","description":"\u003cp\u003e\u003cspan\u003eGeneral purpose power diode can handle 50V @ 1A and 30A surge\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe 1N4001 rectifier diode are general purpose power diodes useful for many applications including AC to DC rectification and reverse power protection.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eQty 10 – 1N4001 Rectifier Diode 50V 1A\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\n\u003cstrong\u003eKEY FEATURES OF \u003c\/strong\u003e\u003cstrong\u003eIN4001 RECTIFIER DIODE 50V 1A\u003c\/strong\u003e\u003cstrong\u003e:\u003c\/strong\u003e\n\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eGood power handling capability\u003c\/li\u003e\n\u003cli\u003eUp to 50V reverse voltage\u003c\/li\u003e\n\u003cli\u003eUp to 1A continuous current (30A surge)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe 1N4001 are a very commonly used power diode and are often used for reverse voltage protection on DC input circuits that don’t require a high operating voltage.\u003c\/p\u003e\n\u003cp\u003eThe 1N4001 can handle up to 50V reverse voltage and up to 1A of continuous current with a surge peak of 30A.  If a higher reverse voltage is needed, check out our 1N4002 thru 1N4004 that can handle 100V, 200V and 400V respectively.\u003c\/p\u003e\n\u003cp\u003e1N4001 are polarized axial-leaded devices with a silver band denoting the cathode end of the diode.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"783\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eR\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Reverse Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e50V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eF\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDC Forward Continuous Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eFSM\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (8.3mS)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e30A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eF\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Forward Voltage Drop @ 1A\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.1V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePolarization\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eSilver band indicates cathode\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDO-41\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, axial leads\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eFairchild \/ ON Semi \/ EIC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003ca href=\"https:\/\/www.onsemi.com\/pub\/Collateral\/1N4001-D.PDF\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cstrong\u003e1N400x\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673262612715,"sku":"","price":1.62,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Diode-1N4001-10-Pack.jpg?v=1723007558"},{"product_id":"1n4002-rectifier-diode-100v-1a-10-pack","title":"1N4002 Rectifier Diode 100V 1A (10-Pack)","description":"\u003cp\u003e\u003cspan\u003eGeneral purpose power diode that can handle 100V @ 1A and 30A surge\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe 1N4002 rectifier diode are general purpose power diodes useful for many applications including AC to DC rectification and reverse power protection.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eQty 10 – 1N4002 Rectifier Diode 100V 1A\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\n\u003cstrong\u003eKEY FEATURES OF \u003c\/strong\u003e\u003cstrong\u003eIN4002 RECTIFIER DIODE 100V 1A\u003c\/strong\u003e\u003cstrong\u003e:\u003c\/strong\u003e\n\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eGood power handling capability\u003c\/li\u003e\n\u003cli\u003eUp to 100V reverse voltage\u003c\/li\u003e\n\u003cli\u003eUp to 1A continuous current (30A surge)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe 1N4002 are a very commonly used power diode and are often used for reverse voltage protection on DC input circuits and also used in many power applications such as DC-DC converters.\u003c\/p\u003e\n\u003cp\u003eThe 1N4002 can handle up to 100V reverse voltage and up to 1A of continuous current with a surge peak of 30A.  If a higher reverse voltage is needed, check out our 1N4003 or 1N4004 which can handle 200V and 400V respectively.\u003c\/p\u003e\n\u003cp\u003e1N4002 are polarized axial-leaded devices with a silver band denoting the cathode end of the diode.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"783\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eR\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Reverse Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e100V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eF\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDC Forward Continuous Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eFSM\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (8.3mS)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e30A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eF\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Forward Voltage Drop @ 1A\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.1V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePolarization\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eSilver band indicates cathode\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDO-41\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, axial leads\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eFairchild \/ ON Semi \/ EIC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/www.onsemi.com\/pub\/Collateral\/1N4001-D.PDF\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003e1N400x\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673264644331,"sku":"","price":1.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Diode-1N4002-10-Pack.jpg?v=1723007554"},{"product_id":"1n4003-rectifier-diode-200v-1a-do-41-general-purpose-10-pack","title":"1N4003 Rectifier Diode 200V 1A — DO-41 General Purpose, 10-Pack","description":"\u003ch2\u003e1N4003 Rectifier Diode — 200V \/ 1A, DO-41 Package (10-Pack)\u003c\/h2\u003e\u003cp\u003eThe \u003cstrong\u003e1N4003\u003c\/strong\u003e is a general-purpose silicon rectifier diode rated at \u003cstrong\u003e200V peak reverse voltage (VR)\u003c\/strong\u003e and \u003cstrong\u003e1A average forward current (IF)\u003c\/strong\u003e. Part of the industry-standard 1N400x series, the 1N4003 occupies the mid-range of the family — above the 1N4001 (50V) and 1N4002 (100V), and below the 1N4004 (400V) and 1N4007 (1000V). It is the preferred choice for \u003cstrong\u003emains-frequency rectification in 100V AC systems\u003c\/strong\u003e, transformer-based power supplies, and any application where a 200V reverse voltage rating provides adequate margin over the 1N4001\/4002.\u003c\/p\u003e\u003ch3\u003eKey Specifications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePeak Reverse Voltage (VR):\u003c\/strong\u003e 200V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAverage Forward Current (IF):\u003c\/strong\u003e 1A\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePeak Surge Current (IFSM):\u003c\/strong\u003e 30A\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eForward Voltage Drop (VF):\u003c\/strong\u003e 1.1V @ 1A\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eReverse Leakage Current (IR):\u003c\/strong\u003e 5μA @ 200V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e -65°C to +175°C (junction)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DO-41 (axial lead, through-hole)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCompliance:\u003c\/strong\u003e RoHS compliant\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003e1N400x Series Comparison\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4001:\u003c\/strong\u003e 50V — low-voltage DC circuits\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4002:\u003c\/strong\u003e 100V — standard transformer rectification\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4003 (this):\u003c\/strong\u003e 200V — 100V AC mains rectification, higher-voltage supplies\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4004:\u003c\/strong\u003e 400V — 230V AC mains rectification\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4007:\u003c\/strong\u003e 1000V — maximum margin, universal use\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTypical Applications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003eHalf-wave and full-wave bridge rectifiers in transformer-based power supplies\u003c\/li\u003e\n\u003cli\u003eFlyback diode \/ freewheeling diode for relay and motor coil protection\u003c\/li\u003e\n\u003cli\u003eReverse polarity protection in DC circuits\u003c\/li\u003e\n\u003cli\u003eSignal clipping and clamping circuits\u003c\/li\u003e\n\u003cli\u003eBattery charger rectification stages\u003c\/li\u003e\n\u003cli\u003eGeneral-purpose rectification in electronics prototyping and repair\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003ePackage Contents\u003c\/h3\u003e\u003cul\u003e\u003cli\u003e10 × 1N4003 Rectifier Diodes (DO-41, axial lead)\u003c\/li\u003e\u003c\/ul\u003e\u003cp\u003e\u003cem\u003eSupplied by leading manufacturers including Fairchild (ON Semiconductor), Vishay, and equivalent. RoHS compliant. Suitable for breadboard, through-hole PCB, and point-to-point wiring applications.\u003c\/em\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673265496299,"sku":"","price":6.12,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Diode-1N4003-10-Pack.jpg?v=1723007549"},{"product_id":"1n4004-rectifier-diode-400v-1a-10-pack","title":"1N4004 Rectifier Diode 400V 1A (10-Pack)","description":"\u003cp\u003e\u003cspan\u003eGeneral purpose power diodes can handle 400V @ 1A and 30A surge.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe 1N4004 rectifier diode are general purpose power diodes useful for many applications including AC to DC rectification and reverse power protection.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eQty 10 – 1N4004 Rectifier Diode 400V 1A\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF IN4004 RECTIFIER DIODE 400V 1A:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eGood power handling capability\u003c\/li\u003e\n\u003cli\u003eUp to 400V reverse voltage\u003c\/li\u003e\n\u003cli\u003eUp to 1A continuous current (30A surge)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe 1N4004 are a very commonly used power diode and are often used for reverse voltage protection on DC input circuits and also used in many power applications such as DC-DC converters.\u003c\/p\u003e\n\u003cp\u003eThe 1N4004 can handle up to 400V reverse voltage and up to 1A of continuous current with a surge peak of 30A.\u003c\/p\u003e\n\u003cp\u003e1N4004 are polarized axial-leaded devices with a silver band denoting the cathode end of the diode.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"783\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eR\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Reverse Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e400V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eF\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDC Forward Continuous Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eFSM\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (8.3mS)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e30A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eF\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Forward Voltage Drop @ 1A\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.1V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePolarization\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eSilver band indicates cathode\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDO-41\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, axial leads\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eFairchild \/ ON Semi \/ EIC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003ca href=\"https:\/\/www.onsemi.com\/pub\/Collateral\/1N4001-D.PDF\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cstrong\u003e1N400x\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673266675947,"sku":"","price":2.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Diode-1N4004-10-Pack.jpg?v=1723007545"},{"product_id":"1n4007-rectifier-diode-1000v-1a-do-41-general-purpose-10-pack","title":"1N4007 Rectifier Diode 1000V 1A — DO-41 General Purpose, 10-Pack","description":"\u003ch2\u003e1N4007 Rectifier Diode — 1000V \/ 1A, DO-41 Package (10-Pack)\u003c\/h2\u003e\u003cp\u003eThe \u003cstrong\u003e1N4007\u003c\/strong\u003e is the highest-rated member of the industry-standard 1N400x rectifier diode family, offering a \u003cstrong\u003e1000V peak reverse voltage (VR)\u003c\/strong\u003e with a \u003cstrong\u003e1A average forward current (IF)\u003c\/strong\u003e rating. Its 1000V rating makes it the universal choice across the entire 1N400x series — suitable for 50Hz and 60Hz mains rectification in both 120V and 230V AC systems, switch-mode power supply (SMPS) input stages, and any application where maximum reverse voltage margin is required. The 1N4007 is the single diode that replaces all lower-rated 1N400x variants, making it the most widely stocked rectifier diode in the world.\u003c\/p\u003e\u003ch3\u003eKey Specifications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePeak Reverse Voltage (VR):\u003c\/strong\u003e 1000V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAverage Forward Current (IF):\u003c\/strong\u003e 1A\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePeak Surge Current (IFSM):\u003c\/strong\u003e 30A\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eForward Voltage Drop (VF):\u003c\/strong\u003e 1.1V @ 1A\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eReverse Leakage Current (IR):\u003c\/strong\u003e 5μA @ 1000V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eReverse Recovery Time (trr):\u003c\/strong\u003e ~2μs (not suitable for high-frequency switching)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e -65°C to +175°C (junction)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DO-41 (axial lead, through-hole)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCompliance:\u003c\/strong\u003e RoHS compliant\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003e1N400x Series Comparison — Why Choose 1N4007?\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4001:\u003c\/strong\u003e 50V — low-voltage DC circuits only\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4002:\u003c\/strong\u003e 100V — standard transformer rectification\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4003:\u003c\/strong\u003e 200V — 100V AC mains rectification\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4004:\u003c\/strong\u003e 400V — 230V AC mains rectification\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1N4007 (this):\u003c\/strong\u003e 1000V — \u003cstrong\u003euniversal use\u003c\/strong\u003e; replaces all lower-rated 1N400x variants; maximum safety margin for mains applications\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTypical Applications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eMains rectification:\u003c\/strong\u003e Half-wave and full-wave bridge rectifiers for 120V and 230V AC power supplies\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSMPS input stage:\u003c\/strong\u003e Bridge rectifier at the AC input of switch-mode power supplies\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eFlyback \/ freewheeling diode:\u003c\/strong\u003e Relay coil, motor, and solenoid back-EMF protection\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eReverse polarity protection:\u003c\/strong\u003e Series diode in DC power input circuits\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBattery charger rectification:\u003c\/strong\u003e Transformer-based charger output stage\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSignal clamping and clipping:\u003c\/strong\u003e General-purpose diode in signal conditioning circuits\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eElectronics repair and prototyping:\u003c\/strong\u003e Universal replacement for any 1N400x diode\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eWhy the 1N4007 is the Industry Standard\u003c\/h3\u003e\u003cp\u003eThe 1N4007's 1000V rating provides a 4× safety margin over the 230V AC peak voltage (~325V peak), making it the preferred choice for mains-connected circuits where transient overvoltages from lightning, switching surges, and inductive loads can momentarily exceed the nominal voltage. Professional electronics designers and repair technicians worldwide default to the 1N4007 as their standard rectifier diode precisely because its 1000V rating eliminates the risk of reverse breakdown in any mains-frequency application.\u003c\/p\u003e\u003ch3\u003ePackage Contents\u003c\/h3\u003e\u003cul\u003e\u003cli\u003e10 × 1N4007 Rectifier Diodes (DO-41, axial lead)\u003c\/li\u003e\u003c\/ul\u003e\u003cp\u003e\u003cem\u003eSupplied by leading manufacturers including Fairchild (ON Semiconductor), Vishay, STMicroelectronics, and equivalent. RoHS compliant. Suitable for breadboard, through-hole PCB, and point-to-point wiring applications.\u003c\/em\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673268052203,"sku":"","price":8.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Diode-1N4007-10-Pack.jpg?v=1723007543"},{"product_id":"1n4148-small-signal-diode-25-pack","title":"1N4148 Small Signal Diode (25-Pack)","description":"\u003cp\u003e\u003cspan\u003eGeneral purpose fast switching diodes used for small signal rectification.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe 1N4148 small signal diodes are general purpose fast switching diodes used for small signal rectification.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eQty 25 – 1N4148 Small Signal Diode\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\n\u003cstrong\u003eKEY FEATURES OF \u003c\/strong\u003e\u003cstrong\u003eIN4148 SMALL SIGNAL DIODE\u003c\/strong\u003e\u003cstrong\u003e:\u003c\/strong\u003e\n\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eGeneral purpose small signal diodes\u003c\/li\u003e\n\u003cli\u003eHigh switching speed of \u0026lt; 4nS\u003c\/li\u003e\n\u003cli\u003eUp to 100V reverse voltage\u003c\/li\u003e\n\u003cli\u003eUp to 0.3A continuous current (4A surge)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThese are general purpose small fast switching diodes used for small signal rectification, meaning they only allow current to flow in one direction.  They can handle up to 100V reverse voltage and up to 300mA of continuous current.  Due to their modest power handling, these are mainly useful in digital or signal processing circuits.\u003c\/p\u003e\n\u003cp\u003eThe 1N4148 are polarized devices with a black band denoting the cathode end of the diode.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eThe 1N4148 and 1N914 diodes are equivalent and may be interchanged.\u003c\/em\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cem\u003eIf you are looking for diodes that can handle more power such as for power rectification or buck converter feedback loops, look at our 1N400X parts.\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"814\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eR\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Reverse Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e100V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eF\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDC Forward Continuous Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e300mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003ef\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRecurrent Peak forward Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e400mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eFSM\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (1.0 Sec)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (1.0uS)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e4A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eF\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Forward Voltage Drop\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003et\u003csub\u003err\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eSwitching Speed\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 4nS\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePolarization\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eBlack band indicates cathode\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDO-35\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eGlass, axial leads\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eFairchild \/ ON Semi \/ Good-Ark Semi\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/www.fairchildsemi.com\/datasheets\/1N\/1N914.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003e1N4148 \/ 1N914\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673270116587,"sku":"","price":1.22,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Diode-1N4148-25-Pack.jpg?v=1723007536"},{"product_id":"1n5819-schottky-diode-40v-1a-5-pack","title":"1N5819 Schottky Diode 40V 1A (5-Pack)","description":"\u003ch2\u003e1N5819 Schottky Diode — 40V \/ 1A, DO-41 Package (5-Pack)\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003e1N5819\u003c\/strong\u003e is a high-speed Schottky barrier rectifier diode rated at \u003cstrong\u003e40V reverse voltage\u003c\/strong\u003e and \u003cstrong\u003e1A continuous forward current\u003c\/strong\u003e, with an exceptionally low forward voltage drop of just \u003cstrong\u003e0.34V @ 0.1A\u003c\/strong\u003e. Its metal-to-silicon junction construction gives it significantly lower Vf and faster switching than standard PN-junction diodes, making it ideal for low-voltage power circuits, motor drivers, and high-frequency rectification.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePeak Reverse Voltage (Vᴿ)\u003c\/td\u003e\n\u003ctd\u003e40V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eForward Current (Iᶠ)\u003c\/td\u003e\n\u003ctd\u003e1A continuous\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePeak Surge Current (Iᶠₛₘ)\u003c\/td\u003e\n\u003ctd\u003e25A (8.3ms)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eForward Voltage Drop (Vᶠ @ 0.1A)\u003c\/td\u003e\n\u003ctd\u003e0.34V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSwitching Speed\u003c\/td\u003e\n\u003ctd\u003e\u0026gt;2MHz\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePackage\u003c\/td\u003e\n\u003ctd\u003eDO-41 (axial leads)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePolarity\u003c\/td\u003e\n\u003ctd\u003eSilver band = cathode\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eManufacturer\u003c\/td\u003e\n\u003ctd\u003eFairchild \/ ON Semiconductor\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhy Use a Schottky Diode?\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLow forward voltage drop (0.3–0.4V)\u003c\/strong\u003e — vs. 0.6–0.7V for standard silicon diodes; reduces power loss in rectifier circuits\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFast switching (\u0026gt;2MHz)\u003c\/strong\u003e — suitable for high-frequency switching power supplies and inverters\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReverse polarity protection\u003c\/strong\u003e — low Vf minimizes heat in battery and power supply protection circuits\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFlyback suppression\u003c\/strong\u003e — used as freewheeling diodes across motor driver outputs and relay coils\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eTypical Applications\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eReverse polarity protection in battery-powered circuits\u003c\/li\u003e\n  \u003cli\u003eFreewheeling diode for motor driver ICs (L298N, DRV8833, etc.)\u003c\/li\u003e\n  \u003cli\u003eLow-voltage rectifier in switching power supplies\u003c\/li\u003e\n  \u003cli\u003eHigh-frequency inverter and DC-DC converter circuits\u003c\/li\u003e\n  \u003cli\u003eSolar panel blocking diode\u003c\/li\u003e\n  \u003cli\u003eOR-ing diodes for redundant power supplies\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eFrequently Asked Questions\u003c\/h2\u003e\n\u003ch3\u003eQ: What is the difference between 1N5819 and 1N4001?\u003c\/h3\u003e\n\u003cp\u003eThe 1N4001 is a standard PN-junction rectifier with ~0.7V forward drop and slow recovery. The 1N5819 is a Schottky diode with ~0.34V forward drop and \u0026gt;2MHz switching speed — use the 1N5819 where low voltage drop or fast switching is required.\u003c\/p\u003e\n\n\u003ch3\u003eQ: Can I use the 1N5819 for reverse polarity protection?\u003c\/h3\u003e\n\u003cp\u003eYes. Its low 0.34V forward drop makes it one of the best choices for series reverse polarity protection in low-voltage circuits, minimizing power loss compared to standard diodes.\u003c\/p\u003e\n\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cul\u003e\u003cli\u003e5× 1N5819 Schottky Diode (DO-41, 40V\/1A)\u003c\/li\u003e\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673272082667,"sku":"","price":3.72,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Diode-1N5819-5-Pack-1.jpg?v=1723007532"},{"product_id":"1n5822-schottky-diode-40v-3a-2-pack","title":"1N5822 Schottky Diode 40V 3A (2-Pack)","description":"\u003ch2\u003e1N5822 Schottky Diode — 40V \/ 3A, DO-201AD Package (2-Pack)\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003e1N5822\u003c\/strong\u003e is a high-current Schottky barrier rectifier rated at \u003cstrong\u003e40V reverse voltage\u003c\/strong\u003e and \u003cstrong\u003e3A continuous forward current\u003c\/strong\u003e, with a low forward voltage drop of \u003cstrong\u003e0.39V @ 1A\u003c\/strong\u003e and switching speeds exceeding \u003cstrong\u003e1MHz\u003c\/strong\u003e. Its DO-201AD package handles 3× the current of the 1N5819, making it the preferred choice for higher-power motor driver circuits, battery chargers, and DC-DC converters where both low Vf and substantial current handling are required.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePeak Reverse Voltage (Vᴿ)\u003c\/td\u003e\n\u003ctd\u003e40V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eForward Current (Iᶠ)\u003c\/td\u003e\n\u003ctd\u003e3A continuous\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePeak Surge Current (Iᶠₛₘ)\u003c\/td\u003e\n\u003ctd\u003e80A (8.3ms)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eForward Voltage Drop (Vᶠ @ 1A)\u003c\/td\u003e\n\u003ctd\u003e0.39V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSwitching Speed\u003c\/td\u003e\n\u003ctd\u003e\u0026gt;1MHz\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePackage\u003c\/td\u003e\n\u003ctd\u003eDO-201AD (axial leads)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePolarity\u003c\/td\u003e\n\u003ctd\u003eSilver band = cathode\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eManufacturer\u003c\/td\u003e\n\u003ctd\u003eFairchild \/ ON Semiconductor\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003e1N5822 vs 1N5819 — Which to Choose?\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003e1N5819\u003c\/th\u003e\n\u003cth\u003e1N5822\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eMax Current\u003c\/td\u003e\n\u003ctd\u003e1A\u003c\/td\u003e\n\u003ctd\u003e3A\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSurge Current\u003c\/td\u003e\n\u003ctd\u003e25A\u003c\/td\u003e\n\u003ctd\u003e80A\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePackage\u003c\/td\u003e\n\u003ctd\u003eDO-41\u003c\/td\u003e\n\u003ctd\u003eDO-201AD (larger)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBest For\u003c\/td\u003e\n\u003ctd\u003eSignal\/low-power circuits\u003c\/td\u003e\n\u003ctd\u003eMotor drivers, power supplies\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eTypical Applications\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eFreewheeling diode for high-current motor driver ICs\u003c\/li\u003e\n  \u003cli\u003eReverse polarity protection in 3A+ power circuits\u003c\/li\u003e\n  \u003cli\u003eSolar panel blocking diode (higher current systems)\u003c\/li\u003e\n  \u003cli\u003eDC-DC converter output rectifier\u003c\/li\u003e\n  \u003cli\u003eBattery charging circuit protection\u003c\/li\u003e\n  \u003cli\u003eHigh-frequency power supply rectification\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eImportant Note on Package Size\u003c\/h2\u003e\n\u003cp\u003eThe DO-201AD package has lead diameters up to \u003cstrong\u003e0.051″ (1.3mm)\u003c\/strong\u003e — these will \u003cstrong\u003enot fit standard 0.1″ breadboard holes\u003c\/strong\u003e. For breadboard prototyping, solder thinner gauge leads onto the diode leads, or use a PCB with appropriately sized pads.\u003c\/p\u003e\n\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cul\u003e\u003cli\u003e2× 1N5822 Schottky Diode (DO-201AD, 40V\/3A)\u003c\/li\u003e\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673273524459,"sku":"","price":2.22,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Diode-Schottky-1N5822-2-Pack-1.jpg?v=1723007525"},{"product_id":"24c02n-i2c-2k-bit-eeprom","title":"24C02N I2C EEPROM — 2K-Bit (256×8), DIP-8, 5V, Arduino Compatible","description":"\u003ch2\u003e24C02N I2C EEPROM — 2K-Bit (256×8 Bytes), DIP-8\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003e24C02N\u003c\/strong\u003e is a 2K-bit (256 × 8 bytes) serial EEPROM with an \u003cstrong\u003eI2C two-wire interface\u003c\/strong\u003e, packaged in a standard DIP-8 through-hole package. It provides simple, reliable non-volatile memory storage for microcontroller projects — ideal for storing configuration data, calibration values, user settings, and small data logs that must survive power cycles. Up to \u003cstrong\u003e8 devices\u003c\/strong\u003e can share the same I2C bus using the three address pins (A0–A2).\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eMemory Size\u003c\/td\u003e\n\u003ctd\u003e2K-bit (256 × 8 bytes)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eI2C (2-wire serial)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eBase I2C Address\u003c\/td\u003e\n\u003ctd\u003e0x50\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eAddress Pins\u003c\/td\u003e\n\u003ctd\u003eA0, A1, A2 (up to 8 devices per bus)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSupply Voltage\u003c\/td\u003e\n\u003ctd\u003e4.5V – 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eWrite Protect\u003c\/td\u003e\n\u003ctd\u003eWP pin (pull high to enable write protection)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePage Write Size\u003c\/td\u003e\n\u003ctd\u003e8 bytes\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eWrite Endurance\u003c\/td\u003e\n\u003ctd\u003e1,000,000 cycles\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eData Retention\u003c\/td\u003e\n\u003ctd\u003e100 years\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePackage\u003c\/td\u003e\n\u003ctd\u003eDIP-8 (through-hole)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhy Use External EEPROM?\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNon-volatile storage\u003c\/strong\u003e — data survives power loss, unlike SRAM or variables in RAM\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePreserve MCU flash\u003c\/strong\u003e — store frequently-changing data in EEPROM instead of wearing out MCU flash\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMultiple devices on one bus\u003c\/strong\u003e — up to 8 × 24C02 on a single I2C bus = 2KB total addressable EEPROM\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWrite protection\u003c\/strong\u003e — WP pin allows hardware write-locking of stored data\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSimple I2C interface\u003c\/strong\u003e — works with Arduino Wire.h library out of the box\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eWiring (Arduino)\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003e24C02N Pin\u003c\/th\u003e\n\u003cth\u003eConnection\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eVCC (pin 8)\u003c\/td\u003e\n\u003ctd\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eGND (pin 4)\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSCL (pin 6)\u003c\/td\u003e\n\u003ctd\u003eArduino SCL (A5 on Uno)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSDA (pin 5)\u003c\/td\u003e\n\u003ctd\u003eArduino SDA (A4 on Uno)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eA0, A1, A2 (pins 1–3)\u003c\/td\u003e\n\u003ctd\u003eGND (for address 0x50)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eWP (pin 7)\u003c\/td\u003e\n\u003ctd\u003eGND (write enabled)\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eTypical Applications\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eStoring device configuration and calibration data\u003c\/li\u003e\n  \u003cli\u003eUser settings and preferences in embedded systems\u003c\/li\u003e\n  \u003cli\u003eSmall data logging (sensor readings, event counters)\u003c\/li\u003e\n  \u003cli\u003eBoot configuration storage for microcontrollers\u003c\/li\u003e\n  \u003cli\u003eUnique device ID and serial number storage\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eFrequently Asked Questions\u003c\/h2\u003e\n\u003ch3\u003eQ: How do I use this with Arduino?\u003c\/h3\u003e\n\u003cp\u003eUse the Arduino \u003cstrong\u003eWire.h\u003c\/strong\u003e library for raw I2C read\/write, or install the \u003cstrong\u003eextEEPROM\u003c\/strong\u003e library for a higher-level interface. Ground all address pins (A0–A2) and WP for basic single-device operation at address 0x50.\u003c\/p\u003e\n\n\u003ch3\u003eQ: Can I use multiple 24C02N chips on the same I2C bus?\u003c\/h3\u003e\n\u003cp\u003eYes — up to 8 devices. Set each chip to a unique address by connecting A0–A2 to different combinations of VCC and GND (addresses 0x50–0x57).\u003c\/p\u003e\n\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cul\u003e\u003cli\u003e1× 24C02N I2C EEPROM DIP-8 IC\u003c\/li\u003e\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673274704107,"sku":"","price":0.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/24C02N-2K-Bit-EEPROM.jpg?v=1723007520"},{"product_id":"24lc04b-4kbit-512b-i2c-serial-eeprom-ic-dip8","title":"24LC04B 4Kbit (512B) I²C Serial EEPROM IC DIP-8 – Microchip","description":"\u003ch2\u003e24LC04B 4Kbit (512 Bytes) I²C Serial EEPROM IC – DIP-8\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003e24LC04B\u003c\/strong\u003e from Microchip Technology is a 4Kbit (512 bytes) I²C serial EEPROM in a through-hole DIP-8 package – the smallest practical EEPROM in the 24Cxxx family. With 512 bytes of non-volatile storage accessible over a 2-wire I²C interface, it's ideal for storing small amounts of configuration data, calibration values, and device settings that must survive power cycles. The DIP-8 package is ideal for breadboard prototyping and through-hole PCB designs.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e 24LC04B \/ 24LC04B-I\/P \/ AT24C04\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-8 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCapacity:\u003c\/strong\u003e 4Kbit = 512 bytes\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInterface:\u003c\/strong\u003e I²C (2-wire: SDA + SCL)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eI²C Speed:\u003c\/strong\u003e 400kHz (Fast Mode)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 2.5V – 5.5V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eI²C Address:\u003c\/strong\u003e 0x50–0x51 (A1, A2 ignored; A0 selects upper\/lower 256 bytes)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePage Write Size:\u003c\/strong\u003e 16 bytes\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWrite Cycle Time:\u003c\/strong\u003e 5ms (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWrite Endurance:\u003c\/strong\u003e 1,000,000 cycles\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData Retention:\u003c\/strong\u003e 200 years\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e −40°C to +85°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003e24Cxxx Capacity Comparison – Choose the Right Size\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003e24LC04B:\u003c\/strong\u003e 512 bytes – device ID, serial number, small config (this listing)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e24LC64F:\u003c\/strong\u003e 8KB – sensor logs, calibration tables\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e24LC256:\u003c\/strong\u003e 32KB – data logging, large configuration\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e24LC512:\u003c\/strong\u003e 64KB – maximum standard I²C EEPROM capacity\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDevice configuration:\u003c\/strong\u003e Store device ID, serial number, and factory settings\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalibration storage:\u003c\/strong\u003e Store sensor offset and gain calibration values\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUser preferences:\u003c\/strong\u003e Persistent settings for small embedded devices\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino EEPROM expansion:\u003c\/strong\u003e Add 512 bytes of external non-volatile storage\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBoot configuration:\u003c\/strong\u003e Store startup parameters for microcontrollers\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × 24LC04B DIP-8 4Kbit I²C EEPROM IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e512 bytes of reliable I²C non-volatile storage in a breadboard-friendly DIP-8 package – the 24LC04B is the right choice when you need just enough EEPROM for device configuration and calibration data.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673276244203,"sku":"","price":5.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/24LC04B-4K-Bit-EEPROM.jpg?v=1723007515"},{"product_id":"24lc64f-64kbit-8kb-i2c-serial-eeprom-ic-dip8-low-voltage","title":"24LC64F 64Kbit (8KB) I²C Serial EEPROM IC DIP-8 – 1.7V Low-Voltage","description":"\u003ch2\u003e24LC64F 64Kbit (8KB) I²C Serial EEPROM IC – DIP-8, Low-Voltage\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003e24LC64F\u003c\/strong\u003e from Microchip Technology is a 64Kbit (8KB) I²C serial EEPROM in a through-hole DIP-8 package, with an extended low-voltage operating range of 1.7V to 5.5V. The “F” suffix indicates Fast-Plus I²C support (up to 1MHz), making it faster than standard 24LC64 variants. Its 1.7V minimum supply makes it ideal for 3.3V microcontroller systems, Li-ion battery-powered devices, and any application requiring low-voltage non-volatile storage.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e 24LC64F \/ 24LC64F-I\/P\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-8 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCapacity:\u003c\/strong\u003e 64Kbit = 8KB = 8,192 bytes\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInterface:\u003c\/strong\u003e I²C (2-wire: SDA + SCL)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eI²C Speed:\u003c\/strong\u003e 1MHz (Fast-Plus Mode) \/ 400kHz (Fast Mode)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 1.7V – 5.5V (low-voltage)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eI²C Address:\u003c\/strong\u003e 0x50–0x57 (set via A0, A1, A2 pins)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePage Write Size:\u003c\/strong\u003e 32 bytes\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWrite Cycle Time:\u003c\/strong\u003e 5ms (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWrite Endurance:\u003c\/strong\u003e 1,000,000 cycles\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData Retention:\u003c\/strong\u003e 200 years\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e −40°C to +85°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003e24LC64F vs 24LC64 – Key Differences\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003e24LC64F:\u003c\/strong\u003e 1.7V–5.5V supply, 1MHz Fast-Plus I²C – for 3.3V systems and low-voltage applications\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e24LC64:\u003c\/strong\u003e 2.5V–5.5V supply, 400kHz Fast Mode – standard version\u003c\/li\u003e\n  \u003cli\u003eChoose 24LC64F for 3.3V microcontrollers (ESP32, STM32, Raspberry Pi) or battery-powered devices\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003e3.3V microcontroller storage:\u003c\/strong\u003e Non-volatile configuration for ESP32, STM32, and ARM Cortex-M\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBattery-powered IoT:\u003c\/strong\u003e Low-voltage data storage for Li-ion powered devices\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino data logging:\u003c\/strong\u003e Store sensor readings and configuration (8KB = ~4,000 float values)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWearable devices:\u003c\/strong\u003e Low-voltage non-volatile storage for health monitoring\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × 24LC64F DIP-8 64Kbit I²C EEPROM IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e8KB of low-voltage I²C EEPROM from 1.7V – the 24LC64F is the correct choice for 3.3V microcontroller systems and battery-powered embedded applications.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673277718763,"sku":"","price":6.22,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/24LC64F-64K-Bit-EEPROM.jpg?v=1723007511"},{"product_id":"2n3904-npn-general-purpose-transistor-10-pack","title":"2N3904 NPN General Purpose Transistor (10-Pack)","description":"\u003ch2\u003e2N3904 NPN General Purpose Transistor — TO-92, 40V \/ 200mA, 10 Pieces\u003c\/h2\u003e\n\n\u003cp\u003eThe 2N3904 is one of the most widely used NPN bipolar junction transistors (BJT) in electronics, found in virtually every hobbyist parts bin and professional prototype lab. It is a general-purpose small-signal transistor optimized for low-power amplification and switching applications, with a collector-emitter voltage of 40V, 200mA collector current, and a transition frequency of 300MHz. Its TO-92 plastic package with standard EBC (Emitter-Base-Collector) pinout makes it compatible with breadboards, perfboards, and PCBs.\u003c\/p\u003e\n\n\u003cp\u003e10 pieces per pack.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eType:\u003c\/strong\u003e NPN Bipolar Junction Transistor (BJT), silicon\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e TO-92 (through-hole, plastic)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePinout (flat face forward, left to right):\u003c\/strong\u003e Emitter (E) — Base (B) — Collector (C)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector-Emitter Voltage (Vceo):\u003c\/strong\u003e 40V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector-Base Voltage (Vcbo):\u003c\/strong\u003e 60V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eEmitter-Base Voltage (Vebo):\u003c\/strong\u003e 6V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector Current (Ic):\u003c\/strong\u003e 200mA continuous\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDC Current Gain (hFE):\u003c\/strong\u003e 100–300 (@ Ic=10mA, Vce=1V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePower Dissipation (Pd):\u003c\/strong\u003e 625mW\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTransition Frequency (fT):\u003c\/strong\u003e 300MHz\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSaturation Voltage (Vce(sat)):\u003c\/strong\u003e 0.2V @ Ic=10mA\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eManufacturer:\u003c\/strong\u003e Fairchild \/ ON Semiconductor\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eQuantity:\u003c\/strong\u003e 10 pieces\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTO-92 Pinout (Flat Face Forward)\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 1 (left):\u003c\/strong\u003e Emitter (E)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 2 (center):\u003c\/strong\u003e Base (B)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 3 (right):\u003c\/strong\u003e Collector (C)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eBasic Switching Circuit (Arduino GPIO Buffering)\u003c\/h3\u003e\n\u003cp\u003eTo switch a load that exceeds Arduino GPIO current limits (20–40mA), use the 2N3904 as a low-side switch:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eBase (B) → Arduino GPIO via 4.7kΩ resistor (limits base current to safe levels)\u003c\/li\u003e\n\u003cli\u003eCollector (C) → Load negative terminal\u003c\/li\u003e\n\u003cli\u003eEmitter (E) → GND\u003c\/li\u003e\n\u003cli\u003eLoad positive → Supply voltage (up to 40V)\u003c\/li\u003e\n\u003cli\u003eAdd flyback diode across inductive loads (motors, relays, solenoids)\u003c\/li\u003e\n\u003cli\u003eGPIO HIGH = transistor ON (load powered); GPIO LOW = transistor OFF\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eExample: driving 3 LEDs (60mA total) from a single Arduino pin — base resistor 4.7kΩ, current-limiting resistor 50Ω in series with LEDs.\u003c\/p\u003e\n\n\u003ch3\u003eBase Resistor Calculation\u003c\/h3\u003e\n\u003cp\u003eFor switching (saturation): Rb = (Vb − 0.7V) \/ Ib, where Ib = Ic \/ hFE. For Ic=100mA, hFE=100: Ib = 1mA. Rb = (5V − 0.7V) \/ 1mA = 4.3kΩ. Use 4.7kΩ standard value. For amplification, bias the base for the desired operating point.\u003c\/p\u003e\n\n\u003ch3\u003e2N3904 vs. PN2222A vs. TIP120\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e2N3904:\u003c\/strong\u003e 40V, 200mA, hFE 100–300. Best for signal switching, LED driving, relay coil activation at low current.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePN2222A:\u003c\/strong\u003e 40V, 600mA, hFE 100–300. Higher current for loads up to 600mA (small motors, multiple LEDs).\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTIP120:\u003c\/strong\u003e 60V, 5A, hFE ≥1000 (Darlington). For high-current loads (motors, fans) up to 5A.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eArduino\/ESP32 GPIO current buffering (driving loads beyond GPIO current limit)\u003c\/li\u003e\n\u003cli\u003eLED driver (single or multiple LEDs up to 200mA total)\u003c\/li\u003e\n\u003cli\u003eRelay coil driver (5V\/12V relay coils, typically 50–150mA)\u003c\/li\u003e\n\u003cli\u003eSignal amplification in audio and RF circuits\u003c\/li\u003e\n\u003cli\u003eLogic-level signal inversion (common emitter configuration)\u003c\/li\u003e\n\u003cli\u003eOscillator and timer circuits\u003c\/li\u003e\n\u003cli\u003eSensor signal conditioning\u003c\/li\u003e\n\u003cli\u003eGate drive for small MOSFETs (NPN transistor as gate driver)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e10 × 2N3904 NPN general purpose transistor, TO-92\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673281159403,"sku":"","price":7.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Transistor-2N3904-Qty-10.jpg?v=1723007501"},{"product_id":"2n3906-pnp-general-purpose-transistor-10-pack","title":"2N3906 PNP General Purpose Transistor (10-Pack)","description":"\u003ch2\u003e2N3906 PNP General Purpose Transistor — TO-92, 40V \/ 200mA, 10 Pieces\u003c\/h2\u003e\n\n\u003cp\u003eThe 2N3906 is the standard PNP complement to the 2N3904 NPN transistor — sharing the same TO-92 package, EBC pinout, and general-purpose small-signal ratings. Rated at 40V collector-emitter voltage and 200mA collector current, it is used for high-side switching, signal amplification, and level shifting in circuits where a PNP device is required. Together with the 2N3904, they form the most commonly stocked complementary BJT pair in electronics.\u003c\/p\u003e\n\n\u003cp\u003e10 pieces per pack.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eType:\u003c\/strong\u003e PNP Bipolar Junction Transistor (BJT), silicon\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e TO-92 (through-hole, plastic)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePinout (flat face forward, left to right):\u003c\/strong\u003e Emitter (E) — Base (B) — Collector (C)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector-Emitter Voltage (Vceo):\u003c\/strong\u003e −40V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector-Base Voltage (Vcbo):\u003c\/strong\u003e −40V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eEmitter-Base Voltage (Vebo):\u003c\/strong\u003e 5V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector Current (Ic):\u003c\/strong\u003e 200mA continuous\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDC Current Gain (hFE):\u003c\/strong\u003e 100–300 (@ Ic=10mA, Vce=−1V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePower Dissipation (Pd):\u003c\/strong\u003e 625mW\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTransition Frequency (fT):\u003c\/strong\u003e 250MHz\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSaturation Voltage (Vce(sat)):\u003c\/strong\u003e −0.25V @ Ic=10mA\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eManufacturer:\u003c\/strong\u003e Fairchild \/ ON Semiconductor\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eQuantity:\u003c\/strong\u003e 10 pieces\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePNP vs. NPN Operation\u003c\/h3\u003e\n\u003cp\u003ePNP transistors operate with reversed polarity compared to NPN. The key differences:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eCurrent direction:\u003c\/strong\u003e Conventional current flows from Emitter to Collector (opposite to NPN)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTurn-on condition:\u003c\/strong\u003e Base must be pulled LOW relative to Emitter (Vbe ≈ −0.7V) to turn ON\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eHigh-side switching:\u003c\/strong\u003e PNP is naturally suited for high-side switching — Emitter connects to positive supply, Collector connects to load\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMCU control:\u003c\/strong\u003e GPIO LOW = transistor ON; GPIO HIGH = transistor OFF (inverted logic vs. NPN)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eHigh-Side Switch Wiring (5V Load)\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eEmitter (E) → +5V supply\u003c\/li\u003e\n\u003cli\u003eCollector (C) → Load positive terminal\u003c\/li\u003e\n\u003cli\u003eLoad negative terminal → GND\u003c\/li\u003e\n\u003cli\u003eBase (B) → Arduino GPIO via 4.7kΩ resistor\u003c\/li\u003e\n\u003cli\u003e10kΩ pull-up from Base to Emitter (+5V) — ensures transistor is OFF when GPIO is floating\u003c\/li\u003e\n\u003cli\u003eGPIO LOW = transistor ON (load powered); GPIO HIGH = transistor OFF\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003e2N3906 vs. 2N3904 vs. PN2907\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e2N3906 (PNP):\u003c\/strong\u003e 40V, 200mA. High-side switching, complementary pair with 2N3904.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e2N3904 (NPN):\u003c\/strong\u003e 40V, 200mA. Low-side switching. Complementary pair with 2N3906.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePN2907 (PNP):\u003c\/strong\u003e 40V, 800mA. Higher current PNP for loads up to 800mA.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eHigh-side load switching controlled by Arduino\/ESP32 GPIO\u003c\/li\u003e\n\u003cli\u003eComplementary push-pull output stage (paired with 2N3904)\u003c\/li\u003e\n\u003cli\u003eSignal amplification in audio preamplifier circuits\u003c\/li\u003e\n\u003cli\u003eLevel shifting and logic inversion\u003c\/li\u003e\n\u003cli\u003eCurrent mirror circuits\u003c\/li\u003e\n\u003cli\u003eOscillator and timer circuits (complementary to NPN)\u003c\/li\u003e\n\u003cli\u003eLED driver (high-side, up to 200mA)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e10 × 2N3906 PNP general purpose transistor, TO-92\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673282142443,"sku":"","price":7.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Transistor-2N3906-Qty-10.jpg?v=1723007498"},{"product_id":"pn2222a-npn-general-purpose-transistor-10-pack","title":"PN2222A NPN General Purpose Transistor (10-Pack)","description":"\u003ch2\u003ePN2222A NPN General Purpose Transistor — TO-92, 40V \/ 600mA, 10 Pieces\u003c\/h2\u003e\n\n\u003cp\u003eThe PN2222A is a popular NPN general-purpose transistor offering 3× the collector current of the 2N3904 (600mA vs. 200mA) in the same compact TO-92 package. It is the go-to choice when the 2N3904 is not quite powerful enough — for relay coil drivers, small motor control, multiple LED arrays, and any application requiring up to 600mA of switched current from a microcontroller GPIO. The 75V collector-base voltage also provides extra headroom for higher-voltage switching applications.\u003c\/p\u003e\n\n\u003cp\u003e10 pieces per pack.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eType:\u003c\/strong\u003e NPN Bipolar Junction Transistor (BJT), silicon\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e TO-92 (through-hole, plastic)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePinout (flat face forward, left to right):\u003c\/strong\u003e Emitter (E) — Base (B) — Collector (C)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector-Emitter Voltage (Vceo):\u003c\/strong\u003e 40V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector-Base Voltage (Vcbo):\u003c\/strong\u003e 75V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector Current (Ic):\u003c\/strong\u003e 600mA continuous\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDC Current Gain (hFE):\u003c\/strong\u003e 100–300 (@ Ic=150mA, Vce=1V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePower Dissipation (Pd):\u003c\/strong\u003e 625mW\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSaturation Voltage (Vce(sat)):\u003c\/strong\u003e 0.3V @ Ic=150mA\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eManufacturer:\u003c\/strong\u003e Fairchild \/ ON Semiconductor\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eQuantity:\u003c\/strong\u003e 10 pieces\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTO-92 Pinout (Flat Face Forward)\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 1 (left):\u003c\/strong\u003e Emitter (E)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 2 (center):\u003c\/strong\u003e Base (B)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 3 (right):\u003c\/strong\u003e Collector (C)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eRelay Driver Circuit (12V Relay from 5V Arduino)\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eBase (B) → Arduino GPIO via 1kΩ resistor\u003c\/li\u003e\n\u003cli\u003eCollector (C) → Relay coil negative terminal\u003c\/li\u003e\n\u003cli\u003eEmitter (E) → GND\u003c\/li\u003e\n\u003cli\u003eRelay coil positive → 12V supply\u003c\/li\u003e\n\u003cli\u003e1N4007 flyback diode across relay coil (cathode to 12V, anode to Collector)\u003c\/li\u003e\n\u003cli\u003eGPIO HIGH = relay ON; GPIO LOW = relay OFF\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePN2222A vs. 2N3904 vs. TIP120\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePN2222A:\u003c\/strong\u003e 40V, 600mA. Best for relay drivers, small motors, LED arrays up to 600mA.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e2N3904:\u003c\/strong\u003e 40V, 200mA. For lighter loads (single LEDs, signal switching) up to 200mA.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTIP120:\u003c\/strong\u003e 60V, 5A, Darlington. For high-current loads (large motors, fans) up to 5A.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e5V\/12V relay coil driver from Arduino GPIO\u003c\/li\u003e\n\u003cli\u003eSmall DC motor control (up to 600mA)\u003c\/li\u003e\n\u003cli\u003eMultiple LED array driver (up to 600mA total)\u003c\/li\u003e\n\u003cli\u003eContinuity tester circuit (base pulled high by probe contact)\u003c\/li\u003e\n\u003cli\u003eBuzzer and piezo driver\u003c\/li\u003e\n\u003cli\u003eSignal amplification and switching\u003c\/li\u003e\n\u003cli\u003eMOSFET gate driver (NPN transistor driving P-channel gate)\u003c\/li\u003e\n\u003cli\u003eLogic-level signal inversion and buffering\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e10 × PN2222A NPN general purpose transistor, TO-92\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45673283780843,"sku":"","price":8.12,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Transistor-PN2222A-Qty-10.jpg?v=1723007492"},{"product_id":"pn2907-pnp-general-purpose-transistor-10-pack","title":"PN2907 PNP General Purpose Transistor (10-Pack)","description":"\u003ch2\u003ePN2907 PNP General Purpose Transistor — TO-92, 40V \/ 800mA, 10 Pieces\u003c\/h2\u003e\n\n\u003cp\u003eThe PN2907 is the PNP complement to the PN2222A NPN transistor, offering 800mA collector current in the same TO-92 package — making it the highest-current general-purpose PNP transistor in the standard TO-92 form factor. It is used for high-side switching applications where a PNP device is required and the load current exceeds the capability of the 2N3906 (200mA). Together with the PN2222A, they form a matched complementary pair for push-pull output stages and H-bridge circuits.\u003c\/p\u003e\n\n\u003cp\u003e10 pieces per pack.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eType:\u003c\/strong\u003e PNP Bipolar Junction Transistor (BJT), silicon\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e TO-92 (through-hole, plastic)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePinout (flat face forward, left to right):\u003c\/strong\u003e Emitter (E) — Base (B) — Collector (C)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector-Emitter Voltage (Vceo):\u003c\/strong\u003e −40V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector-Base Voltage (Vcbo):\u003c\/strong\u003e −60V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCollector Current (Ic):\u003c\/strong\u003e 800mA continuous\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDC Current Gain (hFE):\u003c\/strong\u003e 100–300 (@ Ic=150mA, Vce=−1V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePower Dissipation (Pd):\u003c\/strong\u003e 625mW\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSaturation Voltage (Vce(sat)):\u003c\/strong\u003e −0.4V @ Ic=500mA\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eManufacturer:\u003c\/strong\u003e Fairchild \/ ON Semiconductor\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eQuantity:\u003c\/strong\u003e 10 pieces\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTO-92 Pinout (Flat Face Forward)\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 1 (left):\u003c\/strong\u003e Emitter (E)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 2 (center):\u003c\/strong\u003e Base (B)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 3 (right):\u003c\/strong\u003e Collector (C)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eHigh-Side Switch Wiring (12V Load, NPN Gate Drive)\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eEmitter (E) → +12V supply\u003c\/li\u003e\n\u003cli\u003eCollector (C) → Load positive terminal\u003c\/li\u003e\n\u003cli\u003eLoad negative terminal → GND\u003c\/li\u003e\n\u003cli\u003eBase (B) → NPN transistor collector (for 12V high-side control from 5V MCU)\u003c\/li\u003e\n\u003cli\u003e10kΩ pull-up from Base to Emitter (+12V) — ensures PNP is OFF when NPN is OFF\u003c\/li\u003e\n\u003cli\u003eNPN base → Arduino GPIO via 10kΩ; MCU HIGH → NPN ON → PNP ON (load powered)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePN2907 vs. 2N3906 vs. PN2222A\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePN2907 (PNP):\u003c\/strong\u003e 40V, 800mA. Highest current TO-92 PNP. Complementary to PN2222A.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e2N3906 (PNP):\u003c\/strong\u003e 40V, 200mA. Lower current. Complementary to 2N3904.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePN2222A (NPN):\u003c\/strong\u003e 40V, 600mA. Complementary NPN pair for PN2907.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eHigh-side load switching (5V–12V) controlled by MCU via NPN gate drive\u003c\/li\u003e\n\u003cli\u003eComplementary push-pull output stage (paired with PN2222A)\u003c\/li\u003e\n\u003cli\u003eClass-AB audio amplifier output stage\u003c\/li\u003e\n\u003cli\u003eHigh-current LED array driver (high-side, up to 800mA)\u003c\/li\u003e\n\u003cli\u003eRelay driver (high-side configuration)\u003c\/li\u003e\n\u003cli\u003eCurrent mirror and current source circuits\u003c\/li\u003e\n\u003cli\u003eSignal amplification in audio preamplifier circuits\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e10 × PN2907 PNP general purpose transistor, TO-92\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674451173611,"sku":"","price":5.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Transistor-PN2907-Qty-10.jpg?v=1723007487"},{"product_id":"74hc595-8bit-serial-in-parallel-out-shift-register-ic-dip16","title":"74HC595 8-Bit Serial-In Parallel-Out Shift Register IC DIP-16 – Output Latch, 3-State","description":"\u003ch2\u003e74HC595 8-Bit Serial-In Parallel-Out Shift Register IC – DIP-16\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003e74HC595\u003c\/strong\u003e is the most popular output expander IC in the maker and embedded systems world – it takes serial data from a microcontroller over 3 wires (DATA, CLOCK, LATCH) and drives 8 parallel outputs simultaneously. Connect one to an Arduino and drive 8 LEDs, relays, or digital outputs using only 3 GPIO pins. Cascade multiple ICs to drive 16, 24, or 32 outputs with the same 3-wire interface. The output latch ensures all 8 outputs update simultaneously, preventing glitches during data shifting.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e 74HC595 \/ SN74HC595N \/ MC74HC595AN\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-16 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFunction:\u003c\/strong\u003e 8-bit serial-in, parallel-out shift register with output latch\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 2V – 6V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClock Frequency:\u003c\/strong\u003e Up to 25MHz at 4.5V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Drive Current:\u003c\/strong\u003e ±25mA per pin (70mA total)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Enable (̅O̅E̅):\u003c\/strong\u003e Active LOW – tri-state all outputs when HIGH\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMaster Reset (̅M̅R̅):\u003c\/strong\u003e Active LOW – clears shift register (not output latch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e −40°C to +125°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eHow the 74HC595 Works\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStep 1 – Shift:\u003c\/strong\u003e Clock in 8 bits of data via DS (serial data) and SHCP (shift clock) – data enters the shift register\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStep 2 – Latch:\u003c\/strong\u003e Pulse STCP (storage clock \/ latch) – all 8 bits transfer to output latch simultaneously\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResult:\u003c\/strong\u003e Q0–Q7 outputs update all at once – no glitches during shifting\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCascade:\u003c\/strong\u003e Connect Q7S (serial output) of IC1 to DS of IC2 for 16-bit expansion\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eArduino Wiring (3 Pins)\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eDS (Pin 14) → Arduino data pin (e.g., D11)\u003c\/li\u003e\n  \u003cli\u003eSHCP (Pin 11) → Arduino clock pin (e.g., D13)\u003c\/li\u003e\n  \u003cli\u003eSTCP (Pin 12) → Arduino latch pin (e.g., D8)\u003c\/li\u003e\n  \u003cli\u003e̅O̅E̅ (Pin 13) → GND (always enabled)\u003c\/li\u003e\n  \u003cli\u003e̅M̅R̅ (Pin 10) → VCC (no reset)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino GPIO expansion:\u003c\/strong\u003e Drive 8 LEDs, relays, or digital outputs with 3 pins\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLED matrix driver:\u003c\/strong\u003e Row or column driver for LED matrix displays\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e7-segment display driver:\u003c\/strong\u003e Drive 7-segment displays via serial interface\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRelay board control:\u003c\/strong\u003e Control 8 relays from 3 microcontroller pins\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCascaded expansion:\u003c\/strong\u003e Chain for 16, 24, 32+ digital outputs\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × 74HC595 DIP-16 8-bit serial-in parallel-out shift register IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e3 pins in, 8 outputs out – the 74HC595 is the essential output expander for Arduino, Raspberry Pi, and any microcontroller project needing more digital outputs.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674451665131,"sku":"","price":5.22,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/74HC595-8-Bit-Shift-Register-1.jpg?v=1723007483"},{"product_id":"74hct125-quad-bus-buffer-ic-dip14-ttl-compatible-3-state","title":"74HCT125 Quad Bus Buffer IC DIP-14 – TTL-Compatible, 3-State, Non-Inverting","description":"\u003ch2\u003e74HCT125 Quad Bus Buffer IC – DIP-14, TTL-Compatible, 3-State\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003e74HCT125\u003c\/strong\u003e is a quad (4-channel) non-inverting bus buffer with TTL-compatible inputs and individually controlled 3-state outputs – the TTL-input version of the 74HC125. Each of the four channels has its own independent output enable (̅O̅E̅) pin, allowing individual channel control. With TTL input thresholds (VIH = 2.0V), it's the correct choice for buffering 3.3V signals to drive 5V TTL systems, or for isolating bus segments with independent tri-state control.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e 74HCT125 \/ SN74HCT125N \/ MC74HCT125AN\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-14 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChannels:\u003c\/strong\u003e 4 (independent, non-inverting)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 4.5V – 5.5V (5V operation)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInput Thresholds:\u003c\/strong\u003e TTL (VIH = 2.0V, VIL = 0.8V)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Enable:\u003c\/strong\u003e Individual per channel (̅O̅E̅1–̅O̅E̅4, active LOW)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Drive Current:\u003c\/strong\u003e ±25mA per pin\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePropagation Delay:\u003c\/strong\u003e ~10ns (typical at 4.5V)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e −40°C to +125°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003e74HCT125 vs 74HC125 – Input Threshold Difference\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003e74HC125:\u003c\/strong\u003e CMOS inputs (VIH = 0.7×VCC = 3.5V at 5V) – requires full CMOS swing\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e74HCT125:\u003c\/strong\u003e TTL inputs (VIH = 2.0V) – accepts 3.3V logic signals at 5V supply\u003c\/li\u003e\n  \u003cli\u003eUse 74HCT125 when the input signal is 3.3V and the output needs to be 5V-compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003e3.3V → 5V level shifting:\u003c\/strong\u003e Buffer 3.3V microcontroller outputs to drive 5V TTL peripherals\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBus isolation:\u003c\/strong\u003e Individually tri-state 4 bus lines with independent control\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSignal buffering:\u003c\/strong\u003e Drive multiple loads from a single signal source\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino to 5V TTL:\u003c\/strong\u003e Interface Arduino (5V) outputs with TTL-threshold devices\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMultiplexed bus:\u003c\/strong\u003e Selectively connect\/disconnect bus segments\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × 74HCT125 DIP-14 quad bus buffer IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eFour independently controlled TTL-compatible buffers with 3-state outputs – the 74HCT125 is the go-to IC for 3.3V↔5V level shifting and bus isolation with individual channel control.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674451894507,"sku":"","price":5.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/74HCT125-4-Channel-Buffer-with-3-State-outputs.jpg?v=1723007479"},{"product_id":"74hct245-octal-bus-transceiver-ic-dip20-ttl-compatible-3-state","title":"74HCT245 Octal Bus Transceiver IC DIP-20 – TTL-Compatible, 3-State, Bidirectional","description":"\u003ch2\u003e74HCT245 Octal Bus Transceiver IC – DIP-20, TTL-Compatible, 3-State\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003e74HCT245\u003c\/strong\u003e is an octal (8-bit) bidirectional bus transceiver with TTL-compatible inputs and 3-state outputs – the TTL-input version of the popular 74HC245. The key difference: the 74HCT245 accepts TTL logic levels (VIH = 2.0V) at its inputs, making it the correct choice for interfacing 5V TTL logic with CMOS systems, or for level shifting between 3.3V and 5V systems when the driving side uses TTL thresholds. Eight bidirectional buffers with direction control (DIR) and output enable (̅O̅E̅) in a single DIP-20 package.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e 74HCT245 \/ SN74HCT245N \/ MC74HCT245AN\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-20 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChannels:\u003c\/strong\u003e 8 (bidirectional)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 4.5V – 5.5V (5V operation)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInput Thresholds:\u003c\/strong\u003e TTL (VIH = 2.0V, VIL = 0.8V)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Drive Current:\u003c\/strong\u003e ±25mA per pin\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePropagation Delay:\u003c\/strong\u003e ~10ns (typical at 4.5V)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDirection Control (DIR):\u003c\/strong\u003e HIGH = A→B, LOW = B→A\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Enable (̅O̅E̅):\u003c\/strong\u003e Active LOW – pull HIGH to tri-state all outputs\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e −40°C to +125°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003e74HCT245 vs 74HC245 – When to Use Each\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003e74HC245:\u003c\/strong\u003e CMOS inputs (VIH = 0.7×VCC) – use when driving from CMOS logic (Arduino, ESP32)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e74HCT245:\u003c\/strong\u003e TTL inputs (VIH = 2.0V) – use when driving from 5V TTL logic or for 3.3V↔5V level shifting\u003c\/li\u003e\n  \u003cli\u003eBoth have identical output specifications and pinout\u003c\/li\u003e\n  \u003cli\u003eUse 74HCT245 when the input signal may not reach 0.7×VCC (e.g., 3.3V signal driving a 5V 74HC245)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eData bus buffering:\u003c\/strong\u003e Bidirectional 8-bit data bus isolation and buffering\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e3.3V ↔ 5V level shifting:\u003c\/strong\u003e Interface 3.3V microcontrollers with 5V peripherals\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBus isolation:\u003c\/strong\u003e Separate bus segments with tri-state control\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTTL to CMOS interface:\u003c\/strong\u003e Buffer 5V TTL signals for CMOS systems\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMemory interface:\u003c\/strong\u003e Data bus buffering for SRAM and EEPROM\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × 74HCT245 DIP-20 octal bus transceiver IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eEight bidirectional TTL-compatible buffers with 3-state outputs – the 74HCT245 is the correct choice for 5V TTL bus buffering and 3.3V↔5V level shifting in digital systems.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674455662827,"sku":"","price":5.72,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/74HCT245-Bus-Transceiver-with-3-State-Outputs.jpg?v=1723007474"},{"product_id":"7805-voltage-regulator-5v-1a","title":"7805 Voltage Regulator 5V \/ 1A","description":"\u003cp\u003e\u003cspan\u003eFixed linear regulator that can output 5V @ 1A\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe 7805 is a fixed voltage linear regulator that outputs 5V at up to 1A current with an input voltage range of 7 – 35V.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e7805 Voltage Regulator\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF 7805 VOLTAGE REGULATOR:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eFixed voltage linear regulator\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5630 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg\" alt=\"78xx Pin-out\" width=\"83\" height=\"245\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg 83w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out-63x187.jpg 63w\" data-lazy-sizes=\"(max-width: 83px) 100vw, 83px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 83px) 100vw, 83px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg 83w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out-63x187.jpg 63w\"\u003e\n\u003c\/li\u003e\n\u003cli\u003e7-35V input voltage range\u003c\/li\u003e\n\u003cli\u003e5V fixed output voltage\u003c\/li\u003e\n\u003cli\u003e1A continuous current with 2.2A surge capability\u003c\/li\u003e\n\u003cli\u003eTO-220 package\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe 78xx series of fixed-voltage linear regulators are some of the most popular linear regulators available and have been around for a very long time.  They have built-in current limiting and over temperature protection and tend to be fairly robust devices.  The prefix may vary depending on the mfr so you may see them listed as LM78xx, MC78xx, L78xx or just 78xx.\u003c\/p\u003e\n\u003ch3\u003eBasic Operation\u003c\/h3\u003e\n\u003cp\u003eThe 7805 is perhaps the most commonly used linear regulator available.  Input voltage can range from 7 – 35VDC and it outputs a fixed 5V at over 1A of current and up to 2.2A of surge current.\u003c\/p\u003e\n\u003cp\u003eFor basic operation, no external components are required. Just hook up the input voltage and ground and you have 5V available on the output.\u003c\/p\u003e\n\u003cp\u003eIf you are using it at a fair distance (\u0026gt; 10″) from the supply that is providing the input voltage, then a .33uF or larger input filter capacitor is recommended. The part ideally should be a low ESR part such as a Tantalum or Mylar capacitor, but small electrolytic caps generally work fine.  An output capacitor of 0.1uF or larger can also be added to improve output transient response as shown below\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"size-full wp-image-5604 aligncenter entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit.jpg\" alt=\"7805 Basic Circuit\" width=\"385\" height=\"213\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit.jpg 385w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit-200x111.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit-350x194.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit-300x166.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit-280x155.jpg 280w\" data-lazy-sizes=\"(max-width: 385px) 100vw, 385px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 385px) 100vw, 385px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit.jpg 385w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit-200x111.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit-350x194.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit-300x166.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7805-Basic-Circuit-280x155.jpg 280w\"\u003e\u003c\/p\u003e\n\u003ch3\u003ePower Dissipation\u003c\/h3\u003e\n\u003cp\u003eLinear regulators have less ripple on their outputs compared to DC-DC converters that can be used for the same basic purpose, but the trade-off is that the linear regulators also tend to dissipate more heat in the process.  The reason is that the linear regulator uses a series pass transistor on its output to drop the excess voltage.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of a linear regulator is dependent on the difference between the input voltage (Vin) and the output voltage (Vout) along with the amount of current that is being drawn from the regulator.  The larger the voltage difference is between Vin and Vout, the higher the power dissipation will be which limits how much current can be drawn from the device.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of the 7805 device is easily calculated as\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003ePower Dissipation = (Vin – Vout) * Iout\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eIf the 7805 input is 9V and it is providing 1A of current, then Power Dissipation = (9V – 5V) * 1A = 4W.  The 7805 TO-220 package will need to dissipate 4W of power.  Under typical conditions, the device can dissipate about 1 – 1.25W before a heat sink becomes necessary, so in our example here, the device would need a heat sink. Maximum output current without a heat sink in this case would be limited to about 250 – 300mA and the device will be running in the range of 85-95°C.\u003c\/p\u003e\n\u003cp\u003eIf you instead ran the 7805 off a 7V input, Power Dissipation = (7V – 5) * 1A = 2W.  Still pretty warm, but much more manageable than 4W.  With no heatsink you could draw 500-700mA.\u003c\/p\u003e\n\u003cp\u003eAs a general rule, you always want to use as low of an input voltage as possible to minimize power loss though the device and maximize the output current available.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eThe tab of the 7805 is common with the Ground pin.\u003c\/em\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cem\u003eUnder high current loads or with large input to output voltage differentials, the device can get very hot, so use care when handling.\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"845\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eIN\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Input Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e35V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Output Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1A (Typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eMAX\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (typ)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.2A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOutput Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5.0V +\/- 2%\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eI\u003cspan\u003e \u003c\/span\u003e\u003c\/sub\u003e– V\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDrop-out Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.0V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eTO-220\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePackage Type\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic Tab, 3-lead, through hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eManufacturer\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eON Semiconductor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cb\u003eDatasheet\u003c\/b\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"http:\/\/www.onsemi.com\/pub\/Collateral\/MC7800-D.PDF\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003e7805\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674455793899,"sku":"","price":1.72,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Regulator-7805-1.jpg?v=1723007469"},{"product_id":"l7806-voltage-regulator-6v-1-5a","title":"L7806 Voltage Regulator 6V \/ 1.5A","description":"\u003ch2\u003eL7806 Voltage Regulator — 6V Fixed Output, 1.5A, TO-220\u003c\/h2\u003e\u003cp\u003eThe \u003cstrong\u003eL7806\u003c\/strong\u003e (also listed as LM7806, MC7806, 7806) is a fixed-voltage linear regulator from the industry-standard 78xx series, delivering a stable \u003cstrong\u003e6V DC output at up to 1.5A continuous current\u003c\/strong\u003e from an input voltage of \u003cstrong\u003e8–35V DC\u003c\/strong\u003e. With built-in current limiting, thermal shutdown, and safe-area protection, the L7806 is a robust, no-fuss voltage regulator for applications requiring a stable 6V rail — including relay driver supplies, sensor power rails, and legacy logic circuits that operate at 6V.\u003c\/p\u003e\u003ch3\u003eKey Features\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eFixed 6V output\u003c\/strong\u003e — ±2% accuracy\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e1.5A continuous output current\u003c\/strong\u003e (2.2A surge)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eInput voltage range:\u003c\/strong\u003e 8–35V DC\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBuilt-in protection:\u003c\/strong\u003e current limiting, thermal shutdown, safe-area protection\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTO-220 package\u003c\/strong\u003e — standard 3-pin through-hole, heatsink-compatible\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eNo external components required\u003c\/strong\u003e for basic operation\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eRoHS compliant\u003c\/strong\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTechnical Specifications\u003c\/h3\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOutput Voltage (VO)\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e6.0V ±2%\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eMaximum Input Voltage (VIN)\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e35V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eDropout Voltage (VI–VO)\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e2.0V typical\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOutput Current (IO)\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e1.5A continuous\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePeak Surge Current (IMAX)\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e2.2A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eTO-220 (3-lead, plastic tab)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eManufacturer\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eSTMicroelectronics (L7806ACV)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003ch3\u003eBasic Operation\u003c\/h3\u003e\u003cp\u003eFor basic operation, no external components are required — connect input voltage (8–35V) to pin 1 (IN), ground to pin 2 (GND), and 6V output is available on pin 3 (OUT). For improved stability, add a \u003cstrong\u003e0.33μF capacitor on the input\u003c\/strong\u003e and a \u003cstrong\u003e0.1μF capacitor on the output\u003c\/strong\u003e (low-ESR types preferred). Note: the TO-220 tab is electrically common with the GND pin.\u003c\/p\u003e\u003ch3\u003ePower Dissipation \u0026amp; Heat Sinking\u003c\/h3\u003e\u003cp\u003ePower dissipation = \u003cstrong\u003e(VIN – 6V) × IOUT\u003c\/strong\u003e. At 9V input and 1A output: (9–6) × 1 = \u003cstrong\u003e3W\u003c\/strong\u003e — a heatsink is required above ~1W dissipation. To minimize heat, use the lowest practical input voltage (8–9V for 6V output). Without a heatsink, limit output current to ~250–400mA depending on ambient temperature.\u003c\/p\u003e\u003ch3\u003e78xx Series Comparison\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e7805:\u003c\/strong\u003e 5V — Arduino, TTL logic, USB-equivalent supply\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eL7806 (this):\u003c\/strong\u003e 6V — relay coil supplies, 6V sensor rails, legacy 6V logic\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e7809:\u003c\/strong\u003e 9V — audio circuits, 9V battery replacement\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e7812:\u003c\/strong\u003e 12V — automotive accessories, relay supplies, LED drivers\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTypical Applications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e6V relay coil power supply\u003c\/li\u003e\n\u003cli\u003eSensor and transducer power rails requiring 6V\u003c\/li\u003e\n\u003cli\u003eLegacy 6V logic and microcontroller supply\u003c\/li\u003e\n\u003cli\u003eBattery eliminator for 6V battery-powered devices\u003c\/li\u003e\n\u003cli\u003ePre-regulator stage in multi-rail power supplies\u003c\/li\u003e\n\u003cli\u003eIndustrial control panel 6V auxiliary supply\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003ePackage Contents\u003c\/h3\u003e\u003cul\u003e\u003cli\u003e1 × L7806ACV Voltage Regulator (TO-220, STMicroelectronics)\u003c\/li\u003e\u003c\/ul\u003e\u003cp\u003e\u003cem\u003eDatasheet: \u003ca href=\"https:\/\/www.st.com\/content\/ccc\/resource\/technical\/document\/datasheet\/41\/4f\/b3\/b0\/12\/d4\/47\/88\/CD00000444.pdf\/files\/CD00000444.pdf\/jcr:content\/translations\/en.CD00000444.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eST L7806 Datasheet (PDF)\u003c\/a\u003e\u003c\/em\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674457465067,"sku":"","price":5.22,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Regulator-L7806.jpg?v=1723007465"},{"product_id":"7809-voltage-regulator-9v-1a","title":"7809 Voltage Regulator 9V \/ 1A","description":"\u003cp\u003e\u003cspan\u003eFixed linear regulator that can output 9V @ 1A\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe 7809 is a fixed voltage linear regulator that can output 9V at up to 1A current with an input voltage range of 11 – 35V.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e7809 Voltage Regulator\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF 7809 VOLTAGE REGULATOR:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eFixed voltage linear regulator\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5630 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg\" alt=\"78xx Pin-out\" width=\"83\" height=\"245\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg 83w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out-63x187.jpg 63w\" data-lazy-sizes=\"(max-width: 83px) 100vw, 83px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 83px) 100vw, 83px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg 83w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out-63x187.jpg 63w\"\u003e\n\u003c\/li\u003e\n\u003cli\u003e11-35V input voltage range\u003c\/li\u003e\n\u003cli\u003e9V fixed output voltage\u003c\/li\u003e\n\u003cli\u003e1A continuous current with 2.2A surge capability\u003c\/li\u003e\n\u003cli\u003eTO-220 package\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe 78xx series of fixed-voltage linear regulators are some of the most popular linear regulators available and have been around for a very long time.  They have built-in current limiting and over temperature protection and tend to be fairly robust devices.  The prefix may vary depending on the mfr so you may see them listed as LM78xx, MC78xx, L78xx or just 78xx.\u003c\/p\u003e\n\u003ch3\u003eBasic Operation\u003c\/h3\u003e\n\u003cp\u003eThe 7809 is a commonly used linear regulator.  Input voltage can range from 11 – 35VDC and it outputs a fixed 9V at over 1A of current and up to 2.2A of surge current.\u003c\/p\u003e\n\u003cp\u003eFor basic operation, no external components are required. Just hook up the input voltage and ground and you have 9V available on the output.\u003c\/p\u003e\n\u003cp\u003eIf you are using it at a fair distance (\u0026gt; 10″) from the supply that is providing the input voltage, then a .33uF or larger input filter capacitor is recommended. The part ideally should be a low ESR part such as a Tantalum or Mylar capacitor, but small electrolytic caps generally work fine.  An output capacitor of 0.1uF or larger can also be added to improve output transient response as shown below\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"wp-image-5610 size-full aligncenter entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit.jpg\" alt=\"7809 Basic Circuit\" width=\"383\" height=\"203\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit.jpg 383w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit-200x106.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit-350x186.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit-300x159.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit-280x148.jpg 280w\" data-lazy-sizes=\"(max-width: 383px) 100vw, 383px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 383px) 100vw, 383px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit.jpg 383w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit-200x106.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit-350x186.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit-300x159.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7809-Basic-Circuit-280x148.jpg 280w\"\u003e\u003c\/p\u003e\n\u003ch3\u003ePower Dissipation\u003c\/h3\u003e\n\u003cp\u003eLinear regulators have less ripple on their outputs compared to DC-DC converters that can be used for the same basic purpose, but the trade-off is that the linear regulators also tend to dissipate more heat in the process.  The reason is that the linear regulator uses a series pass transistor on its output to drop the excess voltage.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of a linear regulator is dependent on the difference between the input voltage (Vin) and the output voltage (Vout) along with the amount of current that is being drawn from the regulator.  The larger the voltage difference is between Vin and Vout, the higher the power dissipation will be which limits how much current can be drawn from the device.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of the 7809 device is easily calculated as \u003cstrong\u003ePower Dissipation = (Vin – Vout) * Iout\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eIf the 7809 input is 12V and it is providing 1A of current, then Power Dissipation = (12V – 9V) * 1A = 3W.  The 7809 TO-220 package will need to dissipate 3W of power.  Under typical conditions, the device can dissipate about 1 – 1.25W before a heat sink becomes necessary, so in our example here, the device would need a heat sink. Maximum output current without a heat sink in this case would be limited to about 300 – 350mA and the device will be running in the range of 85-95°C.\u003c\/p\u003e\n\u003cp\u003eAs a general rule, you always want to use as low of an input voltage as possible to minimize power loss though the device and maximize the output current available.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eThe tab of the 7809 is common with the Ground pin.\u003c\/em\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cem\u003eUnder high current loads or with large input to output voltage differentials, the device can get very hot, so use care when handling.\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"795\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eIN\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Input Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e35V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Output Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1A (Typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eMAX\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (typ)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.2A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOutput Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e9.0V +\/- 4%\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eI\u003cspan\u003e \u003c\/span\u003e\u003c\/sub\u003e– V\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDrop-out Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.0V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eTO-220\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePackage Type\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic Tab, 3-lead, through hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eManufacturer\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eON Semiconductor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDatasheet\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"http:\/\/www.onsemi.com\/pub\/Collateral\/MC7800-D.PDF\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003e7809\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674457530603,"sku":"","price":1.72,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Regulator-7809-1.jpg?v=1723007460"},{"product_id":"7812-voltage-regulator-12v-1a","title":"7812 Voltage Regulator 12V \/ 1A","description":"\u003cp\u003e\u003cspan\u003eFixed linear regulator that can output 12V @ 1A\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe 7812 is a fixed voltage linear regulator that can output 12V at up to 1A current with an input voltage range of 14 – 35V.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e7812 Voltage Regulator\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF 7812 VOLTAGE REGULATOR:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eFixed voltage linear regulator\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5630\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg\" alt=\"78xx Pin-out\" width=\"83\" height=\"245\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out.jpg 83w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/78xx-Pin-out-63x187.jpg 63w\" sizes=\"(max-width: 83px) 100vw, 83px\"\u003e\n\u003c\/li\u003e\n\u003cli\u003e14-35V input voltage range\u003c\/li\u003e\n\u003cli\u003e12V fixed output voltage\u003c\/li\u003e\n\u003cli\u003e1A continuous current with 2.2A surge capability\u003c\/li\u003e\n\u003cli\u003eTO-220 package\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe 78xx series of fixed-voltage linear regulators are some of the most popular linear regulators available and have been around for a very long time.  They have built-in current limiting and over temperature protection and tend to be fairly robust devices.  The prefix may vary depending on the mfr so you may see them listed as LM78xx, MC78xx, L78xx or just 78xx.\u003c\/p\u003e\n\u003ch3\u003eBasic Operation\u003c\/h3\u003e\n\u003cp\u003eThe 7812 is a commonly used linear regulator.  Input voltage can range from 14 – 35VDC and it outputs a fixed 12V at over 1A of current and up to 2.2A of surge current.\u003c\/p\u003e\n\u003cp\u003eFor basic operation, no external components are required. Just hook up the input voltage and ground and you have 5V available on the output.\u003c\/p\u003e\n\u003cp\u003eIf you are using it at a fair distance (\u0026gt; 10″) from the supply that is providing the input voltage, then a .33uF or larger input filter capacitor is recommended. The part ideally should be a low ESR part such as a Tantalum or Mylar capacitor, but small electrolytic caps generally work fine.  An output capacitor of 0.1uF or larger can also be added to improve output transient response as shown below\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"wp-image-5613 size-full aligncenter\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7812-Basic-Circuit.jpg\" alt=\"7812 Basic Circuit\" width=\"385\" height=\"202\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7812-Basic-Circuit.jpg 385w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7812-Basic-Circuit-200x105.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7812-Basic-Circuit-350x184.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7812-Basic-Circuit-300x157.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/7812-Basic-Circuit-280x147.jpg 280w\" sizes=\"(max-width: 385px) 100vw, 385px\"\u003e\u003c\/p\u003e\n\u003ch3\u003ePower Dissipation\u003c\/h3\u003e\n\u003cp\u003eLinear regulators have less ripple on their outputs compared to DC-DC converters that can be used for the same basic purpose, but the trade-off is that the linear regulators also tend to dissipate more heat in the process.  The reason is that the linear regulator uses a series pass transistor on its output to drop the excess voltage.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of a linear regulator is dependent on the difference between the input voltage (Vin) and the output voltage (Vout) along with the amount of current that is being drawn from the regulator.  The larger the voltage difference is between Vin and Vout, the higher the power dissipation will be which limits how much current can be drawn from the device.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of the 7812 device is easily calculated as \u003cstrong\u003ePower Dissipation = (Vin – Vout) * Iout\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eIf the 7812 input is 15V and it is providing 1A of current, then Power Dissipation = (15V – 12V) * 1A = 3W.  The 7812 TO-220 package will need to dissipate 3W of power.  Under typical conditions, the device can dissipate about 1 – 1.25W before a heat sink becomes necessary, so in our example here, the device would need a heat sink. Maximum output current without a heat sink in this case would be limited to about 300 – 350mA and the device will be running in the range of 85-95°C.\u003c\/p\u003e\n\u003cp\u003eAs a general rule, you always want to use as low of an input voltage as possible to minimize power loss though the device and maximize the output current available.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eThe tab of the 7812 is common with the Ground pin.\u003c\/em\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cem\u003eUnder high current loads or with large input to output voltage differentials, the device can get very hot, so use care when handling.\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"763\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eIN\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Input Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e35V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Output Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1A (Typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eMAX\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (typ)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.2A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOutput Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e12.0V +\/- 2%\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eI\u003cspan\u003e \u003c\/span\u003e\u003c\/sub\u003e– V\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDrop-out Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.0V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eTO-220\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePackage Type\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic Tab, 3-lead, through hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eManufacturer\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eON Semiconductor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cb\u003eDatasheet\u003c\/b\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"http:\/\/www.onsemi.com\/pub\/Collateral\/MC7800-D.PDF\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003e7812\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674457661675,"sku":"","price":2.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Regulator-7812-1.jpg?v=1723007456"},{"product_id":"hall-effect-sensor-analog-49e","title":"Hall-Effect Sensor Analog 49E","description":"\u003cp\u003e\u003cspan\u003eThe 49E sensor can detect the magnetic N\/S pole and relative strength of a magnetic field and output an analog voltage\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Hall-Effect Sensor Analog 49E can detect the magnetic N\/S pole and relative strength of a magnetic field.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eHall-Effect Sensor Analog 49E\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF HALL-EFFECT SENSOR ANALOG 49E:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSenses relative strength of magnetic field and provides analog voltage output\u003c\/li\u003e\n\u003cli\u003eCan differentiate between North and South pole of magnet\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eHall-effect sensors are commonly used for measuring the speed of rotating assemblies where a magnet on the assembly alternately makes and breaks magnetic contact with the sensor as the assembly rotates.  They can also be used for applications such as determining when a door has been opened, position sensing and detecting the magnetic field created by current flow in a wire.\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5501 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout.jpg\" alt=\"49E Hall Effect Sensor Pinout\" width=\"100\" height=\"330\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout.jpg 100w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout-91x300.jpg 91w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout-57x187.jpg 57w\" data-lazy-sizes=\"(max-width: 100px) 100vw, 100px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 100px) 100vw, 100px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout.jpg 100w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout-91x300.jpg 91w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout-57x187.jpg 57w\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe 49E sensor can detect both the North and South pole of a magnet as well as the relative strength of the magnetic field.  The side of the sensor with the labeling is the side used for detection.\u003c\/p\u003e\n\u003cp\u003eHall-effect sensors have several advantages over mechanic switches, chief among them are that by being solid-state, there is no concern about contacts wearing out and the switching speed can be quite high.\u003c\/p\u003e\n\u003cp\u003eThe main challenge with using Hall-effect sensors usually resides around the mounting of the sensor and any associated magnets.\u003c\/p\u003e\n\u003ch3\u003ePower Supply\u003c\/h3\u003e\n\u003cp\u003eThe sensor can operate over a Vcc range of 2.3-10V.\u003c\/p\u003e\n\u003cp\u003eIf the output is being read by an MCU, it is advisable to operate the sensor at the same voltage as the MCU so that the sensor output will be compatible with the range of the analog input.\u003c\/p\u003e\n\u003cp\u003eThe power draw is stated as 4mA nominal but it will vary with Vcc.  At 3.3V it draws 5mA and at 5V, it draws 7.8mA.  It is possible to power the device off a MCU digital output pin.\u003c\/p\u003e\n\u003ch3\u003eAnalog Output\u003c\/h3\u003e\n\u003cp\u003eThe sensor output is an analog voltage.   When no magnetic field is detected, the output will rest at approximately 1\/2 Vcc.  If the south pole of the magnet is brought near, the output will linearly ramp towards Vcc and if the north pole of the magnet is brought near, the output will linearly ramp towards ground.\u003c\/p\u003e\n\u003cp\u003eIn the case of Vcc being 5V, with no magnetic field present the output will rest at about 2.5V.  If the south pole of the magnet is brought near, the output will raise linearly up to a maximum of about 4.2V.  If the north pole is brought near, the output will lower linearly to a minimum of about 1.0V.\u003c\/p\u003e\n\u003cp\u003eThe output is typically read by an ADC port on a uC if the strength or pole of the magnetic field is important.  Optionally it can  be run into a comparator like the LM393 if a digital output with an adjustable set-point is desired.  If you are just counting the number of times a magnet goes by, this is easier than working with the analog output.  Digital Hall-effect sensors are also available for this purpose.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eHall-effect sensors are quite useful in a number of applications and one of the more under utilized electronic components available to hobbyists.  These particular sensors are used in many of the analog hall effect sensor modules that come out of China.\u003c\/p\u003e\n\u003cp\u003eThe program below monitors the output of the sensor and reports the value of the analog output.  Simply hook the sensor up to 5V \/ 3.3V and ground and connect the sensor output pin to a analog pin on the MCU.  We use pin A0 in this example but this can be any analog input pin.\u003c\/p\u003e\n\u003cp\u003eTo calibrate the circuit, run the program with no magnet near the sensor and record the ‘rawValue’ that is being reported.  Now change the ‘zeroLevel’ value in the program to the rawValue reading you recorded.  This value will be subtracted by the program so that the rawValue reading = 0.0 when no magnetic field is present.  Download the updated program and the rawValue reading should now show 0.0.\u003c\/p\u003e\n\u003cp\u003eAs the south pole of a magnet is brought near, the value should start to increase.  If the north pole of a magnet is brought near, the value should decrease (increase in the negative direction).\u003c\/p\u003e\n\u003ch3\u003eHall-effect Sensor Analog 49E Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eAnalog 49E Hall Effect sensor test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code for reading the analog output of the 49E hall effect sensor. \u003c\/span\u003e\n\u003cspan\u003eSensor is connected to A0, but can be any analog input pin.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eAnalogPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003eGAUSS_PER_STEP\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e2.57\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Sensor outputs approx 1.9mV \/ Gauss.  \u003c\/span\u003e\n                                    \u003cspan\u003e\/\/ ADC step is about 4.89mV \/ Step for 5V operation. \u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e               \u003cspan\u003e\/\/ Raw ADC Reading\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003egaussValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003ezeroLevel\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e518.0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Adjust value as needed to get zero rawValue output with no magnetic field.\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eAnalogPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e         \u003cspan\u003e\/\/ Set comm speed for debug window messages\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eAnalogPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e-\u003c\/span\u003e \u003cspan\u003ezeroLevel\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Output normalized to '0' with no field present\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Reading Raw: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003erawValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e\/\/ Reading positive relative to the South Pole, the North Pole negative\u003c\/span\u003e\n  \u003cspan\u003egaussValue\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003erawValue\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003eGAUSS_PER_STEP\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Reading in Gauss: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003egaussValue\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e3000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE SENSORS ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample tested per incoming shipment\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"883\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 2.3 – 10V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e           Output\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e No magnetic field detected\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1\/2 Vcc (typ)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMagnetic field detected – South pole max gauss\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e4.2V (Vcc = 5V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMagnetic field detected – North pole max gauss\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.0V (Vcc = 5V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e          Sensitivity\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.9mV\/GS (± 0.2mV\/GS)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Maximum Gauss\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e±1200 GS\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Power consumption\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Varies with Vcc\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5mA @ 3.3V,  7.8mA @ 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eSIP-3L\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003ca href=\"http:\/\/p.globalsources.com\/IMAGES\/PDT\/SPEC\/440\/K1139513440.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cstrong\u003e49E Hall Effect Sensor\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674457923819,"sku":"","price":0.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/49E-Analog-Hall-Effect-Sensor-Front.jpg?v=1723007451"},{"product_id":"hall-effect-sensor-digital-3144","title":"Hall-Effect Sensor Digital 3144","description":"\u003cp\u003e\u003cspan\u003eThe 3144 sensor can detect the presence of a magnetic field and a output logic level.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Hall-Effect Sensor Digital 3144 can detect the the presence or absence of a magnetic field and outputs a logic level.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eHall-Effect Sensor Digital 3144\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF HALL-EFFECT SENSOR ANALOG 3144:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSenses presence or absence of magnetic field and provides logic level output\u003c\/li\u003e\n\u003cli\u003eOperates over range of 4.5-24V (5V compatible)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eHall-effect sensors are commonly used for measuring the speed of rotating assemblies where a magnet on the assembly alternately makes and breaks magnetic contact with the sensor as the assembly rotates.  They can also be used for applications such as determining when a door has been opened, position sensing and detecting the magnetic field created by current flow in a wire.\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5501 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout.jpg\" alt=\"49E Hall Effect Sensor Pinout\" width=\"100\" height=\"330\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout.jpg 100w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout-91x300.jpg 91w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout-57x187.jpg 57w\" data-lazy-sizes=\"(max-width: 100px) 100vw, 100px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 100px) 100vw, 100px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout.jpg 100w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout-91x300.jpg 91w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/06\/49E-Hall-Effect-Sensor-Pinout-57x187.jpg 57w\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe 3144 sensor can detect the basic presence of the magnetic field, but not the relative strength.  The side of the sensor with the labeling is the side used for detection and detects the one pole of the magnet.  The other side of the device will detect the other pole of the magnet.  If the sensor does not seem to be detecting the magnet, try reversing it.\u003c\/p\u003e\n\u003cp\u003eHall-effect sensors have several advantages over mechanic switches, chief among them are that by being solid-state, there is no concern about contacts wearing out and the switching speed can be quite high, as fast as 2uS.\u003c\/p\u003e\n\u003cp\u003eThe main challenge with using Hall-effect sensors usually resides around the mounting of the sensor and any associated magnets.\u003c\/p\u003e\n\u003ch3\u003ePower Supply\u003c\/h3\u003e\n\u003cp\u003eThe sensor can operate over a Vcc range of 4.5-24V.\u003c\/p\u003e\n\u003cp\u003eIf the output is being read by an MCU, it is advisable to operate the sensor at the same voltage as the MCU so that the sensor output will be compatible with the digital input on the MCU\u003c\/p\u003e\n\u003cp\u003eIt is possible to power the device off a 5V MCU digital output pin.\u003c\/p\u003e\n\u003ch3\u003eDigital Output\u003c\/h3\u003e\n\u003cp\u003eThe sensor output is open collector.  A pull-up resistor of about 10K is normally used to pull the output high.  This can be an external resistor or can be a built-in pull-up resistor on the MCU input.  When a magnetic field is detected, the sensor pulls the output LOW.\u003c\/p\u003e\n\u003cp\u003eWhen the sensor output goes LOW, it can sink up to 25mA of current.\u003c\/p\u003e\n\u003cp\u003eThe output is typically read by a digital pin on an MCU.  Optionally in some cases it may be able to drive a secondary circuit directly.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eHall-effect sensors are quite useful in a number of applications and one of the more under utilized electronic components available to hobbyists.  These particular sensors are used in many of the digital hall effect sensor modules that come out of China.\u003c\/p\u003e\n\u003cp\u003eThe program below monitors the output of the sensor and reports when it detects a state change.  Simply hook the sensor up to 5V and ground and connect the sensor output pin to a digital pin on the MCU.  We use pin D4 in this example but this can be any digital input pin.\u003c\/p\u003e\n\u003cp\u003eAfter downloading, open the Serial Monitor window to see the output.  If the state does not change when the magnet is brought near, try reversing the magnet (swap north \u0026amp; south ends).\u003c\/p\u003e\n\u003ch3\u003eDigital Hall-effect Sensor Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eDigital Hall Effect Module Test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code for monitoring the output of the sensor.  \nConnect Output pin of sensor to D4 and connect 5V and Ground \u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003esensorPin\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e4\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Arbitrary digital pin for monitoring the output\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Current state of the sensor\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003elastState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/Place to save our previous state\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e \n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT_PULLUP\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Enable pull-up as sensor output is open collector\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Set output window comm rate\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003esensorPin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Read the current state of the sensor\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e!=\u003c\/span\u003e \u003cspan\u003elastState\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e             \u003cspan\u003e\/\/ State has changed, so print out new state\u003c\/span\u003e\n  \u003cspan\u003e{\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Current State: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003estate\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n   \u003cspan\u003elastState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003estate\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                 \u003cspan\u003e\/\/ Remember last state we were in\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2\u003e\u003cstrong\u003eBEFORE THEY ARE SHIPPED, THESE SENSORS ARE:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSample tested per incoming shipment\u003c\/li\u003e\n\u003cli\u003ePackaged in a resealable ESD bag for protection and easy storage.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"883\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 4.5 – 24V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e      Output\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e No magnetic field detected\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePulled to Vcc by pull-up resistor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMagnetic field detected\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePulled to ground by sensor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Maximum Current\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eSinking\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e25mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eSIP-3L\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003ca href=\"https:\/\/components101.com\/sites\/default\/files\/component_datasheet\/A3144%20Hall%20effect%20Sensor.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cstrong\u003e3144 Hall Effect Sensor\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674458284267,"sku":"","price":0.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/3144-Digital-Hall-Effect-Sensor-Front.jpg?v=1723007446"},{"product_id":"hall-effect-sensor-digital-ah3373","title":"Hall-Effect Sensor Digital AH3373","description":"\u003cp\u003e\u003cspan\u003eDigital sensor can detect the presence or absence of magnetic field and provide digital output.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Hall-Effect Sensor Digital AH3373 can detect the presence or absence of a magnetic field and provides a digital open-drain output.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eHall-Effect Sensor Digital AH3373-P-B\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF HALL-EFFECT SENSOR DIGITAL AH3373:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSenses presence or absence of a magnetic field and provides a digital output\u003c\/li\u003e\n\u003cli\u003eOpen drain output can sink 50mA\u003c\/li\u003e\n\u003cli\u003e3V to 28V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eHall-effect sensors are commonly used for measuring the speed of rotating assemblies where a magnet on the assembly alternately makes and breaks magnetic contact with the sensor as the assembly rotates.  They can also be used for applications such as determining when a door has been opened, position sensing and detecting the magnetic field created by current flow in a wire.\u003c\/p\u003e\n\u003cp\u003eHall-effect sensors have several advantages over mechanic switches, chief among them are that by being solid-state, there is no concern about contacts wearing out and the switching speed can be\u003cspan\u003e \u003c\/span\u003e\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5515 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/AH337-Pinout.jpg\" alt=\"AH337 Pinout\" width=\"94\" height=\"280\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/AH337-Pinout.jpg 94w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/AH337-Pinout-63x187.jpg 63w\" data-lazy-sizes=\"(max-width: 94px) 100vw, 94px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/AH337-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 94px) 100vw, 94px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/AH337-Pinout.jpg 94w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/AH337-Pinout-63x187.jpg 63w\"\u003equite high.\u003c\/p\u003e\n\u003cp\u003eThe sensors are fairly straight forward to integrate with a MCU, especially digital versions like this one where the output is either high or low and can be read the same as a standard mechanical switch would be.\u003c\/p\u003e\n\u003ch3\u003eTheory Of Operation\u003c\/h3\u003e\n\u003cp\u003eThe AH3373 has a digital output which is driven LOW when a magnetic field is detected.\u003c\/p\u003e\n\u003cp\u003eThe output has a Schmitt trigger to provide some hysteresis for noise rejection.\u003c\/p\u003e\n\u003cp\u003eWhen the magnetic field is removed, the output is open-drain and an external resistor is used to pull the output HIGH.  Most MCU like Arduino have pull-up resistors that can be enabled on their input pins as we do in the example below so that a physical resistor is not needed for the pull-up.\u003c\/p\u003e\n\u003cp\u003eThe sensor does not detect the relative strength of the magnetic field, just its presence which makes it easier to use than an analog Hall-effect sensor.  If it is desired to measure the strength of the field, then an analog Hall-effect sensor can be used for that purpose.\u003c\/p\u003e\n\u003cp\u003eIn addition, this device is unipolar.  This means that one side of the device (the side with the markings) will detect the south pole of a magnet and the other side of the device will detect the north pole.  If the sensor does not seem to be detecting the magnetic field, try turning either the magnet or the sensor around.\u003c\/p\u003e\n\u003ch3\u003ePower Supply\u003c\/h3\u003e\n\u003cp\u003eThese devices are able to handle a wide input voltage range of 3.0 to 28V, but will normally be operated off of 3.3V or 5V for compatibility with an attached microcontroller.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eOUR EVALUATION RESULTS:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eHall-effect sensors are quite useful in a number of applications and are one of the more under utilized electronic components available to hobbyists.\u003c\/p\u003e\n\u003cp\u003eThe main challenge with using Hall-effect sensors usually resides around the mounting of the sensor and any associated magnets.\u003c\/p\u003e\n\u003cp\u003eThe program below monitors the output of the sensor and reports when it detects a state change.  Simply hook the sensor up to 3.3V or 5V and ground to match the microcontroller and connect the sensor output pin to a digital pin on the microcontroller.  We use pin 4 in this example, but it can be any digital pin.\u003c\/p\u003e\n\u003ch3\u003eHall-effect Sensor Digital AH337 Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003e  Digital Hall Effect Module Test\u003c\/span\u003e\n\n\u003cspan\u003e  Basic code for monitoring the output of a digital Hall-effect sensor\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003e#define\u003c\/span\u003e \u003cspan\u003eSENSOR_PIN\u003c\/span\u003e \u003cspan\u003e4\u003c\/span\u003e  \u003cspan\u003e\/\/ Use any available digital pin\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e        \u003cspan\u003e\/\/ Current state of the sensor\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003elastState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/Place to save our previous state\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eSENSOR_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT_PULLUP\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Enable pullup on this pin since sensor output is open collector\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e      \u003cspan\u003e\/\/ Set output window comm rate\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003edigitalRead\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eSENSOR_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Read the current state of the sensor\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003estate\u003c\/span\u003e \u003cspan\u003e!=\u003c\/span\u003e \u003cspan\u003elastState\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e             \u003cspan\u003e\/\/ State has changed, so print out new state\u003c\/span\u003e\n  \u003cspan\u003e{\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Current State: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003estate\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003elastState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003estate\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                 \u003cspan\u003e\/\/ Remember last state we were in\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"883\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Vcc Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 3.0 – 28V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e           Output\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e No magnetic field detected\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e Open drain (normally pulled up to Vcc)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMagnetic field detected\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 200mV (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e          Output Current\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e50mA max\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eSIP-3L\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDiodes Incorporated\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/www.diodes.com\/assets\/Datasheets\/products_inactive_data\/AH3373.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eAH3373\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674462380267,"sku":"","price":2.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/AH3373-Hall-Effect-Sensor.jpg?v=1723007444"},{"product_id":"l293d-dual-h-bridge-motor-driver","title":"L293D Dual H-Bridge Motor Driver","description":"\u003cp\u003e\u003cspan\u003eGeneral purpose driver handles 4.5 – 36V @ 600mA\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe L293D Dual H-Bridge Motor Driver is a general purpose high voltage \/ high current driver that can handle 4.5 – 36V @ 600mA continuous per channel\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eL293D Dual H-Bridge Motor Driver\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF L293D DUAL H-BRIDGE MOTOR DRIVER:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eContains four half H-Bridges that can operate as two full H-Bridges\u003c\/li\u003e\n\u003cli\u003eOperate 2 motors with direction and speed control or 4 motors with speed control only\u003c\/li\u003e\n\u003cli\u003eCan supply 600mA current per channel continuous and 1.2A peak\u003c\/li\u003e\n\u003cli\u003e4.5 to 36V motor voltage\u003c\/li\u003e\n\u003cli\u003e5V compatible on logic pins\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe L293D is a general purpose high voltage \/ high current driver  that can handle up to 600mA per channel (1.2A peak non-repetitive) and can operate over the range of 4.5 – 36V.  The chip includes built-in kick-back diodes to prevent damage when the motor is de-energized.\u003c\/p\u003e\n\u003cp\u003eThese devices are most often used to drive motors, but they can also be used to drive any inductive load such as relay solenoids or used to drive large switching power transistors.\u003c\/p\u003e\n\u003ch3\u003eHalf-Bridge vs Full-Bridge\u003c\/h3\u003e\n\u003cp\u003eThe chip contains four half H-Bridges that can be operated that way or can also be operated as two full H-Bridges.  They are capable of driving up to 4 solenoids, 4 uni-directional DC motors, 2 bi-directional DC motors or 1 stepper motor.\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5528 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout.jpg\" alt=\"L293D Pinout\" width=\"344\" height=\"197\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout.jpg 344w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout-200x115.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout-300x172.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout-280x160.jpg 280w\" data-lazy-sizes=\"(max-width: 344px) 100vw, 344px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 344px) 100vw, 344px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout.jpg 344w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout-200x115.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout-300x172.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Pinout-280x160.jpg 280w\"\u003e\u003c\/p\u003e\n\u003cp\u003eA half H-Bridge configuration allows a motor to be operated in one direction.  the Enable pins allow the motor to be turned ON\/OFF or speed regulated by applying a PWM signal to these pins.  The Enable pins are shared between channels 1\u0026amp;2 and 3\u0026amp;4 which limits the usefulness of this mode.\u003c\/p\u003e\n\u003cp\u003eA full H-Bridge configuration allows a DC motor to be run in both directions by reversing the current flow through the motor.  The Enable pins allow the motors to be turned ON\/OFF or speed regulated by applying a PWM signal to these pins.  This is the most common mode of operation.\u003c\/p\u003e\n\u003cp\u003eIf higher output current is required, the outputs can be run in parallel to get drive currents of up to 1.2A.  When paralleling outputs, channel 1 \u0026amp; 4 should be paralleled and channel 2 \u0026amp; 3 should be paralleled.  It is also possible to piggy-back a second chip on top of the first and solder the pins together to maintain full two H-Bridge functionality while also doubling the current handling to 1.2A.\u003c\/p\u003e\n\u003ch3\u003eUnidirectional DC Motor Control (using half H-Bridge)\u003c\/h3\u003e\n\u003cp\u003eThis table covers 1 of the 4 half H-Bridges in the device.  1A channel is shown but all 4 channels (1A\/2A\/3A\/4A) behave the same.  Note that the EN pins are shared between Channels 1\u0026amp;2 and 3\u0026amp;4.\u003c\/p\u003e\n\u003cp\u003eAlso, note that is in this half bridge configuration, one side of the motor will be connected directly to power or ground, so the direction control pins (1A in this case) will have the opposite effect depending on how the motor is wired.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable class=\"table table-bordered\" width=\"1029\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003e\u003cstrong\u003eEN\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"95\"\u003e\u003cstrong\u003e1A\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"203\"\u003e\u003cstrong\u003eFunction (Motor connected to VCC2)\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"203\"\u003e\u003cstrong\u003eFunction (Motor connected to Ground)\u003c\/strong\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eL\u003c\/td\u003e\n\u003ctd width=\"203\"\u003eMotor Run\u003c\/td\u003e\n\u003ctd width=\"203\"\u003eFast Motor Stop\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"203\"\u003eFast Motor Stop\u003c\/td\u003e\n\u003ctd width=\"203\"\u003eMotor Run\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003eL\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eX\u003c\/td\u003e\n\u003ctd width=\"203\"\u003eFree-running Motor Stop\u003c\/td\u003e\n\u003ctd width=\"203\"\u003eFree-running Motor Stop\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003eBidirectional DC Motor Control (using full H-Bridge)\u003c\/h3\u003e\n\u003cp\u003eThis truth table covers the left half of the chip which forms one full H-Bridge.  The right side is a duplicate with 1A and 2A replaced with 3A and 4A.\u003c\/p\u003e\n\u003ctable class=\"table table-bordered\" width=\"661\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003e\u003cstrong\u003eEN\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"95\"\u003e\u003cstrong\u003e1A\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"95\"\u003e\u003cstrong\u003e2A\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"191\"\u003e\u003cstrong\u003eFunction\u003c\/strong\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eL\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"191\"\u003eMotor Turn Right\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eL\u003c\/td\u003e\n\u003ctd width=\"191\"\u003eMotor Turn Left\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eL\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eL\u003c\/td\u003e\n\u003ctd width=\"191\"\u003eFast Motor Stop\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eH\u003c\/td\u003e\n\u003ctd width=\"191\"\u003eFast Motor Stop\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"95\"\u003eL\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eX\u003c\/td\u003e\n\u003ctd width=\"95\"\u003eX\u003c\/td\u003e\n\u003ctd width=\"191\"\u003eFree-Running Motor Stop\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch3\u003eConnecting Power\u003c\/h3\u003e\n\u003cp\u003eTake note that there are two power pins which are marked various ways depending on what datasheet you are looking at.  The important thing to remember is that pin 16 is the logic power and needs to be connected to 5V which can come from the uC or separate power supply.   Pin 8 is the motor power and can vary between 4.5 and 36V.\u003c\/p\u003e\n\u003cp\u003eThe IC package has 4 ground pins.  These are all connected internally and are used to help heat sink the chip when soldered to a PCB ground plane and handle the current under high load conditions.  For experimenting under light loads, only one needs to be connected.\u003c\/p\u003e\n\u003chr\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003eThese are old school devices, but they are easy to use, inexpensive, robust and get the job done when working with motors that don’t require a lot of current.\u003c\/p\u003e\n\u003ch3\u003eQuick Breadboard Control Example\u003c\/h3\u003e\n\u003cp\u003eTo get a feel for how the IC works in the full H-Bridge arrangement that allows for DC motor operation in both directions, do the following exercise:\u003cimg decoding=\"async\" class=\"size-full wp-image-4726 alignright entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic.jpg\" alt=\"L293D Schematic\" width=\"495\" height=\"248\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic.jpg 495w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic-400x200.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic-350x175.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic-300x150.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic-280x140.jpg 280w\" data-lazy-sizes=\"(max-width: 495px) 100vw, 495px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 495px) 100vw, 495px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic.jpg 495w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic-400x200.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic-350x175.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic-300x150.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/03\/L293D-Schematic-280x140.jpg 280w\"\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003eConnect 5V to  both pins 8 and 16. These are the motor and digital power pins respectively.\u003c\/li\u003e\n\u003cli\u003eConnect one of the ground pins (like pin 4) to ground. There are 4 pins, but only one needs to be connected for this exercise.\u003c\/li\u003e\n\u003cli\u003eConnect a smaller DC motor that draws less than 600mA to pins 3 and 6 (\u003cstrong\u003e1Y\/2Y\u003c\/strong\u003e).  These are the two motor driver outputs for one of the channels.\u003c\/li\u003e\n\u003cli\u003eApply 5V power and nothing will happen because we haven’t told the motor which direction to turn yet.\u003c\/li\u003e\n\u003cli\u003eConnect jumper wires to pins 2 \u0026amp; 7 which are the\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003e1A\/2A\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003econtrol pins for this full-bridge.\u003c\/li\u003e\n\u003cli\u003eConnect the other end of one of the wires to ground and the other wire to 5V.  The motor should start turning.\u003c\/li\u003e\n\u003cli\u003eNow swap the power and ground connections to these 2 wires and the motor should start turning in the opposite direction,\u003c\/li\u003e\n\u003cli\u003eFrom this we learn that we can control the motor direction using logic levels on these two pins as per the logic truth table above.\u003c\/li\u003e\n\u003cli\u003eNow connect a jumper wire to pin 1 (\u003cstrong\u003e1\u0026amp;2 EN\u003c\/strong\u003e). This pin is active HIGH.  If this jumper is connected to ground, the motor should stop.  If it is connected to 5V or simply left floating, the motor should run.  If you were quick enough you could plug this jumper in and out of the ground connection really fast and control the speed of the motor by momentarily enabling\/disabling the drive to it.   Using a PWM pin on a uC automates this process and allows us to control the speed of the motor under program control which we’ll do below.\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003ch3\u003eHooking the L293D up to a uC\u003c\/h3\u003e\n\u003cp\u003eTo take our simple setup to the next level, the program below automates the control of the basic setup above using an Arduino or similar uC and gives you control of the motor through the Arduino IDE Serial Monitor window by entering commands.  Your just need to connect the 1A\/2A and EN control pins on the IC to pins 9, 8 and 10 on an uC.  You can use other digital pins, just make sure that you redefine them in the program.  The EN pin does need to be connected to a PWM capable pin.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eThe valid commands to type into the Serial Monitor Window include:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eF\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Motor FORWARD\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eR\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Motor REVERSE\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eS\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Motor STOP\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eP\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Short for PWM, it sets or gets the motor speed.  P by itself does nothing.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e     P?\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Get the current speed setting from the uC\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e     P1\u003c\/strong\u003e –\u003cstrong\u003eP255\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e= Sets the PWM value which controls the speed of the motor.  This needs to all be typed on the same line before hitting ‘Send’ or the RETURN key to transmit  the command to the uC.\u003c\/p\u003e\n\u003cp\u003eNote that at low value speed settings like\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eP5\u003c\/strong\u003e, the motor will not turn because it is not getting enough power, but you may hear it whining a bit.  This varies by motor and the voltage that your are driving it at.   If 5V is too low for your motor, you can change the voltage on pin 8 to a higher value or just stick with higher PWM values.  You may have to use values in the range of\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eP25-50\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eto get things moving.\u003c\/p\u003e\n\u003cp\u003eThe directions of ‘\u003cstrong\u003eF\u003c\/strong\u003e‘orward and ‘\u003cstrong\u003eR\u003c\/strong\u003e‘everse are relative to how the motor is wired to the L293D.  The wires to the motor can be swapped if it is desired to reverse the direction relative to the commands being given.\u003c\/p\u003e\n\u003cp\u003eThe program is somewhat simplistic to keep it reasonably short.  If the PWM value is zero, it assumes this is because the number given could not be converted to an integer and ignores it.  This means you can’t send the command ‘\u003cstrong\u003eP0\u003c\/strong\u003e‘ to stop the motor because it will be ignored.  Use the ‘\u003cstrong\u003eS\u003c\/strong\u003e‘ command instead.\u003c\/p\u003e\n\u003ch3\u003eUsing The Serial Monitor Window To Send Commands\u003c\/h3\u003e\n\u003cp\u003eUsually the Serial Monitor window is used only for displaying returned characters from the Arduino.  Since we are using it also for input, it is worth noting a few things.\u003c\/p\u003e\n\u003cp\u003eWhen using the Serial Monitor window for input, the commands need to be typed into the small top window, not the main window.  A carriage return or hitting the ‘\u003cstrong\u003eSend\u003c\/strong\u003e‘ button sends the command typed into this window to the Arduino.\u003c\/p\u003e\n\u003cp\u003eThe program echos the command (like ‘\u003cstrong\u003eR\u003c\/strong\u003e‘) back to the main window.  This is confirmation that the command was received by the Arduino.  It then sends a string of what it is doing with that command (like ‘\u003cstrong\u003eMotor Reverse\u003c\/strong\u003e‘)  as confirmation that it not only received the command but also understood and executed the command.\u003c\/p\u003e\n\u003cp\u003eMake sure the baud rate is set to the rate you have set in the program.   Program sets it to a default of\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003e9600\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eOn my setup I find that if the default ‘\u003cstrong\u003eBoth NL \u0026amp; CR\u003c\/strong\u003e‘ setting is used at the bottom of the Serial Monitor window, the window tends to hang intermittently.  Commands are still be sent and acted on by the Arduino, but the output from the Arduino stops being shown.  Closing and reopening the windows temporarily clears the problem.  Using ‘\u003cstrong\u003eCarriage return\u003c\/strong\u003e‘ seems to work fine.  I am not sure why that is.\u003c\/p\u003e\n\u003ch3\u003eL293D Dual H-Bridge Motor Driver Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eExercise L293 Motor Driver IC\u003c\/span\u003e\n\u003cspan\u003eUses Serial Monitor window to issue commands for controlling a DC motor \u003c\/span\u003e\n\u003cspan\u003econnected to channels 1 \u0026amp; 2 on an L293D chip.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eEN_PIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e10\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Must be PWM pin.  Connect to Pin 1 on L293\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eA1_PIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e9\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Can by any digital pin.  Connect to pin 2 on L293\u003c\/span\u003e\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eA2_PIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e8\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Can by any digital pin.  Connect to pin 7 on L293\u003c\/span\u003e\n\n\u003cspan\u003echar\u003c\/span\u003e \u003cspan\u003ereadString\u003c\/span\u003e\u003cspan\u003e[\u003c\/span\u003e\u003cspan\u003e4\u003c\/span\u003e\u003cspan\u003e]\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ String array to hold PWM value typed in on keyboard\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ePWM_Value\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Our current PWM motor speed value\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eEN_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Initialize output pins\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eA1_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eA2_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e       \u003cspan\u003e\/\/ Initialize serial monitor\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n\u003cspan\u003e\/\/ Basically just loop while monitoring the serial port and then jump to DoSerial to\u003c\/span\u003e\n\u003cspan\u003e\/\/ handle incoming characters and act on them\u003c\/span\u003e\n\u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eavailable\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003eDoSerial\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Subroutine to handle characters typed via Serial Monitor Window\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eDoSerial\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eindex\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ePWM_Test_Value\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003echar\u003c\/span\u003e \u003cspan\u003ech\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eread\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Read the character we know we have\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ech\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e       \u003cspan\u003e\/\/ Echo character typed to show we got it\u003c\/span\u003e\n\n  \u003cspan\u003e\/\/ Use Switch\/Case statement to handle the different commands\u003c\/span\u003e\n  \u003cspan\u003eswitch\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ech\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003ecase\u003c\/span\u003e \u003cspan\u003e'f'\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e   \u003cspan\u003e\/\/ Motor FORWARD command\u003c\/span\u003e\n  \u003cspan\u003ecase\u003c\/span\u003e \u003cspan\u003e'F'\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e   \u003cspan\u003e\/\/ This fall-through case statement accepts upper and lower case\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eA1_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eA2_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Motor Forward\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003ebreak\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003ecase\u003c\/span\u003e \u003cspan\u003e'r'\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e   \u003cspan\u003e\/\/ Motor REVERSE command\u003c\/span\u003e\n  \u003cspan\u003ecase\u003c\/span\u003e \u003cspan\u003e'R'\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eA1_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eA2_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Motor Reverse\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003ebreak\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n   \u003cspan\u003ecase\u003c\/span\u003e \u003cspan\u003e's'\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e   \u003cspan\u003e\/\/ Motor STOP command\u003c\/span\u003e\n   \u003cspan\u003ecase\u003c\/span\u003e \u003cspan\u003e'S'\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e\n    \u003cspan\u003e\/\/digitalWrite(EN_PIN, LOW);\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eA1_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003edigitalWrite\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eA2_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Motor Stop\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003ebreak\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003ecase\u003c\/span\u003e \u003cspan\u003e'p'\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e  \u003cspan\u003e\/\/ Motor SPEED command\u003c\/span\u003e\n  \u003cspan\u003ecase\u003c\/span\u003e \u003cspan\u003e'P'\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e\n    \u003cspan\u003e\/\/ This command is a little trickier.  We are looking for a number from 0-255\u003c\/span\u003e\n    \u003cspan\u003e\/\/ to follow this command so we can set the PWM speed.  If we see a '?'\u003c\/span\u003e\n    \u003cspan\u003e\/\/ we will report our current speed setting, otherwise we start collecting chars\u003c\/span\u003e\n    \u003cspan\u003e\/\/ into the readString array.\u003c\/span\u003e\n    \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e2\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Give time for more characters to arrive.\u003c\/span\u003e\n    \u003cspan\u003efor\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003e4\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e++\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003ereadString\u003c\/span\u003e\u003cspan\u003e[\u003c\/span\u003e\u003cspan\u003ei\u003c\/span\u003e\u003cspan\u003e]\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e' '\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Clear buffer\u003c\/span\u003e\n    \u003cspan\u003ewhile\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eavailable\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e  \u003cspan\u003e\/\/ Read what we get and put into the string array\u003c\/span\u003e\n    \u003cspan\u003e{\u003c\/span\u003e\n      \u003cspan\u003echar\u003c\/span\u003e \u003cspan\u003ec\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eread\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n      \u003cspan\u003ereadString\u003c\/span\u003e\u003cspan\u003e[\u003c\/span\u003e\u003cspan\u003eindex\u003c\/span\u003e\u003cspan\u003e]\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003ec\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n      \u003cspan\u003eindex\u003c\/span\u003e\u003cspan\u003e++\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n      \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e2\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003e}\u003c\/span\u003e\n    \u003cspan\u003ereadString\u003c\/span\u003e\u003cspan\u003e[\u003c\/span\u003e\u003cspan\u003e3\u003c\/span\u003e\u003cspan\u003e]\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e''\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Append null to end of string array to make it a valid string\u003c\/span\u003e\n    \u003cspan\u003eindex\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ Reset our index back to the start of the string\u003c\/span\u003e\n    \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ereadString\u003c\/span\u003e\u003cspan\u003e[\u003c\/span\u003e\u003cspan\u003eindex\u003c\/span\u003e\u003cspan\u003e]\u003c\/span\u003e \u003cspan\u003e==\u003c\/span\u003e \u003cspan\u003e'?'\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e   \u003cspan\u003e\/\/ ? means report our current speed setting and exit.\u003c\/span\u003e\n    \u003cspan\u003e{\u003c\/span\u003e\n      \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"Current PWM Setting: \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n      \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWM_Value\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n      \u003cspan\u003ebreak\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003e}\u003c\/span\u003e\n    \u003cspan\u003ePWM_Test_Value\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eatoi\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ereadString\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Try to convert string into integer\u003c\/span\u003e\n    \u003cspan\u003e\/\/ We assume a 0 value is because of a non-valid input and ignore the command\u003c\/span\u003e\n    \u003cspan\u003eif\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWM_Test_Value\u003c\/span\u003e\u003cspan\u003e!=\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e   \n      \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWM_Test_Value\u003c\/span\u003e \u003cspan\u003e\u0026gt;\u003c\/span\u003e \u003cspan\u003e255\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003ePWM_Value\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e255\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e     \u003cspan\u003e\/\/ Cap WPM setting at 255\u003c\/span\u003e\n      \u003cspan\u003eelse\u003c\/span\u003e \u003cspan\u003ePWM_Value\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003ePWM_Test_Value\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n      \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ePWM_Value\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e        \u003cspan\u003e\/\/ Echo what we end up with to confirm we got it\u003c\/span\u003e\n      \u003cspan\u003eanalogWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eEN_PIN\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003ePWM_Value\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Set new speed on PWM pin.\u003c\/span\u003e\n    \u003cspan\u003e}\u003c\/span\u003e\n    \u003cspan\u003ebreak\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \n  \u003cspan\u003edefault\u003c\/span\u003e\u003cspan\u003e:\u003c\/span\u003e\n    \u003cspan\u003ebreak\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003e}\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e10\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"703\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e Operational Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVcc2 (Motor)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e4.5-36V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVcc1 (Internal Logic)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMax Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e600mA  (per channel)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMax Current  (non-repetitive)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.2A   (per Channel)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVcc1 Max Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e60mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDIP-16\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eTI \/ ST\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"http:\/\/www.ti.com\/lit\/ds\/symlink\/l293.pdf\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eL293D\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674462970091,"sku":"","price":4.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/L293D-Motor-Driver-IC-1.jpg?v=1723007439"},{"product_id":"ld1117v33-voltage-regulator-3-3v-800ma","title":"LD1117V33 Voltage Regulator 3.3V \/ 800mA","description":"\u003cp\u003e\u003cspan\u003eLow drop-out linear regulator that outputs 3.3V at up to 800mA.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe LD1117V33 is a low drop-out linear regulator that outputs 3.3V at up to 800mA with an input voltage can range of 4.5 – 15V.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLD1117V33 Voltage Regulator\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF LD1117V33 VOLTAGE REGULATOR:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eFixed voltage LDO (low drop-out) linear regulator\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5631\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-pinout.jpg\" alt=\"LD1117V33 pinout\" width=\"91\" height=\"265\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-pinout.jpg 91w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-pinout-64x187.jpg 64w\" sizes=\"(max-width: 91px) 100vw, 91px\"\u003e\n\u003c\/li\u003e\n\u003cli\u003e4.5-15V input voltage range\u003c\/li\u003e\n\u003cli\u003e3.3V fixed output voltage\u003c\/li\u003e\n\u003cli\u003e800mA continuous current with 1.3A surge capability\u003c\/li\u003e\n\u003cli\u003eTO-220 package\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe LD1117Vxx series of LDO fixed-voltage linear regulators are some of the more popular LDO linear regulators available.\u003c\/p\u003e\n\u003cp\u003eSince they are LDO (Low Drop-Out), they do not drop as much voltage across the device as the more common regulators such as the 78xx series do.  The LD1117V33 drops just 1V which allows it to run from a 4.5V supply which is handy since these are often used with 5V power systems to drop the 5V down to 3.3V.  They have built-in current limiting and over temperature protection and tend to be fairly robust devices.\u003c\/p\u003e\n\u003ch3\u003eBasic Operation\u003c\/h3\u003e\n\u003cp\u003eThe LD1117V33 is perhaps the most commonly used LDO linear regulator available.  Input voltage can range from 4.5 – 15VDC and it outputs a fixed 3.3V at 800mA of current and up to 1.3A of surge current.\u003c\/p\u003e\n\u003cp\u003eFor basic operation, a 0.1uF bypass cap is recommended on the input and a 10uF or larger electrolytic cap on the output as shown below.\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"wp-image-5616 size-full aligncenter\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-schematic-example.jpg\" alt=\"LD1117V33 schematic example\" width=\"436\" height=\"203\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-schematic-example.jpg 436w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-schematic-example-400x186.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-schematic-example-350x163.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-schematic-example-300x140.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LD1117V33-schematic-example-280x130.jpg 280w\" sizes=\"(max-width: 436px) 100vw, 436px\"\u003e\u003c\/p\u003e\n\u003ch3\u003ePower Dissipation\u003c\/h3\u003e\n\u003cp\u003eLinear regulators have less ripple on their outputs compared to DC-DC converters that can be used for the same basic purpose, but the trade-off is that the linear regulators also tend to dissipate more heat in the process.  The reason is that the linear regulator uses a series pass transistor on its output to drop the excess voltage.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of a linear regulator is dependent on the difference between the input voltage (Vin) and the output voltage (Vout) along with the amount of current that is being drawn from the regulator.  The larger the voltage difference is between Vin and Vout, the higher the power dissipation will be which limits how much current can be drawn from the device.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of the LD1117V33 device is easily calculated as\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003ePower Dissipation = (Vin – Vout) * Iout\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eIf the LD1117V33 input is 5V and it is providing 800mA of current, then Power Dissipation = (5V – 3.3V) * 0.8A = 1.36W.  The LD1117V33 TO-220 package will need to dissipate 1.36W of power.  Under typical conditions, the device can dissipate about 1 – 1.25W before a heat sink becomes necessary, so in our example here, the device would benefit from a heat sink. The maximum output current to safely run without a heat sink in this case would be limited to about 650mA and the device will be running in the range of 90°C.\u003c\/p\u003e\n\u003cp\u003eAs a general rule, you always want to use as low of an input voltage as possible to minimize power loss though the device and maximize the output current available.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eThe tab of the LD1117V33 is common with the Vout pin.\u003c\/em\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cem\u003eUnder high current loads or with large input to output voltage differentials, the device can get very hot, so use care when handling.\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"756\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eIN\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Input Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e15V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Output Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e800mA (Typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eMAX\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (typ)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.3A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOutput Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.3V +\/- 2%\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eI\u003cspan\u003e \u003c\/span\u003e\u003c\/sub\u003e– V\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDrop-out Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.0V (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eTO-220\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePackage Type\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic Tab, 3-lead, through hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eManufacturer\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eST Micro\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDatasheet\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"http:\/\/www.st.com\/content\/ccc\/resource\/technical\/document\/datasheet\/99\/3b\/7d\/91\/91\/51\/4b\/be\/CD00000544.pdf\/files\/CD00000544.pdf\/jcr:content\/translations\/en.CD00000544.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eLD1117V33\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674463101163,"sku":"","price":1.72,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Regulator-LD1117V33-1.jpg?v=1723007434"},{"product_id":"lm317-adjustable-positive-voltage-regulator-ic-1-25v-37v-1-5a","title":"LM317 Adjustable Positive Voltage Regulator IC – 1.25V to 37V, 1.5A (TO-220 \/ DIP)","description":"\u003ch2\u003eLM317 Adjustable Positive Voltage Regulator IC – 1.25V to 37V, 1.5A\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eLM317\u003c\/strong\u003e is the world's most popular adjustable positive voltage regulator – a three-terminal IC that delivers any output voltage from 1.25V to 37V at up to 1.5A, set by just two external resistors. With built-in thermal shutdown, overcurrent protection, and safe operating area protection, it's virtually indestructible in normal use. The LM317 has been in continuous production since 1970 and remains the standard choice for adjustable linear power supply design, battery charging, and LED driving.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e LM317 \/ LM317T (TO-220) \/ LM317L (TO-92)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Voltage Range:\u003c\/strong\u003e 1.25V – 37V (adjustable)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Current:\u003c\/strong\u003e 1.5A (continuous, with heatsink)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInput Voltage:\u003c\/strong\u003e 3V – 40V DC (must be ≥3V above Vout)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReference Voltage:\u003c\/strong\u003e 1.25V (between Output and Adjust pins)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Accuracy:\u003c\/strong\u003e ±1.5% (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLine Regulation:\u003c\/strong\u003e 0.01%\/V | \u003cstrong\u003eLoad Regulation:\u003c\/strong\u003e 0.1%\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e 0°C to +125°C\u003c\/li\u003e\n  \u003cli\u003eBuilt-in thermal shutdown, overcurrent, and SOA protection\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eOutput Voltage Formula\u003c\/h3\u003e\n\u003cp\u003e\u003cstrong\u003eVout = 1.25V × (1 + R2\/R1)\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eWith R1 = 240Ω: R2 = 720Ω → 5V | R2 = 2.16kΩ → 12V | R2 = 6.96kΩ → 37V\u003c\/p\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAdjustable bench power supply:\u003c\/strong\u003e Variable voltage source for electronics prototyping\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBattery charger:\u003c\/strong\u003e Constant-voltage charging for NiMH, lead-acid, and Li-ion batteries\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLED driver:\u003c\/strong\u003e Constant-current LED driving with sense resistor\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMotor speed control:\u003c\/strong\u003e Variable voltage for DC motor speed adjustment\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eElectronics education:\u003c\/strong\u003e Teaching voltage regulation and resistor divider theory\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × LM317 adjustable positive voltage regulator IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eThe world's most popular adjustable voltage regulator – the LM317 delivers any voltage from 1.25V to 37V at 1.5A with just two resistors and built-in protection.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674463396075,"sku":"","price":6.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Regulator-LM317-1.jpg?v=1723007426"},{"product_id":"lm324n-quad-single-supply-op-amp-ic-dip14","title":"LM324N Quad Single-Supply Op-Amp IC DIP-14 – 3V–32V, 4 Channels","description":"\u003ch2\u003eLM324N Quad Single-Supply Op-Amp IC – DIP-14\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eLM324N\u003c\/strong\u003e is the quad version of the LM358 – four independent single-supply operational amplifiers in a single DIP-14 package. With single-supply operation from 3V to 32V, input common-mode range extending to ground, and output swing to within millivolts of the negative rail, it's the go-to quad op-amp for battery-powered circuits, multi-channel sensor conditioning, and analog processing where four op-amp channels are needed. The LM324 is one of the most widely produced op-amps in history and appears in countless consumer electronics and industrial designs.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e LM324N \/ LM324 \/ LM324AN\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-14 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOp-Amps:\u003c\/strong\u003e 4 (quad, independent)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 3V – 32V (single) \/ ±1.5V – ±16V (dual)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInput Common-Mode Range:\u003c\/strong\u003e GND to VCC−1.5V (includes ground)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Swing:\u003c\/strong\u003e 0V to VCC−1.5V (single supply)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGBW:\u003c\/strong\u003e 1 MHz (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlew Rate:\u003c\/strong\u003e 0.5 V\/μs (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Current (all 4):\u003c\/strong\u003e 0.8mA (typical at 5V)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e 0°C to +70°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMulti-channel sensor conditioning:\u003c\/strong\u003e 4-channel amplification for temperature, pressure, and current sensors\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eComparator arrays:\u003c\/strong\u003e 4 voltage threshold detectors in one package\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eActive filter banks:\u003c\/strong\u003e Multi-stage low-pass, high-pass, and bandpass filters\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBattery-powered circuits:\u003c\/strong\u003e Single-supply analog processing from 3V–5V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSumming amplifiers:\u003c\/strong\u003e 4-channel audio mixer or signal combiner\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino signal conditioning:\u003c\/strong\u003e Multi-channel sensor amplification before ADC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × LM324N DIP-14 quad single-supply op-amp IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eFour single-supply op-amps in one DIP-14 package – the LM324N is the go-to quad op-amp for multi-channel sensor conditioning, active filter banks, and battery-powered analog circuit design.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674464739563,"sku":"","price":5.5,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/LM324-Quad-Op-Amp.jpg?v=1723007422"},{"product_id":"lm337-adjustable-negative-voltage-regulator-1-25-37v-1-5a","title":"LM337 Adjustable Negative Voltage Regulator 1.25-37V\/1.5A","description":"\u003cp\u003e\u003cspan\u003eLinear adjustable negative regulator can output -1.25 to -37V at up to 1.5A\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe LM377 is an adjustable negative voltage linear regulator that can output -1.25 to -37V at up to 1.5A current with an input voltage range of -3 to -40V.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLM337 Adjustable Negative Voltage Regulator\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF LM337 ADJUSTABLE NEGATIVE VOLTAGE REGULATOR:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eAdjustable Negative voltage linear regulator\u003c\/li\u003e\n\u003cli\u003e-3 to -40V input voltage range\u003c\/li\u003e\n\u003cli\u003e-1.25 to -37V output voltage\u003c\/li\u003e\n\u003cli\u003e1.5A continuous current with 2.2A surge capability\u003c\/li\u003e\n\u003cli\u003eTO-220 package\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe LM337 is the complementary adjustable negative voltage version of the popular LM317 adjustable linear regulator.  Input voltage can range from -3 to -40V and the output can be adjusted\u003cspan\u003e \u003c\/span\u003e\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5628\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Pinout.jpg\" alt=\"LM337 Pinout\" width=\"159\" height=\"254\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Pinout.jpg 159w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Pinout-117x187.jpg 117w\" sizes=\"(max-width: 159px) 100vw, 159px\"\u003efrom -1.25V to -37V  with an output current of up to 1.5A.  They have built-in current limiting and over temperature protection and tend to be fairly robust devices.\u003c\/p\u003e\n\u003cp\u003eThe LM337 can be used to replace a number of different fixed voltage regulators when used for prototyping purposes.  They can can also be easily wired up to make a simple low cost variable power supply for use in prototyping.  When coupled with the LM317, it can be part of an adjustable dual polarity power supply.\u003c\/p\u003e\n\u003ch3\u003eBasic Operation\u003c\/h3\u003e\n\u003cp\u003eThe LM337 is a 3-terminal floating regulator and does not have a ground pin as is found with most regulators. That allows for potentially very high voltages to be regulated as long as the maximum input-to-output voltage rating of 40V is not exceeded.\u003c\/p\u003e\n\u003cp\u003eIn place of a Ground pin, it has an Adjustment pin which uses a resistor divider network between the output terminal and ground to set the output voltage.  These can be two fixed resistors if a fixed output voltage is desired, or one of the resistors can be variable potentiometer to allow the output to be adjusted over a range.\u003c\/p\u003e\n\u003cp\u003eUnlike typical 78XX type regulators, the LM337 does require a minimum load current in order to fully regulate.  This is typically less than 10mA so it is not typically an issue for most applications.  A small load resistor could be placed on the output to guarantee a 10mA draw if it was an issue.\u003c\/p\u003e\n\u003cp\u003eThe basic system does not necessarily require an input bypass capacitor, but if using it farther than 4″ from the supply filter caps that is providing the input voltage, then a 1uF  tantalum or 10uF aluminum electrolytic input filter capacitor should be added. An output filter cap on the other hand is needed for stability.  This can be a 1.0uF Tantalum or 10uF aluminum electrolytic capacitor.\u003c\/p\u003e\n\u003cp\u003eA basic circuit for hooking the LM337 up with an adjustable output is shown below.\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"wp-image-5625 size-full aligncenter\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Example-Schematic-2.jpg\" alt=\"LM337 Example Schematic\" width=\"443\" height=\"203\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Example-Schematic-2.jpg 443w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Example-Schematic-2-400x183.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Example-Schematic-2-350x160.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Example-Schematic-2-300x137.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/11\/LM337-Example-Schematic-2-280x128.jpg 280w\" sizes=\"(max-width: 443px) 100vw, 443px\" fetchpriority=\"high\"\u003e\u003c\/p\u003e\n\u003ch3\u003ePower Dissipation\u003c\/h3\u003e\n\u003cp\u003eLinear regulators have less ripple on their outputs compared to DC-DC converters that can be used for the same basic purpose, but the trade-off is that the linear regulators also tend to dissipate more heat in the process.  The reason is that the linear regulator uses a series pass transistor on its output to drop the excess voltage.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of a linear regulator is dependent on the difference between the input voltage (Vin) and the output voltage (Vout) along with the amount of current that is being drawn from the regulator.  The larger the voltage difference is between Vin and Vout, the higher the power dissipation will be which limits how much current can be drawn from the device.\u003c\/p\u003e\n\u003cp\u003eThe power dissipation of the LM337 device is easily calculated as \u003cstrong\u003ePower Dissipation = (Vin – Vout) * Iout\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eIf the LM337 input is -15V and the output is adjusted to -10V and it is providing 1A of current, then Power Dissipation = (15V – 10V) * 1A = 5W.  The LM337 TO-220 package will need to dissipate 5W of power.  Under typical conditions, the device can dissipate about 1 – 1.25W before a heat sink becomes necessary, so in our example here, the device would definitely need a heat sink. Maximum output current without a heat sink in this case would be limited to about 250 – 300mA and the device will be running in the range of 85-95°C.\u003c\/p\u003e\n\u003cp\u003eIf you instead ran the LM337 off a -12V input, Power Dissipation = (12V – 10) * 1A = 2W.  Still pretty warm, but much more manageable than 5W.  With no heatsink you could draw 500-700mA.\u003c\/p\u003e\n\u003cp\u003eAs a general rule, you always want to use as low of an input voltage as possible to minimize power loss though the device and maximize the output current available.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003eThe LM337 has a different pin-out than the LM317, so pay attention to that if working with both.\u003c\/li\u003e\n\u003cli\u003e\u003cem\u003eThe tab of the LM337 is common with the Input pin.\u003c\/em\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cem\u003eUnder high current loads or with large input to output voltage differentials, the device can get very hot, so use care when handling.\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"803\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eIN\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMax Input – Output V Differential\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e40V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum Output Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.5A (Typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eI\u003csub\u003eMAX\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePeak Surge Current (typ)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.2A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOutput Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e-1.25V to -37V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003eV\u003csub\u003eI\u003cspan\u003e \u003c\/span\u003e\u003c\/sub\u003e– V\u003csub\u003eO\u003c\/sub\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eDrop-out Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e3.0V (Max)  1.75V (Typ)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eTO-220\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePackage Type\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic Tab, 3-lead, through hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eManufacturer\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eON Semiconductor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDatasheet\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/www.onsemi.com\/pub\/Collateral\/LM337-D.PDF\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eLM337\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674464870635,"sku":"","price":3.12,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/Regulator-LM337-1.jpg?v=1723007417"},{"product_id":"lm339-quad-voltage-comparator","title":"LM339 Quad Voltage Comparator","description":"\u003cp\u003e\u003cspan\u003e4 independent precision voltage comparators operate from single or split supply.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe LM339 Quad Voltage Comparator contains four independent precision voltage comparators designed to operate from a single or split supply.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLM339 Quad Voltage Comparator\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF LM339 QUAD VOLTAGE COMPARATOR:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLow input offset voltage of 2.0 mV\u003c\/li\u003e\n\u003cli\u003eLow operating current of 0.8 mA\u003c\/li\u003e\n\u003cli\u003eOperates from a single positive power supply of 2 to 36V\u003c\/li\u003e\n\u003cli\u003eCan also operate from a split supply of ± 1.0 to ±18V\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe LM339 contains four differential comparators that are completely independent other than they share a common power supply connection.  It can operate on a wide single supply range of 2 to 36V or split supply range of +\/- 1 to 18V\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5034\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/LM339-Pin-Connections-2.jpg\" alt=\"LM339 Pin Connections\" width=\"334\" height=\"281\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/LM339-Pin-Connections-2.jpg 334w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/LM339-Pin-Connections-2-200x168.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/LM339-Pin-Connections-2-300x252.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/LM339-Pin-Connections-2-222x187.jpg 222w\" sizes=\"(max-width: 334px) 100vw, 334px\"\u003e\u003c\/p\u003e\n\u003cp\u003eAs the name implies, voltage comparators are used to compare one voltage to another and output either a logic HIGH or LOW level based on the results of that comparison.\u003c\/p\u003e\n\u003cp\u003eThe most common use for these parts is to monitor an analog signal to see if it goes beyond a threshold that requires some action to be taken.\u003c\/p\u003e\n\u003cp\u003eThese parts are commonly used on modules that provide an adjustment potentiometer to set when we want an output to trip HIGH or LOW based on some threshold being reached, usually from an analog sensor such as for temperature, light or sound.  In this case, the pot is setting a reference voltage on the comparator which is compared to the output voltage of the sensor.\u003c\/p\u003e\n\u003cp\u003eWhen monitoring an analog sensor, one option is to bring that analog sensor signal directly into an analog port on a uC and continually monitor it in the software.  Using a comparator on the other hand allows this monitoring to be done external to the uC and the digital output of the comparator can be brought into a digital pin that can be monitored more simply, similar to how a switch would be  monitored for being either ON or OFF.    The output can also be brought in on an interrupt pin so that no monitoring is required and the uC only takes an action when the comparator tells it to.  In many cases, using a comparator can remove the need for having a uC at all and the output can be used to directly drive a device such as a relay to take some action or LED to indicate some condition has been reached.\u003c\/p\u003e\n\u003ch3\u003eTheory of Operation\u003c\/h3\u003e\n\u003cp\u003eEach of the comparators in the LM339 have two inputs marked ‘+’ and ‘-‘.  The device simply compares the difference in voltage between these two input pins and sets the digital output accordingly.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eIf the ‘+’ input voltage is higher than the ‘-‘ voltage, the output goes HIGH.\u003c\/li\u003e\n\u003cli\u003eIf the ‘-‘ input voltage is higher than the ‘+’ voltage, the output goes LOW\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eIf you will be using the device with a uC, you should power the LM339 off the same voltage that the uC is running at so that the output is logic compatible with the uC.\u003c\/p\u003e\n\u003cp\u003eThe output is open collector which means that the LM339 will pull it to ground when it outputs a logic LOW, but when the output goes HIGH, an external pull-up resistor is needed to pull it HIGH.  In most applications, a pull-up resistor will be required on the output.  Most uC have the option to enable pull-up resistors on their digital inputs and so a physical resistor is generally not required.\u003c\/p\u003e\n\u003ch3\u003eNight Light Example Circuit\u003c\/h3\u003e\n\u003cp\u003eThe circuit shown here implements a simple night light using one of the comparators.\u003c\/p\u003e\n\u003cp\u003eThe LDR (Light Dependent Resistor) changes resistance with the amount of light falling on it.  As the amount of light increases, the resistance goes down.  Conversely, when the light intensity decreases the resistance goes up.\u003c\/p\u003e\n\u003cp\u003eThe LDR is in series with a 33K resistor forming a voltage divider.  The 33K value is not overly critical.  With strong lighting, the low resistance of the LDR will keep the voltage on the ‘-‘ pin low.  As the light decreases and the resistance goes up, the voltage will start to rise toward 5V and once it exceeds the voltage on the ‘+’ pin, the output will go LOW, thus turning on the LED night light.\u003c\/p\u003e\n\u003cp\u003eThe potentiometer can be used to adjust the voltage on the ‘+’ pin and therefore set the trip-point for when the comparator switches state.\u003c\/p\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"wp-image-5038 size-full aligncenter entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339.jpg\" alt=\"Comparator Night Light lm339\" width=\"579\" height=\"412\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339.jpg 579w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339-400x285.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339-350x249.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339-300x213.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339-263x187.jpg 263w\" data-lazy-sizes=\"(max-width: 579px) 100vw, 579px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 579px) 100vw, 579px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339.jpg 579w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339-400x285.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339-350x249.jpg 350w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339-300x213.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/05\/Comparator-Night-Light-lm339-263x187.jpg 263w\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe part comes in a DIP-8 package and is breadboard friendly.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"839\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e Operational Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eV+\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2-36V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eV+ \/ V-\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e± 1.0V to ± 18V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTypical Sink Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e16mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDIP-14\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eTI\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"http:\/\/www.ti.com\/lit\/ds\/symlink\/lm139.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003eLM339\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674465165547,"sku":"","price":1.62,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/LM339-Quad-Comparator-1.jpg?v=1723007412"},{"product_id":"lm35-analog-temperature-sensor","title":"LM35 Analog Temperature Sensor","description":"\u003cp\u003e\u003cspan\u003ePopular option for analog temperature sensing over the range of -55 to 150°C.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe LM35 Analog Temperature Sensor is a popular option for temperature sensing over the range of -55 to 150°C.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eLM35 Temperature Sensor\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF LM35 ANALOG TEMPERATURE SENSOR:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eProvides analog output directly readable in degrees Celsius\u003c\/li\u003e\n\u003cli\u003eOutput voltage corresponds to 10.0mV\/°C\u003c\/li\u003e\n\u003cli\u003e-55 to 150°C measurement range with ±0.5°C accuracy°\u003c\/li\u003e\n\u003cli\u003e5V compatible.  3.3V uC compatible if the sensor is run off separate 4 to 20V supply.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eIf you have a uC like an Arduino and you want to measure temperature, the LM35 is one of the more popular temperature measurement ICs to use.\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5548\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/LM35-Pinout.jpg\" alt=\"LM35 Pinout\" width=\"90\" height=\"214\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/LM35-Pinout.jpg 90w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/LM35-Pinout-79x187.jpg 79w\" sizes=\"(max-width: 90px) 100vw, 90px\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe LM35 is a 3-pin analog thermometer packaged in a TO-92 package.  The output is a linear voltage that corresponds to 10.0mV\/°C, so the output is directly readable in degrees Celsius using an analog port on a uC.  Accuracy is typically within 0.5°C.\u003c\/p\u003e\n\u003cp\u003eSince the voltage output range of the sensor is limited to 1.5V, if a greater resolution is desired, the analog reference voltage on the uC can be changed from the default 5V to something closer to 1.5V which will decrease the voltage step size on the analog readings.\u003c\/p\u003e\n\u003cp\u003eHook-up is very simple.  Connect GND pin to ground, Vs pin to 5V (or anything between 4 – 20V) and Vout pin to an analog pin on the uC.  The device can be left open air for measuring air temps or it can be glued or cemented to an object that you want to measure the temperature of such as a heat sink.\u003c\/p\u003e\n\u003cp\u003eWhen using the LM35 with a single supply voltage, the temperature measurement range is limited to 2°C to 150°C which is adequate for most applications.  If the negative range is required, see the datasheet for specifics.\u003c\/p\u003e\n\u003cp\u003eAn alternative for temperature measurement is to use a digital temperature sensor like the DS18B20 which comes in the same package.  Digital temp sensors tend to have better noise immunity which is useful when the sensor will be placed some distance away or is in an electrically noisy environment, but they do require a software library to implement the communication protocol.  Libraries are readily available for most common microcontrollers such as the Arduino and are very straightforward to use.\u003c\/p\u003e\n\u003chr\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003eThe LM35 can be used to experiment with a number of different applications where temperature measurement is useful such as determining when a cooling fan should be turned on and it is perfectly suitable for integration into a final product.\u003c\/p\u003e\n\u003cp\u003eThe program below simply reads the value from the LM35 using analog port A0, but this can be changed to any convenient analog port.  It then prints the temperature in Celcius and Farenheit out to the Serial Monitor window.\u003c\/p\u003e\n\u003cp\u003eThe program uses the line\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003e\u003cspan\u003efloat\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003evoltage\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e=\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eraw_temp\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e*\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e5.0\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e\/\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e1024\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e*\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e100\u003c\/span\u003e\u003c\/strong\u003e\u003cspan\u003e\u003cstrong\u003e;\u003c\/strong\u003e to convert the LM35 output to degrees Celsius.  \u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eThis line simply takes the raw analog reading and multiples it by 5.0 because the ADC reference voltage is 5V.  It then divides that number by 1024 because the Arduino has a 10-bit ADC which gives 1024 steps of resolution.  The result of that bit of math gives us the voltage that we are measuring out of the LM35 (which will be in a range of 0 to 1.5V).  To get from voltage to temperature in Celcius, we multiply that number by 100 because the LM35 output is 0.010V per degree.\u003c\/p\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*  LM35 Analog Temperature Sensor Test\u003c\/span\u003e\n\n\u003cspan\u003e  Reads the output of LM35 connected to pin A0 and reports that temperature in degrees\u003c\/span\u003e\n\u003cspan\u003e  Celcius and Farenheit out to the Serial Monitor Window\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eLM35_PIN\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eA0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Define analog pin the LM35 is connected to\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003etemp_C\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003etemp_F\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e         \u003cspan\u003e\/\/ Define a couple of variables to hold the temperatures\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e       \u003cspan\u003e\/\/ Initialize Serial Monitor window comm speed\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003etemp_C\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eGet_Temp\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eLM35_PIN\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Get the temp in C\u003c\/span\u003e\n  \u003cspan\u003etemp_F\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eC_To_F\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003etemp_C\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e         \u003cspan\u003e\/\/ Convert the temp from C to degrees F\u003c\/span\u003e\n  \u003cspan\u003e\/\/ Printout the results\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003etemp_C\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" Degrees C\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003etemp_F\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" Degrees F\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                    \u003cspan\u003e\/\/ Pause 1 sec then repeat\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Get_Temp - subroutine to read the temperature from the LM35\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eGet_Temp\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003epin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eraw_temp\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eanalogRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003epin\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003efloat\u003c\/span\u003e \u003cspan\u003evoltage\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eraw_temp\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003e5.0\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \u003cspan\u003e1024\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003e100\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Calculate temp based on raw reading\u003c\/span\u003e\n  \u003cspan\u003ereturn\u003c\/span\u003e \u003cspan\u003evoltage\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  C_To_F - subroutine to convert temp from Celcius to Fahrenheit\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eC_To_F\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003etemp\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003ereturn\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003etemp\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003e9\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \u003cspan\u003e5\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e+\u003c\/span\u003e \u003cspan\u003e32\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Basic formula for converting degrees C to F\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cem\u003eNone\u003c\/em\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eInterface\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eAnalog\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eScale Factor\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e10.0mV \/ °C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eSupply Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e30V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMinimum\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e4V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eTemperature\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Max Range\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e-55°C to +150°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Accuracy (at +25°C)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e± 0.5°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eTO-92\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eNational\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"http:\/\/www.ti.com\/lit\/ds\/symlink\/lm35.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eLM35\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674465853675,"sku":"","price":4.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/LM35-Analog-Celsius-Temp-Sensor.jpg?v=1723007407"},{"product_id":"lm358-dual-single-supply-op-amp-ic-dip8","title":"LM358 Dual Single-Supply Op-Amp IC DIP-8 – 3V–32V, Input Range to GND","description":"\u003ch2\u003eLM358 Dual Single-Supply Op-Amp IC – DIP-8\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eLM358\u003c\/strong\u003e is the most widely used dual single-supply operational amplifier – two independent op-amps in a single DIP-8 package, designed to operate from a single supply voltage as low as 3V. Unlike the UA741 which requires a dual (±) supply, the LM358's input common-mode range extends to ground and its output swings to within millivolts of the negative rail, making it ideal for battery-powered circuits, sensor signal conditioning, and any application where a single supply is preferred. The LM358 appears in virtually every analog electronics textbook and is found in countless consumer electronics designs.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e LM358 \/ LM358N \/ LM358P\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-8 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOp-Amps:\u003c\/strong\u003e 2 (dual, independent)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 3V – 32V (single) \/ ±1.5V – ±16V (dual)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInput Common-Mode Range:\u003c\/strong\u003e GND to VCC−1.5V (includes ground)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Swing:\u003c\/strong\u003e 0V to VCC−1.5V (single supply)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGBW:\u003c\/strong\u003e 1 MHz (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlew Rate:\u003c\/strong\u003e 0.6 V\/μs (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Current:\u003c\/strong\u003e 0.5mA (typical, both amplifiers)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e 0°C to +70°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSensor amplification:\u003c\/strong\u003e Amplify temperature, light, and pressure sensor outputs\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eComparator:\u003c\/strong\u003e Voltage threshold detection (use LM393 for dedicated comparator)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eActive filters:\u003c\/strong\u003e Low-pass, high-pass, and bandpass filter stages\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBattery-powered circuits:\u003c\/strong\u003e Single-supply analog processing from 3V–5V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino signal conditioning:\u003c\/strong\u003e Amplify sensor signals before ADC input\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSumming amplifier:\u003c\/strong\u003e Mix two analog signals\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × LM358 DIP-8 dual single-supply op-amp IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eTwo single-supply op-amps in one DIP-8 package – the LM358 is the go-to dual op-amp for battery-powered circuits, sensor amplification, and any application requiring single-supply operation.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674467328235,"sku":"","price":5.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/LM358-Dual-Op-Amp-1.jpg?v=1723007403"},{"product_id":"lm741c-ua741-general-purpose-op-amp-ic-dip8","title":"LM741C \/ UA741 General-Purpose Op-Amp IC DIP-8 – Single, 1MHz GBW","description":"\u003ch2\u003eLM741C \/ UA741 General-Purpose Op-Amp IC – DIP-8\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eLM741C (UA741)\u003c\/strong\u003e is the original general-purpose operational amplifier – the IC that defined the op-amp category and has been in continuous production since 1968. While modern op-amps like the TL072 and NE5532 offer superior performance, the LM741 remains the standard teaching IC for op-amp fundamentals: its characteristics are well-documented in every analog electronics textbook, its behavior is predictable, and its limitations make it an excellent tool for understanding op-amp theory. The DIP-8 package is ideal for breadboard prototyping and electronics education.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e LM741C \/ LM741CN \/ UA741 \/ μA741\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-8 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eComparators:\u003c\/strong\u003e 1 (single)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e ±5V to ±18V (dual supply required)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGBW:\u003c\/strong\u003e 1 MHz (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlew Rate:\u003c\/strong\u003e 0.5 V\/μs (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInput Offset Voltage:\u003c\/strong\u003e 1mV (typical), 6mV (max)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpen-Loop Gain:\u003c\/strong\u003e 200V\/mV (106dB)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Short-Circuit Protection:\u003c\/strong\u003e Yes (indefinite)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e 0°C to +70°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eElectronics education:\u003c\/strong\u003e Inverting\/non-inverting amplifier, integrator, differentiator lab exercises\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLegacy circuit repair:\u003c\/strong\u003e Replacement for LM741\/UA741 in older analog equipment\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSumming amplifier:\u003c\/strong\u003e Audio mixer and signal summing circuits\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eActive filters:\u003c\/strong\u003e Low-frequency filter design (limited by 1MHz GBW)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eVoltage follower:\u003c\/strong\u003e Buffer\/impedance converter circuits\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × LM741C DIP-8 single general-purpose op-amp IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eThe original op-amp – the LM741C is the standard teaching IC for operational amplifier fundamentals and the go-to replacement for legacy analog circuit repair.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674467557611,"sku":"","price":5.12,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/LM741-Op-Amp.jpg?v=1723007399"},{"product_id":"lm386-low-voltage-audio-amplifier-ic-dip8-0-25w-1w","title":"LM386 Low-Voltage Audio Amplifier IC DIP-8 – 0.25W to 1W, 4V–12V Supply","description":"\u003ch2\u003eLM386 Low-Voltage Audio Amplifier IC – DIP-8\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eLM386\u003c\/strong\u003e is the classic low-voltage audio power amplifier IC – a self-contained mono amplifier that drives a small speaker directly from a 4V to 12V supply with no external power transistors required. With adjustable gain from 20× to 200× and output power from 0.25W to 1W depending on supply voltage and load, it's the go-to IC for portable speaker projects, Arduino audio output, intercoms, and battery-powered audio applications. The DIP-8 package makes it ideal for breadboard prototyping.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e LM386 \/ LM386N \/ LM386N-1 \/ LM386N-3 \/ LM386N-4\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-8 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 4V – 12V DC\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Power:\u003c\/strong\u003e 0.25W (4Ω, 6V) \/ 0.5W (8Ω, 9V) \/ 1W (8Ω, 12V, LM386N-4)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGain:\u003c\/strong\u003e 20× (default) to 200× (with 10μF between pins 1 and 8)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInput Impedance:\u003c\/strong\u003e 50kΩ\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eQuiescent Current:\u003c\/strong\u003e 4mA (typical at 6V)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTHD:\u003c\/strong\u003e 0.2% (typical at 125mW, 8Ω, 6V)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e 0°C to +70°C\u003c\/li\u003e\n  \u003cli\u003eBuilt-in thermal shutdown protection\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eGain Setting\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003e20× (26dB):\u003c\/strong\u003e Pins 1 and 8 open (default)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e50× (34dB):\u003c\/strong\u003e 1.2kΩ resistor between pins 1 and 8\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e200× (46dB):\u003c\/strong\u003e 10μF capacitor between pins 1 and 8\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino speaker driver:\u003c\/strong\u003e Drive a small 8Ω speaker from Arduino PWM or DAC output\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePortable speaker:\u003c\/strong\u003e Battery-powered compact speaker amplifier\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntercom system:\u003c\/strong\u003e Voice amplification for two-way communication\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWalkie-talkie audio:\u003c\/strong\u003e Receiver audio amplifier stage\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAM\/FM radio:\u003c\/strong\u003e Audio output stage for radio receiver circuits\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIoT audio alerts:\u003c\/strong\u003e Speaker driver for notification and alarm sounds\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × LM386 DIP-8 low-voltage audio amplifier IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eThe classic portable audio amplifier IC – the LM386 drives a small speaker directly from 4V–12V with adjustable gain up to 200× and no external power transistors required.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674468704491,"sku":"","price":5.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/LM386-Audio-Amplifier-1_c81644d3-22fd-4075-9554-4faedfb832d4.jpg?v=1723007394"},{"product_id":"lm393-dual-voltage-comparator-ic-dip8","title":"LM393 Dual Voltage Comparator IC DIP-8 – Open-Collector, 2V–36V Single Supply","description":"\u003ch2\u003eLM393 Dual Voltage Comparator IC – DIP-8\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eLM393\u003c\/strong\u003e is the industry-standard dual voltage comparator – a dedicated IC designed specifically for comparing two analog voltages and producing a digital output. With open-collector outputs, wide supply voltage range (2V–36V single supply), and the ability to interface directly with TTL and CMOS logic, the LM393 is the go-to comparator for sensor threshold detection, zero-crossing detection, and analog-to-digital signal conversion. Two comparator channels in one DIP-8 package.\u003c\/p\u003e\n\n\u003ch3\u003eElectrical Specifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePart Number:\u003c\/strong\u003e LM393 \/ LM393N \/ LM393P\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-8 (through-hole, 2.54mm pitch)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eComparators:\u003c\/strong\u003e 2 (dual, independent)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Type:\u003c\/strong\u003e Open-collector (requires external pull-up resistor)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Voltage:\u003c\/strong\u003e 2V – 36V (single) \/ ±1V – ±18V (dual)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInput Common-Mode Range:\u003c\/strong\u003e GND to VCC−1.5V\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResponse Time:\u003c\/strong\u003e 1.3μs (typical, 5mV overdrive)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput Sink Current:\u003c\/strong\u003e 16mA (max)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSupply Current:\u003c\/strong\u003e 0.8mA (typical)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Temperature:\u003c\/strong\u003e 0°C to +70°C\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSensor threshold detection:\u003c\/strong\u003e Temperature, light, pressure sensor alarm circuits\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eZero-crossing detection:\u003c\/strong\u003e AC waveform zero-crossing for phase control\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWindow comparator:\u003c\/strong\u003e Detect if signal is within a voltage window\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBattery monitor:\u003c\/strong\u003e Low-battery detection and alert circuits\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSchmitt trigger:\u003c\/strong\u003e Add hysteresis with positive feedback for noise-immune switching\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArduino analog comparator:\u003c\/strong\u003e External comparator for faster response than internal ADC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e1 × LM393 DIP-8 dual voltage comparator IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eTwo precision comparators, open-collector outputs, 2V–36V supply – the LM393 is the correct tool for any voltage comparison task in analog and mixed-signal circuit design.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674468901099,"sku":"","price":6.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/LM393-Dual-Comparator-1.jpg?v=1723007390"},{"product_id":"mcp2562-can-bus-transceiver-1","title":"MCP2562 CAN Bus Transceiver","description":"\u003cp\u003e\u003cspan\u003eProvides interface between bus controller and the physical CAN bus\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe MCP2562 is a 2nd generation high-speed CAN transceiver.  It provides the interface between a CAN protocol controller and the physical 2-wire CAN bus.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMCP2562-E\/P CAN Bus Transceiver DIP IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MCP2562:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eUp to 1Mb\/s bus speed\u003c\/li\u003e\n\u003cli\u003eUp to 112 nodes\u003c\/li\u003e\n\u003cli\u003e5V Operation\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V logic compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eCAN stands for Controller Area Network and it is often thought of as primarily an automotive communication bus since it is the standard for use with automobiles to connect all the electronics and sensors together and is brought out to the outside world via the ODB-II interface.\u003c\/p\u003e\n\u003cp\u003eThe CAN bus is in fact a good communication bus for many applications that use multiple distributed MCUs which need to interact with each other such as in factory automation or robotics.\u003c\/p\u003e\n\u003cp\u003eThe key features of the CAN bus is that it uses only 2 wires for bus communications and all MCUs connect to these same 2 wires.\u003c\/p\u003e\n\u003cp\u003eThis IC is used to provide the interface for connecting a built-in CAN bus controller as found in some of the more advanced MCUs like the Teensy 4.1, to the physical differential bus lines that connect the different MCUs on the bus.\u003c\/p\u003e\n\u003ch3\u003eCAN Bus Hardware Connections\u003c\/h3\u003e\n\u003cp\u003eThe physical bus consists of two end nodes which sit at the two ends of the bus.  A cable of twisted pair wire which is usually shielded connect the two nodes.  For bench-top type use, any 2 wires will work to connect the nodes.   As the bus length increases or the environmental electrical noise increases, using twisted pair and adding shielding becomes more important.\u003c\/p\u003e\n\u003cp\u003eThe end nodes have a 120 ohm resistor that terminate the two ends of the bus.\u003c\/p\u003e\n\u003cp\u003eOther nodes can be added between the two end nodes.  These can be spliced in-line or attached to the main bus using a short stub cable as long as the length is kept under 12″.  These additional nodes do not use a 120 ohm termination resistor.\u003c\/p\u003e\n\u003cdiv id=\"attachment_6454\" class=\"wp-caption aligncenter\"\u003e\n\u003cimg decoding=\"async\" aria-describedby=\"caption-attachment-6454\" class=\"wp-image-6454 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2.jpg\" alt=\"MCP2515 Wire Diagram\" width=\"544\" height=\"172\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2.jpg 544w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-300x95.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-280x89.jpg 280w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-400x126.jpg 400w\" data-lazy-sizes=\"(max-width: 544px) 100vw, 544px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 544px) 100vw, 544px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2.jpg 544w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-300x95.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-280x89.jpg 280w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-400x126.jpg 400w\"\u003e\n\u003cp id=\"caption-attachment-6454\" class=\"wp-caption-text\"\u003eTypical CAN Bus Arrangement\u003c\/p\u003e\n\u003c\/div\u003e\n\u003ch3\u003eIC Connections\u003c\/h3\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-10918 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/03\/MCP2652-Pinout.jpg\" alt=\"MCP2652 Pinout\" width=\"198\" height=\"121\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/03\/MCP2652-Pinout.jpg\" data-ll-status=\"loaded\"\u003eConnections to this IC are pretty straightforward.  The IC is powered from 5V on the Vdd pin and ground on the Vss pin.\u003c\/p\u003e\n\u003cp\u003eThe voltage of the I\/O is controlled by the voltage applied to the Vio pin.  If this is being used with a 5V MCU, the Vio can be connected to Vdd.  If it is being used with a 3.3V MCU, Vio should be connected to 3.3V.\u003c\/p\u003e\n\u003cp\u003eThe MCU connects to the Txd \/ Rxd pins.  Txd connects to the transmit data output of the CAN bus controller while Rxd connects to the receive data input on the CAN bus controller.\u003c\/p\u003e\n\u003cp\u003eThe physical CAN bus connects to the CANH \/ CANL pins.  CANH output drives the high-side of the CAN differential bus lines.  The CANL output drives the low-side.  CANH is connected to other CANH and CANL are connected to other CANL.  The transceivers at the two ends of the physical bus should have 120 ohm load resistors placed between CANH and CANL.\u003c\/p\u003e\n\u003cp\u003eStandby is internally pulled HIGH and is enabled by default.  Standby puts the IC into a low power partial sleep mode.  For normal operation, pull the STBY pin LOW or tie to ground if standby mode is not going to be used.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eTxd \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Transmit Data Input from MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVss \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVdd \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Supply Voltage (4.5 – 5.5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRxd \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Receive Data Out to MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVio \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Digital I\/O Supply Pin.  For 3.3V MCU, connect to 3.3V.  For 5V MCU connect to 5V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCANH \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  CAN Bus H connection.  CANH connects to CANH on other transceivers\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCANL\u003c\/strong\u003e  =  CAN Bus L connection.  CANL connects to CANL on other transceivers\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSTBY \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Standby Mode Input.  Pull LOW to disable\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003eThe CAN Bus is an underutilized bus and well worth exploring in the context of a distributed MCU system as it allows more of the system architecture to be moved to the software side of the equation which increases flexibility.  You don’t see cars having to have their CAN bus rewired every time some module is changed to add or remove a feature.  It is also very robust in order to survive the harsh automotive environment.\u003c\/p\u003e\n\u003cp\u003eThese chips work well for adding the final link between the CAN bus controllers that are often present on more advanced MCUs and the physical bus wires.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"862\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e Operating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Vdd\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e4.5V to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Vio\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.8V to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Icc\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTypical recessive current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTypical dominant current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e45mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTypical standby current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5uA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheets\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMicrochip\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/20005167C.pdf\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eMCP2562\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674469196011,"sku":"","price":3.72,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MCP2562EP-High-Speed-CAN-Transceiver_dede80cd-fe65-429c-9f4b-e105d53cd144.jpg?v=1723007385"},{"product_id":"mcp2562fd-high-speed-can-bus-transceiver-1","title":"MCP2562FD High-Speed CAN Bus Transceiver","description":"\u003cp\u003e\u003cspan\u003eProvides interface between bus controller and physical CAN bus\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe MCP2562FD is a high-speed CAN transceiver that operates at up to 8Mbps.  It provides the interface between a CAN protocol controller and the physical 2-wire CAN bus.  It has the same features as the MCP2562 but supports higher bus speeds required for CAN FD.\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003ePACKAGE INCLUDES:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMCP2562FD-E\/P CAN Bus Transceiver DIP IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MCP2562FD:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eUp to 8Mb\/s bus speed\u003c\/li\u003e\n\u003cli\u003eUp to 112 nodes\u003c\/li\u003e\n\u003cli\u003e5V Operation\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V logic compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eCAN stands for Controller Area Network and it is often thought of as primarily an automotive communication bus since it is the standard for use with automobiles to connect all the electronics and sensors together and is brought out to the outside world via the ODB-II interface.\u003c\/p\u003e\n\u003cp\u003eThe CAN bus is in fact a good communication bus for many applications that use multiple distributed MCUs which need to interact with each other such as in factory automation or robotics.\u003c\/p\u003e\n\u003cp\u003eThe key features of the CAN bus is that it uses only 2 wires for bus communications and all MCUs connect to these same 2 wires.\u003c\/p\u003e\n\u003cp\u003eThis IC is used to provide the interface for connecting a built-in CAN bus controller as found in some of the more advanced MCUs like the Teensy 4.1, to the physical differential bus lines that connect the different MCUs on the bus.\u003c\/p\u003e\n\u003ch3\u003eCAN Bus Hardware Connections\u003c\/h3\u003e\n\u003cp\u003eThe physical bus consists of two end nodes which sit at the two ends of the bus.  A cable of twisted pair wire which is usually shielded connect the two nodes.  For bench-top type use, any 2 wires will work to connect the nodes.   As the bus length increases or the environmental electrical noise increases, using twisted pair and adding shielding becomes more important.\u003c\/p\u003e\n\u003cp\u003eThe end nodes have a 120 ohm resistor that terminate the two ends of the bus.\u003c\/p\u003e\n\u003cp\u003eOther nodes can be added between the two end nodes.  These can be spliced in-line or attached to the main bus using a short stub cable as long as the length is kept under 12″.  These additional nodes do not use a 120 ohm termination resistor.\u003c\/p\u003e\n\u003cdiv id=\"attachment_6454\" class=\"wp-caption aligncenter\"\u003e\n\u003cimg decoding=\"async\" aria-describedby=\"caption-attachment-6454\" class=\"wp-image-6454 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2.jpg\" alt=\"MCP2515 Wire Diagram\" width=\"544\" height=\"172\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2.jpg 544w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-300x95.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-280x89.jpg 280w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-400x126.jpg 400w\" data-lazy-sizes=\"(max-width: 544px) 100vw, 544px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 544px) 100vw, 544px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2.jpg 544w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-300x95.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-280x89.jpg 280w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/11\/MCP2515-Wire-Diagram-2-400x126.jpg 400w\"\u003e\n\u003cp id=\"caption-attachment-6454\" class=\"wp-caption-text\"\u003eTypical CAN Bus Arrangement\u003c\/p\u003e\n\u003c\/div\u003e\n\u003ch3\u003eIC Connections\u003c\/h3\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-10918 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/03\/MCP2652-Pinout.jpg\" alt=\"MCP2652 Pinout\" width=\"198\" height=\"121\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/03\/MCP2652-Pinout.jpg\" data-ll-status=\"loaded\"\u003eConnections to this IC are pretty straightforward.  The IC is powered from 5V on the Vdd pin and ground on the Vss pin.\u003c\/p\u003e\n\u003cp\u003eThe voltage of the I\/O is controlled by the voltage applied to the Vio pin.  If this is being used with a 5V MCU, the Vio can be connected to Vdd.  If it is being used with a 3.3V MCU, Vio should be connected to 3.3V.\u003c\/p\u003e\n\u003cp\u003eThe MCU connects to the Txd \/ Rxd pins.  Txd connects to the transmit data output of the CAN bus controller while Rxd connects to the receive data input on the CAN bus controller.\u003c\/p\u003e\n\u003cp\u003eThe physical CAN bus connects to the CANH \/ CANL pins.  CANH output drives the high-side of the CAN differential bus lines.  The CANL output drives the low-side.  CANH is connected to other CANH and CANL are connected to other CANL.  The transceivers at the two ends of the physical bus should have 120 ohm load resistors placed between CANH and CANL.\u003c\/p\u003e\n\u003cp\u003eStandby is internally pulled HIGH and is enabled by default.  Standby puts the IC into a low power partial sleep mode.  For normal operation, pull the STBY pin LOW or tie to ground if standby mode is not going to be used.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eTxd \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Transmit Data Input from MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVss \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVdd \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Supply Voltage (4.5 – 5.5V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRxd \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Receive Data Out to MCU\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVio \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Digital I\/O Supply Pin.  For 3.3V MCU, connect to 3.3V.  For 5V MCU connect to 5V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCANH \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  CAN Bus H connection.  CANH connects to CANH on other transceivers\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCANL\u003c\/strong\u003e  =  CAN Bus L connection.  CANL connects to CANL on other transceivers\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSTBY \u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e=  Standby Mode Input.  Pull LOW to disable\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003eThe CAN Bus is an underutilized bus and well worth exploring in the context of a distributed MCU system as it allows more of the system architecture to be moved to the software side of the equation which increases flexibility.  You don’t see cars having to have their CAN bus rewired every time some module is changed to add or remove a feature.  It is also very robust in order to survive the harsh automotive environment.\u003c\/p\u003e\n\u003cp\u003eThese chips work well for adding the final link between the CAN bus controllers that are often present on more advanced MCUs and the physical bus wires.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"862\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003e Operating Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Vdd\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e4.5V to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Vio\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRange\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.8V to 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Icc\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTypical recessive current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTypical dominant current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e45mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTypical standby current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5uA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheets\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMicrochip\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/20005284A.pdf\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eMCP2562FD\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674470047979,"sku":"","price":6.22,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MCP2562FD-High-Speed-CAN-Transceiver_c2495e64-7a54-4003-9d25-370db8c9324e.jpg?v=1723007381"},{"product_id":"max7219-led-driver-serially-interfaced-8-digit","title":"MAX7219 LED Driver, Serially Interfaced, 8-Digit","description":"\u003cp\u003e\u003cspan\u003eCommon cathode LED driver with SPI interface.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe MAX7219 LED Driver a serially interfaced common cathode LED driver that can drive up to 8 digits of 7-seg LEDs or 64 individual LEDs.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMAX7219 LED Driver\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MAX7219 LED DRIVER:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e3-wire SPI serial interface\u003c\/li\u003e\n\u003cli\u003eDrives up to 8 digits of 7-segment common cathode displays\u003c\/li\u003e\n\u003cli\u003eDrives up to 64 individual LEDs in up to an 8 x 8 matrix\u003c\/li\u003e\n\u003cli\u003e5V compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe MAX7219 is designed to drive common-cathode LEDs and is perhaps the most popular of the LED drivers for driving 7-segment, bar-graph and LED matrix type displays with uCs.\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5544 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Pinout.jpg\" alt=\"MAX7219 Pinout\" width=\"170\" height=\"235\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Pinout.jpg 170w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Pinout-135x187.jpg 135w\" data-lazy-sizes=\"(max-width: 170px) 100vw, 170px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 170px) 100vw, 170px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Pinout.jpg 170w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Pinout-135x187.jpg 135w\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe driver provides flexible individual LED segment control as well as basic functions such as turning the display ON\/OFF and adjusting the LED brightness.  The part is very straightforward to use and only requires one external resistor (RSet) to set the upper current limit for driving the LEDs.  Because the chip can switch fairly significant current that will vary depending on the content of the displays, it is recommended that a 0.1uF and 10uF bypass capacitors be placed between power and ground close to the chip to minimize power supply ripple.\u003c\/p\u003e\n\u003cp\u003eThe MCU interface is via a 3-wire SPI serial interface.  Most MCU have libraries available for this chip that makes it very easy to use.  Since the chip handles all the dirty work of driving the LEDs once the MCU tells it what to display, it minimizes the overhead burden placed on the MCU so it can be off doing other things.\u003c\/p\u003e\n\u003cp\u003eThe outputs are arranged as 8 x 8 set of rows and columns which allows it to drive up to 8 digits of 7-segment displays, bar graph displays or 64 individual LEDs.  Brightness can be controlled via an external resistor or software.\u003c\/p\u003e\n\u003cp\u003eMultiple chips can be daisy-chained together to form larger displays.\u003c\/p\u003e\n\u003cp\u003eWhen driving higher voltage or current displays than the chip can handle directly, these are often bundled with driver chips such as the ULN2803 as shown in the partial schematic where it is being used to drive large 7-Segment displays that require more than 5V to drive them.\u003c\/p\u003e\n\u003cp\u003eThe part is 5V logic compatible.  To use with a 3.3V microprocessor will require level translation of the serial interface using something like our logic translation module.\u003c\/p\u003e\n\u003cp\u003eThese parts are the DIP version so they are breadboard friendly.\u003c\/p\u003e\n\u003chr\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003eThese are useful ICs and provide an easy way to get alphanumeric or dot matrix displays up and running.  These ICs are made in China and are what are used in any of the China made modules that use DIP style MAX7219 ICs.\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic.jpg\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-5545 size-medium entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-300x225.jpg\" alt=\"MAX7219 Example Schematic\" width=\"300\" height=\"225\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic.jpg 800w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-249x187.jpg 249w\" data-lazy-sizes=\"(max-width: 300px) 100vw, 300px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-300x225.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic.jpg 800w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MAX7219-Example-Schematic-249x187.jpg 249w\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eThe program shows an example of using the MAX7219 to drive 8 7-segment displays like the ones we have available below.  The wiring schematic is shown to the right.  You can click to enlarge.\u003c\/p\u003e\n\u003cp\u003eThe program uses the “LedControl.h” library to implement  basic functionality of the chip to make it easy to use.\u003c\/p\u003e\n\u003cp\u003eThe display is wired to digital pins 5, 6 and 7 but these can be reassigned to any 3 digital pins.\u003c\/p\u003e\n\u003ch3\u003eMAX7219 8-Digit 7-Segment Display Module Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eMAX7219 8-digit 7-segment LED test\u003c\/span\u003e\n\n\u003cspan\u003eBasic code for configuring the device and outputting info to the display.  Writes 'Arduino' on display\u003c\/span\u003e\n\u003cspan\u003eand then counts up on the display until \"99999999\" is reached.\u003c\/span\u003e\n\u003cspan\u003eUses the \"LedControl\" Library which must be included\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\"LedControl.h\"\u003c\/span\u003e\n\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003eDefine pins for LedControl.  These can be assigned to any digital output pins on a microcontroller.\u003c\/span\u003e\n\u003cspan\u003epin 5 is connected to the DataIn \u003c\/span\u003e\n\u003cspan\u003epin 7 is connected to the CLK \u003c\/span\u003e\n\u003cspan\u003ePin 6 is connected to LOAD \/ CS\u003c\/span\u003e\n\u003cspan\u003eThe 1 on the end is because we have only a single MAX72XX.\u003c\/span\u003e\n\u003cspan\u003e*\/\u003c\/span\u003e\n\u003cb\u003e\u003cspan\u003eLedControl\u003c\/span\u003e\u003c\/b\u003e \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e=\u003c\/span\u003e\u003cb\u003e\u003cspan\u003eLedControl\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e5\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e7\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e6\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n\u003cspan\u003eunsigned\u003c\/span\u003e \u003cspan\u003elong\u003c\/span\u003e \u003cspan\u003edelaytime\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e500\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ delay between character updates\u003c\/span\u003e\n\u003cspan\u003elong\u003c\/span\u003e \u003cspan\u003enum\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e                   \u003cspan\u003e\/\/ Variable to hold counter number\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Functions\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/ This routine displays a up-counter.  This utilizes a clever technique using recursion by\u003c\/span\u003e\n\u003cspan\u003e\/\/ Michael Teeuw \u003c\/span\u003e\u003cu\u003e\u003cspan\u003ehttp:\/\/michaelteeuw.nl\/post\/158404930702\/the-recursive-ledcontrol-counter\u003c\/span\u003e\u003c\/u\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eshowNumber\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003elong\u003c\/span\u003e \u003cspan\u003enumber\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003ebyte\u003c\/span\u003e \u003cspan\u003epos\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n    \u003cspan\u003ebyte\u003c\/span\u003e \u003cspan\u003edigit\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003enumber\u003c\/span\u003e \u003cspan\u003e%\u003c\/span\u003e \u003cspan\u003e10\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetDigit\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003epos\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003edigit\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003efalse\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003elong\u003c\/span\u003e \u003cspan\u003eremainingDigits\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003enumber\u003c\/span\u003e \u003cspan\u003e\/\u003c\/span\u003e \u003cspan\u003e10\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eremainingDigits\u003c\/span\u003e \u003cspan\u003e\u0026gt;\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n        \u003cspan\u003eshowNumber\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eremainingDigits\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003epos\u003c\/span\u003e \u003cspan\u003e+\u003c\/span\u003e \u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n    \u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/ This routine displays the characters for the word \"Arduino\"\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003ewriteArduinoOn7Segment\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetChar\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e7\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e'a'\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003efalse\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edelaytime\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetRow\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e6\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e0x05\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edelaytime\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetChar\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e5\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e'd'\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003efalse\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edelaytime\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetRow\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e4\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e0x1c\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edelaytime\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetRow\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e3\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003eB00010000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edelaytime\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetRow\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e2\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e0x15\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edelaytime\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetRow\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e0x1D\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edelaytime\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e3000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eclearDisplay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003edelaytime\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e \n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eshutdown\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003efalse\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Wakeup display\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003esetIntensity\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003e8\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ Set brightness to a medium level\u003c\/span\u003e\n  \u003cspan\u003elc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eclearDisplay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e   \u003cspan\u003e\/\/ Clear the display\u003c\/span\u003e\n  \u003cspan\u003ewriteArduinoOn7Segment\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e \n  \u003cspan\u003eshowNumber\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003enum\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003enum\u003c\/span\u003e \u003cspan\u003e++\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003enum\u003c\/span\u003e \u003cspan\u003e\u0026gt;\u003c\/span\u003e \u003cspan\u003e99999999\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003enum\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Filled the display so start the count over\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"761\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e4.0 – 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Supply Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e 330mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e \u003cstrong\u003eDisplay\u003c\/strong\u003e\n\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRefresh Rate\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e800Hz (typ.)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Segment Drive Source Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e-40mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDIP-24\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eChina\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/datasheets.maximintegrated.com\/en\/ds\/MAX7219-MAX7221.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eMAX7219\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674470244587,"sku":"","price":9.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MAX7219-LED-Driver-1.jpg?v=1723007377"},{"product_id":"mc34152-dual-mosfet-driver-1-5a","title":"MC34152 Dual MOSFET Driver 1.5A","description":"\u003cp\u003e\u003cspan\u003eNon-inverting 2-channel logic compatible driver capable of sinking or sourcing up to 1.5A per output.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe MC34152 Dual MOSFET Driver is a non-inverting 2-channel logic compatible driver capable of sinking or sourcing up to 1.5A per output.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMC34152 MOSFET Dual Driver\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MC34152 MOSFET DUAL DRIVER:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e2 separate drivers that can source or sink up to 1.5A current per channel\u003c\/li\u003e\n\u003cli\u003eFast switching speeds of 15nS\u003c\/li\u003e\n\u003cli\u003eInput hysteresis for clean switching\u003c\/li\u003e\n\u003cli\u003eNon-inverting output\u003c\/li\u003e\n\u003cli\u003e6.1 to 18V operating range\u003c\/li\u003e\n\u003cli\u003e3.3 and 5V logic compatible\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eIf you have a uC and you want to control some serious power with it like large motors, that typically means hooking up large power MOSFETs to its logic output pins. If you have a logic level compatible MOSFET like our STP40NF10L, you may be all set.  But if you have a more typical MOSFET which has higher voltage drive requirements than the uC can provide or you need very fast switching times for efficiency, this MC34152 Dual\u003cspan\u003e \u003c\/span\u003e\u003cimg decoding=\"async\" class=\"alignright size-full wp-image-5557 entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MC34152-Pinout.jpg\" alt=\"MC34152 Pinout\" width=\"227\" height=\"131\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MC34152-Pinout.jpg 227w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MC34152-Pinout-200x115.jpg 200w\" data-lazy-sizes=\"(max-width: 227px) 100vw, 227px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MC34152-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 227px) 100vw, 227px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MC34152-Pinout.jpg 227w, https:\/\/protosupplies.com\/wp-content\/uploads\/2017\/12\/MC34152-Pinout-200x115.jpg 200w\"\u003eMOSFET driver may be just what you need.\u003c\/p\u003e\n\u003cp\u003eThe MC34152 is a fast dual channel, non-inverting driver that is logic compatible on the input and capable of sinking or sourcing up to 1.5A on each of its outputs and can drive most power MOSFETs or multple power MOSFETs without breaking a sweat.\u003c\/p\u003e\n\u003cp\u003eIf you are using the MOSFET to occasionally turn something on or off, achieving maximum efficiency may not be all that important, but for fast switching in an application like DC-DC conversion or motor speed control, getting the MOSFETs through their inefficient linear region as quickly as possible can be important.  The high current and fast switching capability of these devices handles large capacitive loads to ensure that happens.\u003c\/p\u003e\n\u003cp\u003eIf you need even more grunt, check out the MIC4422 below that can handle up to 9A peak.\u003c\/p\u003e\n\u003cp\u003eTo handle the fairly high transient currents during switching, the Vcc pins should be bypassed with a .1uF ceramic cap in parallel with approximately a 4.7uF tantalum across the Vcc and GND pins as closely as possible.\u003c\/p\u003e\n\u003cp\u003eIt is packaged in a DIP-8 package for easy prototype use.\u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eDatasheet strongly suggests not using solderless breadboard construction with this device in order to avoid excess output ringing and overshoot which can damage the device or cause erratic behavior.  Projects are best built on PCB breadboards.\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"925\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eInput\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLogic High\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026gt; 2.6V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eLogic Low\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u0026lt; 0.8V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eSupply Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e18V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMinimum\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e6.1V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eSink\/Source Current\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e Each Channel\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.5A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eRise\/Fall Time\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e15nS\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDIP-8\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eON Semi\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cb\u003eDatasheet\u003c\/b\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"https:\/\/www.onsemi.com\/pub\/Collateral\/MC34152-D.PDF\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eMC34152\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674472472811,"sku":"","price":9.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MC34152P-Dual-MOSFET-Driver-1.jpg?v=1723007372"},{"product_id":"mcp23017-16-bit-i-o-expander-i2c","title":"MCP23017 16-Bit I\/O Expander I2C","description":"\u003cp\u003e\u003cspan\u003eProvides a 16 GPIO using I2C bus at up to 1.7MHz.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe MCP23017 provides a 16-bit general purpose bidirectional I\/O port using the I2C bus.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMCP23017 16-bit I\/O Expander with I2C bus\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MCP23017 16-BIT I\/O EXPANDER WITH I2C:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e16 bidirectional I\/O lines\u003c\/li\u003e\n\u003cli\u003eI2C bus operates up to 1.7MHz\u003c\/li\u003e\n\u003cli\u003e3 address lines for up to 8 devices on same I2C bus\u003c\/li\u003e\n\u003cli\u003e2 configurable interrupt outputs\u003c\/li\u003e\n\u003cli\u003e25mA per pin \/ 150mA per package current capability\u003c\/li\u003e\n\u003cli\u003e28-pin 0.3″ PDIP package is breadboard friendly\u003c\/li\u003e\n\u003cli\u003e3.3 or 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-11395 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Pinout.jpg\" alt=\"MCP23017 Pinout\" width=\"234\" height=\"204\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Pinout.jpg 234w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Pinout-215x187.jpg 215w\" data-lazy-sizes=\"(max-width: 234px) 100vw, 234px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 234px) 100vw, 234px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Pinout.jpg 234w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Pinout-215x187.jpg 215w\"\u003e\u003c\/p\u003e\n\u003cp\u003eIt’s not unusual to run out of I\/O pins on a microcontroller and the MCP23017 is a popular way to increase the number of GPIO available and has good library support.\u003c\/p\u003e\n\u003ch3\u003eI2C Bus\u003c\/h3\u003e\n\u003cp\u003eSince it interfaces using the I2C bus, the MCP23017 uses only 2 pins on the MCU and up to 8 chips can be operated off the same I2C bus for a total of up to 128 I\/O lines.\u003c\/p\u003e\n\u003cp\u003eThree address pins (A0-A2) are used for setting the I2C address of the chip. These pins must be tied high or low to set the address and not left floating. If all three pins are tied to ground, the base address is 0x20 and can go up to 0x27 if they are all tied to Vcc. If more than 1 chip is used on an I2C bus, each must be set to a unique address.\u003c\/p\u003e\n\u003cp\u003eThe I2C bus can operate at up to 1.7MHz for fast manipulation of the I\/O lines for higher speed applications. Note that to achieve 1.7MHz operation, Vcc needs to be 5V. When operating at 3.3V the maximum speed is limited to 400kHz which can still handle most I\/O requirements.\u003c\/p\u003e\n\u003cp\u003eIf faster operation is required, the MCP23S17 which is the same chip, but uses the SPI bus, can operate at up to 10MHz bus speed even at 3.3V operation.\u003c\/p\u003e\n\u003ch3\u003eI\/O Ports\u003c\/h3\u003e\n\u003cp\u003eThe 16 GPIO lines are configured as two 8-bit ports (PORTA and PORTB). Each pin can also be individually defined as an input or output for complete flexibility.\u003c\/p\u003e\n\u003cp\u003eWhen pins are configured as inputs, an internal 100K pullup resistor can be enabled which is handy for inputs such as switches that require a pullup to Vcc when the switch is open and pull to ground when pressed. This removes the need to add external pullup resistors in some applications.\u003c\/p\u003e\n\u003cp\u003eAnother nice feature is that the input pins can be selectively inverted. For instance, a button press that would normally return a logic LOW can be inverted so it returns a HIGH.\u003c\/p\u003e\n\u003cp\u003eEach GPIO pin can handle up to 25mA, but the total current for all pins must be kept under 150mA. If driving something like 16 LEDs, each LED current needs to be kept down around 9mA if they may all be on at the same time to avoid overheating the chip.\u003c\/p\u003e\n\u003ch3\u003eInterrupts\u003c\/h3\u003e\n\u003cp\u003eInterrupt capability is a nice feature since the MCU does not have to continuously poll the device looking for any change on the inputs.\u003c\/p\u003e\n\u003cp\u003eEach of the two ports has a configurable interrupt output that can be used independently or the two interrupts can work together.  Input pins can be set to interrupt the MCU upon a state change.\u003c\/p\u003e\n\u003cp\u003eAnother nice feature is that the interrupt outputs can be configurated as active LOW, active HIGH or OPEN-DRAIN.\u003c\/p\u003e\n\u003ch3\u003eReset\u003c\/h3\u003e\n\u003cp\u003eThe reset pin is active LOW and must be externally biased. If not using the reset pin, it can be tied to Vcc. It can also be be put under MCU control by connecting it to a digital output pin on the MCU. The pin is normally HIGH and momentarily driven LOW to reset the MCP23017.\u003c\/p\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-11396 size-full entered lazyloaded\" alt=\"MCP23017 Switch and LED Circuit\" width=\"387\" height=\"305\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Switch-and-LED-Circuit.jpg 387w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Switch-and-LED-Circuit-300x236.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Switch-and-LED-Circuit-237x187.jpg 237w\" data-lazy-sizes=\"(max-width: 387px) 100vw, 387px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Switch-and-LED-Circuit.jpg\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Switch-and-LED-Circuit.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 387px) 100vw, 387px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Switch-and-LED-Circuit.jpg 387w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Switch-and-LED-Circuit-300x236.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-Switch-and-LED-Circuit-237x187.jpg 237w\"\u003eThese parts are very easy to use and have good library support on most MCU platforms.\u003c\/p\u003e\n\u003cp\u003eThe simple example shown here sets up one pin (GPA0) as an input to detect a button press.  A second pin (GPA1) is setup as an output to light an LED while the button is being pressed.\u003c\/p\u003e\n\u003cp\u003eHookup of the chip is straight forward.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003ePin 9 Vdd – Connect to 3.3V or 5V to match the MCU\u003c\/li\u003e\n\u003cli\u003ePin 10 Vss – Connect to ground\u003c\/li\u003e\n\u003cli\u003ePin 12 SCL – Connect to I2C SCL on MCU\u003c\/li\u003e\n\u003cli\u003ePin 13 SDA – Connect to I2C SDA on MCU\u003c\/li\u003e\n\u003cli\u003ePins 15, 16, 17 A0-A2 – Connect to Ground to set I2C address to 0x20\u003c\/li\u003e\n\u003cli\u003ePin 18 RESET- Connect to Vdd using a 10K or so pullup resistor\u003c\/li\u003e\n\u003cli\u003ePin 21 GPA0- Connect one side of pushbutton, other side goes to ground\u003c\/li\u003e\n\u003cli\u003ePin 22 GPA1 – Connect to LED cathode.  Anode of the LED connects to Vdd through 220 to 470 ohm current limit resistor\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use.jpg\"\u003e\u003cimg decoding=\"async\" class=\"size-medium wp-image-11399 alignright entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-300x225.jpg\" alt=\"MCP23017 16-Bit GPIO with I2C Interface - In Use\" width=\"300\" height=\"225\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use.jpg 800w\" data-lazy-sizes=\"(max-width: 300px) 100vw, 300px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-300x225.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/04\/MCP23017-16-Bit-GPIO-with-I2C-Interface-In-Use.jpg 800w\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eTo use the program you will need to download the Adafruit MCP23017.h library using the Arduino IDE Library Manager.  There are several other libraries also available.\u003c\/p\u003e\n\u003cp\u003eOnce the program is downloaded and running, pressing the pushbutton should cause the LED to light as long as the button is depressed.\u003c\/p\u003e\n\u003cp\u003eAn interesting exercise left up to the user is to modify this setup to use interrupts to notify the MCU that the button state has changed rather than constantly polling the MCP23017 to see what the current state is.\u003c\/p\u003e\n\u003ch3\u003eMCP23017 16-Bit I\/O Expander Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003e * MCP23017 Test Program\u003c\/span\u003e\n\u003cspan\u003e *\u003c\/span\u003e\n\u003cspan\u003e * Set one pin as input and detect a button push\u003c\/span\u003e\n\u003cspan\u003e * Set one pin as output and turn on LED when button is pushed\u003c\/span\u003e\n\u003cspan\u003e * \u003c\/span\u003e\n\u003cspan\u003e * Vdd = 3.3V or 5V to match your microcontroller (Vcc)\u003c\/span\u003e\n\u003cspan\u003e * \u003c\/span\u003e\n\u003cspan\u003e * Connect pin #9 (Vdd) of the expander to Vcc (IC power)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #10 (Vss) of the expander to ground (IC ground)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #12 (SCK) of the expander to I2C Clock\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #13 (SDA) of the expander to I2C Data\u003c\/span\u003e\n\u003cspan\u003e * Connect pins #15, 16, 17 (A0-2) of the expander to ground\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #18 (RESET) through a ~10kohm resistor to Vcc\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #21 (GPA0) to pushbutton, other side to ground\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #22 (GPA1) to LED cathode, other side to Vcc through 470ohm resistor\u003c\/span\u003e\n\u003cspan\u003e *\/\u003c\/span\u003e\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003eWire\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\"Adafruit_MCP23017.h\"\u003c\/span\u003e\n\n\u003cspan\u003eAdafruit_MCP23017\u003c\/span\u003e \u003cspan\u003emcp\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Uses default I2C address of 0x20\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003emcp\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ use default address 0\u003c\/span\u003e\n  \u003cspan\u003emcp\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Switch input\u003c\/span\u003e\n  \u003cspan\u003emcp\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003epullUp\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ turn on internal 100K pullup for switch\u003c\/span\u003e\n  \u003cspan\u003emcp\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ LED output\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \n  \u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003emcp\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e==\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e  \u003cspan\u003e\/\/ Button is pressed\u003c\/span\u003e\n    \u003cspan\u003emcp\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Turn on LED\u003c\/span\u003e\n  \u003cspan\u003eelse\u003c\/span\u003e\n    \u003cspan\u003emcp\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Turn off LED\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e100\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"878\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperational Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Vdd\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.8- 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Max I2C Clock Speed\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVdd = 3.3V\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e400kHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVdd = 5V\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.7MHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e   Output Current\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePer I\/O Pin\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e25mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTotal package output current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e150mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eFootprint\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e0.3″ DIP-28\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eType\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eMicrochip\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMicrochip\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003ca href=\"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/20001952C.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cstrong\u003eMCP23017\/MCP23S17\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674472734955,"sku":"","price":7.37,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MCP23017-16-Bit-GPIO-with-I2C-Interface.jpg?v=1723007365"},{"product_id":"mcp23s17-16-bit-i-o-expander-spi","title":"MCP23S17 16-Bit I\/O Expander SPI","description":"\u003cp\u003e\u003cspan\u003eProvides a 16 GPIO using SPI bus at up to 10MHz.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe MCP23S17 provides a 16-bit general purpose bidirectional I\/O port using the SPI bus.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMCP23S17 16-bit I\/O Expander with SPI bus\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MCP23S17 16-BIT I\/O EXPANDER WITH SPI:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e16 bidirectional I\/O lines\u003c\/li\u003e\n\u003cli\u003eSPI bus operates up to 10MHz\u003c\/li\u003e\n\u003cli\u003e3 address lines for up to 8 devices on same SPI bus\u003c\/li\u003e\n\u003cli\u003e2 configurable interrupt outputs\u003c\/li\u003e\n\u003cli\u003e25mA per pin \/ 150mA per package current capability\u003c\/li\u003e\n\u003cli\u003e28-pin 0.3″ PDIP package is breadboard friendly\u003c\/li\u003e\n\u003cli\u003e3.3 or 5V operation\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-11403 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout.jpg\" alt=\"MCP23S17 Pinout\" width=\"232\" height=\"205\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout.jpg 232w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout-212x187.jpg 212w\" data-lazy-sizes=\"(max-width: 232px) 100vw, 232px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 232px) 100vw, 232px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout.jpg 232w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Pinout-212x187.jpg 212w\"\u003e\u003c\/p\u003e\n\u003cp\u003eIt’s not unusual to run out of I\/O pins on a microcontroller and the MCP23S17 is a way to increase the number of high speed GPIO available and has fairly good library support.\u003c\/p\u003e\n\u003ch3\u003eSPI Bus\u003c\/h3\u003e\n\u003cp\u003eSince it interfaces using the SPI bus, the MCP23017 uses only 4 pins on the MCU and up to 8 chips can be operated off the same SPI bus for a total of up to 128 I\/O lines.\u003c\/p\u003e\n\u003cp\u003eThree address pins (A0-A2) are used for setting the address of the chip. These pins must be tied high or low to set the address and not left floating. If all three pins are tied to ground, the base address is 0x20 and can go up to 0x27 if they are all tied to Vcc. If more than 1 chip is used on an SPI bus, each must be set to a unique address.\u003c\/p\u003e\n\u003cp\u003eThe SPI bus can operate at up to 10MHz for very fast manipulation of the I\/O lines for high speed applications. Unlike the I2C version of the chip, the maximum speed is the same for both 3.3V and 5V operation.\u003c\/p\u003e\n\u003cp\u003eIf an I2C version of this part is preferred, the MCP23017 which is the same chip, but uses the I2C bus can operate at up to 1.7MHz bus speed at 5V or 400kHz bus speed at 3.3V.\u003c\/p\u003e\n\u003ch3\u003eI\/O Ports\u003c\/h3\u003e\n\u003cp\u003eThe 16 GPIO lines are configured as two 8-bit ports (PORTA and PORTB). Each pin can also be individually defined as an input or output for complete flexibility.\u003c\/p\u003e\n\u003cp\u003eWhen pins are configured as inputs, an internal 100K pullup resistor can be enabled which is handy for inputs such as switches that require a pullup to Vcc when the switch is open and pull to ground when pressed. This removes the need to add external pullup resistors in some applications.\u003c\/p\u003e\n\u003cp\u003eAnother nice feature is that the input pins can be selectively inverted. For instance, a button press that would normally return a logic LOW can be inverted so it returns a HIGH.\u003c\/p\u003e\n\u003cp\u003eEach GPIO pin can handle up to 25mA, but the total current for all pins must be kept under 150mA. If driving something like 16 LEDs, each LED current needs to be kept down around 9mA if they may all be on at the same time to avoid overheating the chip.\u003c\/p\u003e\n\u003ch3\u003eInterrupts\u003c\/h3\u003e\n\u003cp\u003eInterrupt capability is a nice feature since the MCU does not have to continuously poll the device looking for any change on the inputs.\u003c\/p\u003e\n\u003cp\u003eEach of the two ports has a configurable interrupt output that can be used independently or the two interrupts can work together.  Input pins can be set to interrupt the MCU upon a state change.\u003c\/p\u003e\n\u003cp\u003eAnother nice feature is that the interrupt outputs can be configurated as active LOW, active HIGH or OPEN-DRAIN.\u003c\/p\u003e\n\u003ch3\u003eReset\u003c\/h3\u003e\n\u003cp\u003eThe reset pin is active LOW and must be externally biased. If not using the reset pin, it can be tied to Vcc. It can also be be put under MCU control by connecting it to a digital output pin on the MCU. The pin is normally HIGH and momentarily driven LOW to reset the MCP23S17.\u003c\/p\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-11404 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit.jpg\" alt=\"MCP23S17 Switch and LED Circuit\" width=\"431\" height=\"307\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit.jpg 431w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-300x214.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-263x187.jpg 263w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-400x285.jpg 400w\" data-lazy-sizes=\"(max-width: 431px) 100vw, 431px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 431px) 100vw, 431px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit.jpg 431w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-300x214.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-263x187.jpg 263w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-Switch-and-LED-Circuit-400x285.jpg 400w\"\u003eThese parts are easy to use and have decent library support on most MCU platforms, though not quite as good as the MCP23017 I2C version of the part.\u003c\/p\u003e\n\u003cp\u003eThe simple example shown here sets up one pin (GPA0) as an input to detect a button press.  A second pin (GPA1) is setup as an output to light an LED while the button is being pressed.\u003c\/p\u003e\n\u003cp\u003eHookup of the chip is straight forward.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003ePin 9 Vdd – Connect to 3.3V or 5V to match the MCU\u003c\/li\u003e\n\u003cli\u003ePin 10 Vss – Connect to ground\u003c\/li\u003e\n\u003cli\u003ePin 11 CS – Connect to SPI CS on MCU\u003c\/li\u003e\n\u003cli\u003ePin 12 SCK – Connect to SPI SCK on MCU\u003c\/li\u003e\n\u003cli\u003ePin 13 SI – Connect to SPI MOSI on MCU\u003c\/li\u003e\n\u003cli\u003ePin 14 SO – Connect to SPI MISO on MCU\u003c\/li\u003e\n\u003cli\u003ePins 15, 16, 17 A0-A2 – Connect to Ground to set SPI address to 0x20\u003c\/li\u003e\n\u003cli\u003ePin 18 RESET – Connect to Vdd using a 10K or so pullup resistor\u003c\/li\u003e\n\u003cli\u003ePin 21 GPA0- Connect one side of pushbutton, other side goes to ground\u003c\/li\u003e\n\u003cli\u003ePin 22 GPA1 – Connect to LED cathode.  Anode of the LED connects to Vdd through 220 to 470 ohm current limit resistor\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use.jpg\"\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-11405 size-medium entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-300x225.jpg\" alt=\"MCP23S17 16-Bit GPIO with SPI Interface - In Use\" width=\"300\" height=\"225\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use.jpg 800w\" data-lazy-sizes=\"(max-width: 300px) 100vw, 300px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-300x225.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-300x225.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-768x576.jpg 768w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-249x187.jpg 249w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use-400x300.jpg 400w, https:\/\/protosupplies.com\/wp-content\/uploads\/2021\/05\/MCP23S17-16-Bit-GPIO-with-SPI-Interface-In-Use.jpg 800w\"\u003e\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eIn this example, we are using the Majenko MCP23S17 library which can be downloaded from GetHub: \u003cspan\u003e \u003c\/span\u003e\u003cspan\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/github.com\/MajenkoLibraries\/MCP23S17\" rel=\"noopener\" target=\"_blank\"\u003ehttps:\/\/github.com\/MajenkoLibraries\/MCP23S17\u003c\/a\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003eOnce the  library is downloaded, you can add it using the IDE\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003eInclude Library \/ Add .ZIP Library\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eand navigate to where you downloaded it.\u003c\/p\u003e\n\u003cp\u003eOnce the program is downloaded to the MCU and running, pressing the pushbutton should cause the LED to light as long as the button is depressed.\u003c\/p\u003e\n\u003cp\u003eAn interesting exercise left up to the user is to modify this setup to use interrupts to notify the MCU that the button state has changed rather than constantly polling the MCP23S17 to see what the current state is.\u003c\/p\u003e\n\u003ch3\u003eMCP23S17 16-Bit I\/O Expander Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/*\u003c\/span\u003e\n\u003cspan\u003e * MCP23S17 Test Program\u003c\/span\u003e\n\u003cspan\u003e *\u003c\/span\u003e\n\u003cspan\u003e * Set one pin as input and detect a button push\u003c\/span\u003e\n\u003cspan\u003e * Set one pin as output and turn on LED when button is pushed\u003c\/span\u003e\n\u003cspan\u003e * \u003c\/span\u003e\n\u003cspan\u003e * Vdd = 3.3V or 5V to match your microcontroller (Vcc)\u003c\/span\u003e\n\u003cspan\u003e * \u003c\/span\u003e\n\u003cspan\u003e * Connect pin #9 (Vdd) of the expander to Vcc (IC power)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #10 (Vss) of the expander to ground (IC ground)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #11 (CS) of the expander to SPI CS (Uno 10)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #12 (SCK) of the expander to SPI SCK (Uno 13)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #13 (SI)of the expander to SPI MOSI (Uno 11)\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #14 (SO)of the expander to SPI MISO (Uno 12)\u003c\/span\u003e\n\u003cspan\u003e * Connect pins #15, 16 and 17 (A0-2) of the expander to ground\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #18 (RESET) through a ~10kohm resistor to Vcc\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #21 (GPA0) to pushbutton, other side to ground\u003c\/span\u003e\n\u003cspan\u003e * Connect pin #22 (GPA1) to LED cathode, other side to Vcc through 470ohm resistor\u003c\/span\u003e\n\u003cspan\u003e *\/\u003c\/span\u003e\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cb\u003e\u003cspan\u003eSPI\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e          \u003cspan\u003e\/\/ Arduino SPI library\u003c\/span\u003e\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003eMCP23S17\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e     \u003cspan\u003e\/\/ Majenko MCP23S17 Library\u003c\/span\u003e\n\n\u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003euint8_t\u003c\/span\u003e \u003cspan\u003echipSelect\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e10\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003eMCP23S17\u003c\/span\u003e \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\u0026amp;\u003c\/span\u003e\u003cb\u003e\u003cspan\u003eSPI\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003echipSelect\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e    \u003cspan\u003e\/\/ Uses default address of 0\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e            \u003cspan\u003e\/\/ use default address 0\u003c\/span\u003e\n  \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eINPUT_PULLUP\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Switch input with pullup resistor enabled\u003c\/span\u003e\n  \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003epinMode\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eOUTPUT\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e \u003cspan\u003e\/\/ LED output\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e \u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \n  \u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003eif\u003c\/span\u003e \u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003ebuttonState\u003c\/span\u003e \u003cspan\u003e==\u003c\/span\u003e \u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e  \u003cspan\u003e\/\/ Button is pressed\u003c\/span\u003e\n    \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e \u003cspan\u003eLOW\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Turn on LED\u003c\/span\u003e\n  \u003cspan\u003eelse\u003c\/span\u003e\n    \u003cspan\u003eBank1\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003edigitalWrite\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1\u003c\/span\u003e\u003cspan\u003e,\u003c\/span\u003e\u003cspan\u003eHIGH\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e  \u003cspan\u003e\/\/ Turn off LED\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e100\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"873\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperational Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Vdd\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e1.8- 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Max SPI Clock Speed\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVdd =2.7 to 5.5\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e10MHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e   Output Current\u003c\/td\u003e\n\u003ctd width=\"264\"\u003ePer I\/O Pin\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e25mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eTotal package output current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e150mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eFootprint\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e0.3″ DIP-28\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eType\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eMicrochip\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMicrochip\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003ca href=\"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/20001952C.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cstrong\u003eMCP23017\/MCP23S17\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674473029867,"sku":"","price":9.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MCP23S17-16-Bit-GPIO-with-SPI-Interface.jpg?v=1723007358"},{"product_id":"mcp3008-i-p-8-channel-10-bit-a-d-converter","title":"MCP3008-I\/P 8-Channel 10-Bit A\/D Converter","description":"\u003cp\u003e\u003cspan\u003eProvides up to 8 channels of 10-bit Analog-to-Digital conversion with SPI interface.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe Microchip MCP3008-I\/P provides up to 8 channels of 10-bit Analog-to-Digital conversion with an easy to use SPI interface.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMCP3008-I\/P 8-Channel 10-Bit A\/D Converter IC\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MCP3008-I\/P 8-CHANNEL 10-BIT A\/D CONVERTER:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e10-bit successive approximation A\/D converters\u003c\/li\u003e\n\u003cli\u003e8 single-ended or 4 differential inputs\u003c\/li\u003e\n\u003cli\u003eOn-chip sample \u0026amp; hold\u003c\/li\u003e\n\u003cli\u003eUp to 200ksps maximum sampling rate\u003c\/li\u003e\n\u003cli\u003eLow power\u003c\/li\u003e\n\u003cli\u003e2.7-5.5V operation\u003c\/li\u003e\n\u003cli\u003eBreadboard friendly DIP package\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"wp-image-8075 size-full alignright entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Pinout.jpg\" alt=\"MCP3008 Pinout\" width=\"170\" height=\"145\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Pinout.jpg\" data-ll-status=\"loaded\"\u003e\u003c\/p\u003e\n\u003cp\u003eThe MCP3008 is an easy way to add A\/D capability to an MCU like Raspberry Pi that doesn’t have one or to expand the number of A\/D inputs on an MCU like Arduino Uno.\u003c\/p\u003e\n\u003cp\u003eThe device uses the SPI interface which allows multiple chips to be put on the same bus with separate Chip Select line enabling the chip being accessed.\u003c\/p\u003e\n\u003cp\u003eThe 10-bit matches the bit-depth of built-in A\/D converters found on most Arduino and similar MCUs.  For higher bit depth capability, check out the ADS1115 module at the bottom of this page which provides 4 channels of 16-bit using I2C interface.\u003c\/p\u003e\n\u003cp\u003eThe part can operate from 2.7- 5.5V and are the DIP version so they are breadboard friendly.\u003c\/p\u003e\n\u003ch2\u003eOUR EVALUATION RESULTS:\u003c\/h2\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"wp-image-8076 size-full alignright entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Example-Schematic.jpg\" alt=\"MCP3008 Example Schematic\" width=\"385\" height=\"236\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Example-Schematic.jpg 385w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Example-Schematic-300x184.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Example-Schematic-280x172.jpg 280w\" data-lazy-sizes=\"(max-width: 385px) 100vw, 385px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Example-Schematic.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 385px) 100vw, 385px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Example-Schematic.jpg 385w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Example-Schematic-300x184.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2019\/09\/MCP3008-Example-Schematic-280x172.jpg 280w\"\u003eThese parts are very easy to use and have good library support.\u003c\/p\u003e\n\u003cp\u003eThe example shown here uses hardware SPI to talk to the MCP3008, but this can be changed to software SPI by uncommenting the line shown in the program.\u003c\/p\u003e\n\u003cp\u003eSince we are using an Uno in our example, the SPI connects to the following pins between the Uno and the IC.  Coincidentally the same pin numbers are used on both.\u003c\/p\u003e\n\u003cp\u003eSPI CLK          Uno pin-13 to IC pin-13\u003cbr\u003eSPI MISO       Uno pin-12 to IC pin-12\u003cbr\u003eSPI MOSI       Uno pin-11 to IC pin-11\u003cbr\u003eSP CS              Uno pin-10 to IC pin-10\u003c\/p\u003e\n\u003cp\u003eAlso be sure to wire IC pins 9 \u0026amp; 14 to ground and IC pins 15 \u0026amp; 16 to VCC on the MCU which can either be 3.3V or 5V.\u003c\/p\u003e\n\u003cp\u003eIn addition you will need a variable voltage to measure.  We are simply hooking a potentiometer up to the IC pin 1 (A\/D CH0) to keep things simple.  You could also just hook it up to the 3.3V output of the MCU.\u003c\/p\u003e\n\u003cp\u003eTo use the program you will need to download the MCPXXX.h library using the Arduino IDE.  If you are using a VREF of 3.3V, be sure to change the constant ADC_REF to 3.3 in the program.\u003c\/p\u003e\n\u003cp\u003eOnce the program is downloaded and running, open the Serial Monitor window to observe the output which is printed in both the raw ADC reading (0-1024) as well as the calculated voltage.\u003c\/p\u003e\n\u003cp\u003eIf you want to optimize the accuracy of the reading, measure the actual voltage at the VREF pin and enter that into the ADC_REF value in place of 5.0.\u003c\/p\u003e\n\u003ch3\u003eMCP3008 8-Channel 10-Bit A\/D Converter Example Program\u003c\/h3\u003e\n\u003cpre class=\"copy-the-code-target\"\u003e\u003cspan\u003e\/***************************************************\u003c\/span\u003e\n\u003cspan\u003e  Example program for MCP3008 A\/D converter\u003c\/span\u003e\n\n\u003cspan\u003e  Uses library MCP3XXX.h by Christopher Baker\u003c\/span\u003e\n\n\u003cspan\u003e  Example uses hardware SPI.  For Uno connect the following\u003c\/span\u003e\n\u003cspan\u003e  SPI Clock - Pin 13 Uno to Pin 13 IC\u003c\/span\u003e\n\u003cspan\u003e  SPI MISO - Pin 12 Uno to Pin 12 IC\u003c\/span\u003e\n\u003cspan\u003e  SPI MOSI = Pin 11 Uno to Pin 11 IC\u003c\/span\u003e\n\u003cspan\u003e  SPI CS = Pin 10 Uno to Pin 10 IC\u003c\/span\u003e\n\u003cspan\u003e  Power to IC pins 15 \u0026amp; 16\u003c\/span\u003e\n\u003cspan\u003e  Ground to IC pins 9 \u0026amp; 14\u003c\/span\u003e\n\u003cspan\u003e  Pot connected to IC pin 1\u003c\/span\u003e\n\u003cspan\u003e ****************************************************\/\u003c\/span\u003e\n\n\u003cspan\u003e#include\u003c\/span\u003e \u003cspan\u003e\u0026lt;\u003c\/span\u003e\u003cspan\u003eMCP3XXX\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eh\u003c\/span\u003e\u003cspan\u003e\u0026gt;\u003c\/span\u003e\n\u003cspan\u003elong\u003c\/span\u003e \u003cspan\u003econst\u003c\/span\u003e \u003cspan\u003eADC_REF\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003e5.0\u003c\/span\u003e\u003cspan\u003e;  \/\/ Set voltage used for VREF\u003c\/span\u003e\n\u003cb\u003e\u003cspan\u003eMCP3008\u003c\/span\u003e\u003c\/b\u003e \u003cspan\u003eadc\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Initialization\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003esetup\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e9600\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003e\/\/ Use the default SPI hardware interface.\u003c\/span\u003e\n  \u003cspan\u003eadc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003ebegin\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\n  \u003cspan\u003e\/\/ Or use custom pins to use a software SPI interface.\u003c\/span\u003e\n  \u003cspan\u003e\/\/ adc.begin(SS, MOSI, MISO, SCK);\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003e\/\/  Main\u003c\/span\u003e\n\u003cspan\u003e\/\/===============================================================================\u003c\/span\u003e\n\u003cspan\u003evoid\u003c\/span\u003e \u003cspan\u003eloop\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\n\u003cspan\u003e{\u003c\/span\u003e\n  \u003cspan\u003eint\u003c\/span\u003e \u003cspan\u003eadc_Reading\u003c\/span\u003e \u003cspan\u003e=\u003c\/span\u003e \u003cspan\u003eadc\u003c\/span\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eanalogRead\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eadc_Reading\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\" = \"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprint\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003eadc_Reading\u003c\/span\u003e \u003cspan\u003e*\u003c\/span\u003e \u003cspan\u003eADC_REF\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e\/\u003c\/span\u003e\u003cspan\u003e1024.0\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cb\u003e\u003cspan\u003eSerial\u003c\/span\u003e\u003c\/b\u003e\u003cspan\u003e.\u003c\/span\u003e\u003cspan\u003eprintln\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e\"V\"\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n  \u003cspan\u003edelay\u003c\/span\u003e\u003cspan\u003e(\u003c\/span\u003e\u003cspan\u003e1000\u003c\/span\u003e\u003cspan\u003e)\u003c\/span\u003e\u003cspan\u003e;\u003c\/span\u003e\n\u003cspan\u003e}\u003c\/span\u003e\n\u003cbutton class=\"copy-the-code-button\" data-style=\"svg-icon\" title=\"Copy\"\u003e\u003csvg aria-hidden=\"true\" role=\"img\" class=\"copy-icon\" viewbox=\"0 0 16 16\" width=\"16\" height=\"16\" fill=\"currentColor\" focusable=\"false\"\u003e\u003cpath d=\"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z\"\u003e\u003c\/path\u003e\u003cpath d=\"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z\"\u003e\u003c\/path\u003e\u003c\/svg\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003cp\u003e\u003cstrong\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003ci\u003eNone\u003c\/i\u003e\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"756\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eOperational Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Vdd\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eRecommended\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2.7 – 5.5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Throughput rate\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eVref = 5V\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e200ksps\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Resolution\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e10 bits\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e     Analog Inputs\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum single-ended input voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eVref\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e    Imax\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMaximum current while active\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e500uA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eFootprint\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDIP-16\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eType\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eMicrochip\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eMicrochip\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003cspan\u003e\u003ca href=\"https:\/\/cdn-shop.adafruit.com\/datasheets\/MCP3008.pdf\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cstrong\u003eMCP3008\u003c\/strong\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674473521387,"sku":"","price":9.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MCP3008-IP-8-Channel-10-bit-ADC.jpg?v=1723007351"},{"product_id":"mic2981-8-channel-source-driver-array","title":"MIC2981 8-Channel Source Driver Array","description":"\u003cp\u003e\u003cspan\u003e8-Channel logic compatible Darlington driver for high current \/ voltage loads.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch2\u003eDESCRIPTION\u003c\/h2\u003e\n\u003cp\u003eThe MIC2981\/82 is an 8-Channel Darlington Driver is a logic compatible source driver for driving high current \/ high voltage loads.\u003c\/p\u003e\n\u003ch2\u003ePACKAGE INCLUDES:\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMIC2981\/82 8-Channel Source Driver\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKEY FEATURES OF MIC2981\/82 8-CHANNEL SOURCE DRIVER:\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e8 Darlington transistor pair channels\n\u003cdiv id=\"attachment_3622\" class=\"wp-caption alignright\"\u003e\n\u003cp\u003e\u003cimg decoding=\"async\" class=\"alignright wp-image-5983 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram.jpg\" alt=\"MIC2981 Schematic Diagram\" width=\"306\" height=\"246\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram.jpg 306w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram-200x161.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram-300x241.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram-233x187.jpg 233w\" data-lazy-sizes=\"(max-width: 306px) 100vw, 306px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram.jpg\" data-ll-status=\"loaded\" sizes=\"(max-width: 306px) 100vw, 306px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram.jpg 306w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram-200x161.jpg 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram-300x241.jpg 300w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Schematic-Diagram-233x187.jpg 233w\"\u003e\u003c\/p\u003e\n\u003cp class=\"wp-caption-text\"\u003e \u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/li\u003e\n\u003cli\u003e50V @ 500mA output source current\u003c\/li\u003e\n\u003cli\u003eSits on the high-side of the load\u003c\/li\u003e\n\u003cli\u003e Built-in clamp diodes for driving inductive loads\u003c\/li\u003e\n\u003cli\u003e5V compatible inputs\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eThe MIC2981 has 8 separate drive channels each comprised of  high current NPN Darlington transistor pairs with emitter outputs and with built-in kick-back diodes for switching inductive loads like motors.\u003c\/p\u003e\n\u003cp\u003eIt is a replacement for both the UDN2981 and UDN2982 which is why you will sometimes see it written as MIC2981\/82 or MIC2981\/2982.  These chips are similar to the ULN2803A that are very commonly used, except that those parts sink current while the MIC2981 sources current.\u003c\/p\u003e\n\u003cp\u003eThe MIC2981 is well suited for driving higher powered 7-Segment displays, stepper motors, solenoids, relays, fans, small DC motors and many other moderate power devices.\u003c\/p\u003e\n\u003cp\u003eThe driver is used on the high side of the load which means it is connected between the power supply and the load and sources current to the load.\u003c\/p\u003e\n\u003cp\u003eA single channel can handle up to 50V@ 500mA.  The maximum per channel overall will depend on how many channels are being used and the duty cycle that the channel is switching at.  \u003cimg decoding=\"async\" class=\"alignright wp-image-5984 size-full entered lazyloaded\" src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Pinout.png\" alt=\"MIC2981 Pinout\" width=\"201\" height=\"212\" data-lazy-srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Pinout.png 201w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Pinout-200x211.png 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Pinout-177x187.png 177w\" data-lazy-sizes=\"(max-width: 201px) 100vw, 201px\" data-lazy-src=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Pinout.png\" data-ll-status=\"loaded\" sizes=\"(max-width: 201px) 100vw, 201px\" srcset=\"https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Pinout.png 201w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Pinout-200x211.png 200w, https:\/\/protosupplies.com\/wp-content\/uploads\/2018\/09\/MIC2981-Pinout-177x187.png 177w\"\u003eThe channels can be connected in parallel for higher current capability.\u003c\/p\u003e\n\u003cp\u003eThe parts are in a DIP-18 package so they are breadboard friendly.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cem\u003eNotes: \u003c\/em\u003e\u003c\/p\u003e\n\u003col\u003e\n\u003cli\u003e\n\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch2\u003eTECHNICAL SPECIFICATIONS\u003c\/h2\u003e\n\u003ctable class=\"table table-hover\" width=\"850\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMaximum Ratings\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eOutput Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e50V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eSupply Voltage\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e50V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eCollector Current (continuous)\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e500mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003eBase Current\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e2mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eTurn on\/off Delay\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e5uS (typ.)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eDIP-18\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003ePackage Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003ePlastic, thru-hole\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eMfr\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003eMicrochip\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd width=\"145\"\u003e\u003cstrong\u003eDatasheet\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"264\"\u003e\u003c\/td\u003e\n\u003ctd width=\"229\"\u003e\u003ca href=\"http:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/mic2981.pdf\" rel=\"noopener\" target=\"_blank\"\u003e\u003cspan\u003e\u003cstrong\u003eMIC2981\/82\u003c\/strong\u003e\u003c\/span\u003e\u003c\/a\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c!----\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674473816299,"sku":"","price":4.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MIC2981-HV-8-Channel-Driver-1.jpg?v=1723007347"},{"product_id":"mic4422-mosfet-driver-low-side-9a","title":"MIC4422 MOSFET Driver Low-Side 9A","description":"\u003ch2\u003eMIC4422 Low-Side MOSFET Gate Driver — 9A Peak, Non-Inverting, DIP-8\u003c\/h2\u003e\n\n\u003cp\u003eThe MIC4422 from Microchip (formerly Micrel) is a high-current, single-channel, non-inverting low-side MOSFET gate driver capable of 9A peak output current — six times the output of the MC34152 — making it the choice for driving the largest power MOSFETs or multiple MOSFETs in parallel at high switching frequencies. With a 25ns rise\/fall time and 4.5–18V supply range, it handles everything from 5V logic-controlled 12V motor drives to high-frequency DC-DC converter gate drive stages.\u003c\/p\u003e\n\n\u003cp\u003eLogic-compatible inputs (3.3V and 5V) allow direct connection from any standard MCU. DIP-8 package for prototyping; note that all duplicate pins (VDD and GND) must be connected for proper high-current operation.\u003c\/p\u003e\n\n\u003ch3\u003eKey Specifications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eManufacturer:\u003c\/strong\u003e Microchip Technology (Micrel)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e DIP-8 (through-hole)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eChannels:\u003c\/strong\u003e 1 (single channel)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSupply Voltage (VDD):\u003c\/strong\u003e 4.5V – 18V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOutput Current:\u003c\/strong\u003e 9A peak \/ 2A continuous\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eRise\/Fall Time:\u003c\/strong\u003e 25ns (into 1nF load)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eInput Logic High:\u003c\/strong\u003e \u0026gt;2.4V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eInput Logic Low:\u003c\/strong\u003e \u0026lt;0.8V\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eLogic Compatibility:\u003c\/strong\u003e 3.3V and 5V MCU compatible\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOutput:\u003c\/strong\u003e Non-inverting (output follows input logic level)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eInput Hysteresis:\u003c\/strong\u003e Yes\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eDIP-8 Pinout\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 1 — IN:\u003c\/strong\u003e Logic input (from MCU GPIO or PWM)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 2 — GND:\u003c\/strong\u003e Ground (connect both GND pins)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 3 — GND:\u003c\/strong\u003e Ground\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 4 — OUT:\u003c\/strong\u003e Gate driver output (to MOSFET gate)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 5 — OUT:\u003c\/strong\u003e Gate driver output (connect both OUT pins for full current)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 6 — VDD:\u003c\/strong\u003e Supply voltage (connect both VDD pins)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 7 — VDD:\u003c\/strong\u003e Supply voltage\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 8 — NC:\u003c\/strong\u003e No connection\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eImportant:\u003c\/strong\u003e All duplicate pins (both GND, both VDD, both OUT) must be connected to handle the high transient currents. Failure to connect duplicate pins will result in damage or erratic behavior.\u003c\/p\u003e\n\n\u003ch3\u003eDecoupling Requirements\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003ePlace 1µF low-ESR ceramic capacitor between VDD and GND as close to the IC as possible\u003c\/li\u003e\n\u003cli\u003eAdd two 100nF ceramic capacitors in parallel for high-frequency decoupling\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDo not use solderless breadboard\u003c\/strong\u003e for high-frequency switching — parasitic inductance causes ringing and overshoot. Use PCB or perfboard construction.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eGate Charge Capability\u003c\/h3\u003e\n\u003cp\u003eAt 9A peak output, the MIC4422 can charge a 180nC gate (e.g., IRFZ44N) in approximately 20ns — enabling switching frequencies well above 1MHz. For comparison, a 40mA MCU GPIO would take 4.5µs to charge the same gate, limiting practical switching frequency to ~100kHz.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eGate charge time ≈ Qg \/ Ipeak = 180nC \/ 9A = 20ns\u003c\/li\u003e\n\u003cli\u003eAdd series gate resistor (4.7Ω–22Ω) to control switching speed and reduce EMI\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eMIC4422 vs. MC34152\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eMIC4422:\u003c\/strong\u003e 9A peak, single channel, non-inverting. For large MOSFETs or high-frequency switching where maximum gate drive current is needed.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMC34152:\u003c\/strong\u003e 1.5A per channel, dual channel, non-inverting. For moderate gate charge MOSFETs or applications needing two independent drive channels.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003eHigh-frequency DC-DC buck\/boost converter gate drive (100kHz–1MHz+)\u003c\/li\u003e\n\u003cli\u003eLarge MOSFET (IRF3205, IRFZ44N) drive from 5V MCU logic\u003c\/li\u003e\n\u003cli\u003eMultiple parallel MOSFETs gate drive (combined gate charge)\u003c\/li\u003e\n\u003cli\u003eClass-D audio amplifier output stage gate drive\u003c\/li\u003e\n\u003cli\u003eInverter gate drive for high-current switching\u003c\/li\u003e\n\u003cli\u003eMotor PWM control with fast switching for reduced heating\u003c\/li\u003e\n\u003cli\u003eSynchronous rectifier gate drive in DC-DC converters\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003ePackage Contents\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e1 × MIC4422 low-side MOSFET gate driver, DIP-8\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674473914603,"sku":"","price":6.87,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MIC4422A-MOSFET-Driver-1.jpg?v=1723007340"},{"product_id":"mic5891-high-voltage-8-bit-shift-register","title":"MIC5891 High-Voltage 8-Bit Shift Register IC DIP-16 — 50V \/ 500mA, Darlington Output, Arduino","description":"\u003ch2\u003eMIC5891 High-Voltage 8-Bit Shift Register — 50V \/ 500mA Darlington Output, DIP-16\u003c\/h2\u003e\u003cp\u003eThe \u003cstrong\u003eMIC5891\u003c\/strong\u003e is a high-side 8-bit serial-in \/ parallel-out shift register with integrated Darlington transistor output drivers, capable of sourcing up to \u003cstrong\u003e500mA at 50V per channel\u003c\/strong\u003e. Think of it as a 74HC595 with built-in power transistors — it accepts serial data from a microcontroller and drives high-voltage, high-current loads directly, without external transistors or driver ICs. It is the definitive solution for driving large common-cathode 7-segment LED displays, relay arrays, solenoids, and other high-power loads from a single SPI-compatible interface.\u003c\/p\u003e\u003ch3\u003eKey Features\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e8-bit serial-in \/ parallel-out\u003c\/strong\u003e — SPI-compatible, 3-wire interface (DATA, CLOCK, LATCH)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eHigh-side Darlington outputs\u003c\/strong\u003e — sources up to 500mA @ 50V per channel\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eLogic supply:\u003c\/strong\u003e 4.5–15V — 5V logic compatible\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eLoad supply:\u003c\/strong\u003e 5–50V — drives high-voltage displays and loads\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBuilt-in inductive load suppression diodes\u003c\/strong\u003e — relay and solenoid protection\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDaisy-chainable\u003c\/strong\u003e — cascade multiple MIC5891s for more outputs\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePWM brightness control\u003c\/strong\u003e via OE (Output Enable) pin\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDIP-16 package\u003c\/strong\u003e — breadboard and through-hole PCB compatible\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTechnical Specifications\u003c\/h3\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eLogic Operating Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e4.5–15V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eLoad Operating Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e5–50V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eContinuous Output Current\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e500mA per channel\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eInterface\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eSerial SPI (DATA, CLOCK, LATCH, OE)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOutput Type\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eHigh-side Darlington (open emitter)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eDIP-16 (through-hole)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eManufacturer\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eMicrochip Technology\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003ch3\u003eMIC5891 vs 74HC595\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003e74HC595:\u003c\/strong\u003e Logic-level outputs only (max ~35mA @ 5V) — requires external transistors for power loads\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMIC5891 (this):\u003c\/strong\u003e Integrated Darlington drivers — drives 500mA @ 50V directly, no external transistors needed\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTypical Applications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003eLarge common-cathode 7-segment LED displays (4″–6″ digits requiring 5–15V)\u003c\/li\u003e\n\u003cli\u003eRelay array control from Arduino \/ microcontroller\u003c\/li\u003e\n\u003cli\u003eSolenoid valve driver (with built-in suppression diodes)\u003c\/li\u003e\n\u003cli\u003eHigh-power LED matrix driver\u003c\/li\u003e\n\u003cli\u003eIndustrial output expansion for PLCs and embedded controllers\u003c\/li\u003e\n\u003cli\u003eMotor driver enable\/disable control\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eArduino Wiring (Basic)\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 2 (CLOCK)\u003c\/strong\u003e → Arduino digital pin\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 3 (DATA IN)\u003c\/strong\u003e → Arduino digital pin\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 4 (LATCH)\u003c\/strong\u003e → Arduino digital pin\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003ePin 14 (OE)\u003c\/strong\u003e → Arduino PWM pin (LOW = outputs enabled; PWM = brightness control)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eVDD (logic)\u003c\/strong\u003e → 5V | \u003cstrong\u003eVbb (load)\u003c\/strong\u003e → load supply voltage (5–50V)\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eGND\u003c\/strong\u003e → common ground\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003ePackage Contents\u003c\/h3\u003e\u003cul\u003e\u003cli\u003e1 × MIC5891 High-Voltage 8-Bit Shift Register (DIP-16, Microchip Technology)\u003c\/li\u003e\u003c\/ul\u003e\u003cp\u003e\u003cem\u003e\u003ca href=\"http:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/20005638A.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eMIC5891 Datasheet (Microchip PDF)\u003c\/a\u003e\u003c\/em\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674474635499,"sku":"","price":6.97,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/MIC5891N-HV-8-Bit-Shift-Register-1.jpg?v=1723007334"},{"product_id":"ne555-timer","title":"NE555 Timer IC DIP-8 — Monostable \/ Astable, 4.5–16V, 200mA Output, Arduino","description":"\u003ch2\u003eNE555 Timer IC — The Universal Timer\/Oscillator, DIP-8\u003c\/h2\u003e\u003cp\u003eThe \u003cstrong\u003eNE555\u003c\/strong\u003e is the most iconic and widely used timer IC ever produced — over 1 billion units are manufactured annually, and it has been in continuous production since 1972. In a single 8-pin DIP package, the NE555 implements a precision timing circuit that can operate as a \u003cstrong\u003emonostable (one-shot) timer\u003c\/strong\u003e, an \u003cstrong\u003eastable (free-running) oscillator\u003c\/strong\u003e, or a \u003cstrong\u003ebistable flip-flop\u003c\/strong\u003e, with timing adjustable from microseconds to hours using just a few resistors and a capacitor. Its 200mA output drive capability means it can directly drive LEDs, small relays, buzzers, and speaker elements without additional transistors.\u003c\/p\u003e\u003ch3\u003eKey Features\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eMonostable, astable, and bistable modes\u003c\/strong\u003e — one IC, three operating modes\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTiming range:\u003c\/strong\u003e microseconds to hours — set by external R and C\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eOutput drive:\u003c\/strong\u003e sink or source up to \u003cstrong\u003e200mA\u003c\/strong\u003e — directly drives LEDs, relays, buzzers\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSupply voltage:\u003c\/strong\u003e 4.5–16V — works with 5V Arduino and 9V\/12V supplies\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003e5V logic compatible\u003c\/strong\u003e output levels at 5V supply\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAdjustable duty cycle\u003c\/strong\u003e in astable mode\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eTemperature stable\u003c\/strong\u003e — 0.005% per °C drift\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eDIP-8 package\u003c\/strong\u003e — breadboard and through-hole PCB compatible\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTechnical Specifications\u003c\/h3\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOperating Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e4.5–16V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eSupply Current\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e6–15mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOutput Current (sink\/source)\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e±200mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eMax Frequency (astable)\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e~500kHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eTiming Accuracy\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e±1% (typical)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eTemperature Drift\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e0.005% \/ °C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePackage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eDIP-8 (through-hole)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eManufacturer\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eTexas Instruments \/ STMicroelectronics \/ ON Semiconductor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003ch3\u003eOperating Modes\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eMonostable (one-shot):\u003c\/strong\u003e Triggered by a pulse, outputs a single pulse of duration T = 1.1 × R × C. Used for debouncing, delay timers, and pulse stretching.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eAstable (oscillator):\u003c\/strong\u003e Free-running square wave output. Frequency f = 1.44 \/ ((R1 + 2×R2) × C). Used for LED flashers, tone generation, PWM, and clock signals.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eBistable (flip-flop):\u003c\/strong\u003e Set\/Reset latch using TRIGGER and RESET pins. Used for switch debouncing and latching circuits.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eTypical Applications\u003c\/h3\u003e\u003cul\u003e\n\u003cli\u003eLED flasher and blinker circuits\u003c\/li\u003e\n\u003cli\u003eTone and alarm generator (buzzer driver)\u003c\/li\u003e\n\u003cli\u003ePWM signal generation for motor speed control\u003c\/li\u003e\n\u003cli\u003eDelay timer for relay activation\u003c\/li\u003e\n\u003cli\u003eMissing pulse detector\u003c\/li\u003e\n\u003cli\u003eSwitch debounce circuit\u003c\/li\u003e\n\u003cli\u003eClock signal generator for digital circuits\u003c\/li\u003e\n\u003cli\u003eArduino project timing and oscillator circuits\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003ePackage Contents\u003c\/h3\u003e\u003cul\u003e\u003cli\u003e1 × NE555 Timer IC (DIP-8, through-hole)\u003c\/li\u003e\u003c\/ul\u003e\u003cp\u003e\u003cem\u003e\u003ca href=\"http:\/\/www.ti.com\/lit\/ds\/symlink\/ne555.pdf\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eNE555 Datasheet (Texas Instruments PDF)\u003c\/a\u003e\u003c\/em\u003e\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Default Title","offer_id":45674475978987,"sku":"","price":5.47,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/NE555-Timer-1.jpg?v=1723007328"}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/collections\/10001_9c5b1f83-7606-4f69-99b8-928a4fbc0ec0.jpg?v=1776061489","url":"https:\/\/keszooxstore.com\/collections\/proto-10-ics-semiconductors.oembed","provider":"Keszoox","version":"1.0","type":"link"}