hi everyone, Do you know any I2C controlled Pulse width modulator chip? I am looking for an alternative to DS1050 . Best Regards Gokhan
- posted
11 years ago
hi everyone, Do you know any I2C controlled Pulse width modulator chip? I am looking for an alternative to DS1050 . Best Regards Gokhan
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
"Rich Webb" schreef in bericht news: snipped-for-privacy@4ax.com...
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
t but
code
The
gI 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
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.