Implementing a touch sensor to Puppie

in Threespeak15 days ago (edited)

▶️ Watch on 3Speak


I’m experimenting with a touch sensor inside Puppie’s wooden body so that it can respond with a voice when you touch her. At the moment I’m using a low-cost TTP223 sensor, which is connected directly to the GPIO pins of a Raspberry Pi 4B; because its sensitivity is hard to tune, the sensor is currently placed outside the body. The setup is very simple — touch detection just triggers an audio file — but it’s surprisingly fun, and next I’ll connect this to the voice interaction system I’ve been building.

Puppieの木の筐体の中にタッチセンサーを入れて、ふれると声で返事をできるようにしようとしています。今使っているのはTTP223という安いセンサーで、感度調整がしにくく、外に出しています。TTP223はRaspberry Pi 4BのGPIOピンにつないであります。触れたら音声ファイルを再生するだけの、とてもシンプルな仕組みですがなかなか楽しい。これから今までに作った音声インタラクション部分とつなげます。


▶️ 3Speak