Computing: Free Pascal Programming

Electronics: Operational amplifiers.

Download OpAmplifiers desktop application (Windows 64bit) Download OpAmplifiers source code (Lazarus/Free Pascal)

Description: This program, intended for electronics beginners, may be used 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 timer circuits.
The program is a simple simulation of these applications: Users enter the circuit parameters (in particular the resistances) and then (using a trackbar) they 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 timer circuit 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.

Change log:
Version 1.0 (September 2019): Original program.
Version 1.0.1 (September 2021):
    - Pictures optimization (proper display).
    - Helptext spelling mistakes corrections.

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


Operational amplifier simulation: Adder circuit
Operational amplifier simulation: Astable timer circuit