<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/</id><updated>2021-10-12T22:55:47.113000Z</updated><subtitle>Recent posts to Adafruit PCA9685 issues</subtitle><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=25#9837" rel="alternate"/><published>2021-10-12T22:55:47.113000Z</published><updated>2021-10-12T22:55:47.113000Z</updated><author><name>davewkoenig</name><uri>https://forge.codesys.com/u/davewkoenig/</uri></author><id>https://forge.codesys.comc5eb26fffeac9af0b95cb9ac92bbd7cb95d846a7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here is 400Hz PWM&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=25#f5ae" rel="alternate"/><published>2021-10-12T22:55:02.905000Z</published><updated>2021-10-12T22:55:02.905000Z</updated><author><name>davewkoenig</name><uri>https://forge.codesys.com/u/davewkoenig/</uri></author><id>https://forge.codesys.com79a48f2e4ab66e0da55f7159282d7e68c417ff56</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here is 100hz PWM signal&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=25#5430" rel="alternate"/><published>2021-10-12T22:52:48.086000Z</published><updated>2021-10-12T22:52:48.086000Z</updated><author><name>davewkoenig</name><uri>https://forge.codesys.com/u/davewkoenig/</uri></author><id>https://forge.codesys.com89c799e64d2c20aad72fafb777593cc24da72180</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am trying to use the PCA9685 board with PWM output. I can only seem to change the voltage never full range of 0V for no PWM, and 5V for full PWM.  I can only change Frequency &lt;span&gt;[Hz]&lt;/span&gt; the higher the frequency the higher the voltage range, also other parameters do not effect it like _alrMin, _alrMax, _freq, _rPeriod&lt;/p&gt;
&lt;p&gt;100hz Frequency = Adafruit_PWM.alrPWM&lt;span&gt;[0]&lt;/span&gt; :=0 is 0.468V and 1 is 0.972  output does not appear to actually PWM, higher frequency&lt;/p&gt;
&lt;p&gt;400hz Frequency = Adafruit_PWM.alrPWM&lt;span&gt;[0]&lt;/span&gt; :=0 is 1.949V and 1 is 3.894  PWM does not go to zero, and  closer to 100% &lt;/p&gt;
&lt;p&gt;A attached program archive.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=25#723e" rel="alternate"/><published>2020-05-04T17:53:24.462000Z</published><updated>2020-05-04T17:53:24.462000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comaf89e910ad0a69e8dae8eff3cffb326128738fc7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;not really a scheme, but a picture, there was quadcopter for a fair which was controlled by Raspberry PI and the adafruit pwm&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=250#1429/75c2" rel="alternate"/><published>2020-05-03T11:40:35.585000Z</published><updated>2020-05-03T11:40:35.585000Z</updated><author><name>bpalacio</name><uri>https://forge.codesys.com/u/bpalacio/</uri></author><id>https://forge.codesys.com692980890131c5a8b7be3902a280920ede1333bf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello: In the configuration that you started, a servo motor appears and I want to move a dc motor.  Would it serve me in the same way with that configuration that you send me?  Do you have any scheme with rl wiring for a dc motor&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=250#1429/2e1d" rel="alternate"/><published>2020-05-03T11:40:33.016000Z</published><updated>2020-05-03T11:40:33.016000Z</updated><author><name>bpalacio</name><uri>https://forge.codesys.com/u/bpalacio/</uri></author><id>https://forge.codesys.com2a046d88aec5fcd527e38a1725afb9a2eb0b967c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello: In the configuration that you started, a servo motor appears and I want to move a dc motor.  Would it serve me in the same way with that configuration that you send me?  Do you have any scheme with rl wiring for a dc motor&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=25#1429" rel="alternate"/><published>2020-05-03T07:08:06.255000Z</published><updated>2020-05-03T07:08:06.255000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com81cd6297d5340d52cbb5f0c2c9b04296cb41459d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hm.. what happens if you use "c:\Users\&amp;lt;windowsusername&amp;gt;\CODESYS Control for Raspberry PI\3.5.15.40\Examples\I2CExamples.project" &amp;lt;/windowsusername&amp;gt;&lt;/p&gt;
&lt;p&gt;if wiring to the first port is done your motor should move if you set here &lt;br/&gt;
.&lt;br/&gt;
.&lt;br/&gt;
Adafruit_PWM.alrPWM&lt;span&gt;[0]&lt;/span&gt; := lrvalue;&lt;/p&gt;
&lt;p&gt;additional it should be possible to use the Softmotion part (sure only MC_MoveVelocity might work with this)&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=250#2b62/db61" rel="alternate"/><published>2020-05-01T13:14:56.911000Z</published><updated>2020-05-01T13:14:56.911000Z</updated><author><name>bpalacio</name><uri>https://forge.codesys.com/u/bpalacio/</uri></author><id>https://forge.codesys.comb61560da271465747a570171f3e8474330e276ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello: I have specified the projects but they do not provide enough information about the adafruit pwm library.  I have already made it move in one direction but without a specific procedure.  I would like to know what each of the parameters of the adafruit pwm library mean in addition to the connections.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=25#2b62" rel="alternate"/><published>2020-05-01T06:23:58.161000Z</published><updated>2020-05-01T06:23:58.161000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.come1a50422c62fca3b46902b95d5b14716c529a057</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
did you check:&lt;br/&gt;
"c:\Users\&amp;lt;yourwindowsusername&amp;gt;\CODESYS Control for Raspberry PI\3.5.15.40\Examples\I2CExamples.project" &lt;br/&gt;
"c:\Users\&amp;lt;yourwindowsusername&amp;gt;\CODESYS Control for Raspberry PI\3.5.15.40\Examples\SoftMotion Servo Example.project" &amp;lt;/yourwindowsusername&amp;gt;&amp;lt;/yourwindowsusername&amp;gt;&lt;/p&gt;
&lt;p&gt;or here a lot of older snippets not only for the Adafruit PWM&lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25#333d"&gt;https://forge.codesys.com/forge/talk/Runtime/thread/04361f89ec/?limit=25#333d&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adafruit PCA9685 issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/aa1fbd1cda/?limit=25#be52" rel="alternate"/><published>2020-04-30T12:31:39.053000Z</published><updated>2020-04-30T12:31:39.053000Z</updated><author><name>bpalacio</name><uri>https://forge.codesys.com/u/bpalacio/</uri></author><id>https://forge.codesys.combf2ab83ba902f478f0efbdc070918d23e661f454</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello:&lt;/p&gt;
&lt;p&gt;I am using the adafruit pwm to control a DC motor but I cannot get it to work. Could someone give me a hand or share an example project in which the PWM output of said card is configured.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>