Particle Core wifi-controlled Arduino boards
We currently have two Particle Core boards. The Particle Core boards were known as Spark Core boards before their rebranding in May 2015. Much of the documentation online still refers to Spark, as do some of the tools.
These are the MAC addresses, device IDs, IP addresses, and assigned hostnames:
- 08:00:28:58:b0:1b, 53ff6c066667574817492567, 10.160.137.14, sparky1.physics.wm.edu
- 08:00:28:58:44:a4, 53ff6c066667574823450967, 10.160.137.15, sparky2.physics.wm.edu
Installation
Normally the Particle smart phone app will use bluetooth (?) using the CC3000 TI smart config interface to connect the Particle Core to the wifi network. This is not possible at W&M since all devices have to be authenticated using MAC address and since widgets get added to a different wifi network than smart phones. The devices above have been added manually to the 10.160.137.0/24 widget network. This means that they can only connect to wifi from inside Small Hall, and they can only be contacted from inside Small Hall.
In order to connect over serial to the boards, you will need to install Node.js 10.37 (version matters!). For Ubuntu 14.04 this is done with
sudo apt-get remove node sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install node sudo npm install -g particle-cli
To install the full toolchain (for example to reflash the Particle board through USB, see the instructions on how to install the toolchain in Ubuntu 14.04 and make sure to replace spark by particle and adapt for your current version of Ubuntu or other operating system.
Setup the boards
Login with particle-cli in your Particle account (which you should have setup first using the smart phone app or on the Particle website):
particle-cli cloud login
? Please enter your email address: wdconinc@gmail.com ? Please enter your password: ******** > Successfully completed login!
Make sure the Particle Core is in listening mode (blue LED flashing on and off). If it is not in this mode, press the mode button for 3 seconds.
Setup the wifi connection:
$ particle serial wifi ? Should I scan for nearby Wi-Fi networks? Yes ? SSID: W-M_Wireless ? Security Type: Unsecured Attempting to configure Wi-Fi on /dev/ttyACM0
If the connection is successful, the LED will pulse magenta.