Hi All
I am hoping somebody can help me please.
Firstly I am not asking anybody to write anything for me, I am just hoping this project is published on the net somewhere already.
What I am looking for is a simple 1hz to about 800 hz square wave generator .
All I want to do is read a voltage on a pot from zero to +5v and the pic outputs a square wave tone that changes in frequency from 1hz to about 800 hz as the voltage from the pot varies, not PWM.
I understand a little bit about what happens.
The ADC reads the voltage, converts that voltage to a value, and the value is outputed as a tone, and repeats, but I dont have enough education to write what is probably a simple code.
Does anybody know if a simple project like this that uses preferably a small 8 pin pic chip is on the net somewhere and can point me in the right direction ?, thanks.
I am hoping somebody can help me please.
Firstly I am not asking anybody to write anything for me, I am just hoping this project is published on the net somewhere already.
What I am looking for is a simple 1hz to about 800 hz square wave generator .
All I want to do is read a voltage on a pot from zero to +5v and the pic outputs a square wave tone that changes in frequency from 1hz to about 800 hz as the voltage from the pot varies, not PWM.
I understand a little bit about what happens.
The ADC reads the voltage, converts that voltage to a value, and the value is outputed as a tone, and repeats, but I dont have enough education to write what is probably a simple code.
Does anybody know if a simple project like this that uses preferably a small 8 pin pic chip is on the net somewhere and can point me in the right direction ?, thanks.