And then you can use the dedicated PCA9685PW chip with 16 channels, 12-bit resolution, cheap and very reliable. Also the PCA9956BTW at 24 channels @ 8 bit.
Hah, just solved it :)
since I have output transistors, previously I was feeding their bases with output from MCU
Now I will feed their emitters via MCU, connect all bases together and connect them...
Darrels documentation says
In order to increase the resolution to 10 bits the LSB would need to be 1/4 of its current length meaning you'd need the PIC to run at 192MHz. Or you'd need to reduce the...
I'm using MIBAM because with 64mhz PIC18 CPU, I can have 48 independent PWM channels. But they're 8 bit. I want 48 channels with 9 or 10 bits resolution (12 - preferable) :)
Unfortunately, there are no PIC chips with like 8-16-32 independent PWM outputs.
Sure, there are chips like LT8500, with 48 channel PWM output, but they're way too expensive...
So maybe bitbang isn't the right word, but I am wondering if anyone has attempted USB communication on a chip without integrated USB functionality. I'm aware chips like the 18F2550 include that...
Published on - 31st May 2010 17:24
Number of Views: 13835
Since this question has come up again, I thought I'd throw this module out to the masses. It is something I worked on a while back, with DT's help. Amid life's other priorities, it got put on the shelf to collect dust.
The basic idea is that by adding the module as an INCLUDE and inserting a couple of commands inside your code, you can have the PIC send timing data to your PC via the hardware serial port. It's made for 18F PICs (although some 16Fs may work too). You also need a timer that is not being used for anything else.
1) Instructions are included, as well as a small example.
2) It worked well for me, and as I recall, DT in testing.
3) Use it however you want.
4) I won't be able to offer much support, but figure there are enough knowledgeable folks around here that can help those who need it.
Re: Increasing resolution of DTs MIBAM library?
And then you can use the dedicated PCA9685PW chip with 16 channels, 12-bit resolution, cheap and very reliable. Also the PCA9956BTW at 24 channels @ 8 bit.
Ioannis Yesterday, 15:54Ioannis