Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
115 lines (72 sloc) 4.09 KB
title layout columns order

Quick start: Xenon

Image of the Xenon in a breadboard

The Particle Xenon is a mesh and Bluetooth development kit designed for building connected projects and products. To set up the device you'll need an iOS or Android mobile phone and a connection to the internet.

The Xenon Kit comes with the following things:

{{box op="start"}}

  • Xenon development kit
  • Starter Project
    • One micro-USB cable
    • One mini breadboard
  • Electronic components
    • Two resistors (220 ohm)
    • One light-emitting diode (LED)
    • One phototransistor {{box op="end"}}

1. Set up your Xenon

For a short (~4 min) overview of what the Xenon setup process looks like, watch the video below.

<iframe width="640" height="360" class="video" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Once you're ready to proceed, use the online setup application to configure your new Xenon. The process includes the following.

  • Registration of your device with your Particle account
  • Connection of your device to the Particle Device Cloud
  • Particle Mesh network configuration

Once you've completed the setup you will be able to program your device and send over-the-air (OTA) updates to it.

To begin setting up your Xenon, click the button below and follow the onscreen instructions. When you've completed set up, continue to Step #2.

{{box op="start" cssClass="boxed warningBox"}} NOTES:
1.) If you have already set up your Xenon, skip to Step #2.

{{box op="end"}}

2. Using the Web IDE

Now that your Xenon is connected to Device Cloud, you can write some code in the online Web IDE and send new code to your device to run.

To program your Xenon, open a new browser tab and go to the Web IDE. You will see a layout like the image below.

Image of the Web IDE

{{box op="start"}} NOTE:

The Web IDE is one of the ways you can write, compile, and deploy code to your Particle devices.

If you're looking for a more traditional embedded development experience, be sure to learn about Particle Workbench, a full toolchain integration with Microsoft Visual Studio Code. {{box op="end"}}

3. Load the Blink example

Image of the Web IDE with example code

Click on Blink an LED on the left side of the page. As soon as you click the Blink and LED code will load and fill the screen as shown below.

Image of the Web IDE with example code loaded

The code is heavily commented to help you understand the general structure of the sketch: the first part of the code declares two variables, the setup() function configures two pins as outputs, and finally the loop() which turns the onboard LED on, then off, then loops continuously.

4. Target your device

The Web IDE can be used with multiple devices. As such, when you go to compile source code, it's a good idea to verify that the device you are intending to program has a gold star to the left of its name in the Devices tab (circle with 4 lines).

5. Compile your code & flash

Click the lightning bolt icon on the top left of your screen to flash your code to your device.

As soon as you click, the Particle Device cloud will compile the program source code to a binary file and send it over-the-air (OTA) to your Argon.

{{box op="start"}} NOTE:

You'll often see words like flashing and deploying used interchangeably. {{box op="end"}}

For more hardware examples to try, visit the hardware examples.

You can’t perform that action at this time.