Skip to content

RPi Node-Red: Servo Motor

Authors: field_5dd42fd9200b2

Goal:

The Goal for this lesson is to make your Servo Motor move

Parts List:

  • SG90 Servor Motor
  • Male to Female cables

 

Video Tutorial:

 

Wiring:

Black -> GND

Red -> 5v

Orange -> Pin 11 #17

 

Setting Up Node-Red:

 

Step 1:

We’re going to need 5 inject nodes, all of them will be numbers and label them 1,5,7,10

 

 

 

Step 2:

Now lets change the GPIO out, set the pin to GPIO17 – 11, Then change the Type from Digital Output to PWM Output and set Hz to 50

 

Step 3:

Connect the nodes and hit Deploy, Click the inject nodes to make the Servo move

What’s Next?

Now Let’s Connect 3 Servos

Back To Top