Piclist
A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
Search Results for "pwm"
Post a new Thread
So far in May, you have voted 0 times ou of a total of 22 votes by the community.
Please help us clean the archives from unuseful discussion threads by using the voting system! Details here.
rashid husain - Aug 31 2003
HI everyone,
I have a problem with the PWM signal that I feed to my
Timer. I generate a PWM signal to control a motor and
I also take the PWM signal and feed t... 
rashid husain - Jul 9 2003
Hi,
I am setting up motor control bu using PIC17c756a.
The setting will be as follows:
1. User enter the desired speed and the speed will be
sent to PIC M... 
pwm [2 Articles]
mr_gees100_peas - Dec 29 2003
I'm using a pic 16f877. This has 2 pwm pins. My question is. Is it
possible to run the 2 pwm at 2 different frequenciesat the same time?
... 
Matthew Limpach - Nov 19 2005
I am using CCP1 & CCP2 PWM on a 18F4220. Intermittently on reset, CCP1
sticks low. I have tried using standard PWM mode and enhanced mode with
auto shutdown turned off. Bo... 
Dave Mucha - Feb 7 2004
Hi All,
I was looking over the data sheet for the 16F684 and it lists that it
has 4 channels of PWM. I'm assuming that it means 4 seperate
channels of hardwa... 
Paul - Jul 24 2009
I have recently come across a circuit diagram:
http://f1.grp.yahoofs.com/v1/ULBpSg7H1FfAWrKBp02HDaRkyq4iFpOjfpH78Kql4Dxq0CgSrNLnPzPzZIhq_C7J8z18rM7VyWwp3bC8n2uBiJDZsrfy/PWM.jpg
... 
holopoint.rm - Jul 31 2003
Hey guys.
I'm building a two wheeled balancing robot.
I have a ADXL202 which outputs PWM
I have an h-bridge with PWM input.
Make that two PWM inputs, one for e... 
Paul L - Mar 21 2007
Hi.
Well, after getting my new PIC, it didn't take long to get it going! Was a little worried at first! I can now receive using USART and then using the values taken put that in... 
Paul L - Mar 18 2007
In the past i have used the 16 series of PIC, for a project i am looking at the 18 series, is there much difference between the two programming wise? The 18s seem more complex
A... 
holopoint.rm - Aug 7 2003
Good morning everyone.
Me again. And another discussion.
I'm planning on driving two pittman motors with an H-Bridge.
These are good motors with low inductance so... 
Phil - Mar 25 2004
I was curious about current draw on the PIC so I set up a couple of
test cases and measured the current. My test setup uses a 16F628A,
crystal and an LED on the P... 
speechlessspecies - Oct 23 2008
Hi guys,
how does one setup the enhanced pwm module of the pic16f886. I could
setup the usual pwm module but setting up the enhanced module is a bit
confusing for me. please h... 
AMIT KAPOOR - Jul 14 2004
Hello Everyone
i have a doubt: i have yaskawa servo pack( driver) SGDF-A2CS , my question is can i connect PWM o/p generated from PIC to driver speed control( anal... 
pakigenius786 - Aug 6 2003
I figured out how to configure PWM on a PIC in C. But...how do you
actually set the thing to go. i.e. how do you start sending a pulse?
do you make the pin high a... 
Eirik Karlsen - May 26 2005
Hi,
I think I have the answer to this question but I ask just to be sure.
PIC18F4520:
I need to:
Output two 8bit PWM 's (50Hz - 100's Khz usable)
Measure one ... 
Devon Lee - Mar 6 2005
So sorry. I'm still stuck doing the following, have
not proceed to Interrupt.
Help really needed.
Mind helping? Please? About "increasing" and
"decreasing... 
devonsc - Dec 10 2004
Hi. I would like to seek for advice for my PWM signal.
In order to achieve an 8-bit resolution, can anyone recommend which
is the best among the following?
... 
msel...@gmail.com - Jun 25 2008
Basically, has anyone ever tried to use PWM for position control on the PIC?
I am trying to program a PIC18F458 for position control using a quadrature encoder which has 1600 "... 
contact_gt1981 - Apr 11 2003
hi PIC fans......
i need serious help....does anyone know the source code (MPASM) for reading a PWM signal as input?.....
experienced ASM coders, please reply... 
Trent - Aug 15 2004
Hi All,
I need to borrow your collective wisdom and experience. I have
developed differential motor controls for everything from steppers to
PWM dc motor contr... 
vaishnavi236 - Mar 1 2004
hello sir,
i modified it further by including bsf status,rp0...
i am just not understanding the problem...i have been trying to
simulate by using "goto $-1 " as ... 
Eirik Karlsen - Oct 29 2001
I would like some advice on filtering the pwm output.
I'm using pwm1 at 32Khz and it is modulated by
a 200Hz square wave wit variable duty cycle.
Problem is that ... 
p.vijayamurugan - Feb 23 2005
hai all
this is vijay from India
wishing you a happy day
i have a requirement to generate a Sine PWm using PIC 16f877.
can anybody help me in developin... 
Igor Janjatovic - Nov 3 2004
> > Second question (this is a more a mad scientist question)
Somehow I missed this 'mad scientist question'... sorry. Here is my idea:
I think that you can r... 
Sanjyot Katti - Jun 27 2003
Hello Everybody,
I am using PIC 16F73 micro which has 2 CCP
modules.
The hardwrae is basically a motor controller + data
acqusition card. CCP1 module I have ... 
edubillirambabu - Jan 19 2004
hai
I need 1khz sine wave in PWM mode using PIC16F8xx.
What is the maximum frequency of sine wave that can be generated in
PWM mode using the pic??
please repl... 
vaishnavi236 - Feb 11 2004
Hello ,
I am doing a project using PIC MICROCONTROLLER . I
have finished with the hardware part . I am finding difficulty in
software part.
I have to write pr... 
shaunundergrad - Aug 12 2003
hu guys,
got 12f675 to give a variable pwm output using ano as a/d input, not
very sophisticated just using mark/space ratio, it gives me .5v to
2.5v approx, no... 
Lez - Jul 30 2005
Hi,
I have not programmed a pic in years, since about 99 when the 16cf84 was
the most used around, and even then it was for simple slow things, ie
door / window... 
Bob Lynch - Aug 27 2008
Can anyone see a problem with this code, just looking for a duty
cycle. Thanks
;*********************************************************************
*
;
; Filename: PWM0713... 
vaishnavi236 - Dec 4 2003
hi,
i am doing a project " micontroller based pwm swithching charge
controller for solar photovoltaic system using pic12f675".problem is
the ckt is ready but i ... 
KM6VV - Sep 13 2008
Hi John,
I see you're a ham too! I'm KM6VV. Central coast, CA.
I'm starting a dual motor control project for a microbot robot. Two DC
motors with encoders (Lynxmotion), ... 
rtstofer - Jun 19 2003
How big is the electromagnet - amps at 12V, etc? You can get a
variable output voltage from a PIC using the PWM output as long as
0.4% per step output is accep... 
baghi_b - May 12 2004
HI ALL,
I NEED VERY VERY URGENT NEED TO KNOW HOW CAN I USE THE PIC MICRO
( SPECIALLY 18F458 ),TO HAVE A HALF-BRIDGE SWITCHING POWER SUPPLY,
WITH 25KHZ SWITCH... 
Emmanuel Gonzalez - Mar 16 2003
can anyone give me a sample code that will produce a pwm output in ccp1
using pic16f877...thanks a lot
________________________________________________... 
Eirik Karlsen - Jun 25 2008
Yes first you must apply a P-factor, like this:
PWM = (Position Error) x (P-factor).
Initially the position error is likely to be in counts (difference between set and actual pos... 
Usman Raza - May 20 2004
Hey,
I'm new to the group. Anyways, I just started using PICs and
assemblers and all and I've come across a problem. I've got my
PIC16F627A hooked up to a TI... 
Vecheslav Silagadze - Mar 25 2006
Hello everyone,
I've got a bizzare problem with a PIC18F4431. It seems that whenever I
change the duty cycle of a PWM output *too frequently* the PIC will run run
for 25-30 s... 
Rambabu Edubilli - Jan 31 2004
hai
I am a student and need to generate 1khz sine wave in PWM mode using PIC16F870 in my project.
You told me in mail that maximum frequency to be ge... 
Paul - Oct 17 2008
Hello. Just wondering, i've worked with PICs for a while now and been
using 2222 680 Series Low K 100Vdc capacitors for the oscillator with
LF A147K 20/16Mhz crystal. All works... 