Amazing developments in programming MCU's from the browser!
Heater.
Posts: 21,230
For all those interested in programming / controlling MCU based devices from a browser interface and especially in an educational context I urge you to watch this video:
http://2013.jsconf.eu/speakers/jason-frame-acceptable-in-the-80s-revisiting-microworlds.html
You might wonder what the idea here is as you start to watch. This guy starts out by talking about modern day windowing interfaces and how limiting they are. He then moves on to describing how he would like his desktop to work complete with a demonstration. He has some radical ideas there. This is already amazing enough given that his demo runs entirely in a browser window.
But the finale is a demo of controlling an MCU from the browser with in browser editing, graphical feed back, and video overlay of the real system working.
I'm sure there are some ideas in there that could be made use of.
The whole thing is damn cool even if not.
http://2013.jsconf.eu/speakers/jason-frame-acceptable-in-the-80s-revisiting-microworlds.html
You might wonder what the idea here is as you start to watch. This guy starts out by talking about modern day windowing interfaces and how limiting they are. He then moves on to describing how he would like his desktop to work complete with a demonstration. He has some radical ideas there. This is already amazing enough given that his demo runs entirely in a browser window.
But the finale is a demo of controlling an MCU from the browser with in browser editing, graphical feed back, and video overlay of the real system working.
I'm sure there are some ideas in there that could be made use of.
The whole thing is damn cool even if not.
Comments
I
The spec for HTML5 "had" the option to use a computers USB and serial interfaces but as far I know no browsers have implemented yet. Now that would be cool (and possibly a little dangereous), on-line code development talking to your dev board :-).
What would be a goal of the browser in relation to the USB port?
As for the goal. Well just imagine an application running in your browser is just like any other desktop application. Surely you use USB from those sometimes?
What we are interested in here is a development environment for the Propeller that runs in a browser.
It has already been shown how to edit Spin programs in a browser complete with syntax highlighting.
We can compile Spin in the browser using openspin that has been "transpiled" into JavaScript.
The missing link is actually loading binaries into Propellers from the browser IDE.
An HTML 5 USB API would make that possible.
Propeller loading can be done in Python so I estimate it should be easy to do in JavaScript in the browser which is generally faster.
If I recall the plan correctly the P2 will be easier to deal with.
Does anyone recognize what GUI he was using on the demo ?
It's obviously on an Apple, and tagged as "curiosity" but I did not recognize it.
It looked very useful to build with.
jr
As far as I can tell, and given that was a presentation at jsconf the whole thing runs in the web browser. Apart from perhaps some server components that were no doubt made in node.js.
The fact that he used an Apple computer is irrelevant.
Sadly I can't find any links to that demo code if indeed there are any anywhere.
I think "curiosity" was just the name of that demo software he had made.
I did shoot him an inquiry, I'll post any relevant response.
I'm not very apple-centric so it might have been some package
that apple dev's knew, so I asked.
I'll bet you're right on it being his alone at this point, he sure was sailing through it.
His concepts go back pretty far as I see it, I've been using
the 'server' side to pull a lot of weight for uP's for a long time.
...just not in HTML(5).
Using lower level uP's data, triggering 'pretty' across the interface on the display element.
It keeps the uP code base really small, but it means a ton of extra code on the 'server (display)' side.
Thanks for the response,
jr
or -well wasn't that OS-9 ?
Enjoy!
Mike
You're thinking of Chrome Apps.
-Phil
But what about HP's (now defunct) Web OS and now Mozilla's FireFox OS ?
Looks like everybody wants to make this happen. Where is it all leading?