π
<-
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 17 times
Last edited by M4dasOne on 22 Feb 2019, 01:33, edited 3 times in total.
User avatar
M4dasOneProg.
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 25%
 
Posts: 3
Joined: 16 Feb 2019, 07:33
Gender: Not specified
Calculator(s):

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.


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
Programmator88Prog.
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 46.3%
 
Posts: 206
Joined: 26 Jan 2019, 20:05
Location: Dans la Lune...
Gender: Male
Calculator(s):
Class: En vacances - 1ère Générale pendant l'année 2019-2020
YouTube: Kinkalax Productions (c'est un ami).
Twitter: J'ai pas Twitter.
Facebook: J'ai pas Facebook.
GitHub: J'ai pas GitHub.

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
User avatar
AdriwebAdmin.
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 50.8%
 
Posts: 12450
Images: 1080
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
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
M4dasOneProg.
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 25%
 
Posts: 3
Joined: 16 Feb 2019, 07:33
Gender: Not specified
Calculator(s):

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 DebrouxModo.G
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 4%
 
Posts: 6317
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
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
jimbauwensProg.
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 26%
 
Posts: 53
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
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
M4dasOneProg.
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Level up: 25%
 
Posts: 3
Joined: 16 Feb 2019, 07:33
Gender: Not specified
Calculator(s):

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 :)
User avatar
WistaroModo.G
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 58.8%
 
Posts: 2805
Images: 37
Joined: 25 Feb 2013, 16:21
Location: Toulouse
Gender: Male
Calculator(s):
Class: Etudiant ingénieur (Ex TS - SI)
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: 32.9%
 
Posts: 472
Images: 1
Joined: 20 Jan 2011, 00:00
Gender: Male
Calculator(s):
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: 6.1%
 
Posts: 3464
Images: 17
Joined: 07 Nov 2014, 00:43
Gender: Male
Calculator(s):

Next

Return to Actualités

Who is online

Users browsing this forum: No registered users and 0 guests

-
Search
-
Featured topics
Offre TI-Planet/Jarrety pour avoir la TI-83 Premium CE avec son chargeur pour 79,79€ port inclus !
Offre TI-Planet/Jarrety pour avoir la TI-Nspire CX CAS à seulement 130€ TTC port inclus!
Jailbreake ta TI-Nspire avec Ndless et profite des meilleurs jeux et applications !
123
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...

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 
-
Stats.
345 utilisateurs:
>309 invités
>31 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)