turbo-brown
New Member
Hi There!
I'm hoping to be able to get a PIC16F690 (which comes with Microchip's PicKit2) to give a PWM output which varies according to an Analogue input.
Unfortunately the kit's instructions assume some level of competence with electronics and whilst I'm really keen to learn, I'm totally lost at the moment!
Can anyone help with some pointers which would get me going in the right direction?
The basic parameters are:
Analogue input
Some kind of look-up table which I can change the values in and then re-flash the PIC
A PWM output with a 15-20Hz period.
I gather that I can't pre or postscale the clock to give that kind of low frequency output and will need to make some kind of delay loop to give a less accurate frequency, but it should be fine for my purposes.
Any help would be hugely appreciated!
Cheers!
Alex
I'm hoping to be able to get a PIC16F690 (which comes with Microchip's PicKit2) to give a PWM output which varies according to an Analogue input.
Unfortunately the kit's instructions assume some level of competence with electronics and whilst I'm really keen to learn, I'm totally lost at the moment!
Can anyone help with some pointers which would get me going in the right direction?
The basic parameters are:
Analogue input
Some kind of look-up table which I can change the values in and then re-flash the PIC
A PWM output with a 15-20Hz period.
I gather that I can't pre or postscale the clock to give that kind of low frequency output and will need to make some kind of delay loop to give a less accurate frequency, but it should be fine for my purposes.
Any help would be hugely appreciated!
Cheers!
Alex