# Servo motor gpiod guide

**URL:** https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648
**Category:** General
**Created:** [23 May 2023 17:47 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648 "2023-05-23T17:47:23Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)
#### Post date: [31 May 2023 12:21 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648/21 "2023-05-31T12:21:55Z")

</div>

servo motor control with speed adjustment edited in the main post

---

<div class="post-metadata">

### Author: ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)
#### Post date: [1 June 2023 13:33 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648/22 "2023-06-01T13:33:16Z")

</div>

I tested a 2.7A servo, the voltage between signal wire and gnd is around 1V max. Measured at 0, 90 and 180 degree angle. With and without maximum load (20kg). So it wont damage the pi luckily!

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [1 June 2023 14:34 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648/23 "2023-06-01T14:34:57Z")

</div>

Assuming you have got the PWM running, then the voltage is cycling up and down continuously with variable pulse width, so if you measure it with a voltmeter you just get the average. You would need to do it with an oscilloscope.

---

<div class="post-metadata">

### Author: ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)
#### Post date: [1 June 2023 15:27 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648/24 "2023-06-01T15:27:56Z")

</div>

😭

Yuck, so that's a bummer. Still... pi is alive lol  
I don't have an oscilloscope.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [1 June 2023 15:45 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648/25 "2023-06-01T15:45:17Z")

</div>

If it were going to die it would probably have expired by now. It will probably continue to live a long and healthy life.

---

<div class="post-metadata">

### Author: ![WBr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@WBr](https://discourse.nodered.org/u/WBr)
#### Post date: [1 June 2023 15:47 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648/26 "2023-06-01T15:47:21Z")

</div>

Life Of Pi =D

So. my next task will be setting the servo at a certain angle when a certain temperature is reached. will keep this thread updated.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [1 June 2023 16:10 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648/27 "2023-06-01T16:10:32Z")

</div>

What, overall, are you trying to accomplish?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [31 July 2023 16:11 UTC](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648/28 "2023-07-31T16:11:02Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/servo-motor-gpiod-guide/78648.md?page=1)
