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

Particle Tools

The major difficulty with the Internet of Things deals with the multiple environments to deal with when developing a project.

​Particle provides three options, one online and two offline.
  • The first and recommended option is online. It combines the online IDE and the cloud services.
  • The second option goes offline consists on the Particle Dev IDE, based on Atom but working with a virtual machine.
  • The last option, also offline, includes the command line tools. 

Picture

Online IDE

The recommended tool for development is the Spark online IDE. No more platform-related problems: only one standard Internet browser is needed!

This IDE allows to write and save code, compile and upload to the Spark Core, consult documentation and manage the Spark Cores.

The users of others platforms based on the Wiring / Arduino framework will feel at home as the Spark uses the same functions and libraries.

Obviously, extra libraries have been added to manage the connectivity, including connection, authentication, reading and writing variables, ...

However, the IDE doesn't support users' libraries.  This is a very serious limitation for more advanced projects.

Code is compiled on the cloud and uploaded through Internet and WiFi to your very Particle Core.

Spark has done a splendid job with this IDE. It is another great example of what the Internet of Things can be.
Picture

Particle Dev IDE

To tell the truth, I've never been a huge fan of online IDEs. They require an Internet connection and a large bandwidth. It is interesting to note that Particle is following the same trend as mbed.

Particle has started developing an offline IDE based on Atom, Particle Dev. Both Atom and Particle Dev are in beta.

​The installation of Particle Dev is fully documented but relies on Docker, a container with a VirtualBox virtual-machine to compile and link the project.

I went through the installation process, compiled and uploaded the standard blinky example successfully.

However, the whole installation has downloaded 6 GB and the Particle Dev is taking up to 25 GB of disk space because of the Docker container. Again, the Particle Dev with local build is still at very early stage. Needless to say this is not a viable solution.  
Picture
Picture

Particle Workbench

The new offline IDE is an extension for the Visual Studio Code IDE and addresses many of the issues reported previously.

It is now possible to add libraries to the project, build locally or on the cloud, upload through USB or over-the-air (OTA).
Picture

Command Line Interface

Particle also provides a command line interface for uploading, command line tools for a local build and link, and even a local cloud.
 
They require downloading and installing the ARM-toolchain, all the needed libraries and SDK, as well as different utilities. As at today, it is still a work in progress for the Photon.  

Although the process is well documented with these step-by-step instructions, it is not as easy as the online IDE environment.

The command line building tools are still in development, with the link phase especially and frequently prone to crash. Even following the detailed step-by-step procedure failed. 

​As soon as the tools are stabilised, I plan to support the new Photon board on embedXcode.

As main benefit, one single IDE, Xcode, can be used to develop for the board and the iOS-based smartphone, sharing libraries and providing an improved integration between both environments.
Picture

Cloud Services

Recently, Particle has launched a new service called Dashboard, which displays data published by the Core and Photon boards. 

The dashboard shown on the right was populated using one single simple line of code.
Picture
Although still in beta and pretty limited, the Dashboard is very promising. Closely integrated in the Particle SDK, sending data can't be easier! Read the full review.

An interesting option is to use a local server instead of Particle's ones. This option is called local cloud. I haven't tested it yet.
​
Picture

Conclusion

I have mixed feeling about the tools. The online IDE fits for limited projects only as it doesn't support the user's libraries. 

The biggest challenge is the lack of valid alternative to the cloud IDE for large projects. The Atom-based Spark-Dev solution takes too much resources with a virtual machine implementation to be suitable. The command line building tools are too prone to crash and thus unreliable.

Despite the Core and Photon huge potential, none of the online and offline options provides a viable solution for serious development with Particle.

Pros

  • ​Online IDE for virtually any browser

Cons

  • Particle Dev resources hungry
  • Command line tools unstable

Wrap-Up

  • ​No viable solution for serious development
  • Not supported by embedXcode

Links

  • Website
  • Documentation
  • Online IDE
  • Blog
  • Support
  • Forum
Picture
Support for this platform by embedXcode, embedded computing on Xcode, in planned.

Posted: 12 Jul 2015
Updated: 01 Mar 2021

Powered by Create your own unique website with customizable templates.