Page 1 of 1

Use ESP32 as FM transmitter?

Posted: Wed Nov 02, 2016 9:45 pm
by RoundRobin
Would it be possible to use the ESP32 PWM output pins as an FM transmitter as it was done with the Raspberry Pi? http://www.icrobotics.co.uk/wiki/index. ... ransmitter

Re: Use ESP32 as FM transmitter?

Posted: Wed Nov 02, 2016 10:25 pm
by ESP_Angus
It's not a supported use, obviously (due to RF regulatory issues, etc.) But it should be technically possible.

@cnlohr successfully used the ESP8266 I2S peripheral to broadcast analog TV:
https://www.youtube.com/watch?v=SSiRkpgwVKY

Between the ESP32 PWM hardware and also the similar but more feature-ful I2S peripheral, there should be a lot of possible high frequency pin-twiddling hacks.

Re: Use ESP32 as FM transmitter?

Posted: Thu Nov 03, 2016 6:45 am
by ESP_Sprite
Also the RMT peripheral seems a likely candidate for doing weird RF stuff.

Re: Use ESP32 as FM transmitter?

Posted: Mon Nov 07, 2016 2:22 pm
by RoundRobin
Great, looks promising. Hadn't looked into the RMT before.

Another question from the great noob:

I need to play several small wav files simultaneously (8000 Hz, mono, 1 second duration), and originally I was thinking about using a multichannel SPI DAC. But would it be possible to use the PWM outputs instead since all GPIO pins have PWM capabilities?