Hi lads!
In a nutshell, I want to simulate a project with a controlled voltage source.
Let's assume it is a simple SPST between 9V and Arduino's VIN.
To my awareness, Proteus is the only software to support ATmega328P simulation. However it doesn't allow me to connect something to VIN (it is internally autopowered instead).
Do you guys know of any circuit simulator which may allow me such a (seemingly inordinary) action?
Best Regards.
What exactly do you want to determine by the simulation?
The Atmega328 does not have a "VIN pin", the VIN pin is on the Arduino circuit board, feeding a voltage regulator.
JCA34F:
The Atmega328 does not have a "VIN pin", the VIN pin is on the Arduino circuit board, feeding a voltage regulator.
Yes. Sorry about that typo. Of course I meant VCC.
DrDiettrich:
What exactly do you want to determine by the simulation?
Instead of SPST there will be a bunch of components turning on the board under pretty peculiar circumstances. I want to make sure my calculatiins are ok.
The controller should not be powered off, instead go to sleep.
What do you expect from a µC power on simulation?
DrDiettrich:
The controller should not be powered off, instead go to sleep.
What do you expect from a µC power on simulation?
Sir, I truly appreciate your input. Till now I didn't know about the Sleep Mode in ATmega.
Still you have to believe me - it is not a workaround I am looking for. It is a simulation of Arduino + everything prior to it's voltage input. So I have to be able to block voltage provision in a simulation.
Thank you.
I doubt there is any simulation that would simulate the atmega chip being unpowered, because at that point there is nothing to simulate since the processor is not running. If you want to simulate the electronic circuit that turns the power ON/OFF, that would not be a simulator for an atmega chip, but an electronic circuit simulator.
Why simulate, instead of measuring effects with real circuits?
Only real measured values are credible, all simulations have their bugs and limits.
mbentefor:
It is a simulation of Arduino + everything prior to it's voltage input. So I have to be able to block voltage provision in a simulation.
Sorry, not making sense. Seems like an "XY problem"!
What is is it you are actually wanting to do and why?
mbentefor:
In a nutshell, I want to simulate a project with a controlled voltage source.
Let's assume it is a simple SPST between 9V and Arduino's VIN.
mbentefor:
Yes. Sorry about that typo. Of course I meant VCC.
Are you expecting the simulator to release the smoke from the (simulated) Arduino?