I spent a lot of time programming an Adafruit 2.8" TFT with resistive touchscreen on a nano to run a laminator modified for toner transfer. The nano is connected to a 100K thermistor, and uses the Steinhart-Hart equation to monitor the roller temperature. In addition to the display (SPI connection), there are 3 transistors switching 12V to 2 mechanical relays, and a 12V beeper. One relay switches on the 2 heater elements (600 watts total), and the other reverses the drive motor.
Everything works perfectly until I connect the motor, the heaters work, the relays click,etc., etc. Once I plug in the motor, it's all good until either I press the button to reverse it, or the program reverses it; in either event, the display turns all white. The nano is still doing what it's supposed to do, and even the touchscreen works, although I can obviously no longer see the buttons.
Obviously, the motor reversing is doing something nasty to the display, but I have no idea exactly what, or how to fix it.
A bit more background; the nano is powered by a small 120VAC to 12VAC transformer feeding 4 diodes in a rectifier arrangement, with a 1000uF electrolytic cap and a smaller cap across the positive and negative rails. This, with the relays, is on a separate board, and the DC output is wired to a L7805 voltage regulator on the nano board.
With the laminator switched on and the motor running forward, the rectifier arrangement puts out 20 volts DC, and when I manually trigger the relay with a jumper, the motor reverses, and the voltage drops to ~17.5 volts.
I am not all that knowledgeable about AC motors in general, so I don't really know where to start. I've a feeling I'm in for another learning situation..... Thanks in advance, and I'm happy to provide any other needful information.
Edit...I just tried wiring in a 12volt wall wart I had kicking around, bypassing the transformer/diode source from the relay board...no change. Maybe it's not the power supply circuit that's being affected, but something else. I replaced the transistor and flyback diode for that relay, again, no difference. I tried doubling the capacitor that's connected across the motor's 2 hot leads, but that just made the motor growl. I'm running out of ideas. I wish it was something in the program, but it works fine as long as the motor is unhooked.


