For an electronics project I made a tic tac toe board. Soldered LED's on proto boards. I used an old cell phone charger as the power supply. (5V DC 700mA) It's tied to toggles switches, single pole double throw. then moves to the GAL16V. (it's purpose is that when a winner gets 3 in a row on tic tac toe it has an output to light up the winner.) however the problem is that the chip is programmed to read either low or high, but the voltage reading at the pins are high when the toggle switch is on but when it's off it own't read low because there's a negative volatge? Sometime -6V sometime up to -16V. I don't understand why this polarity is being flipped, why or how? Would a voltage rectifier help remove the negative voltage so the chip can operate in it's parameters? Or is there a way to write in the code to ignore or include the negative voltage with the low? The professors at my school don't understand why the polarity gets reversed, one thinks it's the toggle switches but I don't see how.
-
Categories
-
Platforms
-
Content