What it is
The Internet Button contains a lot of useful hardware in a quite compact package. This is what it includes:
- Photon (the brain) with wifi access
- 11 bright RGB LEDs
- 4 physical buttons
- Sound speaker
- Plastic cover
- USB cable
- Particle’s swag sticker :)
How it works
After some initial setup, Particle’s cloud will know you and your Internet Button. Their cloud is an abstraction layer that lets you easily interact and manage all your Particle devices — a connection between your keyboard and the device’s hardware.
You can code locally on Atom IDE (recommended) or remotely on their web IDE (avoid at all costs). To deploy your code to the Internet Button you simply click Publish on your IDE. That will trigger several events:
- Your code is uploaded via wifi to Particle’s cloud.
- The cloud compiles your code.
- If no errors are found, the build is deployed to your device via wifi.
- During this whole process, a LED on the Internet Button will change colors accordingly.
Each time the button powered on, it will fetch the most recent version of your code. That allows you to publish a new version with the button turned off.
This cloud connection is bi-directional, meaning that the Internet Button can also send data to Particle’s cloud. That means you can publish or trigger events on IFTTT, an API or a webhook.
If you want to know more about the Internet Button and other IoT devices, check out these other posts and tutorials.