Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:08 06 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Coming soon a new software for Micromite

     Page 4 of 5    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10209
Posted: 11:49am 11 Oct 2016
Copy link to clipboard 
Print this post

  Quote  but i cant got a connection by using the "Code" Window


Same as my issue - there is definitely a problem with this combination which needs fixing. At the moment I've given up
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 11:49am 11 Oct 2016
Copy link to clipboard 
Print this post

Hi RonnS
is really very strange, I use the same method. Could You try running the script in "PascalScript", and let me know?
Thanks
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 11:53am 11 Oct 2016
Copy link to clipboard 
Print this post

Hi Matherp, I am very sorry.
Could you confirm to me that the tutorial will work on your PC?
I can try... I can remove the HW response monitoring. In fact the tutorial I do not use this control.
Thanks
 
RonnS
Senior Member

Joined: 16/07/2015
Location: Germany
Posts: 121
Posted: 12:44pm 11 Oct 2016
Copy link to clipboard 
Print this post

  sagt3k said   Hi RonnS
is really very strange, I use the same method. Could You try running the script in "PascalScript", and let me know?
Thanks


hi i did it the output in the sheed"Sript messages is:

"byte=3E "

6 times
some news : the buttons "Run" and "Break" in the "Code" Window are working

RonEdited by RonnS 2016-10-12
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 11:22am 13 Oct 2016
Copy link to clipboard 
Print this post

Hi to everybody
I published new version of MicromiteLab 0.93. I have added the option "to not check the uCPU". This for all those who have encountered the error "uCPU: non connected"
.
I have added a script that you can download script Sin(X) . To run the script, you need to connect SW with UART/console, after you connect the console You can run the script. The script sends and run a simple program "Sin(X)" and plot input from Micromite to ChartXY as in example:


To start the script press button: and to stop:

Thanks
sagt3k

 
RonnS
Senior Member

Joined: 16/07/2015
Location: Germany
Posts: 121
Posted: 01:44pm 13 Oct 2016
Copy link to clipboard 
Print this post

hello sagt3k,
the new version works,

would it be possible to turn the background in the code window, to white? would be better visible for my old eyes

thanks Ron
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 09:13pm 14 Oct 2016
Copy link to clipboard 
Print this post

Hi Ron
Yes, I can. Added for the next release.
Thanks
sagt3k

  RonnS said   hello sagt3k,
the new version works,

would it be possible to turn the background in the code window, to white? would be better visible for my old eyes

thanks Ron
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 10:36am 18 Oct 2016
Copy link to clipboard 
Print this post

Hi to everybody
Here other examples. This time an example a little more special. Communicate with a sensor Acc+Gyro MPU6050. On my site sagt3k.com you will find the code. Where you will find "Sensor MPU6050 + Code + Script" you can download the code for Micromite and the script for the Script Engine.



To do everything correctly you need to program Micromite from "Code". On console you can "RUN" the code and you can create a TCP connection on port 1500 on "Srv: UART <--> TCP" and choose the port 1500. To make it more intriguing, I send data on TCP from UART, acquire data in TCP, sending data to chartXYZ. To start the Script Code push the button . Remember to "RUN" the code by "Console"

Thanks for your attention
sagt3k
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 10:58am 18 Oct 2016
Copy link to clipboard 
Print this post

Just gave it a run for the first time. Looks good and with good functionality.
I don't know if it is me only, but searched everywhere and could not find load/save buttons for source. Really?

http://rittle.org

--------------
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 11:19am 18 Oct 2016
Copy link to clipboard 
Print this post

Hi Kiiid
Thanks for trying the latest example. As I have expressed in other posts, no longer exists the possibility to make "load / save" from "CODE". This is because I'm designing a cloud as dropbox. However you can create a new code with the button

. Then, You can write or to do a paste from other place. Later You can save with this button


To export a ".resdat" you have to wait the cloud solution.
".resdat", that uses MicromiteLab, is a complex structure and is used to provide security and other things. This is why I prefer this way.
Thanks
sagt3k
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 07:40pm 18 Oct 2016
Copy link to clipboard 
Print this post

Looks like a very useful program, and really nice GUI.
Until i read 'the cloud'.
What a pity.

Microblocks. Build with logic.
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 08:38pm 18 Oct 2016
Copy link to clipboard 
Print this post

Hi MicroBlocks

Thanks, this is my vision and is NOT the final. This software is free and we can to do what we need. I accept gladly the suggestions.
You make a list. I can explain the SW and its features.
sagt3k
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 12:44am 19 Oct 2016
Copy link to clipboard 
Print this post

In my experience teaching people (i had a makerspace for about 3 years) to use the Micromites it was quickly clear that for developing on it an old computer works very well. Lots of people brought their old laptop with windows XP on it.
Making software that depends on the internet is very very detrimental as lots of time no internet is available. In Thailand it is available but relatively expensive. Internet/game shops are here popular as most! have no internet available at home.
Needing the cloud would mean 90% of the people i ever did a micromite workshop with would not be able to use it.

For myself, i only have software that works offline. Lasercutter, cnc, 3d printer, design software etc all works offline because i can not afford to be without internet at a moment it is most needed. Working offline is a huge point of failure less.
Also the 'cloud' is not for free. You will need to maintain it, at some moment pay for it. And when you are unable to maintain or pay for it all its users are impacted.
Going offline is a much better use of a computer. Use the cloud as a backup (dropbox). No need to develop anything special which would make it simple to develop, test and maintain.

It had a reason why the PC became such a powerful tool. It was completely under your control and had no external dependencies. The older mainframe/terminal model works good for large companies but for the rest a personal computer with programs that enable to be creative/productive does not need a cloud for any functionality or storage as there is more then sufficient cpu/memory.disk availabe for a low cost.
Going back to this mainframe(cloud)/Terminal solution is a huge step back.

The immense popularity of 'the could' is only because of mobile phones that have(had) limited capabilities. No need to change the powerful pc into a dumber thing then it is.

I would suggest doing everything on the local machine on which the program is running. Let the user be responsible for storage/backups.


Microblocks. Build with logic.
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 07:16am 19 Oct 2016
Copy link to clipboard 
Print this post

Hi MicroBlocks
I agree with you,I could put aside the "cloud" topic. But as I thought the structure ".resdat" when then export to save much data that would be imported by another user as language, keys,vers, date, title, note , including a unique hash key that ensures the uniqueness of the export. The only thing that You can not change is the email. That is saved by the program only with a registration phase. (here I have to think of an alternative solution).



Now "Export Code" on "Code" and "Export Script" on "Script" generate ".resdat" files.
For the moment I can add "Load/Save" from .txt, or .bas. But the user need to complete all the informations. Then when the user choice "Load" I create a new record.
Thanks
sagt3k
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 10:30pm 19 Oct 2016
Copy link to clipboard 
Print this post

There are a thousand reasons to have Load/Save buttons for local storage. Just consider this one only: Load/Save = 100* users of your software

http://rittle.org

--------------
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 10:05am 23 Oct 2016
Copy link to clipboard 
Print this post

Hi to everybody
I published new version of MicromiteLab 0.94 .
- I added the ability in "CODE" to import or save file .bas



- In option I added a new parameter to change the background color for "CODE" editor




Thanks
sagt3k
 
drkl

Senior Member

Joined: 18/10/2015
Location: Hungary
Posts: 102
Posted: 10:22pm 23 Oct 2016
Copy link to clipboard 
Print this post

Hi sagt3k,

I downloaded the 0.94, it operates well. Congratulations!
But I am beginner in script topic, so what is the connection between
the basic program and the scripts? How can I insert the scripts in my basic program?
I'd really like it if you had a manual or semi-finished, because I think that my question would be is there to answer.
When will be publish?

sincerely: drk

 
CFLY

Regular Member

Joined: 20/05/2015
Location: France
Posts: 41
Posted: 01:17am 24 Oct 2016
Copy link to clipboard 
Print this post

Hello !

Impossible execution... AVAST destroys the application ... malware !!!
Normal or not?
How to use it?
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 01:25am 24 Oct 2016
Copy link to clipboard 
Print this post

Hi CFLY
Micromite Lab does not have virus. I use symantec, windows defender. In this version the file .exe is full and I don't use .exe compressor. I think that AVAST sees tcp connections as possible anomaly. Can you send me a screenshot of error message?
Thanks
 
CFLY

Regular Member

Joined: 20/05/2015
Location: France
Posts: 41
Posted: 01:54am 24 Oct 2016
Copy link to clipboard 
Print this post




And after, there is no more an application in the directory ...
 
     Page 4 of 5    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025