# JSON from serial port - basic question

**URL:** <https://wled.discourse.group/t/json-from-serial-port-basic-question/4989>\
**Category:** Questions\
**Created:** [March 1, 2022, 5:26pm UTC](https://wled.discourse.group/t/json-from-serial-port-basic-question/4989 "2022-03-01T17:26:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikez](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@mikez](https://wled.discourse.group/u/mikez)\
**Post date:** [March 1, 2022, 5:26pm UTC](https://wled.discourse.group/t/json-from-serial-port-basic-question/4989/1 "2022-03-01T17:26:49Z")

</div>

Hi All,

I am in the planning stages. I want to drive analog LEDs with WLED, I have an ESP32 board which I intend to configure to use WLED and PWM. I have an additional MCU handling display and input knobs, my intention is for it to commands to the ESP32 which is running WLED via serial communication lines using JSON, which I know very little about at this time. I like the idea of having local control the LEDs (RGBW) sending JSON commands to the ESP32, plus the possibility of external control using an App on a mobile or tablet. Does what I am describing sound reasonable and will it allow full access to WLED (obviously with the limitations of the analog LEDS).

Grateful for any replies on this matter.

MikeZ

---

<div class="post-metadata">

**Author:** ![blazoncek](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/blazoncek/32/1886_2.png) [@blazoncek](https://wled.discourse.group/u/blazoncek)\
**Post date:** [March 1, 2022, 8:55pm UTC](https://wled.discourse.group/t/json-from-serial-port-basic-question/4989/2 "2022-03-01T20:55:06Z")

</div>

You can also try rotary encoder and have everything on a single ESP.
