Jump to content
43oh

Chrome for portable UI development (serial, USB)


Recommended Posts

Here's a tutorial on programming a graphical UI in Google Chrome to display data received over serial

http://www.lucadentella.it/en/2016/06/07/chrome-app-e-comunicazione-seriale/

via Dangerous Prototypes.

 

I meant looking into this topic for a long time. For serial communication like in this tutorial, but also USB for a portable upgrade application via a custom USB BSL implementation.

 

Link to post
Share on other sites

Here's a tutorial on programming a graphical UI in Google Chrome to display data received over serial

http://www.lucadentella.it/en/2016/06/07/chrome-app-e-comunicazione-seriale/

via Dangerous Prototypes.

 

I meant looking into this topic for a long time. For serial communication like in this tutorial, but also USB for a portable upgrade application via a custom USB BSL implementation.

That looks similar to Nodejs although more complex

Link to post
Share on other sites

The main advantage is, that this will work for everyone that has Google Chrome. No need to install additional environments like nodejs, python etc., which is a huge benefit if you try to minimize hand-holding for potential users of your application.

The disadvantage for me, and others like me is that I / we do not use Chrome. But If this were to be written in javascript using Nodejs it would work in any browser. There are also Nodejs "compilers" out there that will convert Nodejs code into a native binary. With that said however, like you say you would need to setup a run-time environment, first.

 

Plus I think Chrome apps and Nodejs are really apples to oranges. Or server versus client if you prefer.

Link to post
Share on other sites

Hello, my two cents here:

 

I do agree with @@yyrkoon - you just conform with HTTP protocol and you are both browser and platform independent. Python, Nodejs - does not really meter.

 

As for:

 

With that said however, like you say you would need to setup a run-time environment, first.

I think a good installer should fix that (if we are talking a commercial-scale/quality deployment process/experience).

I have been using "Inno Setup" for rather exotic stuff to deploy (only on Windows-based machines only, though).

It worked like charm.

Cross-platform installer generators are around too, as far as I know.

 

Regards

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...