Here is another simple Twitch enabled wearable. This time it is all about how to help streams keep up with there large chat rooms in somewhat of a trolly way.
Let's mimic our favorite purple villain with a snap.
Let's be real. Everyone is going to come back from the decimation, so lets just Timeout half of the chat rather than a full blown ban.
A basic Twitch bot that collects all users in a chat, segments half of them off for timeouts, and will time them out when a specific message is sent by a specific person
Is missing the cfg file for communicating with twitch (its passwords and what not)-> # cfg.py
HOST = "irc.twitch.tv" # the Twitch IRC server
PORT = 6667 # always use port 6667!
NICK = "twitch_username" # your Twitch username, lowercase
PASS = "oauth:xxxxxxxxxxxxxxxxxxxx" # your Twitch OAuth token
CHAN = "#channel" # the channel you want to join
The Snap glove is rather straightforward with the esp32. I hooked it up to a single cell lipo for power. Gpio 14 is a capacitive touch pin, called T6 when coding. I attached a wire to gpio 14 and soldered it to silver conductive thread!
*Remember to keep your touch pads small so they have good sensitive control. Too large of a pad will result in no touch triggers or constant touch depending on how the sensitivity is set.
2
Soldering The Conductive Fabric
Conductive Fabric is definitely difficult to solder (if you are me). I find that getting your iron just hot enough to melt your solder and nothing beyond that is where you want to stay.
Tin your wire by melting some solder onto it, place it on the conductive fabric, and apply heat from with your soldering iron in burst of 3 seconds. Check the solder joint after each burst to see if more heat needs to be applied or if it will work.
Just take it slow, and don't be afraid to mess this step up.
3
Stitch the Fabric onto the Glove
I stitched all the sensor pads in with regular thread, and sewed some of the cabling as well. This helps with repeated bending of the solder joint.
I don't geel so good..