- #1
- 28,987
- 4,296
Not sure if I posted it here or elsewhere. I made a Nixie clock controlled with an Arduino. To make it possible to set the clock I have added a button connected with a wire. Pressed button generates an interrupt which I use to "round" the clock up or down to a full minute. The button has a capacitor added and some debouncing delay added in the code. It all works quite nicely, with one problem. Apparently now and then the wire acts as an antenna, producing false signals which shift the clock.
My first thought was to move the wire away from the 180V SMPS. It helped, but not completely. I will cut the wire to make it as short as possible (I am still on the breadboard, with Arduino Mini Pro sticking up, so I am limited in my options and the wire has to be hanging in the air for now), but somehow I am not convinced it will help get rid of the problem completely.
Any advice? What are my other options? Are there any standard ways of screening wires, getting rid of induced signals? I did some googling but didn't found anything obvious and easy to apply to my mess of wires. Chances are it is this mess that is a source of the problem and moving to a PCB (with a good separation of the Arduino/button connection and the high voltage circuit) will help, but I don't want to make the (almost) final version and risk it will still suffer from the same problem.
My first thought was to move the wire away from the 180V SMPS. It helped, but not completely. I will cut the wire to make it as short as possible (I am still on the breadboard, with Arduino Mini Pro sticking up, so I am limited in my options and the wire has to be hanging in the air for now), but somehow I am not convinced it will help get rid of the problem completely.
Any advice? What are my other options? Are there any standard ways of screening wires, getting rid of induced signals? I did some googling but didn't found anything obvious and easy to apply to my mess of wires. Chances are it is this mess that is a source of the problem and moving to a PCB (with a good separation of the Arduino/button connection and the high voltage circuit) will help, but I don't want to make the (almost) final version and risk it will still suffer from the same problem.