Coder Social home page Coder Social logo

rcode879 / arduino-servo-motor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

Uses python to control servo motor connected to arduino microcontroller

Python 100.00%
arduino arduino-ide electronics electronics-engineering electronics-projects pyfirmata python3 robotics robotics-projects servo-motor standardfirmata

arduino-servo-motor's Introduction

Arduino-servo-motor

Uses python to control servo motor connected to arduino microcontroller.It uses python rather than the traditional arduino IDE language. You input and angle of choice and your servo motor will turn to that angle.

Required:

-pyfirmata

-Arduino IDE

-Arduino IDE in built firmata custom library

Key information:

-Before starting, upload the firmata code (this can be found in your arduino IDE custom libraries in "Firmata/StandardFirmata") from the arduino IDE into your arduino microcontroller

-The COM port is the usb location where your arduino device is connected

-When the code is run your code will upload to the arduino

-Servo motors do not turn beyond 180 degress so entering a number above that is useless

-No wiring diagram is provided

Troubleshooting:

-Check your computer COM port which the arduino is connected to

-Check is you have wired your physical servo motor to the Arduino correctly

-Check is you have selected the correct Arduino board on the Arduino IDE

-Check you have uploaded the "StandardFirmata" code to the arduino before running the python code

arduino-servo-motor's People

Contributors

rcode879 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.