hello
i need to now if i can compare between two sine wave by pic 16f877A or pic 16f628A?
that the input of pic become sine wave , can the pic read that wave or can generate it?
how i can do this ?
Any ideas?
Printable View
hello
i need to now if i can compare between two sine wave by pic 16f877A or pic 16f628A?
that the input of pic become sine wave , can the pic read that wave or can generate it?
how i can do this ?
Any ideas?
Here is an example of creating a sine wave. http://www.picbasic.co.uk/forum/cont...-DT-interrupts The first code example uses HPWM, and could be modified for your chip. (The second example uses the PCPWM and can only be used with the 18F2431 family). Here is a microchip application note that it is sort of based on: http://www.microchip.com/stellent/id...pnote=en011071
To measure the sine wave, you could use a zero crossing detector such as this: http://www.picbasic.co.uk/forum/cont...tant-Interrupt
Or an simpler way: http://ww1.microchip.com/downloads/e...tes/00521c.pdf