Use ESP32 as FM transmitter?

RoundRobin
Posts: 7
Joined: Wed Nov 02, 2016 9:40 pm

Use ESP32 as FM transmitter?

Postby RoundRobin » Wed Nov 02, 2016 9:45 pm

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Use ESP32 as FM transmitter?

Postby ESP_Angus » Wed Nov 02, 2016 10:25 pm

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.

ESP_Sprite
Posts: 9577
Joined: Thu Nov 26, 2015 4:08 am

Re: Use ESP32 as FM transmitter?

Postby ESP_Sprite » Thu Nov 03, 2016 6:45 am

Also the RMT peripheral seems a likely candidate for doing weird RF stuff.

RoundRobin
Posts: 7
Joined: Wed Nov 02, 2016 9:40 pm

Re: Use ESP32 as FM transmitter?

Postby RoundRobin » Mon Nov 07, 2016 2:22 pm

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?

Who is online

Users browsing this forum: Google [Bot] and 301 guests