Hi, I came here to report what I think is a bug with the "pca9685" component.
After some time trying to get it to work with a simple test program, I discovered that in the properties window for this component, if both channel 1 and channel 2 are selected, it simply doesn't work.
However, if software mode is selected, it works without any problems.
Any ideas?
Thanks in advance.
bug with pca9685
-
- Posts: 32
- http://meble-kuchenne.info.pl
- Joined: Sun Jan 29, 2023 12:49 pm
- Location: portugal
- Has thanked: 15 times
- Been thanked: 2 times
-
- Posts: 32
- Joined: Sun Jan 29, 2023 12:49 pm
- Location: portugal
- Has thanked: 15 times
- Been thanked: 2 times
Re: bug with pca9685
here are the related files
- Attachments
-
- teste proteus.jpg (213.56 KiB) Viewed 765 times
-
- PCA9685.fcfx
- (11.8 KiB) Downloaded 40 times
-
- flowcode configuracao.jpg (96.66 KiB) Viewed 765 times
-
- Matrix Staff
- Posts: 2120
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 658 times
- Been thanked: 716 times
Re: bug with pca9685
Have you tried using Embedded hardware or just simulating?
There are occasions where the simulator is the issue and I want avoid that.
Can you let me know if hardware has the same issue?
There are occasions where the simulator is the issue and I want avoid that.
Can you let me know if hardware has the same issue?
Martin
-
- Posts: 32
- Joined: Sun Jan 29, 2023 12:49 pm
- Location: portugal
- Has thanked: 15 times
- Been thanked: 2 times
Re: bug with pca9685
Hi Martin, thanks for the reply.
I've only simulated with Proteus so far, but what I noticed was the difference in setup times during the four macros (separated by a 1-second delay) before entering the loop.
I don't yet have the PCB with the PCA9685 chip physically with me to test.
I usually test with Proteus whenever possible before moving on to the "physical" part, and so far I haven't had any problems.
If anyone here has the opportunity to test with hardware, that would be great.
I've only simulated with Proteus so far, but what I noticed was the difference in setup times during the four macros (separated by a 1-second delay) before entering the loop.
I don't yet have the PCB with the PCA9685 chip physically with me to test.
I usually test with Proteus whenever possible before moving on to the "physical" part, and so far I haven't had any problems.
If anyone here has the opportunity to test with hardware, that would be great.
-
- Posts: 32
- Joined: Sun Jan 29, 2023 12:49 pm
- Location: portugal
- Has thanked: 15 times
- Been thanked: 2 times
Re: bug with pca9685
As promised, I will post 6 screenshots. The first 3 refer to the configuration in "software" mode and the next 3 in "channel 1" mode.
- Attachments
-
- teste proteus channel 1_3.jpg (182.78 KiB) Viewed 705 times
-
- teste proteus channel 1_2.jpg (183.05 KiB) Viewed 705 times
-
- teste proteus channel 1_1.jpg (181.35 KiB) Viewed 705 times
-
- Posts: 32
- Joined: Sun Jan 29, 2023 12:49 pm
- Location: portugal
- Has thanked: 15 times
- Been thanked: 2 times
Re: bug with pca9685
These three screenshots refer to software mode
- Attachments
-
- teste proteus software 3.jpg (182.34 KiB) Viewed 704 times
-
- teste proteus software 2.jpg (183.28 KiB) Viewed 704 times
-
- teste proteus software 1.jpg (182.06 KiB) Viewed 704 times
-
- Posts: 32
- Joined: Sun Jan 29, 2023 12:49 pm
- Location: portugal
- Has thanked: 15 times
- Been thanked: 2 times
Re: bug with pca9685
The simulation order is: 1,2,3 for software mode and: 1_1,1_2,1_3
for channel 1.
For reference, the same tests were performed on channel 2 and the results were the same.
for channel 1.
For reference, the same tests were performed on channel 2 and the results were the same.
-
- Posts: 32
- Joined: Sun Jan 29, 2023 12:49 pm
- Location: portugal
- Has thanked: 15 times
- Been thanked: 2 times
Re: bug with pca9685
this is the test program
- Attachments
-
- PCA9685.fcfx
- (11.72 KiB) Downloaded 33 times