How can I do that

How do You intend to detect those voltage levels?
AC or DC?