wireless PWM sender

Hi all,

I am looking at using a potentioneter to measure the position of a vane, have the resistance turned into a PWM Value, then sent wirelessly over a distance of about 5 meters. It will then be received by another device and the PWM signal sent to a servo, like a basic rc remote sort of (but it serves a different purpose)

I have 2 methods that i can try:

1: I have a servo tester that i have replaced the potentiometer on. Then the PWM output is wired direct into the Rx port on a ESP32 wifi board and then another ESP32 is located a distance away. The Tx port of the ESP32 is wired straight to the PWM input for the servo

I have already tried this method with a XD-RF module (pretty much the 433mhz one-way radio) but it produced a load of jitter, possibly from interference, as it is an analogue radio.

My question for this is, can 2 ESP32 modules talk to each other directly with no arduino attached? or does there have to be an arduino on the end to set everything up

2: the other option was to use a board like This and have it as a servo tester that sends it over the air to another module that somehow outputs the pwm signal out of a pin, and then that goes to the servo

The issue with No2 is that i have no clue how to code, and I am looking to make a simple model that requires no coding. I could possibly make it transmit the signal by modifying a simple servo tester but I'd have no idea how to set up a receiver module to output the PWM. If anyone has any advice on how to do that I would be greatly appreciative

TL,dr: can 2 ESP32 modules talk to each other out of the box without any form of coding, just data sent over Tx and RX? and is there a code already made for wirelessly transmitting and receiving a PWM signal

Cheers,
Henry

Servo signals have their own encoding (PCM) that looks similar to PWM but is created and interpreted differently (Servo library).

Servo signals, and PWM, cannot be sent over serial devices using Rx/Tx. You need a remote control sender and receiver with DI/DO signals.