TTP223觸碰燈

TTP223電路原理與實務

資料來源:https://www.epitran.it/ebayDrive/datasheet/23.pdf

簡單說,當手指碰TP時,TTP223 IC偵測到電容量產生變化,會在 OUT 腳輸出 HIGH,反之輸出 LOW

TTP223 Features

  • Operating voltage 2.0V~5.5V

  • Operating current @VDD=3V, no load

  • At low power mode typical 1.5uA, maximum 3.0uA

  • The response time max 220mS at low power mode @VDD=3V

  • Sensitivity can adjust by the capacitance(0~50pF) outside

  • Stable touching detection of the human body for replacing traditional direct switch key

  • Provides Low Power mode

  • Provides direct mode、toggle mode by pad option(TOG pin) Q pin is CMOS output

  • All output modes can be selected active high or active low by pad option(AHLB pin)

  • After power-on have about 0.5sec stable-time, during the time do not touch the keypad, And the function is disabled

  • Auto calibration for life.

  • At low power mode, the re-calibration period is about 4.0sec normally,

  • When key detected touch and released touch, the auto re-calibration will be redoing after about 16sec from releasing key

  • The sensitivity of TTP223N-BA6 is better than TTP223-BA6’s. But the stability of TTP223N-BA6 is worse than TTP223-BA6’s.

圖片與資料取自網路

從示意圖中可以得知,在圖片標示的C點位置,上方的點與TP連接,也就是TTP223-BA6晶片的第三腳位是串接的,所以可以在C點的兩個點自行設計與串接延伸的TP

資料來源 https://www.twblogs.net/a/5b86878a2b71775d1cd58d20


  • 所以A點(AHLB)與B點(TOG)可以有四種模式

  • 因爲TOG引腳和AHLB引腳爲內部下拉,所以不接時默認爲低電平


第一個實作可以這樣接

因為無負載時工作電壓為3V,所以可以接3.7V電源再一顆LED,串100歐姆電阻即可

這樣也可以,只是LED壽命會短一些

圖片來自網路搜尋,網址...ㄟ不可考了

本範例使用TTP223模組,5V驅動繼電器、2N2222電晶體

接線圖如上圖,相關說明請參考影片。

自保持電路,請將B接點焊接,實際結果如影片

實際接線

注意:供電後需要約 0.5秒 的穩定時間,此時間內不要對按鍵進行觸摸

外接Touch PAD

調整靈敏度

功能描述:

1.靈敏度

PCB上的電極面積和連線電容會影響靈敏度。所以靈敏度調節必須依據PCB上的實際情況。TP223N-BA6提供了一些從外部調節靈敏度的方法。

1-1 調節電極面積

其他條件不變,使用大面積電極能夠提高靈敏度(我是採取這模式),反之會降低靈敏度。但是電極面積必須在有效的範圍內。

1-2 調節板厚

其他條件不變,比較薄的板厚可以提高靈敏度,反之會降低靈敏度。但是板厚不得超過其最大限制。

1-3 調節Cs電容

其他條件不變,Cs不接時靈敏度最高,增加Cs的值會降低靈敏度。(1 <= Cs <= 50pF) -黃信惠的老師有分享

資料來源:https://www.twblogs.net/a/5b86878a2b71775d1cd58d20


■我的範例是直接於C點,與TP共接點的部分串接一條約20公分的電線唷(繞成幾個圓圈)

也可直接把TP223N-BA6的腳三剪斷,延伸外接一個面積較大的TP

TTP223可以當調光器模組嗎?

我會建議使用SGL8022W,可以參考電路圖https://kknews.cc/digital/663mlzm.html,或者按圖接一個

也可以直接購買(上網隨機找的)

https://www.ruten.com.tw/item/show?21707252006990


更有趣的產品