user10994: I control an analog circuit with Arduino Uno. I want to simulate an Arduino Uno with operational amplifiers (741). Can I simulate Arduino with SPICE?

user7856: You could use https://en.wikipedia.org/wiki/Ngspice.
From what is written there, the Xspice part could be used for creating a simple model of the Arduino, for checking how the analog part of your circuit interacts with the uC.
Unfortunately the main site () is down, atm, as many other projects hosted on SourceForge. But it might be worth having a look, once it's back online.

user31668: Here is the one which is closest to be useful for your question
Link: https://markmegarry.github.io/AVR8js-Falstad/
Try it out for yourself
It is very slow though.


10994: <p>I control an analog circuit with Arduino Uno. I want to simulate an Arduino Uno with operational amplifiers (741). Can I simulate Arduino with SPICE?</p>
 7856: <p>You <em>could</em> use <a href="https://en.wikipedia.org/wiki/Ngspice" rel="nofollow">https://en.wikipedia.org/wiki/Ngspice</a>.
From what is written there, the Xspice part could be used for creating a simple model of the Arduino, for checking how the analog part of your circuit interacts with the uC.
Unfortunately the main site () is down, atm, as many other projects hosted on SourceForge. But it might be worth having a look, once it's back online.</p>
 31668: <p>Here is the one which is closest to be useful for your question</p>
<p><strong>Link</strong>: <a href="https://markmegarry.github.io/AVR8js-Falstad/" rel="nofollow noreferrer">https://markmegarry.github.io/AVR8js-Falstad/</a></p>
<p>Try it out for yourself
It is very slow though.
<a href="https://i.stack.imgur.com/ijCdF.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ijCdF.gif" alt="Simulator Arduino and SPICE!" /></a></p>
