mdl file

mdl file

Anonymous
Not applicable
1,518 Views
3 Replies
Message 1 of 4

mdl file

Anonymous
Not applicable

Hi, I'm new of this forum; i'm trying to simulate my own circuit which consist on a arduino nano an lcd display two resistor and an lm35. Here I post Schematic. I don't know how to load map for lcd and arduino parts. I haven't the mdl file but only the lbr file. On the internet I haven't found anything. Could you please help me.

Thank you.

0 Likes
Accepted solutions (1)
1,519 Views
3 Replies
Replies (3)
Message 2 of 4

jorge_garcia
Autodesk
Autodesk
Hello @Anonymous,

I hope you're doing well. Thanks for visiting our forums and welcome.

It's important to understand that the arduino and the LCD component are devices that are programmed and execute code. The simulator built into EAGLE is a SPICE simulator and it is designed to solve the systems of equations the describe the behavior of analog circuitry. In other words EAGLE can't simulate the circuit that you want to simulate.

With that said you may want to check out https://www.tinkercad.com/learn/circuits. This tool has a built in arduino simulator and can likely get you more of the result you are looking for.

Let me know if there's anything else I can do for you.

Best Regards,


Jorge Garcia
​Product Support Specialist for Fusion 360 and EAGLE

Kudos are much appreciated if the information I have shared is helpful to you and/or others.

Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.
0 Likes
Message 3 of 4

Anonymous
Not applicable

Hi, thank you for your reply, so I can't simulate a circuit with a digital component, isn't it?

To simulate a digital circuit either there be arduino or other digital components I have to use the other simulator, is that right? Just to understand because I like Eagle, it is very useful.

Moreover, is there an .mdl file for every single analog component? Because I found many of them in the example directory, but I would know if there are any other directories or websites where I can find out them.

I did these (maybe stupid) requests because I like that software and i want to completely understand it. 

Thank you.

0 Likes
Message 4 of 4

one-of-the-robs
Advisor
Advisor
Accepted solution

When you simulate a circuit with Spice, whether it be in Eagle or anywhere else, it's doing a simulation of the voltages and currents through the various circuit elements.

When you simulate a processor, whether it be an arduino or a PIC or whatever, you don't do anything of the sort. Processors are way too complex and all the voltage and current bits are deeply embedded and of no interest. Instead, you simulate the logical behaviour of the CPU at a register level.

Eagle's spice simulator does have some digital logic capability - which falls somewhere between the two - but it doesn't have a full suite of simulated complex programmable logic devices. That's just way out of scope.

I've done some development work on the GPSim PIC simulator. That does the logical behaviour modelling with no regard for voltages and currents except on the very outside level, where it also does a very simplistic peripheral device model. If you want to simulate a circuit that includes a PIC, it's not what you want (although the tool you do want achieves the goal by embedding the GPSim library to handle the core). Similarly, Eagle is a tool for designing circuits, not a tool for developing embedded code. It doesn't, and shouldn't, simulate microprocessors at a code level.

 

On the other question: no, Eagle does not ship with a Spice model of every single component in the world ever! Of course it doesn't! If you're using something specific, the manufacturer may have a Spice model you can download. Of course, it's probably for the wrong dialect of Spice but they can usually be translated. Ed is very good at helping with that.

0 Likes