Wearables
Making capacitive touch sensor with AtTiny
1
My idea was to make capacitive sensor which will reacts on touch. As an output I chose simple LED light when I touch sensor. As a sensor I used embroidery with conductive thread.
2
At first I made a circuit scheme in Eagle and exported file in .dxf format.
3
Then I opened my file in Illustrator and prepared it for embroidering.
4
Next step - embroidering. For this you need to export file from Illustrator in .wmf format or if this format will not work try to export .png. Then prepare file in a special software.
When file is ready, export it on the USB stick. And continue with embroidery machine.
When it is ready you have to check with multimeter if there are no connection between pathes with might lead to short circuit. Check both front and back side.
5
Preparing AtTiny with Arduino. First, you need a code. I used this one link. You can easily find on the internet codes for different tasks. When you get one you need to test it first with Arduino.
6
Next step: programming AtTiny with Arduino. What you need to do:

1. Set Arduino as ISP;

2. Connect Attiny to Arduino;

3. Burn Bootloader;

4. Upload code to AtTiny.

In this article you can find detailed information about mentioned steps https://create.arduino.cc/projecthub/arjun/programming-attiny85-with-arduino-uno-afb829
7
Final result