Does the ATtinyx5 series allow for capacitive touch without a resistor?
Hackaday is having a business card contest https://hackaday.com/2024/05/07/the-2024-business-card-challenge-starts-now/and I decided to throw something together to enter. I doubt it will win, as mine is just a simple LED/battery holder. But it's been something that I've been thinking about for a while, so seems like a good excuse. Maybe it'll get one of the runner-up prizes.
All that being said, I'm fairly happy with the front, but the back could probably better. Any suggestions to help with its aesthetics and/or usefulness (whether front or back)?
Solution:Jump to solution
- doesn't look like supporting capacitive touch as a peripheral. So external components will be required. Also take a look at this MCU coming with touch sense peripheral MSP430FR2512 ( design manual https://www.ti.com/lit/an/slaa842b/slaa842b.pdf)
- How about this? 1W speaker. 13mm^2 dimension for your card https://www.digikey.com/en/products/detail/cui-devices/CDS-13138-SMT-TR/5355531...
DigiKey Electronics
CDS-13138-SMT-TR | DigiKey Electronics
Order today, ships today. CDS-13138-SMT-TR – 8 Ohms General Purpose Speaker 700 mW 840 Hz ~ 1.26 kHz Top Square from CUI Devices. Pricing and Availability on millions of electronic components from Digi-Key Electronics.
3 Replies
A couple possibly related followups:
-Does the ATtinyx5 series allow for capacitive touch without a resistor?
-Anyone tried using a surface mount audio speaker?
Thinking it would be cool to make a credit card-sized audio device that takes in capacitive inputs for a minimal part count.
Solution
- doesn't look like supporting capacitive touch as a peripheral. So external components will be required. Also take a look at this MCU coming with touch sense peripheral MSP430FR2512 ( design manual https://www.ti.com/lit/an/slaa842b/slaa842b.pdf)
- How about this? 1W speaker. 13mm^2 dimension for your card https://www.digikey.com/en/products/detail/cui-devices/CDS-13138-SMT-TR/5355531
DigiKey Electronics
CDS-13138-SMT-TR | DigiKey Electronics
Order today, ships today. CDS-13138-SMT-TR – 8 Ohms General Purpose Speaker 700 mW 840 Hz ~ 1.26 kHz Top Square from CUI Devices. Pricing and Availability on millions of electronic components from Digi-Key Electronics.
Thanks for the suggestions. Speaker could possibly work, though at ~$5 I might have to be pretty selective about who I give them to, ha.
ATtiny doesn't have it built-in though I wonder if I could use this ADCTouch library: https://github.com/martin2250/ADCTouch with the ATtiny's ADC pins. Might be time for some experimentation!
GitHub
GitHub - martin2250/ADCTouch: touch sensing library for Arduino
touch sensing library for Arduino. Contribute to martin2250/ADCTouch development by creating an account on GitHub.