1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
AÄŸu
1st

Pic16F84 ile Sinüs Dalgası Üretmek

sinediag3.jpg

Pic 16f84′ün 4 pini kullanılarak yapılan bu projede gerilim bölücü dirençler ile dijital analog çevirici benzeri bir devre tasarlanmış. Pinlerden negatif voltaj alınamayacağı için 2.5 volt sıfır kabul edilerek 0-5 Vpp sinüs dalgası elde edilmiÅŸ. Ayrıntılar burada

In the diagram/schematic below, you can see how the ladder is wired to the PIC. It’s a 4 bit ladder network, using 4 resistor values, each one about twice the value of the last. With 4 different values, you can theoretically have 16 different voltage levels from 0 VDC to 5 VDC. Since the PIC can not produce negative voltage levels for the down side of the sine, the middle of the voltage range is used as the center voltage, being 2.5 VDC. So, the sine would go from 2.5 VDC up to 5 VDC, then back down to 2.5 VDC and then down to 0 VDC and repeat the pattern to create the sine wave. The final voltage out can be run through a small value capacitor to help smooth out the signal. It will still have somewhat of a stair step to it, but it will be smoothed out some by the cap.


En Çok Okunanlar

Yorum yapın