# How to program Pulse Width Modulation on a Unipi Neuron S103

**URL:** <https://discourse.nodered.org/t/how-to-program-pulse-width-modulation-on-a-unipi-neuron-s103/41727>\
**Category:** Developing Nodes\
**Created:** [27 February 2021 18:01 UTC](https://discourse.nodered.org/t/how-to-program-pulse-width-modulation-on-a-unipi-neuron-s103/41727 "2021-02-27T18:01:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jeff/32/37977_2.png) [@Jeff](https://discourse.nodered.org/u/Jeff)\
**Post date:** [27 February 2021 18:01 UTC](https://discourse.nodered.org/t/how-to-program-pulse-width-modulation-on-a-unipi-neuron-s103/41727/1 "2021-02-27T18:01:56Z")

</div>

I'm new here and Node-RED is new for me. I installed Node-RED on a Unipi Neuron S103 (raspberry pi inside) and I want do dim an electrical heater. I want to send short pulses to a solid state relais. Writing it myself in JavaScript is to difficult. I think I have to copy a JSON file (=JavaScript) in a Node-RED "function"? Can somebody help to make a pulse width modulation? #general

---

<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:** [28 April 2021 18:02 UTC](https://discourse.nodered.org/t/how-to-program-pulse-width-modulation-on-a-unipi-neuron-s103/41727/2 "2021-04-28T18:02:46Z")

</div>

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