Project tutorial
Arduios

Arduios

Arduios is like a OS for the arduino, it enables you to use a sketch in different usecases, without having to upload a new one every time.

  • 671 views
  • 0 comments
  • 11 respects

Components and supplies

About this project

What is it?

Arduios is like a operating system for the arduino, it enables you to use a sketch in different use cases, without having to upload a new one every time.

The motivation

Most of the times I've made a sketch and uploaded it, I saw that the was only 10 - 30% from storage used. Then I had the idea to create this tiny OS.

Usage

It's very simple to use the Arduios, as it has a simple shell app that enables you to communicate with it through the serial monitor of the Arduino IDE.

The Commands are

help. - shows all available commands
list. - shows all available apps
load:app_name. - loads an app from registry

Note that theres alway a point behind them. This is needed because of the way the shell works.

Creating your own apps

It's also very simple to create your own apps using the Arduios.

First you need to download the repository, with that done, open the Arduios.ino file with the Arduino IDE.Now add a new file to the sketch called TestApp.h .

This is how a basic Arduios app looks like

#include "Kernel.h"
class TestApp: public App {
   String getName() {
     // return your apps name here
     return "TestApp";
   }
   void setup() {
     // put your setup code here, to run once:
     Serial.println("TestApp begin");
   }
   void loop() {
     // put your main code here, to run repeatedly:
     Serial.println("TestApp loop");
     delay(1000);
   }
} testApp;

To finish edit the Arduios file, by adding #include "TestApp.h" and testApp to the apps array.

Congrats! you've just created your first Arduios app.

Code

Schematics

Arduios Shematic
Arduiosshematic bonojmgqkr

Comments

Similar projects you might like

Talking Clock 2 - New Version (Bilingual: EN-PT)

Project tutorial by LAGSILVA

  • 7,361 views
  • 19 comments
  • 33 respects

Internal Timers of Arduino

Project tutorial by Marcazzan_M

  • 7,587 views
  • 10 comments
  • 42 respects

Solo Servo Sweep

Project tutorial by Daniel Nugent

  • 7,260 views
  • 9 comments
  • 20 respects

Arduino-Based Automatic Water Tap Using IR Sensor

Project tutorial by Team Creatjet3D R&D Team

  • 6,580 views
  • 6 comments
  • 19 respects

Hacking Qualcomm (Quick Charge) QC 2.0/3.0 With ATtiny85

Project tutorial by Shahariar

  • 5,896 views
  • 11 comments
  • 40 respects

A Semaphore for your Office Desk

Project tutorial by Enrico gueli

  • 5,174 views
  • 1 comment
  • 12 respects
Add projectSign up / Login