Bathroom mirror touch sensor for esp8266 or esp32

Does somebody have actual experience with a touch sensor with LED backlight that will work for a 6 mm thick bathroom mirror and with esp8266 or esp32?

I have a large bathroom mirror with 2 (engraved) touch sensor ereas, surround LED lights (CCT) and a mirror defogger (220v controlled by a relay).

I have removed the original (double) touch sensor, which is a all-in-one PCB with sensors, LED PWM dimming and defogger relay and want to replace that with an esp32 for touch, PWM dimming and defogger relay. CCT LED surround lighting and defogger work fine, but the cheap Aliexpress sensor I am using now is not sensitive enough and does not diffuse the led-backlight for the touch area good enough.

I am trying to mimic this (just our mirror has 2 touch sensors):

image

I haven’t actually used these with a mirror but a toughened glass panel of about 4mm thickness: HTTM capacitive touch switch (like this one).
Only disadvantage using these is that the light only turns on when you touch the button, i.e. you cannot turn on the light automatically through the ESP.

If possible, could you share some photos or a link of this thing?
Maybe you could repurpose (part of) this thing by using the touch sensor to trigger some ESP setup, and then use your ESP setup to trigger light and defogger… so that to “smartify” the whole thing?

Hi, it’s in the bin. It was not possible to repurpose it (single chip solution with serial communication) and the sensor broke when removing it.

I checked your link but this sensor is exactly the one I tested. It won’t work on the 6mm mirror.

Anybody? I still need a solution that will work behind 6mm mirror glass.

I had success with such a touch sensor behind ~6mm of wood - not sure how it will perform behind your mirror glass…

image

I have tried those, but they do not seem to work behind 6mm of glas.

Used the same sensor with my mirror. Doesn’t works because always on(

What about an IR sender and receiver?

It might just work if you can aim both sides of the sensor through the etched gaps.

I Am trying the same thing. But still quite noobie with hardware. I have the following touch controller which I want to replace with a esp32 so I can also control it via Home Assistant.
This is what the touch controller looks like:

Anyone has any idea what would be the best steps to follow?

Could it maybe has something to do with the springs that were behind the PCB? That those help registering the push on the button?

I have tried several options and none seem to be sensitive enough to get through 6mm mirror glass and fit within the existing cutout (the etched part for the sensor)

i want to use these sensors for normal switch board my Final Year Project is Server Based Home Automation but i tried Diffrent codes but none of them working with my ESP8266 i need Some Guidence from Your Side Can any one help me to build the code?

Did you end up finding a solution? I have 3 similar mirrors that I want to also control with HA

I have ordered a bunch of sensors, but have been unable to test them thus far. As soon as I do, I’ll let you know.

1 Like

I had some time to test the sensor, but non of them work properly.

It’s only 6mm of mirror glas, so I don’t know why I can’t get this to work.

The ones I tested:
https://s.click.aliexpress.com/e/_DeJvBUj
https://s.click.aliexpress.com/e/_DBKV9xt
https://s.click.aliexpress.com/e/_DdCSSE7 (12V TTP223)
https://s.click.aliexpress.com/e/_DdCSSE7 (OE-TP)

None of these worked reliable trough the mirror glas

Hi, was it easy to dismantle without breaking anything?
I also have the same mirror

I used a heat-gun to dissolve the hot glue that was used to glue the original touch-pcb and housing and then cleaned up using some cleaning petrol.

It’s clean now. For now I have used a gledopto zigbee CW/WW controller to control the warm white and cold white LED using the original 24v power supply./ That works great.
https://s.click.aliexpress.com/e/_DlUKWNh

The mirror heating is now controlled by a zigbee OnOff switch:
https://s.click.aliexpress.com/e/_DmF0s4r

I now just want to add an esp32 with 2 LED touch switches so I can have those control anything I want.

If anyone has some brilliant idea, please let us know :slight_smile:

1 Like