# Controlling Servos and LEDS on LoRa nodes through RAK831 gateway from Nodered UI

**URL:** <https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209>\
**Category:** General\
**Created:** [3 February 2020 17:35 UTC](https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209 "2020-02-03T17:35:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cherechi](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@cherechi](https://discourse.nodered.org/u/cherechi)\
**Post date:** [3 February 2020 17:35 UTC](https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209/1 "2020-02-03T17:35:46Z")

</div>

Hello,  
I am currently working on a project with LoRa nodes, gateway and Node-Red.  
I built the system to have four nodes collecting voltage and current from power sources and sending to the RAK 831 LoRa gateway. I trapped the data from the gateway using Nodered(TCPDump). and the data is displayed on the guage and charts. and the project is working. but now i want to add a little control feature where i can control and LED and a servo from the Node-red UI to the nodes through the gateway at the various frequencies. is there a way i can do this?  
Please i will appreciate any help towards this.

Thanks.

Cherechi

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [3 February 2020 19:13 UTC](https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209/2 "2020-02-03T19:13:27Z")

</div>

You don't say on which platform you are running Node-RED. For a Pi the pigpiod node handles servos well.

---

<div class="post-metadata">

**Author:** ![cherechi](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@cherechi](https://discourse.nodered.org/u/cherechi)\
**Post date:** [3 February 2020 19:26 UTC](https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209/3 "2020-02-03T19:26:18Z")

</div>

My server is running on a raspberry pi. But i need to send the command from the raspberry pi through LoRa to the end devices

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [3 February 2020 19:28 UTC](https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209/4 "2020-02-03T19:28:30Z")

</div>

If the servos are at the other end - then it'll be up to that end to control them.

---

<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:** [3 April 2020 19:28 UTC](https://discourse.nodered.org/t/controlling-servos-and-leds-on-lora-nodes-through-rak831-gateway-from-nodered-ui/21209/5 "2020-04-03T19:28:31Z")

</div>

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