Comparing Sine Waves with PIC Microcontrollers

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
m.omara
Messages
1
Reaction score
0
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?
 
Engineering news on Phys.org
A spot check of the '877 datasheet shows that it has a 10 bit Analog->Digital converter, so yes you could use it to capture a signal of suitable frequency...probably around the audio range would work fine.

There's not much RAM on PICs -- 386 bytes on the '877 -- so your signal comparison might have to be close to instantaneous. It'll all depend on the requirements for your application.