Back to Parent

Outcome


Intention

Developing paired devices and networked interactions with Particle.publish

Context

 As a first step for the final project & to understand networking, this exercise aimed to get 2 particle devices on 2 separate accounts to communicate with each other so that when the touch sensor detects touch in one board, the LED on the other board lights up.

Process

Components: Breadboard, jumper wires, touch sensors, LED, resistor, Particle photon

1. Creating a circuit with touch sensor, LED, and resistor on the same board

2. Writing code for the simple circuit with a touch sensor to test the circuit out & get familiar with it.

3. Creating new circuits: Touch sensor on photon 1 and LED on photon 2

4. Writing code

5. Debugging to realize we need to use webhooks

6. Learning about webhooks

7. Integrating webhook

8. Using perplexity for code

9. Code doesn't work

10. Repromting... repromting... repromting

11. Restarting from scratch & asking an ECE friend to help

12. Trying other ways of integration: using JSON instead of Webform

14. Trying 'Things Speak' instead of Webhook

15. Restarting from scratch 

1

Img 6445.thumb
Show Advanced Options
Whatsapp image 2024 12 02 at 23.06.13.thumb
Show Advanced Options
Whatsapp image 2024 12 02 at 23.06.13.thumb
Show Advanced Options
Screenshot 2024 12 01 at 19.28.14.thumb
Show Advanced Options
Show Advanced Options
Show Advanced Options

Outcome

On touching the sensor on board 1, the LED connected to board 2 lights up.

Screenshot 2024 12 03 at 00.07.41.thumb
Show Advanced Options
Show Advanced Options

Reflection

The process was quite challenging. Our team spent a lot of time (8hrs over 2 days) trying to get our particle boards to communicate, to the point where we also got a friend from ECE to help out. It was, however, still not working: while the event was getting published on Board 1's console, Board 2 was unable to listen to the event.

Drop files here or click to select

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