Giter Site home page Giter Site logo

arduinoservoprotocol's Introduction

Protocol specificatie single axis robot arm

Hardware

De robot arm bestaat uit de volgende hardware:

Connectie

De kleuren van de bedrading van de SG90 servo hebben de volgende pinout:

  • GND bruin
  • VCC rood
  • PWM oranje

Connect de SG90, PC, en Arduino volgens de volgende pinout:

graph LR

subgraph Arduino_R3

A[D9]

B[5V]

C[GND]

end

  

subgraph SG90_Servo

S[PWM]

V[VCC]

G[GND]

end

  

subgraph Computer

USB[USB]

end

  

USB --> Arduino_R3

A --> S

B --> V

C --> G
Loading

Protocol Specificatie

  1. Baud Rate:
    • De baud rate moet worden ingesteld op 9600.
  2. Commandostructuur:
    • Een commando bestaat uit twee delen, gescheiden door een dubbelepunt (:):
      • "deg": De waarde voor de hoek (0 tot 180 graden).
      • "speed": Snelheid per grade (0 tot 100).
  3. Commando-indeling:
    • Het volledige commando heeft de volgende structuur: deg:180speed:100
  4. Commando-einde:
    • Elk commando moet eindigen met een newline-karakter (\n).
  5. Acceptatie-response:
    • Als het commando in goede handen is ontvangen zal de Arduino de response Ok terugsturen.

arduinoservoprotocol's People

Contributors

tjeerdvandijk 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.