Comparing Sine Waves with PIC Microcontrollers

AI Thread Summary
The PIC 16F877A and PIC 16F628A can be used to compare sine waves, as the 16F877A features a 10-bit Analog-to-Digital Converter (ADC) suitable for capturing signals in the audio frequency range. However, the limited RAM of the PICs, with only 386 bytes on the '877, means that any signal comparison must be nearly instantaneous. Users need to consider their application's specific requirements to effectively implement this functionality. Generating sine waves is also possible with these microcontrollers, but the approach will depend on the desired output characteristics. Overall, both microcontrollers can handle sine wave comparisons with careful design considerations.
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.
 
Very basic question. Consider a 3-terminal device with terminals say A,B,C. Kirchhoff Current Law (KCL) and Kirchhoff Voltage Law (KVL) establish two relationships between the 3 currents entering the terminals and the 3 terminal's voltage pairs respectively. So we have 2 equations in 6 unknowns. To proceed further we need two more (independent) equations in order to solve the circuit the 3-terminal device is connected to (basically one treats such a device as an unbalanced two-port...
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Back
Top