Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • LaunchPad Plaform
      • Microsoft Azure IoT DevKit
      • Seeeduino Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Mediatek Platform
      • UDOO Platform
    • Legacy Platforms >
      • chipKIT Plaform >
        • chipKIT Uno32 and uC32
        • chipKIT WF32 and WiFire
        • Compatibility
        • chipKIT PGM Programmer-Debugger
        • 4D Systems PICadillo-35T
        • Shields for chipKIT Uno32
        • 4D Systems Platform >
          • 4D Systems PICadillo-35T
          • 4D Systems gen4-IoD-28T
      • Cosa, an Alternative Framework for AVR Boards
      • DFRobot Platform >
        • DFRobot BLuno
        • DFRobot Wido
      • Digistump Platform >
        • Digispark
        • Oak
      • Intel Platform >
        • Intel Curie with Neural Network
        • Intel Edison
      • LightBlue Bean
      • Little Robot Friends
      • Maple Plaform >
        • LeafLabs Maple
      • Microduino Plaform >
        • Microduino
      • Particle Platform >
        • Particle Core
        • Particle Photon
        • Particle Tools
      • Protostack Platform >
        • Protostack Boards
      • RedBear Platform >
        • RedBearLab CC3200
        • RedBearLab WiFi Mini
        • RedBear Duo
      • Wiring Plaform >
        • Wiring S
        • Wiring Play Shield
    • Boards and Plugs
    • I²C Logic Level Converter
    • Peripherals >
      • BoosterPacks for LaunchPads
      • Shields
      • Grove System
      • Ten Years with the Grove System
      • Sensors
      • Actuators
    • Displays >
      • Pervasive Displays e-Paper Screens
      • FRAM-based E-Paper Screen Controller
      • The 2.8" HY28A LCD Screen
      • High-Definition 480x320 3.5" Screen With Touch and Fonts
      • Kentec 3.5" LCD SPI with Touch BoosterPack
      • 4D Systems Intelligent Screens
      • East Rising 5" LCD with RA8875, Touch, Fonts, Flash and SD-card
      • East Rising 5" LCD with SSD1963, Touch, Flash and SD-card
  • Software
    • The IDE Question >
      • The Battle of IDEs
      • More IDE Options
      • Looking for a Better IDE
      • Assessing the Next Generation of IDEs
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
  • IoT
    • IoT Platforms: Which Hardware?
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • LaunchPad and BoosterPack Boards Pins Maps
      • Ruler
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDEs >
      • Texas Instruments Code Composer Studio 6
      • Texas Instruments Code Composer Studio Cloud
      • Energia
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • LCD_screen Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

The Battle of IDEs

Each board comes with its own IDE. Most of them share the same interface provided by Processing. Also, most of the language is common thank to the Wiring framework.

I often refer to all those IDEs as Processing-based Wiring-derived.

The main benefit of the Processing-based Wiring-derived IDEs relies on being OS-agnostic. The IDEs run on Windows, Linux and Mac OS X.

The problem is, each board with its IDE has its own idiosyncrasies. 

Although a 8-bit MCU doesn't work the same way as a 16- or 32-bit one, other differences are hardly understandable. 

When all IDEs accept [u]int{8|16|32|64}_t as uint8_t, why one sports its own [u]int{8|16|32|64} as uint8 instead? 

Worse, some boards are more equal than other, with two IDEs!
Picture

Paying Tribute to the Real Pioneers: Processing and Wiring

Who were the real pioneers who made it all possible
  • ​Processing provides the IDE, including the editor and connection with the tool-chain, for Windows, Mac OS X and Linux,
  • while Wiring provides the framework and the C++ dialect. 
Picture
Picture
Processing was developed by Casey Reas and Ben Fry and provides the IDE all the boards are using. It is also fully documented. Initially featuring Java, it explores new languages like Python with Processing.py and  JavaScript with p5*js.
Wiring was developed as a thesis by Hernando Barragán and provided the framework used by all the boards. The Wiring framework is fully documented with a whole site Developers Reference. Wiring is currently working on the next generation object-based framework, Wiring++.

Choose Your Colour!

The Arduino IDE for the Arduino boards comes in two flavours, 0023 and 1.0, unfortunately with significant differences between both.

Hence the two repositories:
  • Wiring repository: Wiring 1.0, Arduino 0023, chipKIT MPIDE 0023, LeafLabs MapleIDE v0.0.12
  • new repository: Arduino 1.0, Energia 1.0.
Picture
Picture
MPIDE for chipKIT boards sticks with the Wiring / Arduino 0023 repository.
Picture
Apart from being a framework, Wiring is also an IDE which supports the Wiring boards.
Picture
Picture
Energia RC1 for LaunchPad boards was released in May 2012. 

It is complaint with the new Arduino 1.0 repository.
Picture

Arduino vs. Arduino

There are now 2 Arduino organisations with 2 different websites and 2 different IDEs:
  • Arduino.CC or Genuino, and
  • Arduino.ORG.
​
Arduino 1.6 by Arduino.CC / Genuino is the new stable release of the framework.

Version 1.6.1 by Arduino.CC / Genuino is compatible with previous releases, 1.0.6 and 1.5.8. However, releases 1.6.2 and later break that compatibility.
Arduino 1.7 by Arduino.ORG supports all the Arduino boards and the new Arduino M0 and M0 Pro boards. 

It is compatible with previous releases 1.0.6, 1.5.8 and 1.6 up to 1.6.1.
Picture
Picture

Arduino.CC IDE 1.6.5 and Boards Manager

Starting release 1.6.5, the Arduino.CC IDE includes a Boards Manager for downloading and installing additional boards. It relies on a list of URLs set in the Preferences pane. A similar process deals with libraries. 

Most of the boards manufacturers rely on the Boards Manager, including Adafruit, chipKIT, Cosa, Digistump, ESP8266, Intel, MediaTek, Little Robot Friends, Mediatek, panStamp, RedBear and RFduino. 
​

Picture
Picture
  • Call the menu Tools > Board > Boards Manager...
Picture
A new window lists all the boards available, already installed or ready for installation, based on a set of URLs.
  • Select the board and click on Install.
  • Click OK.
Picture
Picture

United Again!

As a consequence of of the merger of Arduino and Arduino: Together Again, the new release 1.8.0 of the Arduino IDE support all the Arduino and Genuino boards, including the Arduino Zero, M0, M0 Pro and Tian. ​
Picture

Using Conditional #include

Most of the boards rely on the same framework, with no need to learn a new dialect. 

The same code runs fine on most boards, provided some conditional #include are inserted into the code, as shown on the right. 

The Boards Manager is the de facto new standard with an improved ease of use for installing new boards.

Interesting extensions, like Cosa for AVR boards and like Energia Multi-Tasking and Galaxia for LaunchPads, bring new perspectives. 

Picture

Previous

  • Software

Next

  • ​More Options​
Powered by Create your own unique website with customizable templates.