
Home Ambient
abrahanlp/Home-Ambient
2-wire home thermostat with temperature, humidity, pressure and air quality measures.

AC Dimming using an ESP32 with async Rust
SmartDimmer is an open-source printed circuit board by Alex3404, from the Alex3404/Wakeup-Light-Dimmer repository on GitHub. It is a 6-layer board of 50 × 50 mm with 69 parts on 86 nets, routed with 30 tracks and 7 vias.
It is built around the ESP32-C6-MINI-1U-H4, IRM-03-5 and R05C1TF05S-R, with the 1EDB7275F, MIC23050-SYML-TR and LTV-354T-A among its other parts. Its parts include 17 capacitors, 13 resistors, 10 ICs, 6 transistors and 5 connectors. It belongs with the ESP32 and RISC-V boards of this library.
A custom designed board using the ESP32 SoC, with an AC Dimming module. Before I get into the details I'd like to cover some of the backstory of this project. During my 2026 semester at my universtity, I had very early classes, and since it was till in the winter the sun doesn't come up by the time I need to wake up. I was reading some information online that waking up to a light is more natural way to wake up since it would memic the typical sun rise/sun set that humans evolved in. So I put that to the test, I had this smart light from Eufy and I programmed it to turn on 20-30minutes before I had to wake up. I saw that I woke up less grogy and more energietic in the mornings. However the biggest con with this approch was that there was no fade option. No way to graudually increase the light only pulse effects. So, I decided to fix this problem myself. I saw that I had an over head light in my room, and a light switch that could be dimmable. Why not combine a sunrise alarm clock with a light switch dimmer? So I got to work. This is project is the result of that question.
I landed on the ESP32 for a few main reasons: its direct support for writing in Rust supporting Embassy, its diverse set of peripherals, and that it has WiFI & Bluetooth Module. This repo has the Rust project in its root directory, I've split a few different operations into packages. A application library for unit testing my code, a binary that loads the appliction library on the ESP32, a supporting async storage-derive for the async app state storage driver using the ESP32 NVS partition, and a crate sequental storage built for writing in the format the ESP32 expects.
My project uses the Slint UI framework for compiling the UI files into the native executable.
Currently I'm still working on this project as a solo adventure. If you have issues with it or find any bugs open an issue! I'll get to it. Right now I am still working on the PCB design, Ive gone through 4 iterations now on the PCB, with the last two not working at all for trivial reasons. Once I didn't impedence match the USB data traces to 90 ohms, and another time I shorted the VCC and Ground layers ( Facepalm ). I'm working on PCB design that should work, and will incorperate all my plans.
I'm also working on the firmware currently I am striving towards getting WIFI and bluethooth to work, then after that I'd love to focus on an Phone application inorder to configure alarm times, and other options exposed though either WIFI or Bluetooth. I'm leaning towards Bluetooth due to WiFi insecurities relating to IoT devices. Supporting only bluetooth should reduce the attack vector.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | TestPoint | TestPoint:TestPoint_Pad_D1.0mm | 5V_ISO1, 5V4, 5V5, FET_GATE1, GND_ISO1, GND2, LAMP1 |
| 6 | 100nF | Capacitor_SMD:C_0402_1005Metric | C14, C16, C17, C20, C22, C23 |
| 5 | 10uF | Capacitor_SMD:C_0805_2012Metric | C1, C11, C15, C18, C19 |
| 4 | SSF2320Y | Package_TO_SOT_SMD:SOT-523 | Q5, Q6, Q7, Q8 |
| 3 | 3.3k | Resistor_SMD:R_0402_1005Metric | R11, R17, R22 |
| 3 | Conn_01x01 | Footprints:Solder_Conn_01x01 | J4, J5, J6 |
| 3 | PUSB3AB4Z | Samacsys:SON50P100X250X50-10N | D4, D5, D6 |
| 2 | 100Ω 1W | Resistor_SMD:R_1206_3216Metric | R6, R21 |
| 2 | 1uF | Capacitor_SMD:C_0402_1005Metric | C4, C6 |
| 2 | 2/3W 47kΩ | Resistor_SMD:R_1206_3216Metric | R1, R2 |
| 2 | 5.1k | Resistor_SMD:R_0402_1005Metric | R3, R4 |
| 2 | IPN70R600P7SATMA1 | Samacsys:IPN70R600P7SATMA1 | Q1, Q2 |
| 2 | TL3365AF180QG | Samacsys:TL3365AF180QG | SW5, SW6 |
| 1 | 100 | Resistor_SMD:R_0402_1005Metric | R13 |
| 1 | 10k | Resistor_SMD:R_0402_1005Metric | R15 |
| 1 | 1EDB7275F | Samacsys:SOIC127P600X175-8N | IC4 |
| 1 | 2.2uH | Inductor_SMD:L_1008_2520Metric | L1 |
| 1 | 20k | Resistor_SMD:R_0402_1005Metric | R9 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric | C10 |
| 1 | 4.7uF | Capacitor_SMD:C_0402_1005Metric | C2 |
| 1 | 520pF | Capacitor_SMD:C_0402_1005Metric | C9 |
| 1 | 68K | Resistor_SMD:R_0402_1005Metric | R7 |
| 1 | B32921C3104M000 | Capacitor_THT:C_Rect_L13.0mm_W6.0mm_P10.00mm_FKS3_FKP3_MKS4 | C21 |
| 1 | B72210S2271K101 | Varistor:RV_Disc_D12mm_W5.4mm_P7.5mm | MOV3 |
| 1 | BATTERY | Connector_JST:JST_SH_BM02B-SRSS-TB_1x02-1MP_P1.00mm_Vertical | J7 |
| 1 | Crystal_Small | Crystal:Crystal_SMD_MicroCrystal_CM9V-T1A-2Pin_1.6x1.0mm | Y2 |
| 1 | ESP32-C6-MINI-1U-H4 | Samacsys:ESP32C6MINI1UH4 | IC3 |
| 1 | Fuse | Footprints:3561KTR_SMD_FUSE_CLIP | F5 |
| 1 | IRM-03-5 | Converter_ACDC:Converter_ACDC_MeanWell_IRM-03-xx_THT | U2 |
| 1 | LTV-354T-A | Package_SO:SO-4_4.4x3.6mm_P2.54mm | U3 |
| 1 | MAIN_PWR_ST | Diode_SMD:D_0603_1608Metric | D14 |
| 1 | MCP73831-2-MC | Package_DFN_QFN:DFN-8-1EP_3x2mm_P0.5mm_EP1.7x1.4mm | U7 |
| 1 | MIC23050-SYML-TR | Snapeda:MLF-8_ML_MCH-L | U1 |
| 1 | NC7WZ14P6X | Package_TO_SOT_SMD:SOT-363_SC-70-6 | U8 |
| 1 | NCV68261 | Package_DFN_QFN:DFN-6-1EP_2x2mm_P0.65mm_EP1.01x1.7mm | U5 |
| 1 | NUF2221W1T2G | Samacsys:SOT65P210X110-6N | IC1 |
| 1 | PCF85063ATL | Package_DFN_QFN:DFN-10-1EP_2.6x2.6mm_P0.5mm_EP1.3x2.2mm | U6 |
| 1 | R05C1TF05S-R | Snapeda:CONV_R05C1TF05S-R | PS2 |
| 1 | USB-C-16Pin | Connector_USB:USB_C_Receptacle_GCT_USB4110 | J2 |

abrahanlp/Home-Ambient
2-wire home thermostat with temperature, humidity, pressure and air quality measures.






qfreiman/iso-usb2pwrd
compact USB-C 2.0 Isolator with 1W Power Passthrough

golioth/elixir-hw
An open source hardware device that has cellular, wifi, bluetooth, GPS, and more!
It measures 50 × 50 mm and has 6 copper layers, 1.56 mm thick.
69 parts, built around the ESP32-C6-MINI-1U-H4, IRM-03-5, R05C1TF05S-R and 1EDB7275F. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the Alex3404/Wakeup-Light-Dimmer repository on GitHub, at the commit this page was made from: the board is board/SmartDimmer.kicad_pcb and its schematic board/AC_DC_Power.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask Alex3404 before reusing the design.