• ESP32 Dual Ultrasonic Water Level Monitoring System

    ESP32 Dual Ultrasonic Water Level Monitoring System

    This project is designed to measure water level of two tanks using ultrasonic sensors interfaced with the ESP32 microcontroller. The design leverages the processing power and wireless connectivity of the ESP32 to accurately monitor water levels and support automated water management processes. Key components include two ultrasonic sensors for precise distance measurement, robust voltage regulation using an LM2596 buck converter, and reliable power management circuits. Its modular design approach facilitates easy expansion and integration with other systems, making it an ideal solution for both DIY enthusiasts and professionals in automated fluid control and IoT applications. Firmware: https://github.com/jharwinbarrozo/ESP32-Dual-Ultrasonic-Water-Level-Monitoring-System #ESP32 #UltrasonicSensor #WaterLevelSensor #LM2596 #VoltageRegulator #ModularDesign #IoT #DIYProjects #ElectronicsDesign #automation

    6 Stars


  • 8 relay controller for xiao

    8 relay controller for xiao

    Xiao could be a good way to mod your house or machines, with a simple relay controller to rule the wires.

    77 Comments

    4 Stars


  • Arduino Multipurpose PCB

    Arduino Multipurpose PCB

    This is the multipurpose PCB that works with Arduino Nano, a way that you can run 2 Stepper motors, 2 DC motors, 2 Servo motors at the same time and this is not it you can even connect BT module, rotary encoder, I2C device, potentiometer at same time. This PCB is very much helpful in building any project and no need to worry about messy wire connections.

    1 Comment

    2 Stars


  • Guitar Pedal Template

    Guitar Pedal Template

    Guitar pedal starter template based on project by Mark Wu. Includes schematic and PCB layout for basic DIY pedal hardware. This includes two 1/4" jacks (one for input and one for output), a 9V power supply (including LED), a 3PDT true bypass wiring setup, and an example potentiometer that can be copy/pasted throughout the circuit. The headers are meant to be unpopulated so that wires can be soldered to the pads. PCB design rules imported from the JLCPCB 2-layer stackup template. #template

    1 Comment

    2 Stars


  • Aaduino

    Aaduino

    The AAduino is an wireless Arduino clone the size of an AA battery with Keystone battery terminals rotated 180° to act as positive and negative terminals. It is meant to go inside a 3xAA battery holder creating a very small wireless node. Powered by an ATMega328p, it is fitted with an RFM69CW companion, two DS18B20 temperature sensors and an indicator LED

    &

    2 Stars


  • Portenta H7 Carier Wire for devs

    Portenta H7 Carier Wire for devs

    Welcome to your new project. Imagine what you can build here.

    1 Comment

    1 Star


  • Realistic Brown Battle Mech

    Realistic Brown Battle Mech

    Nice — you can do a clean pulse + latch using a single quad Schmitt-NAND chip: 74HC132 (or 74LVC132 for 3.3 V systems). The HC132 contains four 2-input NAND gates with Schmitt inputs so you can both clean a noisy SYN480R DATA line and build an SR latch (NAND SR is active-LOW) inside one package. Only a few passives and a driver transistor are needed. Below is a ready-to-build recipe (parts, wiring, explanation, tuning tips, and an ASCII schematic) — no extra logic ICs required. Parts (per latch) 1 × 74HC132 (quad 2-input NAND with Schmitt inputs). If your system is 3.3 V use 74LVC132 / 74HC132 rated for 3.3 V. Rin = 47 kΩ (input series) Cfilter = 10 nF (input RC to ground) — tweak for debounce/clean time Rpulldown = 100 kΩ (pull-down at input node, optional) Rpullup = 100 kΩ (pull-up for active-LOW R input so reset is idle HIGH) Rbase = 10 kΩ, Q = 2N2222 (NPN) or small N-MOSFET (2N7002) to drive your load Diode for relay flyback (1N4001) if you drive a coil Optional small cap 0.1 µF decoupling at VCC of IC Concept / how it works (short) Use Gate1 (G1) of 74HC132 as a Schmitt inverter by tying its two inputs together and feeding a small RC filter from SYN480R.DATA. This removes HF noise and provides a clean logic transition. Because it's a NAND with tied inputs its function becomes an inverter with Schmitt behavior. Use G2 & G3 as the cross-coupled NAND pair forming an SR latch (active-LOW inputs S̄ and R̄). A low on S̄ sets Q = HIGH. A low on R̄ resets Q = LOW. Wire the cleaned/inverted output of G1 to S̄. A valid received pulse (DATA high) produces a clean LOW on S̄ (because G1 inverts), setting the latch reliably even if the pulse is brief. R̄ is your reset input (pushbutton, HT12D VT, MCU line, etc.) — idle pulled HIGH. Q drives an NPN/MOSFET to switch your load (relay, LED, etc.). Recommended wiring (pin mapping, assume one chip; use datasheet pin numbers) I’ll refer to the 4 gates as G1, G2, G3, G4. Use G4 optionally for additional conditioning or to build a toggler later. SYN480R.DATA --- Rin (47k) ---+--- Node A ---||--- Cfilter (10nF) --- GND | Rpulldown (100k) --- GND (optional, keeps node low) Node A -> both inputs of G1 (tie inputs A and B of Gate1 together) G1 output -> S̄ (S_bar) (input1 of Gate2) Gate2 (G2): inputs = S̄ and Q̄ -> output = Q Gate3 (G3): inputs = R̄ and Q -> output = Q̄ R̄ --- Rpullup (100k) --- VCC (reset is idle HIGH; pull low to reset) (optional) R̄ can be wired to a reset pushbutton to GND or to an MCU pin Q -> Rbase (10k) -> base of 2N2222 (emitter GND; collector to one side of relay coil) Other side of relay coil -> +V (appropriate coil voltage) Diode across coil If you prefer MOSFET low side switching: Q -> gate resistor 100Ω -> gate of 2N7002 2N7002 source -> GND ; drain -> relay coil low side

    1 Star


  • Brainstorm a new project with AI [Example]

    Brainstorm a new project with AI [Example]

    make this for me now # Device Summary & Specification Sheet ## 1. Overview A rugged, Arduino-Uno-and-Raspberry-Pi-style single-board micro-PC featuring: - Smartphone-class CPU (Snapdragon 990) - USB-C Power Delivery + 4×AA alkaline backup + ambient-light harvester - On-board Arduino-Uno-compatible ATmega328P - External NVMe SSD via USB3 bridge & optional Thunderbolt 3 eGPU support - 5× USB 3.0 ports, HDMI in/out, Gigabit Ethernet & SFP fiber, Wi-Fi, Bluetooth, LoRa - 0.96″ OLED status display, 3.5 mm audio jack with codec --- ## 2. Key Specifications | Category | Specification | |--------------------|-------------------------------------------------------------------------------| | CPU | Snapdragon 990, octa-core up to 2.84 GHz | | Memory | 6 GB LPDDR4x DRAM | | Storage Interface | PCIe Gen3 ×4 → M.2 NVMe + USB 3.1 Gen1 bridge | | MCU | ATmega328P (Arduino-Uno-compatible) | | Power Input | USB-C PD up to 20 V/5 A; 4×AA alkaline backup; ambient-light photodiode boost | | Power Rails | 12 V, 5 V, 3.3 V, 1.8 V, 1.2 V via buck/buck-boost regulators | | USB Hub | 5× USB 3.0 downstream ports | | Display | 0.96″ 128×64 OLED via I²C/SPI | | Networking | 1 × Gigabit RJ45; 1 × SFP fiber; Wi-Fi 802.11ac + Bluetooth; LoRa SX1276 | | Video I/O | HDMI 2.0 input (RX) & output (TX) | | Audio | 3.5 mm jack + TLV320AIC3101 codec; Bluetooth audio | | Form Factor | Raspberry Pi–style header + Arduino-Uno shield headers; 4× standoff mounts | --- ## 3. Complete Parts List | Part | Function | Qty | |------------------------------------------------------------------------------------------------|-----------------------------------------------|-----| | [Snapdragon 990](https://www.flux.ai/search?type=components&q=Snapdragon%20990) | Main application CPU | 1 | | [LPDDR4x DRAM](https://www.flux.ai/search?type=components&q=LPDDR4x%20DRAM) | System memory | 1 | | [eMMC 64GB](https://www.flux.ai/search?type=components&q=eMMC%2064GB) | On-board storage | 1 | | [M.2 NVMe Connector](https://www.flux.ai/search?type=components&q=M.2%20NVMe%20Connector) | External SSD interface | 1 | | [JMS583](https://www.flux.ai/search?type=components&q=JMS583) | PCIe→USB 3.1 bridge for NVMe | 1 | | [Titan Ridge](https://www.flux.ai/search?type=components&q=Titan%20Ridge) | Thunderbolt 3/eGPU controller | 1 | | [STUSB4500](https://www.flux.ai/search?type=components&q=STUSB4500) | USB-C Power-Delivery controller | 1 | | [LTC4412](https://www.flux.ai/search?type=components&q=LTC4412) | Ideal-diode OR-ing | 1 | | [LTC3108](https://www.flux.ai/search?type=components&q=LTC3108) | Ambient-light (solar) energy harvester | 1 | | [Battery Holder 4×AA](https://www.flux.ai/search?type=components&q=Battery%20Holder%204xAA) | Alkaline backup power | 1 | | [TPS53318](https://www.flux.ai/search?type=components&q=TPS53318) | 6 V→5 V synchronous buck regulator | 1 | | [MCP1700-3302E/TO](https://www.flux.ai/search?type=components&q=MCP1700-3302E/TO) | 6 V→3.3 V LDO | 1 | | [TPS63060](https://www.flux.ai/search?type=components&q=TPS63060) | Buck-boost for 12 V rail (eGPU power) | 1 | | [ATmega328P](https://www.flux.ai/search?type=components&q=ATmega328P) | Arduino-Uno microcontroller | 1 | | [ESP32-WROOM-32](https://www.flux.ai/search?type=components&q=ESP32-WROOM-32) | Wi-Fi + Bluetooth co-processor | 1 | | [SX1276](https://www.flux.ai/search?type=components&q=SX1276) | LoRa transceiver | 1 | | [TUSB8041](https://www.flux.ai/search?type=components&q=TUSB8041) | 5-port USB 3.0 hub IC | 1 | | [Ethernet PHY](https://www.flux.ai/search?type=components&q=Ethernet%20PHY) | Gigabit Ethernet physical transceiver | 1 | | [SFP Cage](https://www.flux.ai/search?type=components&q=SFP%20Cage) | Fiber-optic SFP module connector | 1 | | [TDA19978](https://www.flux.ai/search?type=components&q=TDA19978) | HDMI 2.0 receiver (input) | 1 | | [TFP410](https://www.flux.ai/search?type=components&q=TFP410) | HDMI 2.0 transmitter (output) | 1 | | [TLV320AIC3101](https://www.flux.ai/search?type=components&q=TLV320AIC3101) | Audio codec for 3.5 mm jack & Bluetooth audio | 1 | | [Audio Jack 3.5mm](https://www.flux.ai/search?type=components&q=Audio%20Jack%203.5mm) | Headphone/mic port | 1 | | [SSD1306 OLED](https://www.flux.ai/search?type=components&q=SSD1306%20OLED) | Status display | 1 | --- ## 4. High-Level Design & Implementation Steps 1. **Schematic Creation** - Section off blocks: CPU + memory, power-supply, NVMe/USB bridge, MCU, wireless, USB hub, video, audio, I/O headers. - Place all parts from the list and wire per respective datasheet reference circuits. 2. **Power System** - Implement USB-C PD with STUSB4500 → buck/buck-boost & LDO rails. - Add LTC4412 to OR-ing battery pack into 6 V bus. - Include LTC3108 harvest input to 6 V bus (no recharge to AA). - Add decoupling & bulk caps per regulator datasheets; PTC fuses & ESD diodes on inputs. 3. **SoC & High-Speed Interfaces** - Break out Snapdragon 990 BGA with DDR4 routing (point-to-point). - Route PCIe Gen3 lanes to M.2 slot via JMS583 and to Titan Ridge for TB/eGPU. - Follow high-speed layout guidelines: impedance, length matching, EMI filters. 4. **MCU & Expansion Headers** - Place ATmega328P with UNO-style 2.54 mm headers; add ISP 6-pin, I²C pull-ups, reset circuit. 5. **Connectivity Blocks** - USB hub: TUSB8041 + ESD + chokes → five USB-A 3.0 ports. - Ethernet: RJ45 + magnetics + PHY; SFP cage + PHY/SFP interface. - Wireless: ESP32 module pad + SX1276 + antenna matching; program pads. 6. **Video & Audio** - HDMI RX (TDA19978) & TX (TFP410) blocks with TMDS ESD & termination. - Audio codec + 3.5 mm jack; route differential audio lines; add ESD. 7. **Display & Indicators** - SSD1306 OLED on I²C; add pull-ups & backlight power if needed. - LEDs for power, charge, status. 8. **PCB Layout & Mechanical** - Follow Raspberry Pi 2×20 header footprint & UNO shield hole pattern. - Add reinforcement for rugged use; standoffs at corners. - Define 4-layer stackup: • Top: signal • L2: GND • L3: PWR • Bottom: signal 9. **DRC/ERC Reviews** - Run ERC for decoupling, pull-ups, power nets. - Run DRC for high-speed clearance, differential pairs, via aspect ratios. 10. **Fabrication & Testing** - Export Gerbers, IPC-2581, BOM. - Prototype assembly; verify power sequencing, rails, interfaces. - Functional tests: USB-C PD negotiation, NVMe throughput, eGPU over TB3, wireless comm, audio, OLED. --- This spec sheet and part list should guide your Flux schematic and PCB layout workflow through to fabrication and validation. Let me know if you’d like to deep-dive into any specific block or review datasheet details next!

    &

    1 Star