Computing: Free Pascal Programming

Programming Home   Home   Contact

Electronics: Operational amplifiers (OpAmplifiers).

Description: Program, intended for electronics beginners to study common applications of operational amplifiers. Linear applications include: inverting and non-inverting amplifier, 2- and 3-input adder circuits and differential amplifiers. Non-linear applications include: comparators and astable multivibrators.
The program is a very simple simulation of these applications: The user enters the circuit parameters (in particular the resistances) and then (using a trackbar) can modify the input voltage(s) and observe what happens at the op-amp's output. The values of other relevant circuit components are also calculated. The astable multivibrator circuit includes 2 LEDs that blink in real time, the frequency depending on the resistances and capacitor values set by the user.
Program and electronics help included.

Free Pascal features: Combing images and shapes to create a specific layout. Usage of timers to implement simple simulations. Modification of brush color and bruch style during program execution to simulate real time events. Multiple forms (each of them containing its own code to do a specific task).


Op-amp adder circuit
Op-amp astable multivibrator