I Made a Boost Controller with a ESP32C3 (+ first custom PCB)

I Made a Boost Controller with a ESP32C3 (+ first custom PCB)

tried reposting from r/esp32:

What this basically is is a PID controlled PWM Solenoid driver, running on a C3 SuperMini. Designed my first PCB for this (with some mistakes ofc) and decided to use a TC4422 mosfet driver. Also included a 5V supply to be able to plug it into my cars 12v system. Code was mostly written by an LLM, including the Webserver which this is running for setting Target and PID parameters. (I'm a real newbie with all of this) I'm already working on rev2 which I'm gonna post on GitHub solving all my issues with this one. (https://github.com/ziraw).

I've tested the perfboard prototype on my car already (1989 200SX CA18DET) with a BMW N75 Boost Valve strapped to my waste gate and it seems to work perfectly, just not getting enough air through the OEM Airbox though atm, hitting a ceiling of 0.9bar. Gonna install this soon and see what it does. I/O: 12v,5v,sensor(i/o), valve.

The only thing this doesn't include ATM is a pressure sensor, I'm grabbing it off of my boost gauge. But the IO has a 5V supply for any type of sensor to be hooked up directly, the code might need adjusting through. It's currently Ov=-1 / 5V=+4 bar (Scaled to 3.3V and divided by 1.1 since that seems to reflect what my gauge is saying more accurately).

I don't specifically know why I made this, just thought it couldnt be that hard and I haven't seen anything like this, besides what maybe Speeduino and rusEFI are doing. If this already exists I'd love the be informed :-)

Cheers

(disclaimer: might blow up your engine)

u/ziraw_tech — 2 days ago
▲ 99 r/Speeduino+2 crossposts

I Made a Boost Controller with a ESP32C3 (+ first custom PCB)

What this basically is is a PID controlled PWM Solenoid driver, running on a C3 SuperMini. Designed my first PCB for this (with some mistakes ofc) and decided to use a TC4422 mosfet driver. Also included a 5V supply to be able to plug it into my cars 12v system. Code was mostly written by an LLM, including the Webserver which this is running for setting Target and PID parameters. (I'm a real newbie with all of this) I'm already working on rev2 which I'm gonna post on GitHub solving all my issues with this one. (https://github.com/ziraw).

I've tested the perfboard prototype on my car already (1989 200SX CA18DET) with a BMW N75 Boost Valve strapped to my waste gate and it seems to work perfectly, just not getting enough air through the OEM Airbox though atm, hitting a ceiling of 0.9bar. Gonna install this soon and see what it does. I/O: 12v,5v,sensor(i/o), valve.

The only thing this doesn't include ATM is a pressure sensor, I'm grabbing it off of my boost gauge. But the IO has a 5V supply for any type of sensor to be hooked up directly, the code might need adjusting through. It's currently Ov=-1 / 5V=+4 bar (Scaled to 3.3V and divided by 1.1 since that seems to reflect what my gauge is saying more accurately).

I don't specifically know why I made this, just thought it couldnt be that hard and I haven't seen anything like this, besides what maybe Speeduino and rusEFI are doing. If this already exists I'd love the be informed :-)

Cheers

(disclaimer: might blow up your engine)

u/ziraw_tech — 2 days ago

Help With PID Mosfet Control

Schematic

Hi. So first of all this Schematic is obviously not for manufacturing, just for me to keep an overview.

This is supposed to be a PID controller at it's core for a Cars Boost control. I was wondering if i had anything wrong here, since I'm kinda stuck at an impass, too many error variables and no results. This is my first real PCB and coding project, so i'm ai-slopping a lot here, and any help would be much appreciated. I'll post a picture of the actual PCB in the comments.

reddit.com
u/ziraw_tech — 20 days ago

Change Symlinks/App icons

Hi, running nobara and KDE plasma, how exactly would i go about changing app icons? right click > properties > 'click icon' isn't clickable, tried with gio metadata::custom-icon still no change, even after relaunch. What am I missing? TIA

reddit.com
u/ziraw_tech — 2 months ago

Crash on window resizing

Having a graphics issue like this every time I resize a window and drag one of its edges to a screen border... is this known?

u/ziraw_tech — 2 months ago