Using VMLAB as virtual oscilloscope

VMLAB is one of well known simulators. This is software simulator of AVR and ST62 microcontrollers. You may download free version of it from https://www.amctools.com. The simulation is far away from real time, but All timings are tied to real world values. VMLAB is designed to work as project. This is a special language (script like), where circuit is described – where are connections between hardware and microcontroller defined. Few prebuilt examples you may find in folders C:\VMLAB\AVR_demo and C:\VMLAB\ WinAVRdemo (If your installation is in C:\VMLAB\ folder). VMLAB is rich in its hardware support: Resistor, Grounded capacitor, Interactive switch / key, LED diode, Pulsed voltage source, Sine wave voltage source, Slider dependent voltage source (interactive), Non-ruturn-to-zero (NRZ) generator (interactive), Operational amplifier, Comparator, 2 inputs NAND gate, 8 bits D to A converter, RS232 based TTY (interactive), LCD module, I2C monitor (interactive), Interactive keypad 4×4 Multiprocess-dedicated: External Input, External Output. So you can do wide range of simulations. VMLAB also has a powerful scope where you can watch voltages on pins or even some internal microcontroller resistor values like ACO, TIMOVF signals. Let’s make simple project using VMLAB tool. Start VMLAB And create new project by selecting Project-New. Select project…

Continue reading