အနုပညာ
အလှအပနှင့် ကျန်းမာရေး
လက်မှုအနုပညာ
ယဉ်ကျေးမှုနှင့် သမိုင်း
ဖျော်ဖြေရေး
ပတ်ဝန်းကျင်
အစားအစာနှင့် အချိုရည်
ပြောင်းပြန်အင်ဂျင်နီယာပညာ
သိပ္ပံပညာများ
အားကစား
နည်းပညာ
ဝတ်ဆင်နိုင်သောပစ္စည်းများ

DDS Sine Generator: Arduino, Sine Table and R-2R Ladder (after Jackson, 1973)
A sine-wave generator from 1 Hz to 8 kHz, set in 1 Hz steps with a knob. It works the way Leland Jackson patented direct digital synthesis in 1973: a counter adds a frequency number every sample, its top bits pick a value from a sine table, a resistor ladder turns that into a voltage and a filter smooths the steps. Arduino Uno, 25 resistors, an OLED and an encoder.
အလယ်အလတ်
About 3 hours
ညွှန်ကြားချက်များ
1
1
Jackson's frequency synthesizer, 1973
Jackson's frequency synthesizer, 1973
US 3,735,269: an accumulator receives the wanted frequency and "successively" generates addresses in a store holding samples of the output wave; a digital-to-analog converter turns them into "a step-type waveform which is passed through a low pass filter". To shrink the store, "sign and quadrature symmetry" of the sine are used: only a quarter of the wave is kept.

2
2
Frequency word, steps and filter
Frequency word, steps and filter
Jupyter မှတ်စုစာအုပ် ဖွင့်နေသည်…
3
3
Build the R-2R ladder
Build the R-2R ladder
On a perfboard, use 10 kΩ 1 % resistors: "R" is one, "2R" two in series. Chain eight nodes with R between neighbours. From each node a 2R goes to one Arduino pin: D8 (bit 0) at the first node up to D7 (bit 7) at the last, in the order D8, D9, D2, D3, D4, D5, D6, D7. From the first node a ninth 2R goes to GND. The last node is the output. Put a 2.2 nF capacitor from the output to GND, and a 1 µF capacitor (+ to the output) in series to the BNC.
ဤအဆင့်အတွက် ကုန်ကြမ်းများ:
အပေါက်ပါဘုတ် / နမူနာဘုတ်1 ခု
လျှပ်ခံအား25 piece (10 kΩ 1 %)
ကြွေထည် ကွန်ဒင်ဆာ အစုံ1 piece (2.2 nF from the kit)
အီလက်ထရိုလစ်တစ် ကက်ပစ်တာ1 piece (1 µF)
ဝင်ရိုးတူ ဆက်စွပ်အစုံ (BNC / SO-239)1 piece (BNC socket from the set)
ပင်ဟက်ဒါ1 strip
ဆက်သွယ်ကြိုး1 m
ဂဟေဝါယာ1 mလိုအပ်သော ကိရိယာများ:
ဂဟေဆော်တံ
ကြိုးအခွံခွာကိရိယာ
မာလ်တီမီတာ4
4
Add the display and knob
Add the display and knob
OLED: VCC 5V, GND, SDA to A4, SCL to A5. Encoder: A to A0, B to A1, button to A2, common pins to GND.
ဤအဆင့်အတွက် ကုန်ကြမ်းများ:
OLED မျက်နှာပြင်1 piece (128 x 64, I2C)
လှည့်အာရုံခံကိရိယာ1 ခု
ဆက်သွယ်ကြိုး0.5 mလိုအပ်သော ကိရိယာများ:
ဂဟေဆော်တံ5
5
Upload the firmware
Upload the firmware
Board "Arduino Uno"; install Adafruit SSD1306 and Adafruit GFX in the library manager first.
dds_generator.inocpp
ဤအဆင့်အတွက် ကုန်ကြမ်းများ:
Arduino Uno R31 ခုလိုအပ်သော ကိရိယာများ:
Arduino IDE ပါ ကွန်ပျူတာ
USB-B ကြိုး6
6
Use and check it
Use and check it
Turn the knob slowly to change the frequency; press it to change the step (1, 10, 100, 1000 Hz). On a scope the output is about 5 V peak to peak, centred on 0 after the capacitor. It drives high-impedance inputs (scopes, amplifiers), not speakers. Up to a few kHz it is a clean sine; towards 8 kHz the steps show, and a second 10 kΩ + 2.2 nF stage smooths them more.
လိုအပ်သော ကိရိယာများ:
အိုစီလိုစကုပ်ပစ္စည်းများ
11- နေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
- 1 piece (2.2 nF from the kit)နေရာယူပစ္စည်း
- 1 piece (1 µF)နေရာယူပစ္စည်း
- 1 piece (BNC socket from the set)နေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
- 1 mနေရာယူပစ္စည်း
- 1 piece (128 x 64, I2C)နေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
လိုအပ်သော ကိရိယာများ
6- 2 vendors sell this, none ship to you yetနေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
- 1 vendor sell this, none ship to you yetနေရာယူပစ္စည်း
- နေရာယူပစ္စည်း
ဤအသေးစိတ်ပုံစံက ပြုလုပ်သည်
CC0 အများပိုင်
ဤအစီအစဉ်ကို CC0 အောက်တွင် ထုတ်ဝေထားသည်။ ခွင့်ပြုချက်မလိုဘဲ ကူးယူ၊ ပြင်ဆင်၊ ဖြန့်ဝေ နှင့် အသုံးပြုနိုင်သည်။
အစီအစဉ်မှတစ်ဆင့် ကုန်ပစ္စည်းများဝယ်ယူ၍ လက်မှုပညာရှင်ကို ပံ့ပိုးပါ လက်မှုပညာရှင် ကော်မရှင် ရောင်းချသူက သတ်မှတ်သည်၊ သို့မဟုတ် ဤအစီအစဉ်၏ ဗားရှင်းအသစ်ဖန်တီး၍ ဝင်ငွေခွဲဝေရန် သင့်အစီအစဉ်တွင် ချိတ်ဆက်မှုအဖြစ် ထည့်သွင်းပါ။
