Energia
MSP430 Workshop - Using Energia (Arduino) 8 - 5
Sidebar – Energia Lineage
Energia Lineage
DBN
(1990’s)
Processing
(2001)
Wiring
(2003)
• Language
• Design By Numbers
programming language
• Teaching experiment
for non-programmers
• MIT (USA)
• Language, Tools
• Processing language
builds on Java, but with
simplified syntax
• Sketchbook mini-IDE
• For non-programmers
• Former MIT’ers (USA)
• Language, Tools, H/W
• Developed for single-
chipController
• Prototypingplatformfor
quick iterative design
• C++ plus Wiring library
• Java-based IDE
• Columbia
Arduino
(2005)
Fritzing
(2009)
• EDA Tools
• C++ w/Qt components
• Language, Tools, H/W
• Teaching, hobbyist,
Rapid prototyping
• C/C++ plus Wiring library
• Java-based IDE
• AVR C
• Ivrea (Italy)
Arduino and Energia
Wiring-based language (syntax and libraries), similar
to C++ with some slight simplifications and mod’s
Sketchbook (Processing-based) integrated
development environment
Energia
(2012)
• Language, Tools, H/W
• Direct fork of Arduino
• TI C Launchpad boards
• California (USA)
Design By Numbers (or DBN programming language) was an influential experiment in teaching
programming initiated at the MIT Media Lab during the 1990s. Led by John Maeda and his
students they created software aimed at allowing designers, artists and other non-programmers
to easily start computer programming. The software itself could be run in a browser and published
alongside the software was a book and courseware.
4
Processing (2001) - One of the stated aims of Processing is to act as a tool to get non-
programmers started with programming, through the instant gratification of visual feedback.
5
This process is called sketching with hardware; explore lots of ideas very quickly, select the
more interesting ones, refine and produce prototypes in an iterative process.
Wiring (2003)
6
- The Wiring IDE is a cross-platform application written in Java which is derived
from the IDE made for the Processing programming language. It is designed to introduce
programming and sketching with electronics to artists and designers. It includes a code editor …
capable of compiling and uploading programs to the board with a single click.
The Wiring IDE comes with a C /C++ library called "Wiring", which makes common
input/output operations much easier. Wiring programs are written in C/C++, although users
only need to define two functions to make a runnable program: setup() and loop().
When the user clicks the "Upload to Wiring hardware" button in the IDE, a copy of the code is
written to a temporary file with an extra include header at the top and a very simple main()
function at the bottom, to make it a valid C++ program.
4
http://en.wikipedia.org/wiki/Design_By_Numbers_%28programming_language%29
5
http://en.wikipedia.org/wiki/Processing_(programming_language)
6
http://en.wikipedia.org/wiki/Wiring_%28development_platform%29