You could use an old phone charger to generate 5V, and read the output! or an AC optoisolator.
2 Likes
You could use an old phone charger to generate 5V, and read the output! or an AC optoisolator.