Back to Parent

Outcome


Whatsapp image 2023 12 06 at 19.20.23.thumb
Show Advanced Options
Show Advanced Options

Here is our code to make a subscription of 'rotate' via Webhook. We also added the token of recipient to Webhook in [integrations] on Particle. 

Event Name:  triggerRotate

{

"name": "rotate",

"data": "hello: {{PARTICLE_EVENT_VALUE}}}",

"private": "true",

"access_token": "{recipient's token}"

}

Outcome: 

In this project, we explored using Webhook to trigger information for rotating servo motors. Since we are three in a pair, we convey the same signal in one way like A to B, B to C, C to A. 

Process: 

We start experiment with led. By pushing the bottom on each controller, the other's led should be blinking. Then we start to using motor and switch to control and display. Every time the controller's switch pushed, it's motor will rotate and also triggering the other device's motor to rotate.

Next Steps: 

As our final project proposed, we are planing to use hall effect sensor and magnet to trigger the rotation of motors.

Reflection: 

  It was fun to see the series of transferring while telling apart where the servo rotation is triggered from. Once person 'A' switches on the one's circuit board, it directly triggers its servo and in a second conveys the same signal to 'B's servo motor. Once 'B' receives the signal, one can start the triggering to send the signal to one and 'C'. In a row, we could make round signal-transfer-points.


Show Advanced Options

Above: a demonstration video (full screen)

Dev5 circuitimage.thumb
Show Advanced Options
Dev5 circuitimage2.thumb
Show Advanced Options

Above two images: circuit board

Drop files here or click to select

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