Can I Use Opto isolator to protect my arduino and other components connected to its 5V pin Answered
So I am using two power sources. 5V from arduino and 12v 2A transformer for my stepper motor. 5V and 12V share common ground. My problem is that other components(LCD display, Water level Indicator) connected to 5V source from arduino won't function correctly when 12V is on. I think because my 5v isn't isolated and excess voltage from 12V goes through it.
I use 12V to power up my stepper motor and relays. Can optoisolator do the job in isolating these two voltages voltages?