Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Does anyone know how to vary the voltage from pic16f887 out of PWM port to vary the brightness of regular character 16 x2 lcd controlled by SITRONIX ST7066U. I work in Assembly thanks
If it has an LED back light, use the PWM from the PIC (look at the data sheet on how to use) and a transistor like a 2n3904... put the PWM on the base of the transistor (through a small resistor) with the transistor emitter to ground. Put the LED back light form V+(anode) to the collector (cathode) with a series resistor so you don't burn the LED.... that is the most simple way...
Vary the brightness by changing the duty cycle of the PWM (also explained in the data sheet)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.