Sign in to follow this  
Followers 0
chicken

Chrome for portable UI development (serial, USB)

9 posts in this topic

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.

 

solipso, yyrkoon, pine and 4 others like this

Share this post


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

Share this post


Link to post
Share on other sites

That looks similar to Nodejs although more complex

 

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.

yyrkoon likes this

Share this post


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.

Share this post


Link to post
Share on other sites

I'm not necessarily avoiding google. I'm just using firefox now days. I prefer firefox's plugin ecosystem. But all browsers are bad in some way, now days . . .

Share this post


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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0