1

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?

Nick Gammon
38.9k13 gold badges69 silver badges125 bronze badges
1
  • 4
    No, there is no SPICE model for an Arduino. But then given that an ATMega328 doesn't have any DAC capabilities you would only need to feed in a digital stimulus to your simulation. Commented Jul 19, 2015 at 19:53

2 Answers 2

3

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. Simulator Arduino and SPICE!

answered Jun 10, 2021 at 15:52
1

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.

answered Jul 20, 2015 at 8:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.