Back to Parent

Outcome


Outcome

    • The goal of this skills dev was to create a paired device that allowed us to push a button one device and send that data to the other to spin a servo

Process

We began our process by creating a singular device and writing the code so that when a button is pressed the servo would spin. We encountered some minor problems here, but overall it was a smooth process. The next step was writing out the code for the paired devices. Initially we struggled with understanding the difference between particle subscribe and publish, but once we were able to understand that the rest of the code was easier to complete. The final step was combining the two parts, so we combined our initial circuit with the code for the paired device. This is where we ran into the most problems. We first forgot about echo, and then once that was set up we ran into some minor bugs. For example, when we press the button both our servos move, but we only want the servo of the other device to move. We still were not able to solve this problem. Another issue we ran into was having too many delays. We did not realize one of the delays being 10 seconds would create problems, but this delay required us to hold down the button which we did not initially realize. We were able to solve this issue fairly quickly by changing the delay, and we were then done with our paired device.

Reflection

Overall, our group is happy with where we are at with the paired device because even though we were unable to get the servo to only spin on one device we have a good base for our final project. We would need to replace the button with a photocell and the servo with a neopixel. If we had more time we would want to focus on the bugs we encountered with the echo.

Show Advanced Options
Drop files here or click to select

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