Author Topic: Input 1 fried. Is it because switch had no pull-down resistor?  (Read 1454 times)

WillSo

  • Newbie
  • *
  • Posts: 2
Input 1 fried. Is it because switch had no pull-down resistor?
« on: October 27, 2017, 04:02:43 am »
Hi,

I'm trying to make volume control knob using digispark and KY-040 rotary encoder (adapting this: https://learn.adafruit.com/trinket-usb-volume-knob/overview?view=all).
But I think I've fried input 1.
I've connected KY-040 SW (switch) pin to input 1 without using pull-up/down resistors, could this be the cause?
When I pressed the switch I noticed some smoke going out of the digispark. LED Still works (and changes state when pressing switch), just reading state of pin 1 is always 0.
I'm Ordering another digispark - would not like to fry the other one same way.

Other question: I'm trying to make it to small package, would not like to use breadboard (may be mini one is OK). KY-040 and digispark have soldered pins. I have some short M-M, F-M, F-F jumper wires and resistors. Is it possible to link everything up without soldering (I'm completely crap at that, just soldering the pins to digspark took me an hour, burned fingers and burns on furniture, don't even ask).
Specifficaly I'm asking how to put 10K resistor from SW rail to the ground, and SW rail to to pin 1 at the same time without solder or breadboard. 
And please don't laugh, I don't really know what I'm doing.

Please enlighten me,
Thanks