The chrome app uses the serial API on the chrome browser to program AVR arduinos with a serial bootloader that is avrdude compatible (Arduino Uno, Mega, etc). It is a (limited) Arduino IDE and uses a server to compile (since I (spaceneedle) was not crazy enough to write a javascript port of a GCC cross compiler for 8bit AVR)
The point of this project, currently, is to provide a free option for people to program an arduino with a chromebook. (like in an educational setting), Thus we will not charge for it.
Saying that, this project is large and takes a lot of coffee to develop, not to mention the cost of hosting the compiling servers, if you'd like to buy us a coffee or two, you can use the button bellow to donate to the developers:
Make sure you have the latest node.js installed.
git clone https://github.com/spaceneedle/Chromeduino.git
cd "Chromeduino/Chromeduino Server"
npm install
- check install with
ls
, if there is no folder calledarduino-1.8.5
then runcurl https://downloads.arduino.cc/arduino-1.8.5-linux64.tar.xz | tar -xJ
node app
- go to
http://localhost:3000/version
You can change the port in the config.json.
Wipe and install linux.
If you have a dev VPS or something lying around, why not help the community and run a public compile server on it. (You can also add some shameless self promotion in the description)
- Make sure you have pm2 installed
npm i pm2 -g
- Launch the server with pm2
pm2 start app.js -n chromeduino
- Make it run on startup
pm2 save
andpm2 startup
read the output of those commands. - Edit the server.json file with your compile server's details and then submit a pull request. If you are unsure how to do that, post an issue with the details and we'll do it for you.
We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Arduino AG or Google LLC (“Google”), or any of their subsidiaries or their affiliates. The official Arduino AG website can be found at https://www.arduino.cc The names "Chrome", "Chromebook", "Chromebox", "Arduino", and "Genuino" as well as related names, marks, emblems and images are registered trademarks of their respective owners.