Article
Programmable Pulse Generator
simple hardware with lots of features
This pulse generator, which can be programmed using Visual Basic 5.0, employs the simplest imaginable hardware but offers capabilities that are usually found only in microprocessor controlled equipment.The circuit presented here is a programmable pulse generator (PPG) that can be programmed via a serial interface. It has a frequency range of 0.1 Hz to around 100 kHz. The pulse frequency and pulse length of the PPG are set using the combination of switch S2 (SPF) and potentiometer P2 (PF) along with switch S1 (SPL) and potentiometer P1 (PTL), as shown in Figure 1. It is possible to program arbitrary pulse sequences, ranging in length from 1 to 48 pulses, and the only involvement of the PC CPU is to load new pulse patterns. The circuit is otherwise fully independent.The following signals are present on the three outputs (AN, AG and AP): the programmed pulse sequence, a DC voltage smoothed by a low-pass filter (dimming function) and a pulse whose width can be set using a monostable multivibrator (MMV).
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
R1-R4,R13 = 10k Ohm
R5,R7,R9 = 560 Ohm
R6 = 4k Ohm 7
R8 = 6k Ohm 8
R10,R14 = 1k Ohm
R11 = 47k Ohm
R12 = 33k Ohm
P1 = potentiometer, 2M Ohm , linear law
P2 = potentiometer, 1M Ohm , linear law
Capacitors:
C1 = 470pF
C2,C4 = 1µF
C3 = 1nF
C5,C7,C8 = 100nF
C6 = 100µF 16V radial
Semiconductors:
D1,D2,D3 = 4V7, 500mW zener diode
T1-T5 = BC547C
IC1 = 4027
IC2 = 4098
IC3,IC4,C5 = 40100
IC6 = 4011
IC7 = 4093
Miscellaneous:
K1 = 9-way Sub-D socket (female), PCB mount
S1,S2 = switch, 1 on/off contact
3 solder pins
Disk, project software, order code 000200-11a/b
PCB, order code 000200-1
R1-R4,R13 = 10k Ohm
R5,R7,R9 = 560 Ohm
R6 = 4k Ohm 7
R8 = 6k Ohm 8
R10,R14 = 1k Ohm
R11 = 47k Ohm
R12 = 33k Ohm
P1 = potentiometer, 2M Ohm , linear law
P2 = potentiometer, 1M Ohm , linear law
Capacitors:
C1 = 470pF
C2,C4 = 1µF
C3 = 1nF
C5,C7,C8 = 100nF
C6 = 100µF 16V radial
Semiconductors:
D1,D2,D3 = 4V7, 500mW zener diode
T1-T5 = BC547C
IC1 = 4027
IC2 = 4098
IC3,IC4,C5 = 40100
IC6 = 4011
IC7 = 4093
Miscellaneous:
K1 = 9-way Sub-D socket (female), PCB mount
S1,S2 = switch, 1 on/off contact
3 solder pins
Disk, project software, order code 000200-11a/b
PCB, order code 000200-1
Discussion (0 comments)