View previous topic :: View next topic |
Author |
Message |
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
Posted: Mon Oct 07, 2019 9:16 am Post subject: |
|
|
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 |
Monday here in Sydney public holiday
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 |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Mon Oct 07, 2019 9:31 am Post subject: |
|
|
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
JP _________________ pleasure to learn, to teach, to create |
|
Back to top |
|
|
Per Svensson
Joined: 03 Oct 2004 Posts: 235 Location: Gothenburg, Sweden
|
Posted: Mon Oct 07, 2019 10:14 pm Post subject: |
|
|
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.
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 |
|
|
GerTronic
Joined: 17 Dec 2012 Posts: 7
|
Posted: Mon Oct 07, 2019 11:27 pm Post subject: |
|
|
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 |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Tue Oct 08, 2019 9:23 am Post subject: |
|
|
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 _________________ pleasure to learn, to teach, to create |
|
Back to top |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Tue Oct 08, 2019 1:22 pm Post subject: |
|
|
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 _________________ pleasure to learn, to teach, to create |
|
Back to top |
|
|
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
|
Back to top |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Wed Oct 09, 2019 11:52 am Post subject: |
|
|
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
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 |
|
|
GerTronic
Joined: 17 Dec 2012 Posts: 7
|
Posted: Wed Oct 09, 2019 11:47 pm Post subject: |
|
|
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 |
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 |
|
|
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
Posted: Thu Oct 10, 2019 8:49 am Post subject: |
|
|
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 |
|
|
SirLeslie
Joined: 17 Aug 2006 Posts: 13 Location: France
|
Posted: Thu Oct 10, 2019 8:10 pm Post subject: |
|
|
Duval JP wrote: | Hello,
I did the tutorial to start with Nextion
...
now I waiting your comment.
JP |
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 (please continue, if you have free time for this)
Merci beaucoup,
Laszlo |
|
Back to top |
|
|
hgrueneis
Joined: 04 Apr 2009 Posts: 902 Location: A-4786 Brunnenthal
|
Posted: Fri Oct 11, 2019 5:46 pm Post subject: |
|
|
@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 |
|
|
Paulvk
Joined: 28 Jul 2006 Posts: 1257 Location: SYDNEY
|
Posted: Sat Oct 12, 2019 12:25 pm Post subject: |
|
|
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 |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Sat Oct 12, 2019 6:36 pm Post subject: |
|
|
hello Paul
would you please an image in MP : jp030405 at yahoo.fr ? _________________ pleasure to learn, to teach, to create |
|
Back to top |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Mon Oct 14, 2019 10:02 am Post subject: |
|
|
@ 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 _________________ pleasure to learn, to teach, to create |
|
Back to top |
|
|
|