Web-based Arduino Sketch Compiler

I’ve built up an online service for building an Arduino sketch into a ready-to-burn HEX file. The browser submit the sketch to server with a HTTP POST request. The sketch is then compiled and linked against Arduino core (1.0.1) and library files with AVR GCC on the server side. The built HEX file is sent back to the browser as a downloadable file.

At the moment, only standard Arduino libraries are supported. More libraries will be adpoted in future. My ultimate goal may be making a complete web-based development environment featuring code editing, compiling, personal sketch book, library management etc.

Try it online now
Continue reading

Arduino Builder – standalone utility for building and uploading Arduino sketches

Why bother to make this utility as the Arduino IDE can do everything?

  • Sometimes, we only want to compile a pre-written sketch and upload it to Arduino. Normally we do this with Arduino IDE, but it’s not the best experience.
  • Sometimes, we just want to burn bootloader in HEX file for a board. There are many GUIs to AVRDUDE out there for doing this. But many of them are out-dated and do not handle for Leonardo (ATMega32U4 based), not mentioning they are just GUIs to AVRDUDE which can’t compile.
  • And I love Arduino!

That’s why I made this utility, simple, straight-forward and trying to have a sleek look, to make myself feel better when proceeding an upload for Arduino.

Continue reading

Guide to setting up Arduino development environment with CodeBlocks on a Linux box

After maintaining CodeBlocks Arduino Edition, which is an out-of-box distribution for Windows only, for several months, I finally got everything to work on Linux. Thanks to Ubuntu that makes life a lot easier on Linux, I have the chance to get this done in one day. I put all my addons and tweaks on CodeBlocks IDE into a single downloadable package, so it’s easy for everyone to get this done from scratch. Here is a guide showing all the steps for setting up a productive Arduino development environment with CodeBlocks on a Linux box.

Continue reading

Saving SRAM in Arduino programming

Whenever you are going to write some “larger” programs on Arduino which usually has a ATmega328, ATmega168 or even ATmega8 micro-controller on board, you need to taking what’s written in the title into consideration. Especially with Atmega168 or ATmega8 which only has 512 byte SRAM, this is even more critical. I just suffered from this issue in a recent Arduino software project. The sketch used up too much SRAM and caused the board to reboot periodically. So I take sometime to find out good ways to decrease SRAM utilization. Continue reading

Posted in Software | Comments Off on Saving SRAM in Arduino programming

ArduGate now runs on Linux

Just to announce that ArduGate now runs on Linux. Ubuntu is the distribution on which I build and test the Linux port. As it is a command line version and I build the binary statically, it should run on most Linux distribution. If you still can’t, just build from the source code.

Controlling servos with web browser? Now it’s possible and so simple!

With ArduGate, controlling servos (yes, not servers) attached to an Arduino, from within web browser has never been easier. The JavaScript code for doing the task is almost identical to that used in Arduino but it is JavaScript that can work with rich HTML5 features. You can imagine what this can be used for.
Continue reading

Posted in Playground, Software | Comments Off on Controlling servos with web browser? Now it’s possible and so simple!