Introduction to sensors compatible with microprocessors