Comparator project code for PIC12F629 / 675 in Assembly Language

Thread Starter

ErnieH

Joined Feb 17, 2017
15
Would some one have a small project code to practice on, to light a led when adjusting a potentiometer please, using a pic12f629 or pic12f675.

Thank you.
Ernie H.
 

Thread Starter

ErnieH

Joined Feb 17, 2017
15
Thanks 4 the replies, so far i've looked @ googligum files, looks good, theres one on Comparators in the Midrage folder using the PIC12F629, I've us that.

Regards the effect on the LED i'm looking 4 Max, nothing specific, just wanted to practice on a project, when i turn a Pot, it turns a the Led on/off, to show me its working.

Ultimate goal is to update my garden like circuit using a pic / comparator...... currently I'm turning 6xled garden lights on via an LDR attached to an Op amp circuit, LM358, switching a relay.

I c the concept of turning stuff on&off has got a whole lot simpler by simply using a wifi power point adaptor, & using the timer feature, but i guess thats to easy.

So i'd like 2 use an LDR or Photo transistor using a comparator & pic12f629 on my garden lights, is the ultimage goal.

Thanks a mil !!

ErnieH
 
Top