Offline
Зарегистрирован: 13.02.2020
Здравствуйте, уважаемые форумчане!
Иногда заглядываю на этот форум, и обратил внимание на то, что некоторые пользователи пытаются найти симулятор Arduino. На сегодняшний момент их имеется достаточное количество, на любой вкус и цвет. Proteus имеет достаточно высокий уровень вхождения, у многих с ним не получается подружиться. WirtualBreadboard лично мне не понравился, но это мое мнение. Другие программы слишком просты, хотя их сбрасывать со счетов не следует.
В этом посте я хочу поделиться информацией о бесплатном симуляторе электроники с неплохими, на мой взгляд, возможностями. Программа называется SimulIDE.
Последняя доступная версия: SimulIDE 0.3.12-SR3. Более новые версии на сайте patreon.com (распространяются по подписке)
Кратко о возможностях программы:
1. Симуляция схем в реальном времени
2. Симуляция микроконтроллеров PIC, AVR, Arduino
3. Симуляция цифровых схем
4. Симуляция аналоговых схем (ограниченно)
5. Широкий выбор измерительных инструментов (вольтметр, амперметр, осциллограф (одноканальный), 4-х канальный плоттер (к сожалению аналоговый), пробник, частотомер.
6. Возможность создания своих моделей на основе примитивов (я добавил в библиотеку более 100 микросхем серии 74, CD4000)
7. Гибкие настройки встроенных примитивов:
количество входов, выходов, напряжения лог. 1 и лог. 0 для входа и выхода (в том числе и отрицательные), открытий коллектор, инвертированный выход и другие — для логических элементов,
максимальный ток, цвет свечения для светодиодов, количество строк/столбцов, расположение выводов для матриц, количество разрядов для 7 сегментных индикаторов,
тип транзисторов, коэффициент их усиления для биполярных транзисторов, основные параметры для полевых транзисторов
подсветка разными цветами логических уровней для соединительных проводов при симуляции схем и много е другое.
8. Реальная симуляция светодиодов: яркость пропорциональна току. Работает ШИМ для управления яркостью.
9. Встроенный редактор кода для написания программ к микроконтроллерам (я не пользовался)
10. Возможность подключения компилятора кода (я не пользовался)
11. Возможность отладки кода (я не пользовался)
12. Настройки параметров симуляции
13. Программа русифицирована достаточно полно.
14. Работает без установки (портативная версия)
15. Работает под Windows, Linux, MacOS, запускал даже в ReactOS
16. Простой, интуитивно понятный интерфейс
17. Успешно опробовал симуляцию троичной логики (я добавил в базу несколько троичных элементов)
… и другие
Программа постоянно обновляется. Замеченные ошибки достаточно быстро исправляются. Автор обещает заняться разработкой моделей шилдов и датчиков для Arduino. Ультразвуковой сенсор уже имеется.
Вместе с программой поставляется большое количество примеров, на которых можно посмотреть качество моделирования и оценить возможности программы.
В целом программа производит приятное впечатление. Некоторые из моих студентов предпочитают пользоваться этой программой для симуляции цифровых схем.
Для начинающих электронщиков, думаю, программа будет полезна.
Более подробно о качестве моделирования можно прочитать здесь (просматривать можно сразу после 10-й страницы, там достаточно полно раскрыта тема симуляции микроконтроллеров и цифровой логики):
Как разрабатывать свои модели цифровых микросхем описано здесь:
Если кто-нибудь заинтересуется программой или созданием моделей для нее, могу написать более подробно.
Несколько скриншотов программы
Внешний вид интерфейса программы и некоторые инструменты, модели:
Полный список инструментов, моделей (коллаж):
Созданная модель микросхемы CD4553:
Модель в работе (трехразрядный частотомер):
Симуляция Arduino (бегущая строка)
Тот же проект, микросхемы в виде УГО:
Еще одна бегущая строка с редактором кода:
Более подробно с программой можно ознакомиться на официальном сайте или скачав ее.
Пока все. Кидайте камни.
AVR Simulator
This is simulator for AVR controllers.
It supports partially Attiny85, and is provided as is.
OS: Linux
- Introduction
AVR simulator was created to run some avr code on the pc to simplify AVR code debugging.
It is simulator and NOT emulator. That is:
- you run your program on the different CPU (x86), not Atmel;
- interrupts do not actually interrupt main program (They work in parallel to main thread);
- signals are not emulated as they are in real life.
- To let native AVR code to be compiled for desktop Linux, simulator engine uses C++ operators overloading. So, pure C code is compiled as C++ code (please, refer to Makefile).
Feel free, if you need to do any changes to simulator code.
- Supported MCUs
- Attiny85 (partially), any updates are welcome.
- Supported OS
- Linux
For Windows, you can try to use MinGW. Native MSVC compiler is not supported as it doesn’t have «weak» implementation, gcc does have.
- Sources structure
- emu — Emulator engine files
- emu/alt_arduino — alternate implementation of Arduino includes
- emu/arduino — original Arduino includes (or with minimal rework)
- emu/alt_gcc — alternate implementation of AVR gcc includes
- emu/gcc — original AVR gcc includes (or with minimal rework) — look for [avrsim] tag)
- emu/core — Simulator core, implementing main Arduino/AVR functions for Desktop Linux
- emu/mcu — cpu specific files (implementation for uC)
- modules — Modules to connect to your mcu configuration: display, buttons
- modules/ssd1306 module — emulates 128×64 ssd1306 OLED LCD display
- modules/button module — emulates digital button for AVR
- boards — contains hardware board description in C++ for each project
- projects — contains original project sources
- libraries — contains libraries used by the projects
- Usage
SDL2 is required to be installed in the system, you’re working in.
To run demo (arkanoid breakout game is used as default example):
- make run
To run lode runner demo:
- make PROJECT=lode_runner run
If you want to place your project:
- put all libs, projects requires to libraries
- put your project files to projects/ folder
- create board configuration for your project: boards/.cpp.
refer to arkanoid.ino as example. - run: make PROJECT= LIBRARIES= run
Important! Don’t forget to execute git commands after cloning AVRSIM project:
- git submodule init
- git submodule update
That’s it
simulator
avr
microcontroller
emulator
testing
firmware
Free and open-source software emulator for popular AVR microcontrollers, allowing developers to test firmware without hardware
What is Simavr?
simavr is an open-source AVR simulator for Linux, Windows and macOS operating systems. It allows developers to simulate popular Atmel AVR microcontrollers like ATmega128, ATmega256, ATmega8 and more without needing to have the physical hardware.
Some key features of simavr:
- Accurately emulates the behavior of AVR microcontrollers for testing firmware
- Supports simulating sensors, buttons, UART serial ports, ADC, timers, SPI, TWI and more
- Allows debugging cycle-by-cycle or run free at full CPU speed
- Integrates with simulators like GTKWave to visualize signals
- Supports simulating interrupts, sleep modes and fuse bits
- Free and open source software under LGPL license
simavr is targeted towards firmware and hardware developers building products with AVR chips. It enables testing the firmware during development without needing prototype hardware, which saves cost and time. Developers can leverage simavr to write and debug firmware faster compared to testing only on physical boards.
Simavr Features
Features
- Simulates popular AVR microcontrollers like ATmega128
- Allows testing and debugging firmware without hardware
- Supports breakpoints, watches and other debugging features
- Has a GUI for inspecting registers, memory and peripherals
- Can integrate with GDB for more advanced debugging
- Runs on Linux, Windows and macOS
Pros
Saves money by eliminating need for hardware for testing
Allows testing early in development before hardware is available
Faster testing iterations without programming physical chips
Allows testing edge cases and failure modes easily
Integrates with IDEs and GDB for familiar workflow
Cons
Does not perfectly model real device behavior in all cases
Timing may differ slightly from real hardware
Limited to simulating AVR microcontrollers only
Requires learning another tool besides real hardware
Official Links
The Best Simavr Alternatives
Top
Development
and
Embedded Systems
and other similar apps like Simavr
Proteus VSM
Proteus VSM is a popular, proprietary software suite developed by Labcenter Electronics for electrical and electronic circuit simulation, schematic capture, and PCB layout design. It provides an integrated design environment to virtually build, test, and debug electronic circuits and systems before physically manufacturing printed circuit boards.Key features of Proteus VSM…
SimulIDE
SimulIDE is an open-source, cross-platform application for simulating digital and analog circuits, as well as programming PIC microcontrollers. It provides a complete graphical environment for designing electronic circuits and simulating their behavior. Some key features of SimulIDE include:Intuitive graphical user interface for drawing schematics and laying out PCBsExtensive component libraries…
Oregano
Oregano is a free, open-source vector graphics editor for Linux operating systems. It is designed as an alternative to proprietary graphic design software such as Adobe Illustrator or CorelDRAW.Some of the key features of Oregano include:Tools for creating and editing vector shapes and Bezier curvesColor and gradient fillsText tools with…
Emulino
Emulino is an open-source Android emulator for Windows that allows you to run Android apps and games on your PC. Developed by xda forum members, Emulino leverages virtualization technology to emulate an entire Android device environment on Windows.Unlike traditional Android emulators like Bluestacks, Emulino aims to provide an authentic and…
PICsim
PICsim is an open-source circuit simulator and microcontroller emulator designed for 8-bit PIC microcontrollers. It allows users to test and debug PIC code on their computer without needing physical PIC hardware.Some key features of PICsim include:Real-time circuit simulation with various components like LEDs, switches, LCD displays, etc.Emulation of popular PIC…
SimulAVR
SimulAVR is an open-source simulator for Atmel AVR microcontrollers. It enables you to develop, test and debug AVR firmware on your PC without the need for physical AVR hardware.Some key features of SimulAVR:Cycle-accurate simulation of popular AVR chips like ATmega8, ATmega128, ATmega1284 etc.Support for simulated I/O devices like LEDs, buttons,…
Simutron
Simutron is a feature-rich circuit simulation and PCB design software targeted for electrical engineers. It incorporates the entire process from schematic capture to PCB layout and manufacturing in one intuitive environment.Key highlights of Simutron:Schematic editor with part library of over 10,000 ready-to-use componentsAnalog/digital/mixed-signal SPICE-based circuit simulation engineInteractive simulation waveform viewerIntelligent…
Manage different models of Atmel microcontrollers
О, нет
ссылка на загрузку не доступна
Лицензия:
Условно-бесплатная $54.54
Количество загрузок:4,896 (6 за последнюю неделю)
Операционная система:Windows XP/Vista/7/8/10/11
Последняя версия:2.88.3
Сообщить о неточности
Описание
Configure Atmel microcontrollers, including megaAVR, tinyAVR and Mature 90s models. The utility provides a number of built-in tools, including a smart basic source editor, emulator, assembler, debugger, etc. Create functions, generate program scenarios, and so on.
Версия 2.88.3 AVR Simulator IDE доступна бесплатно на нашем сайте. Это ПО для ПК может быть установлена на 32-бит Windows XP/Vista/7/8/10/11.
Вы можете найти следующий загрузочный файл программы: avrsimulatoride.exe. Самые популярные версии среди пользователей программы 2.8, 2.4 и 2.2.
Наша антивирусная программа просканировала эту загрузку и признала ее полностью «чистой» от вирусов. ПО относится к категории Разработчикам.
От разработчика:
AVR Simulator IDE is a powerful application that supplies Atmel microcontroller users with user-friendly graphical development environment for Windows with integrated simulator (emulator), avr basic compiler, assembler, disassembler and debugger. The program supports the extensive number of microcontrollers (MCUs) from the Atmel 8-bit megaAVR and tinyAVR architecture product lines and mature 90S family (selected ATmega, ATtiny, AT90S models).
Мы предлагаем оценить другие программы, такие как PHPEdit, Raize Components или Astah Community, которые часто используются вместе с AVR Simulator IDE.
WinAVR is a set of free utilities for programming AVR microcontrollers. It includes all the tools the developer needs, the most important of which is the GNU GCC compiler, which supports the C+, C and Objective-C languages. In addition, there is a GNU debugger with command line support, a debugger with a graphical shell, and a handy text editor with syntax highlighting. Already these tools would be enough to provide a full development cycle, but the creators of WinAVR went much further.
As part of the package you will find a complete tool to simulate the behavior of microcontrollers — Simulav, equipped with a «proprietary» debugger. An extremely useful application to help predict the behavior of equipment after changes are made to its code. There is also a utility for programming chips with SPI-interface, as well as a huge library with specifications and other reference information on different models of AVR microcontrollers. All tools are provided with detailed documentation. In addition to developing and debugging software for AVR controllers, the program also helps with editing EPROM boot files in a variety of formats. Everything you need for this purpose is in the SRecord folder.
WinAVR offers free comprehensive tools for programming AVR microcontrollers, including a GCC compiler, a debugger, a text editor, and a microcontroller simulator.
Summing up, we can say that WinAVR is a unique program that supports close integration with the Atmel Studio package. Unlike the latter, this set is distributed under the GPL license. That is, any developer can make changes to the program at will.
— GNU GCC compiler that supports C+ C and Objective-C languages;
— built-in code editor with syntax highlighting functions;
— several debuggers, including those with command line support;
— library with information about all AVR microcontrollers models;
— a built-in microcontroller simulator;
— detailed documentation for each tool;
— utilities for working with EPROM boot files;
— integration with Atmel Studio.
Easy to install and configure.
Supports a wide array of AVR microcontrollers.
Offers extensive debugging features.
Lacks regular updates and support.
Interface is not user-friendly for beginners.
Limited compatibility with newer systems.
Alfie
Wed, Dec 27, 2023
WinAVR is a free software development environment for Atmel AVR microcontrollers. It has a compiler, assembler, and debugger tools so that you can create, test programmes in C or assembly language. The app comes with a range of libraries and templates to simplify the development process. Users like the app for its support for multiple AVR devices, compatibility with various programmer devices, and the ability to integrate with other development tools. One of the great features is that it has the GCC toolchain, which consists of the GNU Compiler Collection, assembler, linker, and a debugger. The app supports close integration with the Atmel Studio package. And what makes it even better is that any developer can make changes to the program at will.
Overall, WinAVR is a good solution for developing applications with AVR microcontrollers.
👨💻️ USER REVIEWS AND COMMENTS 💬
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Lewis
WinAVR is a suite of executable, open source software development tools for the Atmel AVR series of RISC microprocessors
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Ruaridh
WinAVR is an opensource software development tool for the Windows platform.It includes GNU GCC compiler for C and C++. With in the tool everything just worked correctly.It is easy to use and i do not have any problem with installation. Atmel studio 7 is free of charge and is integrated with advanced software framework. It contains so many project examples. As a software developer i like this software product verymuch.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Christopher
All the AVR development tools are included in WinAVR. This contains the compiler avr-gcc,the programmer avrdude, the debugger avr-gdb. WinAVR is utilized all around the world, from business enterprises to schools to hobbyists sitting in their damp basements. Numerous open source projects makeup WinAVR. Volunteers are always welcome to assist with range of activities on various projects, including creating documentation,porting,resolving bugs, adding functionality and more.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Callan Pinnock
WinAVR is a free software development suite for the Atmel AVR family of microcontrollers. It includes the GNU GCC compiler for C and C++, AVR-Libc library, AVRDUDE for uploading programs to the microcontroller, and many other development tools. It is a complete solution for developing applications with AVR microcontrollers.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Robbie H.
I have used WinAVR for programming AVR microcontrollers, and I have found it to be an excellent tool. The IDE is easy to use and the integrated compiler works well. The debugger is also great, and allows you to easily step through code and view variables. Overall, WinAVR is a great tool for developing AVR applications.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Alexander C.
I have been using WinAVR software for a while now, and I can say that it fulfills its purpose well. It has a very user-friendly interface and is simple to install. It also allows you to compile and assemble from the command line. It includes a free C/C++ compiler, assembler, linker, debugger, and other related tools. I find the libraries included to be very useful. I also like the integrated development environment, which makes it easy to write and debug code. Overall, I find WinAVR to be a great tool for microcontroller programmers.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Sam Vatterott
WinAVR is a great software for begginer microcontroller programmers — it’s easy to use and provides the necessary tools to get the job done quickly.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Samuel Tarp
WinAVR is a free software development environment for Atmel AVR microcontrollers. It includes a compiler, assembler, and debugger tools for creating and testing programs in C or assembly language. The software also offers a range of libraries and templates to simplify the development process. Some of its main features include support for multiple AVR devices, compatibility with various programmer devices, and the ability to integrate with other development tools. Additionally, WinAVR offers a user-friendly interface with customizable settings and a comprehensive user manual.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Theo
WinAVR is a suite of executable software designed to help developers in programming AVR microcontrollers. The notable feature of this software lies in its inclusion of the GCC toolchain, which consists of the GNU Compiler Collection, assembler, linker, and a debugger. With this collection of utilities, users can create efficient and streamlined code. WinAVR also provides a comprehensive selection of libraries for AVR program development.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Owen
A comprehensive toolkit for programming AVR microcontrollers, perfect for beginners and professionals alike.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Matthew
Efficient for microcontroller programming, slightly outdated interface.
image/svg+xmlBotttsPablo Stanleyhttps://bottts.com/Florian Körner
Evan
Efficient, user-friendly, comprehensive AVR programming.
WinAVR helps program Arduino boards with C programming.
Easy to program microcontrollers with AVR. 🤩