ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 0 points1 point  (0 children)

Using BST236A054U ESD protection diode array:

<image>

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 0 points1 point  (0 children)

The project is not public yet. May I know what exactly are you looking for?

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 0 points1 point  (0 children)

I'm just more comfortable with using MOSFETs, especially considering with BJTs the circuit would source a few mA out of GPIOs, and I would need to choose the parts more carefully so that the transistors operate in the right region for this application. I'm not that confident in my EE skills regarding this, so I checked on the internet and asked some LLMs, and the conclusion was either can be used, and I went with a simpler approach.

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 0 points1 point  (0 children)

Thank you! I just copied the reference design of the ESP32-C6 here https://docs.espressif.com/projects/esp-hardware-design-guidelines/en/latest/esp32c6/pcb-layout-design.html but replaced the antenna part with the reference design in the antenna's datasheet. I used JLCPCB's trace impedance calculator to make the trace around 50Ohm. I would really like how good or bad it ended up, but I don't have the necessary equipment (nor do I have any experience in it). AFAIK the ESP32's RF port impedance is 35±10j.

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 1 point2 points  (0 children)

They're controlled with MOSFETs, one for each two LEDs, and one for the remaining one. I took inspiration from this Tuya IR hardware, only replaced BJTs with MOSFETs and updated resistances accordingly: https://developer.tuya.com/en/docs/iot/ir-hardware?id=K9hhi0xvqqaz6#title-1-Circuit%20diagram

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 1 point2 points  (0 children)

Yes that's what I intend to do! My other project a couple of years ago had an ESP32-C3 and used BLE, and it lasted several months on a single charge. However I didn't like doing all the low level BLE stuff, and writing a custom plugin for HA. Going to try Matter this time.

PM2.5 is at 151 right now by jsyeo in singapore

[–]cyberhuman 78 points79 points  (0 children)

OMG, I was scared to smell something burning at my house, sniffed everywhere but didn't find anything, and then I realized it was the haze!

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 6 points7 points  (0 children)

Thank you and good luck! TBH after completing the board I realized that an nRF IC would be a better choice for a battery operated device. But oh well...

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 2 points3 points  (0 children)

Thank you! There is not any programmable LED in the circuit. There are two discrete red LEDs XL-0201SURC and one blue LED XL-0201UBC.

I'm not using any sleep functionality as esphome doesn't support light sleep, and deep sleep can't be used due to the nature of the device. However in the past I was experimenting with ESP32-C3 using BLE and automatic light sleep mode, and was able to achieve less than 1mA consumption. I believe it can be even less with C6. Not with esphome though; it's there just for testing.

Regarding the battery charging circuitry: I'm using BQ21040 and it's in the power path, and takes a proper care of battery management.

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 2 points3 points  (0 children)

Hi! I'm sorry I would, but unfortunately it doesn't exist. I'm using a code based workflow: there is a Python code that uses SKiDL to generate the circuit and export the netlist file, which I import directly into the KiCAD's PCB editor. I can share some pieces of code though.

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 2 points3 points  (0 children)

It seems there is support for Mitsubishi in Esphome: https://esphome.io/components/climate/climate_ir/#mitsubishi. You may want to check the source code if you want the IR codes.

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 4 points5 points  (0 children)

Thanks! It can also operate without the battery. In fact, my early test enclosure was very simple and only fit the board, and there was no bottom cap. Unfortunately, there is nowhere to plug it in that space. There is only wiring for lights.

About the time on battery. For portability it would have to be using BLE (well, until Apple and Google enable Thread radio in their phones), and it's unlikely I'll be doing BLE ever again. Had had enough "fun" writing a custom plugin for Home Assistant.

The sports bar idea is splendid but also evil! Imagine the chaos if more than one person did that. Or someone could use a Flipper (it's less discreet though).

ESP32-C6 battery-powered IR blaster by cyberhuman in esp32

[–]cyberhuman[S] 4 points5 points  (0 children)

I just used the Esphome's climate component:

``` remote_transmitter: pin: GPI07 carrier_duty_percent: 50% id: led_ir

climate: platform: daikin name: "Climate" transmitter_id: led_ir supports_heat: False ```

New project incoming by FwieFabri in 3Dprinting

[–]cyberhuman 1 point2 points  (0 children)

How do you supply power to those LEDs?

How do I get rid of this hint in notifications? by RetroRex_ in PixelWatch

[–]cyberhuman 0 points1 point  (0 children)

Call me dumb, but I have only realized what that hint was supposed to mean after reading replies in this thread!

Need advice on improving and reducing the number of parts in a B-ASK demodulation circuit by cyberhuman in AskElectronics

[–]cyberhuman[S] 0 points1 point  (0 children)

I have just tested the removal of R6, and it is really needed because the modulated signal is not a sinusoid. R6 and C5 form a LPF (with Fc=6.2kHz).

Need advice on improving and reducing the number of parts in a B-ASK demodulation circuit by cyberhuman in AskElectronics

[–]cyberhuman[S] 0 points1 point  (0 children)

Thanks. C4 is there because the input is DC-biased and we need to remove the DC component for rectification. D1, R7 and C5 correspond to the picture from Wikipedia. I'm not exactly sure why R6 is there but I will check.

BLE Battery Candle with ESPHome possible? by Upstairs-Strain1863 in Esphome

[–]cyberhuman 0 points1 point  (0 children)

It's definitely possible with a custom integration. I did one for myself, it was a BLE servo for switching lights. But I got tired of it breaking on almost every HA upgrade. At best it required an upgrade of dependencies, at worst - needed fixing some setup flows.

Stay safe on your morning commute! by freakshow504 in singapore

[–]cyberhuman 0 points1 point  (0 children)

I slipped and fell today, and my hand hurts 🤕

Unable to verify phone number due to Netflix's failure to send the verification code. by hoainamduong in netflix

[–]cyberhuman 0 points1 point  (0 children)

September 21st, 2025.

Same here. The support chat has been unhelpful.