π
<-
Chat plein-écran
[^]

NSPICE - A Circuit Builder and Simulator

Nouveautés, projets, mises à jour.

NSPICE - A Circuit Builder and Simulator

Message non lude M4dasOne » 21 Fév 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
Fichiers joints
NSPICE v0.1.zip
Source Code
(68.59 Kio) Téléchargé 401 fois
Dernière édition par M4dasOne le 22 Fév 2019, 01:33, édité 3 fois.
Avatar de l’utilisateur
M4dasOneProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 66.7%
 
Messages: 3
Inscription: 16 Fév 2019, 07:33
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: NSPICE - A Circuit Builder and Simulator

Message non lude Programmator88 » 21 Fév 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 !
Avatar de l’utilisateur
Programmator88Programmeur
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 54%
 
Messages: 208
Inscription: 26 Jan 2019, 20:05
Localisation: Dans la Lune...
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: L2 MIASHS

Re: NSPICE - A Circuit Builder and Simulator

Message non lude Adriweb » 21 Fév 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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.1%
 
Messages: 14605
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: NSPICE - A Circuit Builder and Simulator

Message non lude M4dasOne » 21 Fév 2019, 11:54

Adriweb a écrit: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.
Avatar de l’utilisateur
M4dasOneProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 66.7%
 
Messages: 3
Inscription: 16 Fév 2019, 07:33
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: NSPICE - A Circuit Builder and Simulator

Message non lude Lionel Debroux » 21 Fév 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.
Avatar de l’utilisateur
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Prochain niv.: 11.2%
 
Messages: 6859
Inscription: 23 Déc 2009, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: -
GitHub: debrouxl

Re: NSPICE - A Circuit Builder and Simulator

Message non lude jimbauwens » 21 Fév 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
Avatar de l’utilisateur
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Prochain niv.: 30.3%
 
Messages: 54
Inscription: 13 Mai 2011, 00:00
Localisation: Belgium
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: Computer Science @ VUB University Brussels

Re: NSPICE - A Circuit Builder and Simulator

Message non lude M4dasOne » 21 Fév 2019, 17:09

jimbauwens a écrit: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.
Avatar de l’utilisateur
M4dasOneProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 66.7%
 
Messages: 3
Inscription: 16 Fév 2019, 07:33
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: NSPICE - A Circuit Builder and Simulator

Message non lude 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!
Avatar de l’utilisateur
WistaroSuper Modo
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Prochain niv.: 87.5%
 
Messages: 3153
Images: 37
Inscription: 25 Fév 2013, 16:21
Localisation: Toulouse
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: Ingénieur en électronique
YouTube: Wistaro
Twitter/X: Wistaro
GitHub: Wistaro

Re: NSPICE - A Circuit Builder and Simulator

Message non lude 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...)
Avatar de l’utilisateur
Extra44Premium
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Prochain niv.: 58.4%
 
Messages: 591
Images: 1
Inscription: 20 Jan 2011, 00:00
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: S.I.

Re: NSPICE - A Circuit Builder and Simulator

Message non lude Hamza.S » 06 Mar 2019, 20:33

Pas encore, non
Image
Avatar de l’utilisateur
Hamza.SAdmin
Niveau 17: GM (Grand Maître des calculatrices)
Niveau 17: GM (Grand Maître des calculatrices)
Prochain niv.: 28.5%
 
Messages: 4461
Images: 18
Inscription: 07 Nov 2014, 00:43
Genre: Homme
Calculatrice(s):
MyCalcs profile

Suivante

Retourner vers Actualités

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 11 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
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
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
894 utilisateurs:
>880 invités
>9 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)