ELECT 35: generador de funcions basat en el XR2206

De wikijoan
Salta a la navegació Salta a la cerca

hi ha la versió antiga i la versió nova:

la versió nova està a Sparkfun en forma de kit, però precisament hi ha una altra nova versió del kit, del qual tenim els fitxers del Eagle (Function-Generator-Kit-v15.zip):

Product Info
Function Generator Kit

sku: KIT-10015

Description: Nuxie and SparkFun worked together to rehash Nuxie's Function Generator Kit. This kit is based around the XR-2206 monolithic function generator IC, and can produce sine, triangle, and 5V square waves with frequencies ranging from 15Hz to over 500kHz.

A selector switch allows you to pick either a sine or triangle wave to be output to the 'WAVE' pin. The amplitude of this wave can be adjusted from about 1V up to either 7V (triangle) or 5V (sine). A square wave is also emitted by the XR-2206, and run a couple times through an inverter to even the wave out. This wave will have a maximum of 5V, so it can be interfaced with a microcontroller or other TTL-level devices.

There are two selectable frequency ranges as well. When the 'FREQ' switch is set to Low, the frequency can be adjusted from 15Hz to 4.5kHz. In the High position, the frequency can go from 3kHz to about 650kHz. Two pots are used to adjust the frequency, providing both coarse and fine adjustments. The XR-2206 can emit frequencies from 0.01Hz up to 1MHz, if you need a frequency that this kit doesn't provide, we've broken out a couple extra resistors (R8, and R9), to give you the ability to customize your kit.

The XR-2206 requires a relatively high voltage for normal operation, this kit has it running at 12V. This means you'll need at least ~14VDC (no greater than 35V though!) to get the kit running at the optimal 12V. If you just want to use the 5V square wave output though, you could probably cheat and use a 9V wall adapter; we've used this in a few tests, and it hasn't caused us any problems.

Assembly is straight-forward and can be done with a simple multimeter for testing resistor and potentiometer values. The board is labeled clearly and should be good for beginners.

Lastly, if you'd like a quick and easy display of the frequency. This kit can be mated directly with our Frequency Counter Kit!

i el partlist:

Partlist

Exported from Function-Generator-Kit-v15.sch at 10/05/11 15:01

EAGLE Version 5.9.0 Copyright (c) 1988-2010 CadSoft

Part     Value              Device              Package                         Library  Sheet

C1       100uF              CAP_POLPTH1         CPOL-RADIAL-100UF-25V           SparkFun 1
C2       10uF               CAP_POLPTH2         CPOL-RADIAL-10UF-25V            SparkFun 1
C3       .1uF               CAPPTH2             CAP-PTH-SMALL2                  SparkFun 1
C4       .1uF               CAPPTH2             CAP-PTH-SMALL2                  SparkFun 1
C5       10uF               CAP_POLPTH2         CPOL-RADIAL-10UF-25V            SparkFun 1
C6       1uF                CAPPTH2             CAP-PTH-SMALL2                  SparkFun 1
C8       .22uF              CAP_POLPTH2         CPOL-RADIAL-10UF-25V            SparkFun 1
C9       1nF                CAPPTH2             CAP-PTH-SMALL2                  SparkFun 1
C11      10uF               CAP_POLPTH2         CPOL-RADIAL-10UF-25V            SparkFun 1
J1       POWER_JACKPTH_LOCK POWER_JACKPTH_LOCK  POWER_JACK_PTH_LOCK             SparkFun 1
JP3                         M03PTH              1X03                            SparkFun 1
JP9                         M03SCREW_LOCK       SCREWTERMINAL-3.5MM-3_LOCK.007S SparkFun 1
LED1     Green              LED5MM              LED5MM                          SparkFun 1
R1       1k                 RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R4       330                RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R5       1M                 RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R6       10k                RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R7       1k                 RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R8       R8                 RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R9       R9                 RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R10      5.6k               RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R11      5.6k               RESISTORPTH1        AXIAL-0.3                       SparkFun 1
R12      50k                POT-RV16AF-20       POT_ALPHA_RV16AF-20             SparkFun 1
R13      250k               POT-RV16AF-20       POT_ALPHA_RV16AF-20             SparkFun 1
R14      25k                POT-RV16AF-20       POT_ALPHA_RV16AF-20             SparkFun 1
S1                          SWITCH-SPSTPTH_LOCK SWITCH-SPDT_LOCK.007S           SparkFun 1
S2                          SWITCH-SPSTPTH_LOCK SWITCH-SPDT_LOCK.007S           SparkFun 1
S3                          SWITCH-SPSTPTH_LOCK SWITCH-SPDT_LOCK.007S           SparkFun 1
U1       74HC04             74HC04_HEX_INVERTER DIL14                           SparkFun 1
U2       XR2206             XR2206              DIL16                           SparkFun 1
VR1      L7812              V_REG_78XXSINK      TO220-IGO                       SparkFun 1
VR2      LM7805             V_REG_78XXSINK      TO220-IGO                       SparkFun 1

Com a comentaris, fixem-nos que hi ha una llibreria que es diu Sparkfun, de manera que en aquesta llibreria trobem tots els components que es fan servir en els kits de Sparkfun. D'altra banda, si miro l'esqumàtic, es veu com es fa, per tal de millorar la llegbilitat de l'esquema, allò de ficar un label en un wire de manera que aquest wire pugui tenir una discontinuïtat (veure l'esquema, per exemple el label FREQ). Això s'ha de fer ficant el mateix NAME a les dos wires que vull unir.


creat per Joan Quintana Compte, maig 2011