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

Explain project
Write a project description
Find schematic issues
Create a test plan
Simulate a circuit
Prepare for Manufacturing
Component Selection Workflow
New Subsystem Wizard
Write I2C initialization code
Generate firmware skeleton
Module1
Module2
Looks like ESP-NOW is a good way to get battery data from one device to another

Someone is typing...
15
Reference Design Pg.1 https://storage.googleapis.com/flux-comment-files/files/...

Someone is typing...
8
Use this website to generate battery levels on the LCD display. https://mischian...

Someone is typing...
12
is LRCLK the same as WS for I2S?

Someone is typing...
20
Will likely use these parts: LED LED Cone

Someone is typing...
23
03/29/24 Test Results with 3V-3.7V forward Voltage LED: From a human perspectiv...

Someone is typing...
36
size based on equation: (222\*VDD-100)

Someone is typing...
19
Don't forget kelvin traces when routing https://storage.googleapis.com/flux-comm...

Someone is typing...
4
Cold start of buck boost converter with 4V input 100mA current limit https://cd...

Someone is typing...
30
what is R13 in the voltage divider with a ratio of 5V/3.3V assuming R14 is 10kO...

Someone is typing...
25
Could build our own CC buck converter with the ESP32-C3. Max PWM is 40MHz with 1...

Someone is typing...
3
This part has up to a 18% error at 2.5A on VSENSE. Worst case scenario, the buck...

Someone is typing...
6
roast my design

Someone is typing...
26
No load, 4V input, buck operation Yellow is input, Purple is output @copilot ex...

Someone is typing...
33
https://files.seeedstudio.com/wiki/XIAO\_WiFi/pin\_map-2.png

Someone is typing...
16
what is VFB for IC1?

Someone is typing...
39
In the image below, the purple signal is the 3.3V output of the buck boost conve...

Someone is typing...
28
V1 Mistake: Forgot to put pullup resistor on PG of this buck boost converter.

Someone is typing...
29
I want f to be greater than 400kHz. D = 0.02, Vout = 3.3V, Iout=2.5A. What value...

Someone is typing...
10
please provide me with c macros of the format #define MACRO\_NAME VALUE where th...

Someone is typing...
34
GAIN\_SLOT unconnected = 9dB gain. Refer to page 5 of datasheet https://storage...

Someone is typing...
21
Buck converter CC reference design

Someone is typing...
5
IC1 is a buck boost converter that uses a current sense amplifier to set a curre...

Someone is typing...
40
what is the minimum common mode operating voltage to power the analog circuitry ...

Someone is typing...
38
Buck 4V input no load https://cdn2.flux.ai/flux-comment-files/files/commentFile...

Someone is typing...
31
can play mp3s on SPIFFs using this library But maybe should also include SD Car...

Someone is typing...
17
With only 50mW through the sense resistor, consider an alternative that is sligh...

Someone is typing...
7
Can you calculate Ipeak? Iout is about 2.5A, D is about 0.02 and VIN is 2.8V. Th...

Someone is typing...
9
R1MON @ 2.5A = 2.5\*0.008 = 0.02V U2M\_IOUT @ 2.5A = 0.004\*0.02 = 0.00008 A V...

Someone is typing...
37
Ref Design: img

Someone is typing...
18
design me a voltage divider for a battery monitor. My LiIon cell goes up to 4.2V...

Someone is typing...
24
PG is open drain and needs a pullup resistor on the 3.3V net for the ESP32-C3

Someone is typing...
11
C1
Capacitance
0.1uF
C4
Capacitance
0.1uF
C9
Capacitance
0.1uF
C12
Capacitance
10uF
C2C
Capacitance
22uF
Voltage
10 V
C1A
Capacitance
10uF
Voltage
10 V
C1B
Capacitance
10uF
Voltage
10 V
C2A
Capacitance
22uF
Voltage
10 V
C2
Capacitance
10uF
C2D
Capacitance
22uF
Voltage
10 V
C11
Capacitance
22uF
Voltage
10 V
C2B
Capacitance
22uF
Voltage
10 V
C14
Capacitance
0.1uF
C10
Capacitance
10uF
C3
Capacitance
10uF
IC2
I2S_DIN
+3.3V_BUCK_BOOST_PG
LED_CC_2.5A_PG
VBATT_MON_10/43
I2S_BCLK
VINA
I2C_SDA
I2S_BCLK
SPK_N
LED_CC_2.5A_EN
I2S_BCLK
+3.3V_BUCK_BOOST_PG
SPK_N
VINA
I2C_SCL
+3.3V_BUCK_BOOST_PG
VBATT_MON_10/43
IC1_FB
LED_CC_2.5A_EN
I2S_LRCLK
LED_CC_2.5A_PG
I2S_DIN
I2S_LRCLK
I2S_LRCLK
5V_MON_50/33
SPK_N
5V_MON_50/33
I2C_SDA
I2C_SCL
SW_DIGITAL
I2S_DIN
SPK_P
VBATT_MON_10/43
SPK_P
SW_DIGITAL
IC1_FB
I2C_SCL
5V_MON_50/33
SPK_P
I2C_SDA
+3.3V
+3.3V
LED_CC_2.5A
VBATT_5V_SW
R15
Resistance
10kΩ
+3.3V
R7
Resistance
4.7kΩ
+5V
R13
Resistance
5.6kΩ
GND
R1IMON
Resistance
8mΩ
Power
1 W
VBATT
+3.3V
VBATT_5V_SW
VBATT_5V_SW
R16
Resistance
100kΩ
+3V3
R9
Resistance
1.2kΩ
+3.3V
R6
Resistance
4.7kΩ
R2SET
Resistance
15.8kΩ
VBATT
R12
Resistance
10kΩ
+3.3V
VBATT_5V_SW
R14
Resistance
10kΩ
VBATT_5V_SW
R10
Resistance
1.2kΩ
VBATT
+5V
R8
Resistance
1.2kΩ
R4
Resistance
10kΩ
VBATT_5V_SW
VBATT_5V_SW
+3.3V
R3
Resistance
10kΩ
+3.3V
LED_CC_2.5A
LED_CC_2.5A
R5
Resistance
634kΩ
+3.3V
+5V
R11
Resistance
33kΩ
VBATT
CHG
Mounting Holes
Line 1
M2.5
Line 3
Line 3
Microcontroller
Line 1
XIAO ESP32-C3
J2
U2M
H4
STDBY
Constant Current Source
Line 1
Buck Converter with Current Amplifier in Feedback Path
J1
H3
Display Breakout
Line 1
SSD1306 I2C Display
Input Power Stage
Line 1
Battery and Load Switch
Line 2
3.3V Buck Boost
Line 3
Line 3
H1
Audio Stage
Line 1
I2S Class D Amp and Cheap Speaker
H2
Battery Stage
Line 1
1S Li-Ion Charger
Line 2
Resistor Divider for Voltage Measurement
Line 3
Line 3
Test Interface
Line 1
Increase Layer count to 4 Layer and route these signals on internal layers
U4
U3
SPK1
OLED1
L1
Inductance
1uH
ISAT
7 A
IC1
BT1

No files yet

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    svg

    Mark Wu.svg

    Mark WuDefault
    svg

    FluxLogoTransparent.svg

    FluxLogoTransparent
    FlashlightIcon.png

    FlashlightIcon.png

    FlashlightIconThumbnail

    Lethal Company Pro Flashlight Power Board V1

    Lethal Company Pro Flashlight Power Board V1 thumbnail
    Lethal Company Pro Flashlight
    Broken Features:
    • U2M cannot be line powered from this circuit so the LED driver does not regulate.
    -Ultra bright -Makes click noise from speaker -Wirelessly transmits battery life (maybe use Ubo to receive this) -Drive a SST-40 Chinese LED
    I want this thing to be super bright! The brighter the better, but keep it simple.
    These LEDs will draw a lot of power, so we need some sort of CC source. It doesn't have to have high bandwidth.
    I am thinking about a DIY microcontroller buck converter with PID duty cycle control.
    Mistakes in this V1 design:
    • No pullup resistor on PG of Module1

    Pricing & Availability

    Distributor

    Qty 1

    Digi-Key

    $9.13–$12.61

    LCSC

    $5.31–$5.36

    Mouser

    $13.90

    Controls