Gokhan OZCAN ZORBeY^
Guest
Tue Nov 22, 2011 9:17 am
hi everyone,
Do you know any I2C controlled Pulse width modulator chip? I am
looking for an alternative to DS1050 .
Best Regards
Gokhan
Rich Webb
Guest
Tue Nov 22, 2011 2:00 pm
On Mon, 21 Nov 2011 23:17:05 -0800 (PST), "Gokhan OZCAN ZORBeY^"
<gokhanozcan_at_gmail.com> wrote:
Quote:
hi everyone,
Do you know any I2C controlled Pulse width modulator chip? I am
looking for an alternative to DS1050 .
Perhaps something like an ATtiny20, which implements I2C slave and has
several PWM channels and an internal oscillator? Obviously it is not a
direct replacement but in place of a single 5-bit PWM there is a 16-bit
counter with two PWM channels and an 8-bit timer also with two PWM
channels plus the additional I/O and "smarts" of a microcontroller.
--
Rich Webb Norfolk, VA
petrus bitbyter
Guest
Wed Nov 23, 2011 1:14 am
"Rich Webb" <bbew.ar_at_mapson.nozirev.ten> schreef in bericht
news:1s6nc758r2krb4hvghutumn7nr3pqhompk_at_4ax.com...
Quote:
On Mon, 21 Nov 2011 23:17:05 -0800 (PST), "Gokhan OZCAN ZORBeY^"
gokhanozcan_at_gmail.com> wrote:
hi everyone,
Do you know any I2C controlled Pulse width modulator chip? I am
looking for an alternative to DS1050 .
Perhaps something like an ATtiny20, which implements I2C slave and has
several PWM channels and an internal oscillator? Obviously it is not a
direct replacement but in place of a single 5-bit PWM there is a 16-bit
counter with two PWM channels and an 8-bit timer also with two PWM
channels plus the additional I/O and "smarts" of a microcontroller.
--
Rich Webb Norfolk, VA
That DS1050 is a (relative) simple 8-pins thing that can emulated by an
equally simple 8-pins micro. I'd use a PIC12F629 as I'm familiar with it but
no doubt you can use a similar Atmel chip as well. The PIC's I2C-slave code
is available on the net and the 5-bits PWM can be written quite easily. The
only drawback may be the pinning as you cannot make it pin-compatible.
petrus bitbyter
Jamie
Guest
Wed Nov 23, 2011 2:06 am
petrus bitbyter wrote:
Quote:
"Rich Webb" <bbew.ar_at_mapson.nozirev.ten> schreef in bericht
news:1s6nc758r2krb4hvghutumn7nr3pqhompk_at_4ax.com...
On Mon, 21 Nov 2011 23:17:05 -0800 (PST), "Gokhan OZCAN ZORBeY^"
gokhanozcan_at_gmail.com> wrote:
hi everyone,
Do you know any I2C controlled Pulse width modulator chip? I am
looking for an alternative to DS1050 .
Perhaps something like an ATtiny20, which implements I2C slave and has
several PWM channels and an internal oscillator? Obviously it is not a
direct replacement but in place of a single 5-bit PWM there is a 16-bit
counter with two PWM channels and an 8-bit timer also with two PWM
channels plus the additional I/O and "smarts" of a microcontroller.
--
Rich Webb Norfolk, VA
That DS1050 is a (relative) simple 8-pins thing that can emulated by an
equally simple 8-pins micro. I'd use a PIC12F629 as I'm familiar with it but
no doubt you can use a similar Atmel chip as well. The PIC's I2C-slave code
is available on the net and the 5-bits PWM can be written quite easily. The
only drawback may be the pinning as you cannot make it pin-compatible.
petrus bitbyter
ah but!, to be used as a replacement part, as I have done with a few
things in the past, you make a daughter board with equal pins on the
bottom to mount in existing place with the programmable chip on top! :)
This was one of my favorite things to do years ago when over riding
forked PLL chips for extra band space! :)
Jamie
Gokhan OZCAN ZORBeY^
Guest
Thu Nov 24, 2011 1:16 pm
On Nov 23, 2:06 am, Jamie
<jamie_ka1lpa_not_valid_after_ka1l...@charter.net> wrote:
Quote:
petrus bitbyter wrote:
"Rich Webb" <bbew...@mapson.nozirev.ten> schreef in bericht
news:1s6nc758r2krb4hvghutumn7nr3pqhompk_at_4ax.com...
On Mon, 21 Nov 2011 23:17:05 -0800 (PST), "Gokhan OZCAN ZORBeY^"
gokhanoz...@gmail.com> wrote:
hi everyone,
Do you know any I2C controlled Pulse width modulator chip? I am
looking for an alternative to DS1050 .
Perhaps something like an ATtiny20, which implements I2C slave and has
several PWM channels and an internal oscillator? Obviously it is not a
direct replacement but in place of a single 5-bit PWM there is a 16-bit
counter with two PWM channels and an 8-bit timer also with two PWM
channels plus the additional I/O and "smarts" of a microcontroller.
--
Rich Webb Norfolk, VA
That DS1050 is a (relative) simple 8-pins thing that can emulated by an
equally simple 8-pins micro. I'd use a PIC12F629 as I'm familiar with it but
no doubt you can use a similar Atmel chip as well. The PIC's I2C-slave code
is available on the net and the 5-bits PWM can be written quite easily. The
only drawback may be the pinning as you cannot make it pin-compatible.
petrus bitbyter
ah but!, to be used as a replacement part, as I have done with a few
things in the past, you make a daughter board with equal pins on the
bottom to mount in existing place with the programmable chip on top! :)
This was one of my favorite things to do years ago when over riding
forked PLL chips for extra band space! :)
Jamie
I was looking for something non-programmable to save from the
production programming cost.
Pin-to-pin compatibility is not a must have because re-design is
already planned.
I am familiar with PIC too. I guess an PIC12F1822 can be a good
alternative with I2C module and CCP unit. Internal oscillator makes it
more attractive.
I may re-map the CCP (PWM) to RA5 so that I can use both I2C and CCP
units. For the programming, I can program it (ICSP) with my bigger CPU
to save from production cost. There is no high voltage on the board
therefore I can only use Low voltage programming.
In any case if you know a non-programable option, I would like to hear
it too.
Thanks for the answers
Gokhan