ATtiny85 TinyCharger
TinyCharger is an ATtiny25/45/85-based, single-cell Li-ion battery charger with selectable charging current limit (100mA - 1000mA) and an OLED display for monitoring.... show more1 Star
Married Red Electromagnetic Shrinking Machine
The Smart Hospital Bed is designed to enhance the care and comfort of patients with limited mobility by streamlining repositioning and maintaining detailed health records. It features automated repositioning options via an intuitive control interface, along with a rotating mechanism that allows the bed to transform into a chair for better comfort and adaptability. Additionally, its health data recording system provides real-time data base record on vital signs and posture, accessible remotely by healthcare providers helps them with decision making.... show more26 Comments
1 Star
Arduino LCD timer
LCD timer with Arduino that uses an encoder to set the time. The code works but it's limited, feel free to upgrade Feel free to review the board.... show more1 Comment
1 Star
current_limiter
This is a design to limit the in-rush current when powering on a EV Motor controller.... show more242 Comments
current_limiter 9251
This is a design to limit the in-rush current when powering on a EV Motor controller.... show more33 Comments
TPA3140D2PWP
The Texas Instruments TPA3140D2 is a high-efficiency, Class-D audio power amplifier designed for driving bridged-tied stereo speakers with outputs up to 10 W per channel into 6 Ω or 8 Ω loads. With advanced EMI suppression technology, including spread spectrum control and a 1SPW modulation scheme, the TPA3140D2 ensures robust performance while minimizing electromagnetic interference. Operating within a wide supply voltage range from 4.5 V to 14.4 V, this amplifier eliminates the need for heat sinks due to its up to 90% efficient Class-D operation. Integrated SpeakerGuard™ protection features such as automatic gain limit (AGL), adjustable power limiter, and DC protection enhance speaker safety and audio quality. Additionally, the TPA3140D2 includes comprehensive protection against pin-to-pin, pin-to-ground, and pin-to-power short circuits, as well as thermal protection with auto recovery. The device offers four selectable fixed gain settings and supports both single-ended and differential analog inputs, making it suitable for a variety of consumer audio applications including televisions, wireless speakers, mini speakers, and USB speakers. The TPA3140D2 is available in a 28-pin HTSSOP package, ensuring ease of integration into compact designs.... show more13 Comments
NIFPES_Speech_IOT_Project
This is a speech output model for a NIFPES (Nitrogen Injection Fire Prevention and Exhaustion System) machine. ESP32 is being used where it is connected with a limit switch LXW20-11M and ESP32 is connected with DFPlayer mini MP3 Speaker module and the speaker module is further connected to a speaker. This model is powered by a PLC SMPS of 24V and is connected to the door of the control panel of the machine. Function:- Now whenever the door is opened or closed, there is a speech output from the speaker "The door is open" or "The door is closed". Further work to be done:- I need to integrate the fire alarm signals and 20 more signals of 24v each from the PLC output to the ESP32 so that there can be speech outputs whenever any signal is high.... show more8 Comments
5V eFuse Layout
The TPS25200 is a 5-V eFuse with precision current limit and overvoltage clamp. The device provides robust protection for load and source during overvoltage and overcurrent events.... show more1 Comment
5V eFuse Layout eLz4
The TPS25200 is a 5-V eFuse with precision current limit and overvoltage clamp. The device provides robust protection for load and source during overvoltage and overcurrent events.... show more1 Comment
5V eFuse Layout
The TPS25200 is a 5-V eFuse with precision current limit and overvoltage clamp. The device provides robust protection for load and source during overvoltage and overcurrent events.... show more1 Comment
Architectural Lavender Translation Collar
Architectural Lavender Translation Collar – ESP32‑S3 Wi‑Fi + LoRa, USB‑C, Li‑ion, low‑power design Overview Experience a cutting-edge IoT solution with this low‑power board built around the ESP32‑S3‑MINI‑1‑N8. Designed for seamless Wi‑Fi (2.4 GHz), BLE, and LoRa (868 MHz) connectivity, this board integrates ENS161 and ENS210 sensors over I2C alongside an RFM95W‑868 LoRa radio on SPI. It is powered via a 3.7 V Li‑ion cell with USB‑C charging up to 500 mA, complete with full battery protection, a robust 3.3 V rail tailored for Wi‑Fi burst currents, and per‑peripheral power gating to enhance energy efficiency. Core Features • MCU: ESP32‑S3‑MINI‑1‑N8 equipped with an onboard PCB antenna for 2.4 GHz Wi‑Fi/BLE, ensuring optimal wireless performance. • Sensors: Integrated ENS161 and ENS210 sensors utilize a shared I2C bus with controllable 4.7 kΩ pull‑ups for streamlined communication. • LoRa Radio: The RFM95W‑868 module, connected via SPI, enables long‑range communication at 868 MHz. Power & USB‑C Connectivity • Battery: A reliable 3.7 V 1200 mAh Li‑ion battery connected via a right‑angle JST‑PH 2‑pin connector features built‑in battery protection. • Charging: The USB‑C receptacle, with CC resistors and TVS protection on D+/D− along with series resistors, supports fast, safe charging with a current limit of 500 mA. • Regulation: A dedicated 3.3 V regulator capable of handling Wi‑Fi burst currents coupled with bulk and high‑frequency decoupling ensures stable operation, supported by status LEDs indicating power and charge states. Low‑Power Control • Peripheral Management: Load switches allow selective power‑gating of the ENS161, ENS210, and RFM95W modules, controlled directly by ESP32‑S3 GPIOs. • Energy Efficiency: Controllable I2C pull‑ups minimize idle current, vital for prolonged battery life in IoT applications. RF and Antenna Integration • 2.4 GHz: Utilizes the integrated PCB antenna on the ESP32‑S3 with proper ground/metal keep‑out zones for optimal signal integrity. • 868 MHz: Features a controlled‑impedance feed from the RFM95W to a PI matching network (C‑L‑C pads) with flexible antenna options—selectable via SMA connector, chip antenna, or PCB trace—and includes RF ESD protection. Connectivity & Debug Features • USB‑C Interface: Provides secure data connectivity with integrated safeguards and proper terminations. • Debugging: A comprehensive programming/debug header exposes EN, BOOT, and UART lines, with test points on key rails and buses (3V3, VBAT, SCK, MOSI, MISO, SDA, SCL, RESET/EN, GND) to simplify development and troubleshooting. Design Verification • Rigorous ERC/DRC and decoupling checks ensure adherence to component ratings and optimal signal routing. • Maintain RF keep‑outs and impedance‑controlled traces for both 2.4 GHz and 868 MHz paths, securing reliable performance even during high‑intensity operations. #IoT #ESP32S3 #LoRa #LowPowerDesign #USB-C #WirelessConnectivity #BatteryPowered #RFDesign... show moreActive Three-Way Crossover on NE5532
TECHNICAL ASSIGNMENT AND DESIGN GUIDE Active Three-Way Crossover on NE5532 Powered by AM4T-4815DZ and Amplifiers TPA3255 (Updated Version) 1. GENERAL PURPOSE OF THE DEVICE The goal of the development is to create an active three-way audio crossover for one channel of a loudspeaker system, working with the following drivers: LF: VISATON W250 MF: VISATON MR130 HF: Morel MDT-12 Each frequency range is amplified by a separate power amplifier: LF: TPA3255 in PBTL mode (mono) MF + HF: second TPA3255 in stereo mode (one channel for MF, the other for HF) The crossover accepts a single linear audio signal (mono) and divides it into three frequency bands: Range Frequency Range LF 0 – 650 Hz MF 650 – 2500 Hz HF 2500 Hz and above Filter type: Linkwitz–Riley 4th order (24 dB/oct) at each crossover point (650 Hz and 2500 Hz). The crossover must provide: minimal self-noise; no audible distortion in the audible range; stable operation with NE5532 at ±15 V power supply; easy adjustment of the level for each band, as well as the overall level (via the input buffer). 2. FILTER TYPES AND BASIC OPERATING PRINCIPLES Each filter is implemented as two cascaded Sallen–Key 2nd order (Butterworth) stages, resulting in a final 4th order LR4 filter. Topology: non-inverting Sallen–Key, optimal for NE5532. For all stages: Cascade gain: K ≈ 1.586 This provides a Q factor of 0.707 (Butterworth), which in combination gives a Linkwitz–Riley 4th order. 3. COMPONENT VALUES FOR FILTERS 3.1 Universal Parameters RC chain capacitors: 10 nF, film capacitors, tolerance ≤ 5% Resistors: metal-film, tolerance ≤ 1% The gain of each stage is set by feedback resistors: Rf = 5.9 kΩ Rg = 10 kΩ K ≈ 1 + (Rf / Rg) ≈ 1.59 The circuit should allow for the installation of a small capacitor (10–47 pF) in parallel with Rf (footprint provided) for possible stability correction (not mandatory to install in the first revision). 3.2 650 Hz Filters (Low-frequency boundary for MF) These are used for the division between W250 and MR130. LP650 — Low-frequency Filter 2nd Order R1 = 24.9 kΩ R2 = 24.9 kΩ C1 = 10 nF C2 = 10 nF Two stages: LP650 #1 and LP650 #2. HP650 — MF High-frequency Filter 2nd Order Same values: R1 = 24.9 kΩ R2 = 24.9 kΩ C1 = 10 nF C2 = 10 nF Two stages: HP650 #1 and HP650 #2. 3.3 2500 Hz Filters (Upper boundary for MF) These are used for the division between MR130 → MDT-12. LP2500 — High-pass MF Filter R1 = 6.34 kΩ R2 = 6.34 kΩ C1 = 10 nF C2 = 10 nF Two stages: LP2500 #1 and LP2500 #2. HP2500 — High-frequency Filter Same values: R1 = 6.34 kΩ R2 = 6.34 kΩ C1 = 10 nF C2 = 10 nF Two stages: HP2500 #1 and HP2500 #2. 4. OPERATIONAL AMPLIFIERS The NE5532 (dual op-amp, DIP-8 or SOIC-8) is used. A minimum of 4 packages (8 channels) for filters: NE5532 Function U1A, U1B LP650 #1, LP650 #2 (LF) U2A, U2B HP650 #1, HP650 #2 (Lower MF cut-off) U3A, U3B LP2500 #1, LP2500 #2 (Upper MF cut-off) U4A, U4B HP2500 #1, HP2500 #2 (HF) Additionally: U5 — input buffer / preamplifier (both channels) If necessary, an additional NE5532 (U6) for the balanced input (see section 6.2). All NE5532 should have local decoupling for power supply (see section 5.1). 5. CROSSOVER POWER SUPPLY AM4T-4815DZ DC/DC module is used: Input: 36–72 V, connected to the 48 V power supply for TPA3255 amplifiers. Output: +15 V / –15 V, up to 0.133 A per side. Maximum output capacitance: ≤ 47 µF per side (according to the datasheet). 5.1 Power Filtering Input (48 V): RC variant (simpler, acceptable for the first revision): R = 1–2 Ω / 1–2 W C = 47–100 µF (for 63 V or higher) LC variant (preferred for improved noise immunity): L = 10–22 µH C = 47–100 µF The developer may implement LC if confident in choosing the inductance and its parameters. Output +15 V and –15 V (general filtering): Electrolytic capacitor 10–22 µF per side 100 nF (X7R) per side to GND Local decoupling for NE5532 (REQUIRED): For each NE5532 package: 100 nF between +15 V and GND 100 nF between –15 V and GND Place as close as possible to the op-amp power pins (short traces). Additional local filtering for power lines: For each NE5532, decouple from the ±15 V main rails: Either 4.7–10 Ω resistor in series with +15 V and –15 V, Or ferrite bead in each rail. After this component, place local capacitors (100 nF + 1–4.7 µF) to ground. 6. INPUT TRACT: INPUTS, BUFFER, ADJUSTMENT 6.1 Unbalanced Input (RCA / Jack / Linear) The main mode is the unbalanced linear input, for example, RCA. Input tract structure: RF-filter and protection: Signal → series resistor Rin_series = 100–220 Ω After resistor — capacitor Cin_RF = 470–1000 pF to GND This forms a low-level RF filter and reduces high-frequency noise. DC-block (low-pass HP-filter): Capacitor Cin_DC = 2.2–4.7 µF film in series Resistor to ground Rin_to_GND = 47–100 kΩ Cut-off frequency — negligible in the audio range but removes DC. Input buffer / preamplifier (NE5532, U5): Non-inverting configuration. Input — after DC-block. Gain: adjustable, e.g., Rg_fixed = 10 kΩ (to GND through trimmer) Rf = 10–20 kΩ + footprint for trimmer (e.g., 20 kΩ) The gain should be in the range of 0 dB to +10…+12 dB. Possible configuration: Rg = 10 kΩ fixed Rf = 10 kΩ + 10 kΩ trimmer in series. This allows adjusting the overall level of the crossover according to the source and amplifier levels. Buffer output: A low-impedance output (after NE5532) This signal is simultaneously fed to the inputs of all filters: LP650 (LF) HP650 → LP2500 (MF) HP2500 (HF) 6.2 Balanced Input (XLR / TRS) — Optional, but laid out on the board The board should allow for a balanced input, even if it’s not used in the first revision. Implementation requirements: XLR/TRS connector (L, R, GND) or separate 3-pin header. Simple differential receiver on NE5532 (extra U6 package or use one channel of U5 if sufficient). Circuit: classic instrumentation amplifier or differential amplifier: Inputs: IN+ and IN– Output — single-ended signal of the same level (or slightly amplified), fed to DC-block and buffer (or directly to the buffer if integrated). Switching between balanced/unbalanced mode: Implement using jumpers / bridges or adapters: Either switch before the buffer, Or use two separate pads, one of which is unused. All balanced input grounds must be connected to the same AGND point as the unbalanced input to avoid ground loops. 7. LEVEL ADJUSTMENT OF BANDS (BEST METHOD) The level adjustment of each band (LOW, MID, HIGH) is required to match the sensitivity of the speakers and amplifiers. Recommended method: After each full filter (after LP650×2, MID-chain HP650×2 → LP2500×2, HP2500×2), install: A passive attenuator: Series: Rseries (0–10 kΩ, adjustable) Shunt: Rshunt to GND (10–22 kΩ, fixed or adjustable) For simplicity and reliability: Implementation on the board: For each band (LOW, MID, HIGH) provide: Pad for multi-turn trimmer 10–20 kΩ as a divider (between signal and ground) in the "level adjustment" configuration. If adjustment is not needed — install a fixed divider (two resistors) or simply use a jumper. It is preferable to use: For setup: multi-turn trimmers 10–20 kΩ, available on the top side of the board. Nominals for the initial configuration can be selected through measurements, but the PCB should have flexibility. This provides: Accurate balancing of band volumes without interfering with the filters; Flexibility for fine-tuning to the specific characteristics of the speakers. 8. INPUTS AND OUTPUTS OF THE CROSSOVER (FINAL) 8.1 Inputs 1× Unbalanced linear input (RCA or 3-pin header) 1× Balanced input (XLR/TRS or 3-pin header) — optional, but space must be provided on the board. Input impedance (unbalanced after RF-filter): 22–50 kΩ. The input tract must be implemented using shielded cables. 8.2 Outputs Outputs to amplifiers: Output Signal LOW OUT After LP650×2 (LF) MID OUT After HP650×2 → LP2500×2 (MF) HIGH OUT After HP2500×2 (HF) Each output: Series resistor 100–220 Ω (prevents possible oscillations and simplifies cable management). A nearby own AGND pad (ground output), so the signal pair SIG+GND runs together. Outputs should be compactly placed on 2-pin connectors (SIG+GND) or 3-pin (SIG+GND+reserve). 9. PCB DESIGN REQUIREMENTS 9.1 Board Number of layers: 2 layers Bottom layer: solid analog ground (AGND). 9.2 Component Placement Key principles: RC chains of each filter (R1, R2, C1, C2, Rf, Rg) should form a compact "island" around the corresponding op-amp. If elements are placed too far apart, the filter will not work correctly (calculated frequency and Q will shift). Feedback tracks (Rf and Rg) should be as short and direct as possible. The AM4T-4815DZ module should be placed: Far from the input buffer, Far from the first filter stages, If necessary, make a "cutout" in the ground under it to limit noise propagation. Place the input connector, RF-filter, and buffer on one side of the board, and the output connectors on the opposite side. 9.3 Ground The entire audio circuit uses one analog ground: AGND. Connect AGND to the power ground (48 V and amplifiers) at one point ("star"). The star should be implemented as: One point/pad where: The ground of the input, The ground of the filters, The ground of the outputs, The ground of the DC/DC. Avoid long narrow "ground" jumpers — use wide polygons with a single connection point. 9.4 Placement of Output Connectors Group LOW/MID/HIGH compactly. Each should have its own GND pad nearby. Route the SIG+GND pairs as signal pairs, avoiding large loops. 10. ADDITIONAL ELEMENTS: PROTECTION, TEST POINTS 10.1 Test Points (TP) Be sure to provide test points (pads): TP_IN — crossover input (after buffer) TP_LOW — LF filter output TP_MID — MF filter output TP_HIGH — HF filter output TP_+15, TP_–15, TP_GND — power control This greatly simplifies debugging with an oscilloscope. 10.2 Power Protection On the 48 V input — it is advisable to provide: Diode/scheme for reverse polarity protection (if possible), TVS diode or varistor for voltage spikes (optional). 10.3 Possible Stability Correction Pads for small capacitors (10–47 pF) in parallel with Rf in buffers and, if necessary, in some stages — in case of stability issues (this can be not installed in the first revision, but footprints should be provided). 11. BILL OF MATERIALS (BOM) Operational Amplifiers: NE5532 — 4 pcs (filters) NE5532 — 1–2 pcs (input buffer and balanced input) Total: 5–6 NE5532 packages. Resistors (1%, metal-film): 24.9 kΩ — 8 pcs 6.34 kΩ — 8 pcs 10 kΩ — ≥ 12 pcs (feedback, buffers, etc.) 5.9 kΩ — 8 pcs 22 kΩ — 1–2 pcs (input, auxiliary chains) 47–100 kΩ — several pcs (DC-block, input) 100 kΩ — 1 pc (if needed) 100–220 Ω — 4–6 pcs (outputs, RF, protection) 4.7–10 Ω — 2 pcs for each op-amp or group of op-amps (power filtering) — quantity to be clarified during routing. Trimmer Resistors: 10–20 kΩ multi-turn — one for each band (LOW, MID, HIGH) 10–20 kΩ — 1–2 pcs for the input buffer (overall gain adjustment). Capacitors: 10 nF film — 16 pcs (RC filters) 2.2–4.7 µF film — 1–2 pcs (input DC-block) 10–22 µF electrolytic — 2–4 pcs (DC/DC outputs) 1–4.7 µF (X7R / tantalum) — 1 pc for local power filtering (optional). 100 nF ceramic X7R — 10–20 pcs (local decoupling for each op-amp) 470–1000 pF — 1–2 pcs (RF filter on the input) 10–47 pF — optional for stability correction (Rf). Power Supply: AM4T-4815DZ — 1 pc Inductor 10–22 µH (if LC filter) — 1 pc R 1–2 Ω / 1–2 W — 1 pc (if RC filter). Connectors: Input (RCA + 3-pin for internal input) Balanced (XLR/TRS or 3-pin header) Outputs LOW/MID/HIGH — 2-pin/3-pin connectors. 12. TESTING RECOMMENDATIONS 12.1 First Power-up Apply ±15 V without installed op-amps. Check with a multimeter: +15 V –15 V No short circuits in the power supply. Install the op-amps (NE5532). Apply a sine wave of 100–200 mV RMS (signal generator). Check with an oscilloscope at TP: LP650 — should pass LF and roll off everything above 650 Hz. HP650 — should roll off LF, pass everything above 650 Hz. LP2500 — should roll off above 2500 Hz. **HP250 0** — should pass everything above 2500 Hz. 12.2 Phase Check The Linkwitz–Riley 4th order should give a flat frequency response when summed at the crossover points. This can be verified with REW/Arta. 12.3 Noise Check If there is noticeable "shshsh" or whistling: Check: Grounding layout (star) Placement and filtering of AM4T-4815DZ Presence and proper installation of all 100 nF and local filters. 13. FINAL RECOMMENDATIONS FOR BEGINNERS Do not rush, build the circuit step by step: input → buffer → one filter → test, then continue. Check component values at least twice before soldering. Filters should be routed as compact "islands" around the op-amp, do not stretch R and C across the board. Always remember the rule: "The feedback trace should be as short as physically possible." Before ordering the PCB, make a "paper prototype": print at 1:1, cut it out, place real components to check everything fits.... show moreREGULATOR POWER SUPPLY
Almost all basic household electronic circuits need an unregulated AC to be converted to constant DC, in order to operate the electronic device. All devices will have a certain power supply limit and the electronic circuits inside these devices must be able to supply a constant DC voltage within this limit. This DC supply is regulated and limited in terms of voltage and current. But the supply provided from mains may be fluctuating and could easily break down the electronic equipment, if not properly limited. This work of converting an unregulated alternating current (AC) or voltage to a limited Direct current (DC) or voltage to make the output constant regardless of the fluctuations in input, is done by a regulated power supply circuit.... show morePrepared Salmon Liquid Breathing Apparatus
This project is focused on designing a highly efficient PCB for a switching power supply using a robust selection of electronic components. Our design leverages a flyback topology featuring a ferrite transformer (options EE25 or EE33), a PWM integrated circuit (TL494, SG3525, or UC3842), and a power MOSFET (IRF840 or a similar alternative) for effective high-voltage switching. Fast and reliable rectification is ensured by using a Schottky diode (MBR20100 or FR107) along with a rectifier bridge built from four 1N4007 diodes or a dedicated 4A bridge. Key stabilization and regulation components include the TL431 reference regulator and a Zener diode for precise voltage control in critical areas. For input and output filtering, the design incorporates electrolytic capacitors (470 µF, 25 V for output and 400 V, 100 µF for input) and ceramic capacitors (ranging from 1 nF to 100 nF) to limit high-frequency noise. Additional safety and operational features are provided by an NTC (soft-start thermistor) to prevent current spikes, various resistors (from 1 Ω to 100kΩ), an optocoupler (PC817) for signal isolation, a switch, and a protection fuse. Before moving forward with a finalized PCB layout and schematic details, we need to clarify a few design choices: 1. Transformer Choice: Would you prefer using the EE25 or the EE33 ferrite transformer variant as the heart of the switching power supply design? This detailed approach ensures that the power supply not only meets rigorous performance and safety standards but also supports a reliable and scalable solution for various electronic applications. #PCBDesign #SwitchingPowerSupply #Electronics #SMPS #PowerElectronics #FlybackConverter #CircuitDesign #ElectronicsComponents... show moreOPA2863DR wBM3
The Texas Instruments OPA863, OPA2863, and OPA4863 are low-power, voltage-feedback operational amplifiers designed to offer a unity-gain stable, rail-to-rail input and output with a 110-MHz bandwidth. These amplifiers are optimized for a broad power supply range from 2.7 V to 12.6 V, catering to a variety of portable and battery-powered applications. Key features include a quiescent current of 700-uA/ch (typical), a gain-bandwidth product of 50 MHZ, input voltage noise of 5.9-nV/VHz, and a slew rate of 105-V/us. The series also highlights specialized versions including the OPAx863A for high precision requirements, and all models integrate features like overload power limit and output short-circuit protection for ruggedized environments. The devices’ applicability spans across multiple domains including low-power SAR and ΔΣ ADC drivers, ADC reference buffers, photodiode transimpedance amplifiers, and more. The comprehensive array of packages available (including SOT-23, VSSOP, WQFN, and TSSOP options) ensures flexibility in hardware design, making these operational amplifiers from Texas Instruments suitable for high-performance, space-conscious, and power-sensitive electronic circuits.... show more48V Solar Li-Ion Charger
A solar charging PCB for a 13S 5P lithium-ion battery pack. Charging design parameters: - Input voltage range: 40V to 56V - Battery voltage range: 39V to 54.6V - Input current limit: 12 A - Fast-charge current limit: 10 A - Switching frequency: 350kHz... show more