Pages: [1] 2   Go Down
Author Topic: What do you guys think of a web-based Arduino IDE?  (Read 4653 times)
0 Members and 1 Guest are viewing this topic.
Sydney
Offline Offline
Full Member
***
Karma: 2
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've been putting up a web-based Arduino compiler and made it running for a couple of days. It is already stable and I begin to think of the way to push this forward. What came into my mind is a feature-rich web-based Arduino IDE, with a friendly HTML5 code editor, server-side compiling, a managable online sketch book, centralised library management and etc. The tough part is how to let the user download the compiled sketch (a HEX file) to Arduino board. Any suggestions will be welcomed.


* arduino_builder.png (36.2 KB, 819x953 - viewed 53 times.)
Logged


Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The tough part is how to let the user download the compiled sketch (a HEX file) to Arduino board. Any suggestions will be welcomed.
This seems like the part that needs to be solved first. 

I think you can create an incredibly useful web-based tool with the features you describe.  It would probably be very attractive for new users.  It certainly would nice to interactively help someone. 

However, if downloading a HEX file and running a cryptic command is the last step, I doubt most will enjoy that step. 
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Sydney
Offline Offline
Full Member
***
Karma: 2
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually I have a solution, by running a tiny HTTP daemon (like MiniWeb which I develop and maintain) locally which responds to browser requests (from web page) and invoke AVRDUDE to perform the HEX downloading. This is technically feasible but the disadvantage is user must start a daemon program manually.
« Last Edit: June 15, 2012, 12:55:14 pm by stanleyhuang » Logged


Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 76
just sun
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey,

i think it is an cool idea - for an cool editor look at http://ace.ajax.org/
and for the upload thing:
it would be easy for the user to just download a small app for the browser he is using.
so if it would be possible to pack the avr upload things in the app - great thing..
for me as an sometimes proffessional user - i don't want to upload the code somewhere -
so it would be great to have an  'easy to install' server for the own editor system - or the complete compiler system in the app -
this would be cool - i often work together with colleges and if every body could look and use the latest versions ... dream on

sunny greetings
stefan


Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sounds cool, where can I download it?

ok see there's the thing, I really dont want to send a few KB to a possibly overloaded timeshare just to get back a hex I have to manually futz with all the while I am using a machine under my bench that I fished out of the dumpster that has more computer power than all of NASA did the first 2 decades of my 33 year old life.

Maybe it has its place, maybe it has its audience, but what do I think of it? well ...
Logged


Sydney
Offline Offline
Full Member
***
Karma: 2
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually the online compiler is initially to help enable Arduino sketch to be compiled on platforms without available compiler, like iPad. Some graphical programming language for arduino will be possible to port these platforms.
Logged


Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually the online compiler is initially to help enable Arduino sketch to be compiled on platforms without available compiler, like iPad.
Again, you would need to solve the problem of loading code first.

Why would I develop code on my iPad if I still need to go to my PC to load it?
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Offline Offline
God Member
*****
Karma: 4
Posts: 813
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Bluetooth -> SPI converter! :-)

The mbed is interesting. You "download" the compiled output to the mbed module; it looks like a USB stick to the host computer. Still not iPad compatible, though.
The Uno wouldn't really have the oomph and space to do that very well, but the Due quite likely could.
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4084
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That is very cool, at least as an end in itself. I certainly don't want to discourage or minimize the effort expended, but it strikes me as more of a solution in search of a problem. From my perspective, these are must-haves: (1) Tabs in the IDE. Any project of more than trivial complexity quickly morphs to multiple files. (2) Ability to define board types. I do this both to experiment and to implement completed projects. (3) Ability to use Arduino-Tiny or other alternate cores for other MCUs. (4) Ability to program MCUs either via a bootloader or an ICSP programmer.

Maybe you have a problem statement to share that might make the light go on for me?
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Sydney
Offline Offline
Full Member
***
Karma: 2
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for all your opinions. Meanwhile, I found there is already a web-based MCU IDE built on mbed.org. At least, this proves that the concept works for some applications.
Logged


Newcastle, UK
Offline Offline
Full Member
***
Karma: 0
Posts: 239
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The HTML5 specification did have an obscure feature which allows HTML5 code (Javascript I'm guessing) to open USB and Serial ports, but I've never seen it implemented in any browsers or anywhere for that matter.
Logged

Sydney
Offline Offline
Full Member
***
Karma: 2
Posts: 108
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think will built a small daemon program to wrap AVRDUDE and listen on localhost for requests from browser to implement HEX uploading.
Logged


Offline Offline
Full Member
***
Karma: 2
Posts: 219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

well, how about this, you create files with a different extension for example like .WEX
in linux and windows or mac, associate a small program with the WEX extension that is able to upload this file to the com port you need.

Maybe it would be nice if the wex file also contained the original typed program
then start the code after a /* CODE START (date)      mark and end it with   CODE END */
That way it could also be associated with the regular editor also (who would just ignore the marked comment that contains the code
Logged

India
Offline Offline
Jr. Member
**
Karma: 1
Posts: 53
Silicon Addict
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think this is very interesting. I'm going on a trip for a few days today and was thinking if there were some way I could tinker around with arduino code on my mobile while away and here's the solution smiley.

Would it be possible to have a simulator running so I can test my program directly on the browser? It doesn't have to be visually pleasing, a simple text dump of the sequence of events and what's happening with each of the pins should be a good start. Perhaps with time you can also add basic components like LEDs, resistors etc and popular ICs like 595, 555.

I use Proteus to simulate all my arduino projects before I even put them on a breadboard. Something similar "on the go" would be awesome.
Logged

My blog Emptiness in Void. New to Microcontrollers? Learn [url=http://www.arduino.cc/playground/Cod

Austin, TX
Offline Offline
God Member
*****
Karma: 12
Posts: 524
carpe diem
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you guys seen the http://codebender.cc/ project?

Looks like the same idea...
Logged

Pages: [1] 2   Go Up
Jump to: