Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

The ultimate display terminal ?
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Various
View previous topic :: View next topic  
Author Message
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1119
Location: SYDNEY

australia.gif
PostPosted: Mon Oct 07, 2019 9:16 am    Post subject: Reply with quote

Duval JP wrote:
Even on Sunday!
But this subject is really exciting and very important.



I will rewrite a tutorial to quickly start an example
-the essentials to start
- display an image
-display a text, a number
- display a progress bar
-read a text, a number
-how to receive a message from the display



Jean-Pierre Wink


Monday here in Sydney public holiday Very Happy

This would be good It is visual basic like but lacks a lot
Also putting the projects on the forum as people develop them would give people
pages to start with not having to build from scratch

Maybe start a blog in the forum first how to get the page working on the display
then hooking it up to an avr maybe turn some LEDs on/off and read some buttons on avr back to display.
Regards Paul
Back to top
View user's profile
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 865
Location: France

france.gif
PostPosted: Mon Oct 07, 2019 9:31 am    Post subject: Reply with quote

hello paul !
I'm working on...

Quote:
That would be nice. It's basic visual, but it's missing a lot.


Indeed, as I said earlier, it is far from being so practical. What bothers me the most is the fact that we can't change the device-id.
Let's say we went back to the first version of VB for Windows 3.1 Wink

JP

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
Per Svensson

Bascom Member



Joined: 03 Oct 2004
Posts: 174
Location: Gothenburg, Sweden

sweden.gif
PostPosted: Mon Oct 07, 2019 10:14 pm    Post subject: Reply with quote

What worries me most just now is that we don't get any reactions on this topic.
The thread has 150 views, but we are just four people engaged in the discussions.
This is quite depressing to be honest. Sad

I believe that a common platform for human I/O should be something that the entire Bascom society could benefit from.
It is ,together with communication interfaces, one of the few areas where we can really benefit from a Bascom "standard"!

I am prepared to spend valuable time and my expertise for free on this topic to strengthen the Bascom world, simply because
I like Bascom and think we will all benefit from solving this ever lasting problem of human I/O.

But we need to get some more enthusiasm from the forum, or it will drop dead before we even got a discussion.
Wouldn't that be a pity?

/Per
Back to top
View user's profile Visit poster's website
GerTronic

Bascom Member



Joined: 17 Dec 2012
Posts: 6

PostPosted: Mon Oct 07, 2019 11:27 pm    Post subject: Reply with quote

Hello dear AVR Friends,

In some cases, there is no physical display needed at all since most of us have a smartphone with a nice touchscreen display and audio... The only thing then needed is a simple HC06 BT module or the like, that connects the UART of your project with the phone. And a piece of software on that phone, of course. Well, that exists already. It can even make your project speak!
Please take a look at www.simplehmi.com and tell what you think about it.

As said, it is not usefull in every case, but when the display is only needed to make some changes in the settings, or to show the status for a while, it can be very usefull.

To make some things easier, most tasks are more of the same, I made a little library for it a few years back and a demo program in Bascom. I will post it here one of these days.

Regards,
GerTronic
Back to top
View user's profile
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 865
Location: France

france.gif
PostPosted: Tue Oct 08, 2019 9:23 am    Post subject: Reply with quote

hello Gertronic
I think it's not the same thing at all. HMI stands for "Human machine interface"
which translates for me as a part of the machine, dependent on itself. and reacting with the machine.

In a biology laboratory, my field, can you imagine a machine that could only work with a telephone on it?

jp Wink

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 865
Location: France

france.gif
PostPosted: Tue Oct 08, 2019 1:22 pm    Post subject: Reply with quote

Hello,
I did the tutorial to start with Nextion

where could you find the IDE nextion ? : https://nextion.tech/nextion-editor-ver-0-58/#_section1

I add in the zip file a Power point very easy to follow (I hope)
the bascom projet
the picture
the.hmi
the .tft

The video is https://youtu.be/f79OYGFXdjc

now I waiting your comment.
JP Wink

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1119
Location: SYDNEY

australia.gif
PostPosted: Wed Oct 09, 2019 10:52 am    Post subject: Reply with quote

Found some good tutorials

He has done a number of them

https://www.youtube.com/watch?v=wIWxSLVAAQE

https://www.youtube.com/watch?v=mdkUBB60HoI

It appears to me what is needed is a selection of background images and guage images etc
for people to use so I will be looking to see what I can find.

Regards Paul
Back to top
View user's profile
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 865
Location: France

france.gif
PostPosted: Wed Oct 09, 2019 11:52 am    Post subject: Reply with quote

Hello Paul,

Did you see the Power point file ? I think to start it is more easier to follow than a video because you can really do it step by step .

You right about the image of Gauge for the others paint.net is a perfect tools to adjust the size.

Now I request help !
because my sub nex_return in (sub_function-nextion.inc ) is perfect to receive the Device_id or to read the numeric value, but I have difficulties to read variables and to use button and radio button. that why I use only text or hotspot Crying or Very sad

but for my own usage is perfect.

but we can improve it all toghether.

I use my own development board with the possibility of having all ports on HE10 terminals
for AVR 40, 28 and 8 pins : similar as STK200 but larger

I use a 4-line LCD to debug It's very robust and I have room !I use also Arduino but...I'm old fashion


JP

_________________
pleasure to learn, to teach, to create


Last edited by Duval JP on Sun Oct 13, 2019 3:15 pm; edited 1 time in total
Back to top
View user's profile Visit poster's website
GerTronic

Bascom Member



Joined: 17 Dec 2012
Posts: 6

PostPosted: Wed Oct 09, 2019 11:47 pm    Post subject: Reply with quote

Duval JP wrote:
hello Gertronic
I think it's not the same thing at all. HMI stands for "Human machine interface"
which translates for me as a part of the machine, dependent on itself. and reacting with the machine.

In a biology laboratory, my field, can you imagine a machine that could only work with a telephone on it?

jp Wink



Hello Duval,

Indeed, simpleHMI is not the same at all, it can not replace a display that must be permanently visible.
That is why I said: it is not usefull in every case, but when the display is only needed to make some changes in the settings of your project, or to show the status for a while, it can be very usefull.

You can easily create your own buttons, sliders, menu, multiple (menu) screens, show text, let the user enter text or numbers, etc., and get the input of the user back in an event driven way. There is no special software needed on the phone, just the free simpleHMI app - without ads. All screens are generated by your Bascom project and will look the same on every phone with only that app.

Anyway, here is the promised demo program. It was old; I changed it a bit to support 'Config Submode = New' and added some more comments. It compiles in version 2082.
Just grab a an Arduino and a HC06 BT module out of your junk box and give it a try. I think it's performance and simplicity will surprise you.

Regards,
GerTronic
Back to top
View user's profile
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1119
Location: SYDNEY

australia.gif
PostPosted: Thu Oct 10, 2019 8:49 am    Post subject: Reply with quote

I will have to wait till I get a display before getting down to real work
In the mean time I will be working with the editor.

Regards Paul
Back to top
View user's profile
SirLeslie

Bascom Member



Joined: 17 Aug 2006
Posts: 10
Location: France

france.gif
PostPosted: Thu Oct 10, 2019 8:10 pm    Post subject: Reply with quote

Duval JP wrote:
Hello,
I did the tutorial to start with Nextion
...
now I waiting your comment.
JP Wink


It seems very-very useful, thank you for your effort.
I wish to buy one of this display - with this tutorial i have less fear Wink (please continue, if you have free time for this)

Merci beaucoup,


Laszlo
Back to top
View user's profile Visit poster's website
hgrueneis

Bascom Member



Joined: 04 Apr 2009
Posts: 830
Location: A-4786 Brunnenthal

austria.gif
PostPosted: Fri Oct 11, 2019 5:46 pm    Post subject: Reply with quote

@Per Svensson

your abilities are way over the knowledge of most forum users.
As you stated in the beginning "not for hobby".
This means that in my opinion about at least 95% of users are excluded.
The price for this in my opinion will go well over euro 200, which will also exclude semi professional projects.
I really do not want to be negative, but the total price of a project is calculated at need to have certain options.
If this is to be developed for high end automatic machines, it mostly does not need a multipurpose display.
Machine controlled application mostly only need a response in text or very limited graphics.
To find people in this forum who are in a such advanced situation in my opinion the chances are very slim.
For my part, I always use the display that is best suited for the project and very seldom graphics.
Most times a resistive input field with a printed overlay, where the fields are easily changed is enough.
To start a project like this, you would need to know the potential users and possible number of displays required.
Non the less, I think it is a good start.
Best regards
Hubert

P.S: Also think of the multiple language capabilities.
Back to top
View user's profile
Paulvk

Bascom Member



Joined: 28 Jul 2006
Posts: 1119
Location: SYDNEY

australia.gif
PostPosted: Sat Oct 12, 2019 12:25 pm    Post subject: Reply with quote

Duval JP
My nextion simulator only shows the first page and pressing the buttons
just prints the sent serial simulator return box it does not change pages
any idea why
Regards Paul
Back to top
View user's profile
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 865
Location: France

france.gif
PostPosted: Sat Oct 12, 2019 6:36 pm    Post subject: Reply with quote

hello Paul
would you please an image in MP : jp030405 at yahoo.fr ?

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
Duval JP

Bascom Member



Joined: 22 Jun 2004
Posts: 865
Location: France

france.gif
PostPosted: Mon Oct 14, 2019 10:02 am    Post subject: Reply with quote

@ GerTronic
Hello,
"when you show him the moon, the fool looks at the finger that points at it"
Sorry I looked at the finger, indeed this application seems very promising and complementary for applications made with Bascom -- I'm a little bit sectarian? -- or others.
I think you should make a short video and a short summary of what we can do with it in the forum "share your bascom..."
JP Wink

_________________
pleasure to learn, to teach, to create
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> Various All times are GMT + 1 Hour
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum