I'm a new user of SimulIDE and I find it very interesting.
I already succeed to simulate some basic circuits with arduino.
Now, I want to use the LM555 component but don't succeed to use it.
I can't connect the power pins. And I don't find some properties to do it.
I've noticed that the power pins are blue on the symbol and I expect some special thing, but I don't know why.
Thanks for your help.
François
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2019-03-28
Hi,
thanks for your answer.
I though also that I didn't need to connect the power pins, but that doesn't work.
In the example/logic directory, there's a lm555-astable.simu file.
The power pins are connected in this example. When I start the simulation, everything works.
If I remove the connection between the ground component and the GND pin of the LM555, the circuit continues to oscillate.
But as soon as I remove the connection between the voltage source and the VCC pin, the circuit doesn't work anymore.
So the power pins need to be connected for this component, but it seems I can't do that.
Regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ohh yes, you are right. I'm sorry, i forgot this component needs to know power voltage.
This issue will be solved in next release.
As a workaraund i created a subcircuit that can work (attached to this post).
To use it put the files in data folder attached into simulide data folder:
SimulIDE_0.X.XX/share/simulide/data
Next time you open simulide you will see a new lm555 just under "logic" category.
This new LM555 subcircuit will not be in next versions, so Circuits created with this new component will not work in next simulide versions (unless you keep subcircuit files).
If you want to keep some of the circuits made with this component to use with next SimulIDE versions it is possible to convert them:
. Open your "circuit.simu" file in a text editor.
. Search for the "LM555" entry, it will look like "LM555-39" or any other number.
. Find "itemtype" property, it will look like this: itemtype="Subcircuit"
. Replace "Subcircuit" by "Lm555", so it looks like: itemtype="Lm555"
. Save changes and open in simulide, it should work
Yes, there is still a problem, this only works in development version.
Don't worry, i will upload a new version with this and some other issue fixed.
I think it will be ready tomorrow or nex day.
Regards.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HC-SR04 is alredy done, it will be in next public version.
By now i'm releasing first in patreon, some time later it's public released.
I'm doing some special public releases like 0.3.10-SR2 to solve some bugs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm a new user of SimulIDE and I find it very interesting.
I already succeed to simulate some basic circuits with arduino.
Now, I want to use the LM555 component but don't succeed to use it.
I can't connect the power pins. And I don't find some properties to do it.
I've noticed that the power pins are blue on the symbol and I expect some special thing, but I don't know why.
Thanks for your help.
François
Hi.
You don't need to connect the power pins.
Just in case you don't know this page, here you can find some tutorials:
http://simulide.blogspot.com/p/blog-page.html
Regards,
Hi,
thanks for your answer.
I though also that I didn't need to connect the power pins, but that doesn't work.
In the example/logic directory, there's a lm555-astable.simu file.
The power pins are connected in this example. When I start the simulation, everything works.
If I remove the connection between the ground component and the GND pin of the LM555, the circuit continues to oscillate.
But as soon as I remove the connection between the voltage source and the VCC pin, the circuit doesn't work anymore.
So the power pins need to be connected for this component, but it seems I can't do that.
Regards,
Ohh yes, you are right. I'm sorry, i forgot this component needs to know power voltage.
This issue will be solved in next release.
As a workaraund i created a subcircuit that can work (attached to this post).
To use it put the files in data folder attached into simulide data folder:
SimulIDE_0.X.XX/share/simulide/data
Next time you open simulide you will see a new lm555 just under "logic" category.
This new LM555 subcircuit will not be in next versions, so Circuits created with this new component will not work in next simulide versions (unless you keep subcircuit files).
If you want to keep some of the circuits made with this component to use with next SimulIDE versions it is possible to convert them:
. Open your "circuit.simu" file in a text editor.
. Search for the "LM555" entry, it will look like "LM555-39" or any other number.
. Find "itemtype" property, it will look like this: itemtype="Subcircuit"
. Replace "Subcircuit" by "Lm555", so it looks like: itemtype="Lm555"
. Save changes and open in simulide, it should work
Sorry for the inconvenience.
Thanks for your answer.
I will try soon
Best Regards
There's an error :
SubCircuit::initSubcircuit Error creating: "LM555-1-eLm555-0"
I suspect something with the name of the component, but I don't have enough experience to solve that.
Yes, there is still a problem, this only works in development version.
Don't worry, i will upload a new version with this and some other issue fixed.
I think it will be ready tomorrow or nex day.
Regards.
Solved in SimulIDE_0.3.10-SR2
Great, thank you very much for your help !
Now I want to model the ultrasonic sensor HC-SR04. I've seen that I could write a model in C.
Is there any documentation about that ?
Or maybe, it's a better idea to create a subcircuit ?
HC-SR04 is alredy done, it will be in next public version.
By now i'm releasing first in patreon, some time later it's public released.
I'm doing some special public releases like 0.3.10-SR2 to solve some bugs.