I’ve worked out instructions for how to set up an out-of-the-box fresh-from-the-factory Argon from scratch, without using the mobile apps. I will add the specific instructions for Borons and Xenons later. To complete setup for a Xenon leaf node (no Ethernet Wing), you will need to have an Argon or Boron gateway device already configured and online.
Since some people have had problems with older phones which weren’t able to scan the very small device barcodes, this could be useful for them in particular.
The detailed instructions are part of my Particle Cookbook project (see the “Local Mesh Device Setup” section), but here is an abridged version that assumes that you already know what you’re doing for a lot of the steps. I performed this setup on a Mac (OSX 10.14.3, Mojave). Windows or Linux computers may require additional steps to configure drivers, permissions, etc.
- A Particle Cloud login account
- Particle CLI version 1.40.0 or higher
- Particle WorkBench, po-util, or other local build toolchain
- DeviceOS 0.9.0 or higher
If you haven’t already, make sure that your Particle CLI is updated to the latest version, at least version 1.40.0. You may need to download the newest installer from the Particle web site, or run the command
particle update-cli , or perhaps run the command
npm install -g particle-cli, depending on how you originally installed it. If you aren’t already, make sure you are logged into your Particle account (
Unpack your Argon, place it on the breadboard, and connect it to your computer via USB. It should come up blinking blue, indicating “Listening” mode (serial).
If you try to use any Particle CLI commands for your device at this point, you’ll find that you can’t. You’ll have to get the Argon updated to deviceOS 0.9.0 or higher, first. For some reason, I found that I couldn’t even use the cli to do a DFU flash, so I ended up using Particle Workbench. I’m guessing that you could also just use the dfu utility from the command line manually, but I did not try that, and I leave that option as an exercise for the reader.
Put your Argon in DFU mode (hold down the RESET and MODE buttons simultaneously, release RESET, then when the status LED flashes yellow, release MODE).
Fire up Workbench and either open an existing project that’s set for deviceOS 0.9.0 and an Argon device, or create a new, blank project with those settings. You do not need any particular code, just an empty
loop() are fine.
Terminal menu, select
Run Build Task..., then choose
Particle: Flash application & DeviceOS (local). Wait for Workbench to finish compiling and flashing (you should get a “success” message in the Workbench build terminal). Your Argon should return to Listening mode (flashing blue). If it gives you a failure the first time, return to DFU mode and run the task again, and it should succeed the second time.
At this point, you should be able to issue a
particle serial identify command and it should return your Device ID and deviceOS version. You will need the Device ID in order to claim your device, so keep it handy.
You will now need to update the Argon’s NCP (Network CoProcessor), or you won’t be able to connect to WiFi. Download the NCP firmware
.bin file. Then issue the command
particle flash --serial argon-ncp-firmware-0.0.5-ota.bin
Now, we can configure the Argon for WiFi with
particle serial wifi. Follow the prompts to connect to your network. For example:
$ particle serial wifi ? Should I scan for nearby Wi-Fi networks? Yes ? Select the Wi-Fi network with which you wish to connect your device: myNetwork ? Should I try to auto-detect the wireless security type? Yes > Detected WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP) security ? Wi-Fi Password myWifiPassword Done! Your device should now restart.
Your device should connect to WiFi and to the Particle Cloud, and begin breathing cyan.
Now you should be able to claim your device, and rename it:
$ particle device add d01c3e6h01bdh3h279c226af Claiming device d01c3e6h01bdh3h279c226af Successfully claimed device d01c3e6h01bdh3h279c226af $ particle device rename d01c3e6h01bdh3h279c226af MyArgon01 Renaming device d01c3e6h01bdh3h279c226af Successfully renamed device d01c3e6h01bdh3h279c226af to: MyArgon01
Lastly, you can create a new Mesh network with your Argon as the gateway device:
$ particle mesh create MyMeshNetwork MyArgon01 ? Enter a password for the new network [hidden] ? Confirm the password [hidden] Done! The device will be registered in the network once it is connected to to the cloud.
If all has gone well, you should be done! Your Argon should be claimed, named, and ready for action.
I’ll write up instructions with the differences for a Xenon and Boron when I get the chance. But this outline will probably be a good start for the intrepid who are too impatient to wait for me.