Team Practical Projects
Published © CC BY-NC

Develop Apps to Communicate with Particle Devices

You can develop your own apps for communicating with your Particle devices using MIT App Inventor 2. This project will show you how!

IntermediateFull instructions provided3 hours1,858
Develop Apps to Communicate with Particle Devices

Things used in this project

Hardware components

Photon
Particle Photon
×1
Resistor 221 ohm
Resistor 221 ohm
×1
LED (generic)
LED (generic)
×1
Servos (Tower Pro MG996R)
3.3 volt compatible
×1
Pushbutton switch 12mm
SparkFun Pushbutton switch 12mm
×1
Solderless Breadboard Half Size
Solderless Breadboard Half Size
×1

Software apps and online services

particle web ide
MIT App Inventor 2
MIT App Inventor 2
Particle App Template

Story

Read more

Schematics

Water Leak Sensor - hardware that can be used with this project

You can use our Water Leak Sensor hardware for this project. Alternatively, you can follow the instructions included with this project to add an LED and servo to a Photon using a solderless breadboard.

Code

Particle firmware for this project (Test_MIT.ino)

Firmware that exposes a string variable to the Particle Cloud so that it can be read on a mobile device by the MIT App Inventor 2 app that is part of this project. This firmware also provides two functions that can be called from the MIT App Inventor 2 app that is part of this project. One functions turns an LED on and off and the other function moves a servo. The function return values are processed by the app, demonstring how logic and computation can be partictioned between the firmware and the app code.

MIT App Inventor 2 App (source and executable versions)

Source and executable versions of an MIT App Inventor 2 app that provides the app user the capability to turn on and off an LED on their Particle device and to control a servo connected to their Particle device. The demonstrtation app also reads an initialization message from the Particle device and processes function return values, demonstrating how logic and computation may be added to an app that interacts wth Particle devices over the Internet.

Credits

Team Practical Projects

Team Practical Projects

11 projects • 8 followers
Development team for well documented and fully practical open source projects
Thanks to Pura Vida Apps.

Comments