I am sure this has come up before but I am totally lost, how do I simulate a simple SPDT relay ?
I am sure this has come up before but I am totally lost, how do I simulate a simple SPDT relay ?
A lot depends on how accurately you wish to simulate the relay action. Do you want to simulate an voltage controlled idealised SPDT switch or do you need a realistic simulation of the behaviour of a real electromechanical relay?
Have a look at this sim (which you will not be able to run until I fix it for LTspice):
https://oshwlab.com/example/How_to_simulate_a_DPDT_switch-Wgs2CbLlH
Please see this topic:
https://easyeda.com/forum/topic/Switching_during_simulation-LHhCAyUge
then post back if you need more help.
The Simulation Tutorial (3) in (2) in:
https://easyeda.com/forum/topic/How-to-ask-for-help-and-get-an-answer-71b17a40d15442349eaecbfae083e46a
will show you how to find simulatable parts and there are examples of how to create and understand the results from simulations using voltage controlled switches.
Applying the filters in the left area of the Spice Symbol Library search tool will help you find spice models of a variety of relays:
RELAY_SPDT_12V_EE
RELAY_DPDT_9V_EE
and similar.