Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to the simulator #3866

Closed
wants to merge 23 commits into from
Closed

Conversation

failiz
Copy link
Contributor

@failiz failiz commented Aug 13, 2021

The main modifications:

  • Be able to see the spice field in the inspector (only if it not empty)
  • Created a simulation bin with items that can be simulated
  • Added more items and spice fields to parts in other bins (mainly resistors, capacitors, transistors and potentiometers from Sparkfun bins)
  • Fix some spice models that produce odd results
  • Improved simulator error handling
  • Changing parameters in the parts, triggers a simulation if the simulator is active
  • Updated font of the multi-meter to a 14 segment font, now using power prefixes (p, u, m, k, M, G)

TODO:

  • Create examples
  • Make intensite of the LEDs more noticeable
  • Add more items: RGB leds, gates, op amplifiers
  • Trigger simulator if wiring changes or a part swaps
  • Add interactive elements (potentiometers, switches)

failiz added 20 commits May 17, 2021 12:21
… current parameter can be changed in superflux leds
…ml, check for potentiometer errors, fixed bug in getting current and power in parts with several spice subcomponents, added sparkfun module IDs to properties.xml
… and every change in the properties of a part will trigger a simulation. When pressing the "Stop Simulator" button, the simulator removes all the artifacts and stops triggering simulations when parameters are changed.

Added some sparkfun potentiometers to properties.xml to be able to chage their properties.
…. Capacitors and resistors Allows intruducing up top 10 digits (fixes fritzing#1943)
…ulation results after changing wires, properties, moving items, etc and also when undoing or redoing commands. The problem is that several simulations are performed as some interactions run several commands, this needs to be fixed to reduce the time that the program is blocked (specially for big circuits).
… if it is in simulation mode. Renamed reset to stop simulator.
…ot be static as there could be multiple instances of Fritzing with different circuits)
…not grey our connectors, so when highlighting the connectors that are connected toguether, the highlighting colors are preserved.
…ck for short circuits in power supplies (schematic symbols)
@failiz
Copy link
Contributor Author

failiz commented Sep 1, 2021

And the last commits added:

  • Created examples
  • Make intensity of the LEDs more noticeable
  • Trigger simulator if wiring changes or a part swaps
  • Fix small bugs and small improvements

I think the simulator is ready to be merged, but let me know if you find something that needs to be modified. I will not continue improving it for now. There are a few things that I would like to implement when I find time, but they are not urgent and do not affect the core of the simulator:

  • Add interactive elements (potentiometers, switches)
  • Add more items: RGB leds, gates, op amplifiers

I also updated the README to reflect the last changes.

@failiz
Copy link
Contributor Author

failiz commented Jun 14, 2022

Released in 0.9.10. Closing

@failiz failiz closed this Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant