please dont rip this site

Vee (negative power supply) (for LCD etc...) from PIC PWM

David Covick [dac@WEST.NET]

I designed this little circuit a few months ago using SPICE. Just vary the PWM and you are home free. You don't need any external negative voltage!! It produces negative voltage on its own using a positive voltage in a charge pumping type method off the PIC PWM.

The attached virus free jpg schematic will fill you in.

Have at it! Sample ref code:
Connect PORTC.2 of 16F877 to PWM IN.
Connect Vee on LCD to Vee Out.

'**************** LCD Display Negative Voltage ********************
'********************* 16F877 @ 20 MHz ****************************

PR2=255              ' Set PR2 to 19.53 kHz
CCPR1L=230           ' Set Pulse width - CCPR1L must be less than PR2.
                     ' Lower number(pulse width)=higher view angle
                     ' PR2 value is 100% duty cycle.
                     ' PR2/2 = 50% duty cycle.
TRISC.2=0            ' Set CCP1 bit as output
T2CON=%00000100      ' Timer on prescale is 1
CCP1CON=%00001100    ' Set PWM Mode
'******************************************************************

See


file: /Techref/microchip/pwmvee.htm, 1KB, , updated: 2009/9/28 17:17, local time: 2024/10/8 03:08,
TOP NEW HELP FIND: 
44.220.184.63:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.massmind.org/techref/microchip/pwmvee.htm"> Vee (negative supply) for LCD from PIC PWM by David Covick</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .