The Texas Instruments LM317 adjustable voltage regulator is a flexible device that when combined with suitable external resistors and the NI myDAQ power supply can serve as the basis for a fixed or variable voltage source and a fixed or variable current source. Figure B.1 shows the LM317 package terminals as well as its schematic symbol. The LM317 sources current up to 1.5 amps, while the LM317L sources up to 100 mA. See the datasheets available at http://www.ti.com; enter “lm317” in the “Search by Part Number” field.
The circuit shown in Figure B.2 produces a variable voltage in the range 1.5 V to 13.5 V from the NI myDAQ +15V power supply. Figure B.3 shows the recommended breadboard layout for this circuit. Use bare-wire loops to facilitate easy connections with test leads to the NI myDAQ �15-volt dual power supply. The horizontal voltage “rails” follow the top-to-bottom order of high to low voltage: +15 volts, variable voltage, ground, and -15 volts. Build this circuit on the left edge of your breadboard and leave it in place for all of your circuits projects.
The circuit shown in Figure B.4 produces a current whose value is approximately 1250/R mA. This circuit configuration “sources” current from the NI myDAQ +15V power supply and effectively operates as a current source with one terminal permanently attached to the NI myDAQ analog ground AGND.
The current source will operate as expected for circuits powered by the NI myDAQ �15 V dual power supply provided the following conditions hold:
Figure B.5 illustrates a similar current source that “sinks” current to the NI myDAQ -15 V power supply. The current source will operate as expected for circuits powered by the NI myDAQ �15 V dual power supply provided the following conditions hold: