Hi crew!
Yesterday I breadboarded a little test circuit to multiplex a bunch of switches using two 4022 counter. The idea was to have a Teensy 3.1 (3.3V logic, 5V tolerant on the digital pins) to generate a clock for the counters so I started with one counter and 4 switches just for a proof of concept.
I thought it would be ok to see if the teensy was driving the counter properly before hooking the switches back to the Teensy inputs but I guess some sort of ESD event happened because of floating pins and maybe capacitors. My EE knowledge is pretty basic...
Anyway I was probing around with a pocket scope and at some point the clock went away. I went to short the Programmer pin to try and "reboot" by reuploading my code and I'm pretty sure the LED on the Teensy went out *just* before I thouched the pins which makes me think ESD. Attached is a schematic of the test setup. The unconnected pins were actually unconnected.
Now I'd like to understand what happened so it doesn't happen again. I realised after the facts that counter circuits usually feature diodes on their outputs. I've watched a lot of Ben Eater's breadboard computer videos and I've never seen any diodes in his circuits. Is it a counters only thing? Why? I've tried to search for "diodes in digital circuits" but all the results I get are generic pages about what diodes are which I already know.
Thanks for reading this, feel free to tell me off for being careless but please don't be mean
Edit: the diagram is the unfinished state of the circuit such as it was when all hell broke loose. The switches / caps were eventually supposed to connect back to a common pin on the Teensy.
Yesterday I breadboarded a little test circuit to multiplex a bunch of switches using two 4022 counter. The idea was to have a Teensy 3.1 (3.3V logic, 5V tolerant on the digital pins) to generate a clock for the counters so I started with one counter and 4 switches just for a proof of concept.
I thought it would be ok to see if the teensy was driving the counter properly before hooking the switches back to the Teensy inputs but I guess some sort of ESD event happened because of floating pins and maybe capacitors. My EE knowledge is pretty basic...
Anyway I was probing around with a pocket scope and at some point the clock went away. I went to short the Programmer pin to try and "reboot" by reuploading my code and I'm pretty sure the LED on the Teensy went out *just* before I thouched the pins which makes me think ESD. Attached is a schematic of the test setup. The unconnected pins were actually unconnected.
Now I'd like to understand what happened so it doesn't happen again. I realised after the facts that counter circuits usually feature diodes on their outputs. I've watched a lot of Ben Eater's breadboard computer videos and I've never seen any diodes in his circuits. Is it a counters only thing? Why? I've tried to search for "diodes in digital circuits" but all the results I get are generic pages about what diodes are which I already know.
Thanks for reading this, feel free to tell me off for being careless but please don't be mean
Edit: the diagram is the unfinished state of the circuit such as it was when all hell broke loose. The switches / caps were eventually supposed to connect back to a common pin on the Teensy.
Attachments
Last edited: