Search found 6 matches

by hrsales
Thu May 30, 2019 12:02 am
Forum: Drivers for External Components
Topic: Communication with 16 key capacitive keyboard - TTP229-B
Replies: 9
Views: 6320

Re: Communication with 16 key capacitive keyboard - TTP229-B

It works! Thanks jimmo and dhylands. I appreciate your help with this question. The key of this mistery was time. After frist scl.on() (outside loop), has a time.sleep_ms(5); After scl.off() (inside loop), has a time.sleep_ms(1); After last scl.off() (inside loop), has another time.sleep_ms(1); I pu...
by hrsales
Mon May 27, 2019 2:13 pm
Forum: Drivers for External Components
Topic: Communication with 16 key capacitive keyboard - TTP229-B
Replies: 9
Views: 6320

Re: Communication with 16 key capacitive keyboard - TTP229-B

Hi! Me again. I put some time delay, try rise the SDO pin for 93 microseconds before turn it on IN mode(like the docs show) before the loop, I also tried change pins and use another protoboard, but I can't had the value from interruption. The code for serial read return the unchanged value from SDO ...
by hrsales
Wed May 22, 2019 6:38 pm
Forum: Drivers for External Components
Topic: Communication with 16 key capacitive keyboard - TTP229-B
Replies: 9
Views: 6320

Re: Communication with 16 key capacitive keyboard - TTP229-B

Thanks for waiting! About your answer: I've simulated this on micropython putting an IRQ_FALLING to wait a sda value change from a while True loop, but always returns 1, so... guess i'm wrong or the pcb always return wrong. The both TTP229(-L and -B) had same issue. The convencional way on TTP229-L ...
by hrsales
Fri May 10, 2019 12:29 am
Forum: Drivers for External Components
Topic: Communication with 16 key capacitive keyboard - TTP229-B
Replies: 9
Views: 6320

Re: Communication with 16 key capacitive keyboard - TTP229-B

I'll try, and answer soon as i can. Thanks!
by hrsales
Thu May 09, 2019 12:05 am
Forum: Drivers for External Components
Topic: Communication with 16 key capacitive keyboard - TTP229-B
Replies: 9
Views: 6320

Re: Communication with 16 key capacitive keyboard - TTP229-B

[quote=jimmo post_id=36329 time=1557176979 user_id=3071] Which micropython board are you using? Do you have 10k pull-up resistors on the sda and scl lines? (Some of the Arduino boards have these built in, which might be why it works on your Mega) [/quote] I'm using a generic nodemcu board, like a ge...
by hrsales
Mon May 06, 2019 2:34 pm
Forum: Drivers for External Components
Topic: Communication with 16 key capacitive keyboard - TTP229-B
Replies: 9
Views: 6320

Communication with 16 key capacitive keyboard - TTP229-B

I've buyed some capacitive keyboards with the TTP229-B controller, but the I2C doesn't let me read from. I'm really new with micropython. I tryed with arduino mega and works on serial's (the hint - https://forum.arduino.cc/index.php?topic=301382.msg2252580#msg2252580) I sawed that this chip has a ve...