Back to Parent

Outcome


Intention

The goal of this project was to control a servo motor using a Particle device and a push button The project includes the ability to control the servo position manually through the Particle console, providing flexibility in real-time testing and operation.

Process

The servo was connected to the Particle device’s A1 pin for motor control and a button to D3 serving as on/off. And I coded to connect the board with particle function, so I can either turn on the motor through pressing the button, or call the servo function on particle console. 

Outcome

    •  The servo responded to both the button and manual commands from the Particle console as expected. When the button was pressed, the servo moved to 90 degrees, and upon release, it returned to 0 degrees. The manual control allowed for flexible testing, confirming that the servo could smoothly move to any specified position between 0 and 180 degrees.

Reflection

I would like to make the motor run as fast as a fan next time 

Show Advanced Options
Img 0956.thumb
Show Advanced Options
Img 0955.thumb
Show Advanced Options
Drop files here or click to select

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