Ktechlab is an open source tool for circuit simulation that can work with pics.
This a modification from the 0.3.7 version that replaces the "microbe" code generation for GcBasic code, and add some new features.
Then is possible generating GcBasic from flowcode, compiling and simulating the code in a circuit at real time.
You can find some information (spanish) here:
If someone is interested in english information please let me know.
Please post the English information or where to get it from. I am interested. I will use google translation for now but the English version is important.
Keep the good work up!
God blesses!!!
Best regards,
Sanyaade
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok…
KTechLab is an Open Source IDE and Simulator for Digital & Analog Circuits and PIC Micro-controllers. Still in development.
website:
Ktechlab is included is some Linux distributions, as: Ubuntu, Fedora.
But in most cases the actual releases don't work very well and it looks like the pic stuff is little abandoned, then i modified the sources (ktl-0.3.7) to work for me.
You can draw and simulate circuits, develop, compile, debug, simulate and write to pic.
The circuit interface is very easy to use, you can edit the circuit while running simulation in real-time. Anyway there are only generic components and the analogic simulation is not very accurate… this is not a profesional simulator, but useful for learning and training purposes.
Then this is my personal re-build of ktechlab, still a first attempt, works in the general aspects, but still needs a lot of work in the details; anyone that wants to give a hand is welcome. But this is not the oficial Ktechlab… just my try to have it working with pics.
These are the changes i did:
-Ktechlab can generate microbe code from flowcode.
Microbe is a basic kind language, but is very limited and very difficult to extend to other pics (actually support just 5 pic models).
I replaced Microbe by GcBasic, then now is possible to use ktl as an IDE with circuit simulator for GcBasic and SDCC.
I also added GcBasic sintax highlighting, but i think it should be improved.
-Pic (in circuit) simulation can now run at real time.. but this is depending on the speed of the PC and processor load in that moment.
Then i added a property where is possible to set the pic clock speed in the simulation.
-Added some pic models to simulation and flowcode (not tested 100%).
___
Then if someone want to try it, this is what you need:
**-Gpsim.0.24.0:**
One of the problems with actual releases of ktechlab is that gpsim is not recogniced, then is needed a gpsim version>0.22.0.
Download and compile it from here:
Or use this deb installer (not oficial):
**-GcBasic** updated:
For ktechlab to use gcbasic executable is needed to place it in the path, then add your gcbasic executable to the path or use this deb installer that install gcbasic in /usr/bin and /usr/share/GcBasic (not oficial):
**-Ktechlab.0.3.7-PL** (my modification of oficial 0.3.7):
You can download the sources (not oficial) and compile in your system:
Or use this deb installer (not oficial):
Sorry could'nt get back to reply you soon, I was busy preparing for Windows 7 and Windows 2008 R2 conference at London Wembley for my students.
About compiling Ktechlab, it looks like it is a KDE application and tied down to that environment. Please explain this.
Is Gpsim the only dependence for compiling Ktechlab? Is it possible to port to Windoze (Microsoft Windows)? I need to know this as I am interested in Ktechlab to be used in my teaching classes with my students.
I will try the linux version but the Windows build will definitely increase its user based and its potentiality.
God blesses!!!
Best regards,
Sanyaade
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry could'nt get back to reply you soon, I was busy preparing for Windows 7 and Windows 2008 R2 conference at London Wembley for my students.
Then good luck with your conference… :-)
About compiling Ktechlab, it looks like it is a KDE application and tied down to that environment. Please explain this.
You re right, Ktechlab is a KDE app, but it in can run in Gnome (never tried ont other desktops).
Indeed i use it in Linux mint Elyssa (based on Ubuntu Hardy) and i know it has been tested in some other Debian based distros using Gnome desktop.
Is Gpsim the only dependence for compiling Ktechlab?
No.. there are some other dependences… first you ned some development tools: build-essentials, automake (&friends), … i think readlines, qt3-dev-tools, kdelibs4c2a and perhaps some others…
The first time i compile i just wait for the error messages and install the needed libs.
But it depends on what distro you are using, may be some libs are already installed on your distro or not… In what Linux distribution do you want to compile?
Gpsim is not a real dependence, you can indeed compile ktechalb without Gpsim, but you will not have the Pic component available.
A good choice is using Kdevelop, also available in Ubuntu repositories.
For any cuestión about compiling ktechalab you can ask in the :
But if i can help you , of course i will do all possible.
Is it possible to port to Windoze (Microsoft Windows)?
Sorry… i have not idea, i have never heard about such a thing.
Ktechlab is a C++ app, using QT for the UI, perhaps it can be ported to Win, but if possible, i guess that it should need some work.. or perhaps a lot of work. Yo can try to ask in the mailing list, perhaps the developers know about this.
I think there is a Gpsim versión for Win, but never tried it.
Thanks for your reply, everything well explained and understood.
I will try my hands oon Ktechlab over the week and get back to you if I need more help.
I think Window port will be a doing able if it is QT kit. Either cross-compiling from Linux Ubuntu or native compiling using QT windows editions --> I need to try out all possibilty and options. Of course asking for help on the mailing list you mentioned in your email.
Thanks I will be getting back to you for feedback and help.
Great Guy!
God blesses!!!
Best regards,
Sanyaade
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A new version with some fixes and some new feature like analog inputs (with some limitations), is ready, i uploaded to the piclinux sourceforge project: http://piclinux.sourceforge.net/engindex.html
I will add some more information in the next days, but the files already can be downloaded from there.
Greetings.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For Linux users:
Ktechlab is an open source tool for circuit simulation that can work with pics.
This a modification from the 0.3.7 version that replaces the "microbe" code generation for GcBasic code, and add some new features.
Then is possible generating GcBasic from flowcode, compiling and simulating the code in a circuit at real time.
You can find some information (spanish) here:
If someone is interested in english information please let me know.
Some videos:
: http://pic-linux.foroactivo.net/ktechlab-f6/ktechlab-037-modificado-t216.htm#877
: http://arcachofo.users.sourceforge.net/ktl037
: http://arcachofo.users.sourceforge.net/ktl037-cont
Hello arcachofo,
Please post the English information or where to get it from. I am interested. I will use google translation for now but the English version is important.
Keep the good work up!
God blesses!!!
Best regards,
Sanyaade
Ok…
KTechLab is an Open Source IDE and Simulator for Digital & Analog Circuits and PIC Micro-controllers. Still in development.
website:
Ktechlab is included is some Linux distributions, as: Ubuntu, Fedora.
But in most cases the actual releases don't work very well and it looks like the pic stuff is little abandoned, then i modified the sources (ktl-0.3.7) to work for me.
You can draw and simulate circuits, develop, compile, debug, simulate and write to pic.
The circuit interface is very easy to use, you can edit the circuit while running simulation in real-time. Anyway there are only generic components and the analogic simulation is not very accurate… this is not a profesional simulator, but useful for learning and training purposes.
Then this is my personal re-build of ktechlab, still a first attempt, works in the general aspects, but still needs a lot of work in the details; anyone that wants to give a hand is welcome. But this is not the oficial Ktechlab… just my try to have it working with pics.
These are the changes i did:
-Ktechlab can generate microbe code from flowcode.
Microbe is a basic kind language, but is very limited and very difficult to extend to other pics (actually support just 5 pic models).
I replaced Microbe by GcBasic, then now is possible to use ktl as an IDE with circuit simulator for GcBasic and SDCC.
I also added GcBasic sintax highlighting, but i think it should be improved.
-Pic (in circuit) simulation can now run at real time.. but this is depending on the speed of the PC and processor load in that moment.
Then i added a property where is possible to set the pic clock speed in the simulation.
-Added some pic models to simulation and flowcode (not tested 100%).
___
Then if someone want to try it, this is what you need:
**-Gpsim.0.24.0:**
One of the problems with actual releases of ktechlab is that gpsim is not recogniced, then is needed a gpsim version>0.22.0.
Download and compile it from here:
Or use this deb installer (not oficial):
**-GcBasic** updated:
For ktechlab to use gcbasic executable is needed to place it in the path, then add your gcbasic executable to the path or use this deb installer that install gcbasic in /usr/bin and /usr/share/GcBasic (not oficial):
**-Ktechlab.0.3.7-PL** (my modification of oficial 0.3.7):
You can download the sources (not oficial) and compile in your system:
Or use this deb installer (not oficial):
___
Any feed-back and contribution will be apreciated.
: http://ktechlab.org/
: https://sourceforge.net/projects/gpsim/
: http://www.box.net/shared/dmnk4egsy5
: http://www.box.net/shared/y41oj81c3c
: http://www.box.net/shared/nk3ibfm58x
: http://www.box.net/shared/gj72a1b6k9
Hello arcachofo,
Sorry could'nt get back to reply you soon, I was busy preparing for Windows 7 and Windows 2008 R2 conference at London Wembley for my students.
About compiling Ktechlab, it looks like it is a KDE application and tied down to that environment. Please explain this.
Is Gpsim the only dependence for compiling Ktechlab? Is it possible to port to Windoze (Microsoft Windows)? I need to know this as I am interested in Ktechlab to be used in my teaching classes with my students.
I will try the linux version but the Windows build will definitely increase its user based and its potentiality.
God blesses!!!
Best regards,
Sanyaade
Hi sanyadee3.
Sorry could'nt get back to reply you soon, I was busy preparing for Windows 7 and Windows 2008 R2 conference at London Wembley for my students.
Then good luck with your conference… :-)
About compiling Ktechlab, it looks like it is a KDE application and tied down to that environment. Please explain this.
You re right, Ktechlab is a KDE app, but it in can run in Gnome (never tried ont other desktops).
Indeed i use it in Linux mint Elyssa (based on Ubuntu Hardy) and i know it has been tested in some other Debian based distros using Gnome desktop.
Is Gpsim the only dependence for compiling Ktechlab?
No.. there are some other dependences… first you ned some development tools: build-essentials, automake (&friends), … i think readlines, qt3-dev-tools, kdelibs4c2a and perhaps some others…
The first time i compile i just wait for the error messages and install the needed libs.
But it depends on what distro you are using, may be some libs are already installed on your distro or not… In what Linux distribution do you want to compile?
Gpsim is not a real dependence, you can indeed compile ktechalb without Gpsim, but you will not have the Pic component available.
A good choice is using Kdevelop, also available in Ubuntu repositories.
For any cuestión about compiling ktechalab you can ask in the :
But if i can help you , of course i will do all possible.
Is it possible to port to Windoze (Microsoft Windows)?
Sorry… i have not idea, i have never heard about such a thing.
Ktechlab is a C++ app, using QT for the UI, perhaps it can be ported to Win, but if possible, i guess that it should need some work.. or perhaps a lot of work. Yo can try to ask in the mailing list, perhaps the developers know about this.
I think there is a Gpsim versión for Win, but never tried it.
Regards.
: http://sourceforge.net/mailarchive/forum.php?forum_name=ktechlab-devel
Good morning arcachofo,
Thanks for your reply, everything well explained and understood.
I will try my hands oon Ktechlab over the week and get back to you if I need more help.
I think Window port will be a doing able if it is QT kit. Either cross-compiling from Linux Ubuntu or native compiling using QT windows editions --> I need to try out all possibilty and options. Of course asking for help on the mailing list you mentioned in your email.
Thanks I will be getting back to you for feedback and help.
Great Guy!
God blesses!!!
Best regards,
Sanyaade
Hello again…
A new version with some fixes and some new feature like analog inputs (with some limitations), is ready, i uploaded to the piclinux sourceforge project: http://piclinux.sourceforge.net/engindex.html
I will add some more information in the next days, but the files already can be downloaded from there.
Greetings.