Sunday 5 May 2019

arduino - How to tell if mains voltage is on with microcontroller?


I want to be able to tell if the mains voltage is on or off with an Arduino.


How could I do this safely with minimal components (or components from Radio Shack)?




No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...