π
<-
Chat plein-écran
[^]

NSPICE - A Circuit Builder and Simulator

Nouveautés, projets, mises à jour.

NSPICE - A Circuit Builder and Simulator

Unread postby M4dasOne » 21 Feb 2019, 11:33

Welcome!

Recently, I have been working on an Circuit Builder and Simulator for the TI Nspire. The result is NSPICE! The name plays off of the Nspire technology and popular SPICE simulator for integrated circuits and its related programs (PSPICE, XSPICE, LTSPICE etc.)

This project is still in its alpha stages, and I plan to put a lot more into it. In the meantime however, I wanted to post and upload here to get some feedback.
Currently, it supports circuits composed of Resistors, Voltage Sources and Current sources.

Here is a video showing some of the features so far
Image

Future features I hope to implement include:
  • Save and load circuits
  • Better help menu
  • Dialog messages to indicate why / when a solve fails
  • Warning message before clearing the circuit
  • Option to always view component name / values
  • Color Themes
  • Export data to TI Nspire Basic variables
  • Calculate current through voltage sources
  • Allow resistors with 0 resistance.
  • More components (Diodes, Lights, Switches, Capacitors, Inductors ..)
  • Clean up source and add function docs

NSPICE uses the GUI Toolkit from FormulaPro, by Adriweb and Jim Bauwens. Much thanks to them!

I understand that the user base here is mostly French, so thank you for reading this far in English!
Let me know if you have any thoughts or suggestions. The source code is attached, and the .tns file can be found here

Update [v0.1.1] Fixed a bug that pressing the tab key would crash the program
Attachments
NSPICE v0.1.zip
Source Code
(68.59 KiB) Downloaded 401 times
Last edited by M4dasOne on 22 Feb 2019, 01:33, edited 3 times in total.
User avatar
M4dasOneProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Level up: 66.7%
 
Posts: 3
Joined: 16 Feb 2019, 07:33
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: NSPICE - A Circuit Builder and Simulator

Unread postby Programmator88 » 21 Feb 2019, 11:39

Hey, very cool and interesting project! You did a goog job :) Will an adaptation for TI-83PCE come ? :P
Je fais essentiellement des niveaux pour Oiram CE et Geometry Dash CE. Ils sont tous disponibles ici. Je fais un Doodle Jump pour TI-83PCE/TI-84+ avec Azerpogba. Je cherche un bêta-testeur pour mes niveaux Geometry Dash CE. N'hésitez pas à me contacter en MP.

ImageImage
Eh, Anonymous, ça te dirait de me donner un Internet ? C'est complètement inutile mais c'est marrant ! :D En échange, je te donnerai... ma reconnaissance éternelle !
User avatar
Programmator88Programmeur
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 54%
 
Posts: 208
Joined: 26 Jan 2019, 20:05
Location: Dans la Lune...
Gender: Male
Calculator(s):
MyCalcs profile
Class: L2 MIASHS

Re: NSPICE - A Circuit Builder and Simulator

Unread postby Adriweb » 21 Feb 2019, 11:42

Fantastic job indeed, congratulations.
Many people have wanted such a tool !

It's newsworthy so hopefully soon it can be featured on the tiplanet front page :)
Also, you should upload it here: upload.php
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.1%
 
Posts: 14606
Images: 1216
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: NSPICE - A Circuit Builder and Simulator

Unread postby M4dasOne » 21 Feb 2019, 11:54

Adriweb wrote:Fantastic job indeed, congratulations.
Many people have wanted such a tool !

It's newsworthy so hopefully soon it can be featured on the tiplanet front page :)
Also, you should upload it here: upload.php

Thank you! I have uploaded it.
User avatar
M4dasOneProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Level up: 66.7%
 
Posts: 3
Joined: 16 Feb 2019, 07:33
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: NSPICE - A Circuit Builder and Simulator

Unread postby Lionel Debroux » 21 Feb 2019, 12:02

Yeah, good job indeed :)
Reminds me of Symbulator, for the TI-68k series.

We're mostly French-speaking indeed, but we have a number of users posting exclusively in English, and unlike Cemetech, we do have Nspire developers.

Keep working on it ;)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.2%
 
Posts: 6859
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

Re: NSPICE - A Circuit Builder and Simulator

Unread postby jimbauwens » 21 Feb 2019, 15:22

Hi, great job!

Glad to see someone using ETK :-)

By the way, there is a newer version of ETK: https://github.com/jimbauwens/ETK . It doesn't have all the widgets that the old version of ETK has, but it is programmed in a much better way. What might be interesting for you is the build system, was has greatly improved since the first version.

You can see an example program here: https://github.com/jimbauwens/ETK/blob/ ... TK/etk.lua .

Kind regards,
Jim
User avatar
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 30.3%
 
Posts: 54
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
MyCalcs profile
Class: Computer Science @ VUB University Brussels

Re: NSPICE - A Circuit Builder and Simulator

Unread postby M4dasOne » 21 Feb 2019, 17:09

jimbauwens wrote:Hi, great job!

Glad to see someone using ETK :-)

By the way, there is a newer version of ETK: https://github.com/jimbauwens/ETK . It doesn't have all the widgets that the old version of ETK has, but it is programmed in a much better way. What might be interesting for you is the build system, was has greatly improved since the first version.

You can see an example program here: https://github.com/jimbauwens/ETK/blob/ ... TK/etk.lua .

Kind regards,
Jim

Thanks. ETK was very helpful to me, I really appreciate it! :)

I saw the newer version and was actually using it at first. I opted for the older one because it seemed a bit lighter and I wasn't using hardly any of the features of the new one. It also had more examples and I didn't want to port over dropdowns, lists and scrollbars. While using --includes in the newer version was nice, I am just using my own builder now that just glues together a list of files, and it works fine for me. I might eventually switch to the newer version.
User avatar
M4dasOneProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Level up: 66.7%
 
Posts: 3
Joined: 16 Feb 2019, 07:33
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: NSPICE - A Circuit Builder and Simulator

Unread postby Wistaro » 06 Mar 2019, 11:20

I'm impressed, it's an amazing work!

You should add more complex components (like transistos, diodes, thyristors, mos-fet...) in order to build more complex circuits!

I'm looking forward to it!
Good luck :)
Nouveau sur le site, Anonymous ? Avant de poster sur le chat et sur le forum, n'oublie pas de lire les règles. En cas de problème, tu peux m'envoyer un message, je réponds rapidement.

Liens utiles:
Image
Découvre mes programmes et mon site!
User avatar
WistaroSuper Modo
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 87.5%
 
Posts: 3153
Images: 37
Joined: 25 Feb 2013, 16:21
Location: Toulouse
Gender: Male
Calculator(s):
MyCalcs profile
Class: Ingénieur en électronique
YouTube: Wistaro
Twitter: Wistaro
GitHub: Wistaro

Re: NSPICE - A Circuit Builder and Simulator

Unread postby Extra44 » 06 Mar 2019, 20:29

Very nice !

@Critor... Il n'y as pas eu de news la dessus ? (Je n'en ai pas vu a priori...)
User avatar
Extra44Premium
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 58.4%
 
Posts: 591
Images: 1
Joined: 20 Jan 2011, 00:00
Gender: Male
Calculator(s):
MyCalcs profile
Class: S.I.

Re: NSPICE - A Circuit Builder and Simulator

Unread postby Hamza.S » 06 Mar 2019, 20:33

Pas encore, non
Image
User avatar
Hamza.SAdmin
Niveau 17: GM (Grand Maître des calculatrices)
Niveau 17: GM (Grand Maître des calculatrices)
Level up: 28.5%
 
Posts: 4461
Images: 18
Joined: 07 Nov 2014, 00:43
Gender: Male
Calculator(s):
MyCalcs profile

Next

Return to Actualités

Who is online

Users browsing this forum: No registered users and 13 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
2339 utilisateurs:
>2319 invités
>15 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)