Back to Parent

Outcome


Outcome

    • In this project, we realized communication between two devices through webhook. If my teammate press the button on his side, it will trigger the fan to run in my side.

Circuit5.thumb
Show Advanced Options

Process

We first generated tokens and creates webhook in each side. It is named as "doPairedPublish" and will trigger "activate" function on the other side. Then we added the button and did some modifications on the code.

At first we tested our circuit on our own side, and my fan didn't run. I found it was because we did not use external power this time and I forgot to connect to microcontroller’s power. 

Then we found one fan cannot be triggered. But we saw on the console that it did receive the event. Then we checked the circuit and found no problems. Finally we figured out that it was because windows have limitations on the power supply to usb-connected device. So the fan didn't get enough power. It only had very small movements.

Show Advanced Options

Reflection & Next Steps

From this project, I learned how to use webhook to realize the communication and interaction between devices. It enables us to realize remote control or remote interaction between two persons. In the future, we need to use webhook to pass parameters to pass more information to the other side, to implement our final project.  

Drop files here or click to select

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