A web-based tool for creating and uploading Arduino code. Designed to be beginner friendly.
This project has been turned into an add-on for the Mozilla WebThings Gateway, so this PHP code will no longer be developed further. Find the new code here: https://github.com/createcandle/Candle-manager-addon
.
Create new code from built-in templates. The templates are just normal Arduino code themselves which are placed in the 'source' directory.
The template code's settings are translated into an easy to use interface. After changing settings a new version of the code is generated. This way the user never has to edit code.
The new code can then be upload via the upload wizard:
After the code is uploaded to the attached Arduino you can listen to the serial output of the Arduino:
It's designed to be used with a Rasperry Pi. Users can program Arduino's by connecting them to the Raspberry Pi and then using this tool. More precisely, it's intended to be used inconjuction with MySensors, the Mozilla Gateway and MySController-rs as part of a later to be revealed privacy friendly smart home demonstrator.
https://github.com/mysensors https://github.com/mozilla-iot/gateway https://github.com/tsathishkumar/MySController-rs
- Workshops. When users don't have to install Arduino IDE this saves time and hassle.
- Situations where you want people to create Arduino-based devices without immediately confronting them with code. You could easily completely hide the code and other complexity (such as debug output) from the user.
- Smart home solutions, especially ones that use the MySensors framework.
- The Mozilla Gateway is looking for a way for third party creations like this to be integrated. See: WebThingsIO/gateway#1505
- Could be integrated further with MySController-rs. The Candle Manager already grabs data on wirelessly connected devices from it. MySController-rs can be found here: https://github.com/tsathishkumar/MySController-rs
- ssh into your raspberry pi
- enter these commands:
git clone https://github.com/createcandle/Candle-manager.git
chmod +x ./Candle-manager/start.sh
./Candle-manager/start.sh
That should create a new folder "Candle-manager". inside it you will find a folder called "source". This is were you can place Arduino sketches that you want to use as 'templates' for new bits of code. The example that's already present will show you how you can optimise your sketches so that they support creating a visual settings interface, as well as auto-installing of libraries.
Optional:
- Tip: Install this on the Mozilla Gateway.
- Tip: Install MySController-rs as well.
- It was inspired by https://github.com/rakeshpai/mysensors-network-manager
- Version 0.3.3 of the Arduino CLI is packaged in. It works for Arm based devices such as the Raspberry Pi. You can check if a new version of the CLI is available. If you use a another platform like Windows that uses Intel chips you will have to download the version of the CLI for that manually.