Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - PWM

(you are viewing a thread; or go back to list of threads)

PWM (by Boris)
Why this works in simulation but not in real life?
How to make variable frequencies every 5 sec.
10KHz, 15KHz, 20KHz, 25KHz
Fri Aug 19 2016, 08:26:48, download attachment PWM test.ld
(no subject) (by MGP)
Do you use version 3.5.4 of Ldmicro? because I think then it should work.
Fri Aug 19 2016, 09:58:49
(no subject) (by Boris)
You can assign pin16 (16F877A) only once.
Fri Aug 19 2016, 11:00:00, download attachment PWM.png
(no subject) (by MGP)
Yes, it's normal. You have 1 pwm pin with 0-100% duty cycle.
Set the pwm frequency and change the dutycycle.

I think you have to learn a bit more about Ldmicro and PIC's.
Download Samples.zip in this thread http://cq.cx/ladder-forum.pl?action=viewthread&parent=3399

Rung 2 and 3, you add 1 tot Count in rung 2 and in rung 3 you program Count= Count, this is not necessary
Fri Aug 19 2016, 11:41:31
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):