• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Wall touch cct led controller - capacitive touch mcu

Muszek96

New Member
I am looking for any datasheet for mi-light p2 touch switch capacitive touch mcu. It's connected by I2C to other mcu - STM8S003F3P6 witch drives mosfets etc. I was able to connect to it with arduino and after I2C scan I got it's adress - 0x53, the pins are 10 - gnd, 9 - Vin, 10 - sck, 11 - sda and 8 output's low when sensor is touched. I am trying to use this wall touch switch to controll light's trough wifi, that's why I want to 'talk' with mcu by it's i2c bus. The mcu itself hasn't any markings on it.
IMG_20200228_043738.jpg
 

Muszek96

New Member
Unfortunately it's not any of these. Anyway I have done i2c sniffing to read what data STM8S003F3P6 sends to this mcu and I got all register values from there. Successfully I got it working after sending this values from Arduino as I2C master.
That's what was sniffed from master mcu:

Code:
[A6+C0+00+04+17+00+]
[A6+C1+00+04+17+00+]
[A6+C2+00+04+17+00+]
[A6+C3+00+04+17+00+]
[A6+C4+00+04+17+00+]
[A6+C5+00+04+17+00+]
[A6+C6+00+04+2A+00+]
[A6+C7+00+04+24+00+]
[A6+C8+00+04+24+00+]
[A6+C9+00+04+24+00+]
[A6+CA+00+04+32+00+]
[A6+CB+00+04+1A+00+]
[A6+CC+00+04+1A+00+]
[A6+CD+00+04+1A+00+]
[A6+CE+00+04+2F+00+]
[A6+CF+00+04+2F+00+]
[A6+D0+00+02+05+00+]
[A6+E0+00+00+00+00+]
[A6+91+22+25+86+]
Mcu sends back 5 bytes response. Maybe somebody could use this informations to find right datasheet.

Code:
[A7+02+00+08+00+00-]
[A7+02+00+00+00+00-]
[A7+02+00+04+00+00-]
[A7+02+00+00+00+00-]
[A7+02+00+02+00+00-]
[A7+02+00+00+00+00-]
[A7+02+00+01+00+00-]
[A7+02+00+00+00+00-]
[A7+02+00+10+00+00-]
 

EE World Online Articles

Loading

 
Top