Forum Rule: Always post complete source code & details to reproduce any issue!
-
Pulse Density Modulation with I2S
Hi , a friend had the idea that the I2S can also be used for other purposes . This time nothing digital , but " retro " Analog .
I2S should be fast enough to achieve a few hundred kilohertz with Pulse Density Modulation (<-not "PWM").
The ~100-1000KHz sine PDM, AM-modulated it should give a Longwave/Mediumwave-Transmitter (with audio D/A resoulution of a few bits), as output-object for the audiolibrary and with minimum external components.
Ideally, the only external component should only be a short wire as antenna, but maybe it is a good idea to add a low-pass filter to "smooth" the PDM?
I have no experience with something like this, but i think it is fun to try it.
A range of a few meters would be perfect.
My question is, if someone is willing to help with the electronics or can give tips regarding the antenna and the low-pass filter.
Edit: https://en.wikipedia.org/wiki/Pulse-density_modulation
Last edited by Frank B; 06-16-2015 at 06:05 PM.
-
Senior Member
If you try coupling an antenna using only passive parts, be careful of standing wave ratios. You could easily damage the Teensy pin.
My not an RF or antenna expert, but my gut feeling is you may need some sort of impedance matching, from the relatively high impedance of the Teensy pin (3 volts, only a few milliamps) to the relatively low impedance of an antenna.
My guess is radio folks may cringe at the incredible harmonic content around 5+ MHz for a few hundred kHz carrier. Maybe? There's a huge difference between what's "possible" and what's "legal" when it comes to transmitting radio signals.
-
Yes, i know that is problematic... i don't want a range of more than 10 meters - and with a few milli amps there is no risk (i think).
The low pass filter should prevent the incredible harmonic content ...? :-)
-
Senior Member
You should probably think of antennas in terms of impedance.
You don't get to control the milliamps separately from controlling the volts. Their ratio is fixed, due to the physical shape of the antenna. If you don't like that ratio, you need an impedance matching circuit or transformer.
-
Senior Member
I added PDM microphone support to the Audio library today.
-
Senior Member+
Re: AudioInputPDM
FWIW, I did simple AudioAnalyzePeak tests with T3.2, serial plotter, and Adafruit PDM mic
https://www.adafruit.com/product/3492
3v3 GND, CLK to pin 9, OUT to 13, SEL NC
works for me
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules