Chat
Welcome to Flux
Treat Flux like your intern. Tell it what you'd like to build and it'll get to work. You can also ask it questions, brainstorm ideas, and teach it your preferences. Learn More
Ready.
Reviews
Properties
Properties describe core aspects of the project.
Pricing & Availability
Distributor | Qty 1 |
|---|---|
Digi-Key | $14.63–$23.80 |
LCSC | $38.38–$38.48 |
Mouser | $31.39 |
Assets
No assets added.
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.
pellzo
copilot
- Connect J1:VBUS4 to IC1:VBUS for power input. (VBUS4 is chosen arbitrarily among VBUS pins based on your setup; any VBUS pin can serve the purpose if VBUS4 isn't specifically required elsewhere.)
- Connect J1:GND4 to IC1:GND to complete the power circuit. (Similarly, any GND pin would work if GND4 isn't specifically needed elsewhere.)
For the Buttons and Rotary Encoder to U1 (ESP32):pellzo
copilot
pellzo
copilot
pellzo
copilot
- VBUS Power Input:
- Connect J1:VBUS1 (you can choose any of the VBUS pins: VBUS1, VBUS2, VBUS3, or VBUS4) to IC1:VBUS. This connection will allow IC1 to receive power from the USB-C port for charging the battery and running the system.
- Connect J1:GND1 (similarly, you can use any of the GND pins: GND1, GND2, GND3, or GND4) to IC1:GND. This completes the ground path for USB-C power input.
Hypothetical Battery Connector (J2) to IC1:- Assuming J2 is a battery connector with PIN1 as positive and PIN2 as negative.
- Connect J2:PIN1 to IC1:VBUS. It will allow IC1 to draw power from the battery when USB-C is not connected.
- Connect J2:PIN2 to IC1:GND.
Buttons (SW1, SW2, and SW3) and Rotary Encoder (SW1) to ESP32 (U1):- Assuming digital IO pins of ESP32 are used for button inputs with internal pull-up resistors enabled in software:
- Rotary Encoder (SW1):
- Connect SW1:A to U1:IO14.
- Connect SW1:B to U1:IO12.
- Note: SW1:MP1 (the pushbutton part of the encoder) should be connected to ground (U1:GND) via a separate connection if it's intended to be used.
- Button 1 (SW2):
- Connect SW2:P1 to U1:IO15.
- The other pin of SW2 (likely PIN2 or PIN3 based on naming) would go to U1:GND. (Adjust accordingly if the SW has different pin names.)
- Button 2 (SW3):
- Connect SW3:P1 to U1:IO16.
- The other pin of SW3 similarly connects to U1:GND.
Important Considerations:pellzo
copilot
- When USB-C is Connected (and Power is Available): The IC will utilize power from the USB-C to run the system and charge the battery simultaneously. The power does not flow directly from USB-C to the battery; instead, IC1 controls the charging process, ensuring safe charging parameters are met.
- When USB-C is Disconnected: The IC automatically switches to battery power, supplying the system from the battery.
Direct Connection:- The direct connection of both J1 (USB-C VBUS) and J2 (Battery positive) to IC1:VBUS is by design, as IC1 internally manages these inputs. It does not mean there's an unprotected electrical path from USB-C to the battery or vice versa. IC1's internal circuitry is designed to safely manage power inflow from USB and battery outflow when needed, incorporating protections like overvoltage, overcurrent, and thermal protection.
Conclusion: