Back to Parent

Outcome


Intention

The project objective is to pair my particle with my teammate's particle, so our devices can communicate with each other and change the LED color when certain actions were triggered. 

Context

We tried to remake the lover's cups with our IoT prototype. The most difficult part is not make the LED shine, but also make the device work with the sensors on the other breadboard. Therefore, we utilized the Particle publish and subscribe to make it work.

Process

We named the devices by cup1 and cup2. In my code, my device is the cup2. My LED will change into when the cup1 board detected data from its photoresistor. We tried to connect our devices through public cloud on Particle initially, but it didn't work. Therefore, we moved two device under the same account, and it worked eventually. 

Outcome

    • When the the photoresistor has lower value of brightness, meaning 'kiss' in our setting, the LED will change into pink on the other device. 
    • Therefore, the user2 can know user1 is drinking by the paired cup. 

Reflection

The pairing process is much more difficult than wiring the circuit on the device, it took us almost three hours to solve the problem. 

Show Advanced Options
Screenshot 2024 12 04 at 7.10.21 pm.thumb
Show Advanced Options
Screenshot 2024 12 04 at 6.56.49 pm.thumb
Show Advanced Options
Screenshot 2024 12 04 at 6.56.43 pm.thumb
Show Advanced Options
Drop files here or click to select

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