Cosa is an object-oriented platform for Arduino. It replaces the Arduino and Wiring library with a large set of integrated classes that support the full range of AVR/ATmega/ATtiny internal hardware modules; all pin modes, Digital, and Analog Pins, External and Pin Change Interrupts, Analog Comparator, PWM, Watchdog, Timer0/Timer2 (RTT), Timer1 (Servo/Tone/VWI), Input Capture, UART, USI, SPI, TWI and EEPROM. Cosa supports several programming paradigms including Multi-Tasking, Event Driven Programming and UML Capsules/Actors. Cosa contains over 200 classes and nearly as many example sketches to get started.
Please note that Cosa is not an Arduino core; Cosa does not implement the Arduino API. Sketches written with Cosa may be built with the Arduino IDE or with the command line based build support for Linux.
Cosa supports the Arduino Boards Manager install. Simply install by adding the Cosa Package URL to the Additional Boards Manager URLs in the IDE Preferences; https://raw.githubusercontent.com/mikaelpatel/Cosa/master/package_cosa_index.json
More details are available:
The API documentation is available:
The documentation contains a full hyperlinked description of all functions in Cosa together with UML graphs of the class hierarchy, include dependencies, and much more.
The provided documentation is generated with doxygen and may also be generated for users source code if the Cosa documentation style is adapted. See the Doxyfile for configuration of doxygen.
Cosa has built-in support for a large number of boards and clones/vendors. It also supports breadboards and custom-design boards with AVR MCUs.
- AdaFruit ATmega32U4
- Anarduino MiniWireless
- Arduino Diecimila
- Arduino Duemilanove
- Arduino Leonardo
- Arduino Mega 1280
- Arduino Mega 2560
- Arduino Micro
- Arduino Nano
- Arduino Pro Micro
- Arduino Pro Mini
- Arduino Uno
- Breadboard (ATtinyX4, ATtinyX5, ATtinyX61, ATmega328, ATmega1284)
- ITEAD Studio IBoard
- LilyPad Arduino
- LilyPad Arduino USB
- LowPowerLab Moteino
- LowPowerLab Moteino Mega
- Pinoccio Scout
- Microduino-Core
- Microduino-Core32u4
- Microduino-Core+
- PJRC Teensy 2.0
- PJRC Teensy++ 2.0
- Wicked Device WildFire V3
- Custom Boards
- D.tools, http://hci.stanford.edu/research/dtools/
- Processing, http://processing.org/
- Wiring, http://wiring.org.co/
- Quantum Leaps, http://www.state-machine.com/
- Concurrency.cc, http://concurrency.cc/
- Arduino, http://www.arduino.cc/
- Firmata, http://www.firmata.org/wiki/Main_Page
- LilyPad, http://web.media.mit.edu/~leah/LilyPad/
- Adafruit, http://www.adafruit.com/
- Microduino, http://www.microduino.cc/
- Jeelabs, http://jeelabs.org/
- Teensy, https://www.pjrc.com/
- Pinoccio, https://pinocc.io/
- LowPowerLab, http://lowpowerlab.com/
- Anarduino, http://www.anarduino.com/
- Wicked Device, http://shop.wickeddevice.com/
- MQTT, http://mqtt.org/
- ThingSpeak, https://thingspeak.com/
- "Ciao"; interjection hello!, goodbye!.
- "Che cosa"; pronoun; what.
- "Cosa"; noun thing, matter; pronoun; what?, what!.
- "Cosa fai"; what do you do?
- "Nucleo"; kernel.
- "Rifare"; remake.
- "Rete"; network.
- "Tutto"; all.
Please follow the development of this project on the blog http://cosa-arduino.blogspot.se and on the Arduino forum, http://arduino.cc/forum/index.php/topic,150299.0.html.
There are many ways to support this project.
- Build and test.
- Fix bugs and take part in the development work.
- Write blog or instructions on how you have used Cosa in your project(s).
- Donate hardware; Arduino boards and shields. This is especially welcome as with the growning number of device drivers and supported modules that require hardware setups which takes a lot of time if breadboarded.
- Or donations through paypal (use email address).
If you are planning to use Cosa you are encouraged to support the project to help keep the software at high quality and follow changes in tooling, and above all open-source.
Please note that the issues list should be used mainly for bug reports and enhancement requests. Design and implementation support is only provided to contributing projects.