16F1938 3 x PWM

Support-Forum für Deutschsprachige, die in ihrer Muttersprache schreiben möchten.

Moderator: Benj

Post Reply
DirkB
Posts: 116
Joined: Wed Feb 08, 2012 2:45 pm
Has thanked: 7 times
Been thanked: 11 times
Contact:

16F1938 3 x PWM

Post by DirkB »

Hallo,

ich verwende den PIC16F1938 und verwende FlowCode V5. Ich will 3 PWM verwenden,
einen an RC1, einen an RC2 und einen an RA4. Alle CCP's sind Hardware. Wie kann ich das tun?
Define Channel 1, 2 und 5? Channel 1 und 2 gibt es mehrmals??!!

Danke

Dirk

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16F1938 3 x PWM

Post by medelec35 »

Hoi Dirk,
Voeg drie PWM componenten om het bedieningspaneel.
Selecteer Ext eigenschappen van elke PWM met het gewenste kanaal:
3PWM.png
(60.67 KiB) Downloaded 7598 times
eindelijk zorg ervoor Periode register en prescaler kloof zijn hetzelfde in alle drie de PWM componenten.

Vertaald door google.

Martin




Hi Dirk,
Add three PWM components to the control panel.
Select Ext properties of each PWM with desired channel:
3PWM.png
(60.67 KiB) Downloaded 7598 times
finally make sure Period register and prescaler divide are set the same in all three PWM components.

Translated by google.

Martin
Martin

DirkB
Posts: 116
Joined: Wed Feb 08, 2012 2:45 pm
Has thanked: 7 times
Been thanked: 11 times
Contact:

Re: 16F1938 3 x PWM

Post by DirkB »

Hello Martiin,

danke für die schnelle Antwort. Aber wie
mache ich das mit Flowcode V-5?

Danke

Dirk

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16F1938 3 x PWM

Post by medelec35 »

3pwm2.png
(89.52 KiB) Downloaded 7580 times
3pwm3.png
(111.95 KiB) Downloaded 7580 times
3pwm4.png
(124.8 KiB) Downloaded 7580 times
3pwm5.png
(161.56 KiB) Downloaded 7580 times
3pwm6.png
(148.85 KiB) Downloaded 7580 times
3pwm7.png
(87.43 KiB) Downloaded 7580 times
Martin

DirkB
Posts: 116
Joined: Wed Feb 08, 2012 2:45 pm
Has thanked: 7 times
Been thanked: 11 times
Contact:

Re: 16F1938 3 x PWM

Post by DirkB »

Super, many thanks. Eine letzte Frege;
CCP1 und CCP2 können auf unterschiedliche
Pins gelegt werden. Wie stellt man das ein?

Danke

Dirk

Rudi
Posts: 666
Joined: Mon Feb 10, 2014 4:59 am
Has thanked: 493 times
Been thanked: 187 times

Re: 16F1938 3 x PWM

Post by Rudi »

DirkB wrote: CCP1 und CCP2 können auf unterschiedliche
Pins gelegt werden. Wie stellt man das ein?
happy new year

rechts klicken auf ccp1 icon
ext eigenschaften aus dem popup menue auswählen
'use alternate pin" checkbox aktivieren sofern der chip selbst das unterstützt

right click at ccp1 icon
ext properties
'use alternate pin'
be sure, your chip support this future

best wishes
rudi ;-)

Post Reply