Back to Parent

Outcome


Project Goal

Share data between devices using Particle.publish and echo.

This is a prototype of our final project. There are two devices in the system. The switch button on one device controls the servo and neopixel on the paired device.

Show Advanced Options
Show Advanced Options
Screen shot 2021 12 06 at 10.23.10 am.thumb
Show Advanced Options

Reflection

We spent a lot of time pairing the devices. It took us a while to realize a few problems:

- When attaching deviceID in publishMyEvent(), the deviceID needs to be converted to String before being added to our custom event name (i.e. String eventName = "missU" + String(System.deviceID()))

- On the echo page (https://diotlabs.daraghbyrne.me/tools/echo/), the event name needs to be the full event name. At first we forgot to add the deviceID and it wouldn't relay the published data. 


Drop files here or click to select

You can upload files of up to 20MB using this form.