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
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... 
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 "... 
Eirik Karlsen - May 26 2008
Jason,
The PWM (analog output(s)) have dedicated pins, and you can't move these around.
And the A/D options available in ADCON is what you have to play with... no way around this... 
Eirik Karlsen - May 25 2008
Jason,
There is no generic analog output...
You must use the PWM to generate a 'digital' signal with a given mark/space ratio, then integrate that into
an analog voltage. The in... 
timbomcnuckle - Jun 27 2007
Hi folks, I've been subscribed to this list for about a year or so
now, usually do not write anything myself due to not having anything
valid to contribute,, so I just read the ... 
timbomcnuckle - Jun 27 2007
Hi folks, I am attempting a few various H bridge configs for a
project I have been working on- the platform is an RC truck 'toy' made
by Radio-shack. Not quality by any means bu... 
Eirik Karlsen - May 24 2007
Sure you can, easily...
but not just any PIC can do it. Since you want 4 outputs
you'll need a proc with at least 4 outputs.
Have a look at the PIC18 series motor control chips.... 
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... 
JCullins - Sep 28 2006
I need to read a frequency from 0 to 1023 hz and output it to the PWM for filtering. The idea is a frequency to voltage converter.
Has anyone done this. Any help comments or code ... 
Dennis Crawley - Aug 8 2006
Hi all,
There are two movies about the controller I've made in this link.
Let me say thanks for the support received from this list, in one or another
way, as well as the rece... 
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... 
mr_gees100_peas - Mar 15 2006
Hi,
I was wondering if there is a preference ina aprticualr PIC model
that is use more often for robotic. I know the 16f877a is a good
general purpose but is there anything... 
djbe...@... - Feb 28 2006
I think the basic stamp is an excellent starting ground. It is super easy to
get going. One of the advantages is that it comes with its own easy to
learn 'Basic' software. Yes... 
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... 
Chris - Oct 10 2005
Apologies if this has come up before. I've ported some 16f876 code over
to an 18lf252 to benefit from the larger memory. I'm using the PWM
output from CCP2 and discovered,... 
Peter Vincent - Oct 10 2005
Hi
me again just curious are you using the digi pot to replace the servo pot to maintain a straight line?
how about use a pic like 16F877A that has 2 CCP p... 
Chris - Oct 6 2005
--- In piclist@picl..., "rtstofer" wrote:
> Oops!
>
> Should read "In my view you should never use EQU..."
>
> >
> > In my view you should never us... 
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... 
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 ... 
p_c_vincent - Apr 28 2005
personaly i would say dont get either i tryed them both and was
dissapointed i now use mikroBasic by mikroElektronika its awesome i
payed about £86 GBP and thats it, free ... 
Eugene Gopalan - Mar 22 2005
This sounds like a fun project. An LED colour changer.
You're basically looking at a simple PWM controller to control the LED
intensity. As the smaller PICs have o... 
dan michaels - Mar 4 2005
--- In , R Ramesh wrote:
> hi all
>
> Is there any way to make the pulse with less than 1uS using PIC
16F877.
>
> Thanks
> Rames... 
wdavis364 - Mar 1 2005
I've been trying for a while to set up CC5X compiler using MPLAB ver
6.30. After working through several error message, the last was
related not able to locate... 
rtstofer - Feb 26 2005
--- In , Nick Trik wrote:
> I don't think package has anything to do with technology level
and hardware capabilities. So, your answer is because... 
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... 
Devon Lee - Feb 16 2005
Hi there,
I'm a newbie in PIC programming using assembly
language. Recently, I've written a short program using
PIC16F876 which involves PWM and ADC.
I'v... 
- Feb 2 2005
oh ok since you said that you must use a PIC that would be fairly simple. yep,
know what its like to be a student. you have to prove to the instructor that
you kn... 
Stef Mientki - Feb 2 2005
2 pairs of resistor + diode could do,
if
- your current demands are not too high and
- you have enough voltage range and
- you can permit that onde iddle state ... 
Phil - Jan 28 2005
Why not have the PIC read the pulses directly? I don't see the need
to go to analog and then digital or use some other chip. iirc, it's
a very low frequency PWM ... 
Chris - Jan 14 2005
Hello, I've made use of an RF link my recent GPS disciplined nixie
clock project. Luckily I managed to get by with rf modules which
used no type of encoding or... 
AMIT KAPOOR - Jan 7 2005
Hi friends/seniors
HAPPY NEW YEAR !!!!
Well, this new year i would like to make some major changes ....No CHANGE No FUTURE . ..haha ...just kid... 
Robert Rolf - Jan 5 2005
> I agree. A stepper motor would be better. But there are many, and by
> many I mean thousands, of these DC motors already in service in the
> amateur astrophotog... 
Eirik Karlsen - Jan 5 2005
Ok.
You may well have noise in the system. Use screened wire for all feedback
signals, screen to proc. gnd.
Also try screening the motorwires. Motordrive signals (... 
devonsc - Dec 14 2004
First of all, thanks a lot for everyone's kindness in guiding me on my
doubts before this. Would like to ask regarding the following matter:
Firstly, the volt... 
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?
... 
dan michaels - Dec 7 2004
--- In , Devon Lee wrote:
> Hi there,
>
> Would like to ask if you guys mind to give me some
> advice on how to make an appropriate selectio... 
devonsc - Dec 1 2004
Hi there,
Hope you guys don't mind me asking something simple. Just some
questions regarding reading the datasheet of a MOSFET. Need help
here. I'm sea... 