Always wanted to make this project where we just don't open and close gripper manually. Here we use esp8266 and web socket concept to remotely control the Robotic arm.
Live Demo:Step 1:How to connect the grippers servo motor to Wemos(ESP8266) board?
Connect the brown wire from the micro servo to the GND pin on the Wemos. Connect the red wire from the servo to the +5V on the Wemos. And finally, connect the orange wire from the SG90 servo to a digital pin (D7) on the Wemos.
Step 2:Upload code to Wemos Board. Refer code section.
Step 3:Testing -> Connect the laptop or mobile to hotspot: "espHotSpot". Password is embedded in the code.
Open browser and type url: http://192.168.4.1
Press enter. Change the position of the slider to see the gripper arm opening and closing based on slider position. If slider position is left most of screen then gripper is closed and slider is slides to right most of screen then gripper arm opens to max.
Note: The response is quite fast as it uses web sockets.
Comments
Please log in or sign up to comment.