4 Window Voltage Comparator using PIC Microcontroller

Thread Starter


Joined Sep 12, 2016
I have never used a microcontroller before. I picked up the PIC18 to use for this project which looks able to handle the job. For each window there needs to be an ON conditional output to light a 2-3V LED for each window independently when the VDC signal is within a defined range. From what I have been hearing, this should be fairly straightforward. Does anyone have insight on how to code this or can point to helpful tutorials?


Joined Jan 18, 2008
Once the intensity is in digital form, there are easy ways to determine whether that value is within defined limits (e.g., a window). Presumably, you plan to program it in C, and I cannot help you with that language.