Project showcase
Operating Servo Motor Through Arduino On Online Simulator

Operating Servo Motor Through Arduino On Online Simulator

Tinkercad is the largest community of 3D design enthusiasts of its kind! It is an online simulator on which projects can be made.

  • 5,230 views
  • 1 comment
  • 21 respects

Components and supplies

Necessary tools and machines

Jumper wires

Apps and online services

About this project

Tinkercad is an online simulator platform available for various 3D circuit designing and printing. In this we will run a servo motor through arduino on tinkercad which is a online simulator.

  • Step 1- open tinkercad.com and register on it to start designing circuits online.
  • Step 2- Open the Designing window and select an arduni board and a servo motor and connect it as shown in circuit diagram.
  • Step 3- open the code window, and do the selected settings like the angle at which the motor should be rotated.
  • Step4- click in simulate to run the circuit

Arduino codes is also available on tinkercad you can download it from the website and design the above circuit physically.

Code

servo_code.inoC/C++
#include <Servo.h>

int pos = 0;

Servo servo_9;

void setup()
{
  servo_9.attach(9);

}

void loop()
{
  // sweep the servo from 0 to 180 degrees in steps
  // of 1 degrees
  for (pos = 0; pos <= 180; pos += 1) {
    // tell servo to go to position in variable 'pos'
    servo_9.write(pos);
    // wait 15 ms for servo to reach the position
    delay(15); // Wait for 15 millisecond(s)
  }
  for (pos = 180; pos >= 0; pos -= 1) {
    // tell servo to go to position in variable 'pos'
    servo_9.write(pos);
    // wait 15 ms for servo to reach the position
    delay(15); // Wait for 15 millisecond(s)
  }
}

Custom parts and enclosures

Circuit Diagram Through Eagle
fabulous_amur-hillar_(1)_p0WQSoWIrP.brd

Schematics

ci_qxT9nA9Yjq.JPG
Ci qxt9na9yjq

Comments

Similar projects you might like

Using Serial Monitor to Control Servo Motor

Project tutorial by Kub_Luk

  • 4,979 views
  • 10 comments
  • 32 respects

Arduino/Android - BLUETOOTH Multi Servo Motor Control

Project tutorial by Danny van den Brande

  • 13,195 views
  • 8 comments
  • 18 respects

Obstacles Avoiding Robot With Servo Motor

Project tutorial by Sora JY

  • 6,606 views
  • 3 comments
  • 20 respects

Servo Motor Using Arduino & PCA9685 16 Chanel Module

Project tutorial by Jithin Sanal

  • 28,530 views
  • 2 comments
  • 16 respects

Temperature Sensor To control Servo Motor

by Jasleen

  • 7,065 views
  • 2 comments
  • 10 respects
Add projectSign up / Login