-
Touch Sense Key Matrix (HW-136 , 8229BSF)아두이노 2021. 4. 6. 17:07
아두이노 키트에 포함된 Touch Sense Key Matrix 실험을 진행해보았다.
HW-136 Touch Sense Key Matrix Touch IC (TTP229-B) datasheet & Schematic
www.sunrom.com/p/816-channel-capacitive-touch-module-ttp229
8/16 Channel Capacitive Touch Module - TTP229 [4630] : Sunrom Electronics/Technologies
Available We dispatch same day if ordered by 1PM (excluding holidays), then courier usually takes 2-5 days. Real Time Availability Ready Stock: 2 nos. Factory Leadtime for more quantity: 15 days
www.sunrom.com
TTP229 와 TTP229-B 는 다른 IC 이다.
여기서 사용된 IC 는 TTP229-B 이다
8 key 모드와 16 key 모드가 있고, 16 key mode 를 사용하기 위해선 serial interface 를 사용해야 한다.
serial interface pin 으로 SDO, SCL 이 있는데 I2C interface 는 아니고, SPI type 이다.
pin option table 내부에서 pull-up 으로 연결되어 있다네..
그래서 pin option 을 변경할려면 외부에서 pull-down 을 연결해야하고
pull-down 연결하기 편하게 pin header 로 보드에 구현되어 있다.
원하는대로 연결해서 사용하면 되겠다.
16 input key mode, CMOS output, active high, Multi Key 로 사용할려면 어떻게 해야하느냐??
TP0 - 1(CMOS output) , TP1 - 0(active high), TP2 - 0(16 input keys), TP3, TP4 - 0(all multi keys) 로 연결하면 된다.
TTP229 관련 Arduino 예제 code 는 인터넷에 많이 있군..
'아두이노' 카테고리의 다른 글
Arduino digitalRead() 반응속도 (0) 2021.04.01 Arduino digitalWrite() 반응속도 (0) 2021.03.31 Arduino Mega 2560 회로정리 (0) 2021.03.31