mirror of
https://github.com/xdsopl/robot36.git
synced 2026-01-05 15:59:59 +01:00
added line to mic converter
This commit is contained in:
parent
040655552f
commit
8b12ac6153
27
README.md
27
README.md
|
|
@ -1,9 +1,28 @@
|
|||
|
||||
### Robot36: The Java Cut
|
||||
# Robot36 - SSTV Image Decoder
|
||||
|
||||
This is not a drill!
|
||||
## Audio Line-Level to Microphone-Level Converter
|
||||
Decoding SSTV signals is more reliable with a clean input. Using a direct cable connection instead of acoustic coupling avoids echo, distortion, and environmental noise.
|
||||
|
||||
Get ready to beam in a whole new Robot36, rebuilt from the ground up in pure Java! Just like that nostalgic reboot of your favorite childhood show (but hopefully better written!), things might be a little different this time around. There will be glitches, there will be bugs, but hey, that's the beauty of live transmission, right? Hold on to your spacesuits, folks, it's gonna be a bumpy ride!
|
||||
Most smartphones use TRRS connectors for headsets. In these connectors, the sleeve and the first ring (next to the sleeve) serve dual roles: depending on the standard, one is the microphone input and the other is ground. The tip and second ring carry the left and right audio channels.
|
||||
|
||||
Stay tuned for further transmissions...
|
||||
When a TRS plug is inserted into a TRRS jack, the sleeve and first ring are shorted together. This allows regular stereo headphones (without a microphone) to work correctly.
|
||||
|
||||
Instead of determining which pin is MIC or GND for each device, galvanic isolation can be used. This avoids compatibility issues, eliminates ground loops, protects against damage, and improves robustness.
|
||||
|
||||
Using a line-level output (e.g., from a radio or sound card) as a microphone input introduces several challenges:
|
||||
|
||||
* Line-level signals swing around 1 V, while electret microphones produce signals in the millivolt range, so attenuation is needed.
|
||||
* Electret microphones are biased via the TRRS connector, allowing their internal amplifiers to function. This bias must be blocked to avoid distortion.
|
||||
* To make the smartphone recognize the input as a microphone, a resistor must be placed between the first ring and sleeve.
|
||||
|
||||
To reduce power consumption on the line-out device, a higher impedance can be achieved by inserting a resistor in series with the primary winding of a 1:1 audio transformer. If the source cannot drive high impedance, the primary can be connected directly, and attenuation applied on the secondary side. This increases power consumption and may heat the transformer.
|
||||
|
||||
Because the electret mic input is high-impedance and AC-coupled, the transformer’s secondary can resonate if left unterminated. Adding a resistor across the secondary dampens this resonance and flattens the frequency response. A value equal to the transformer’s impedance is typical, but a lower value can be used to both improve damping and provide additional attenuation. The ratio of the series resistor on the primary to the parallel resistor on the secondary determines the overall attenuation.
|
||||
|
||||
### Example Values
|
||||
* Transformer: 1:1 audio transformer, 600 Ω impedance, 140 Ω DC resistance
|
||||
* Primary side: 2.2 kΩ resistor in series (any value between 1 kΩ and 10 kΩ is fine; a 10 kΩ potentiometer allows adjustment)
|
||||
* Secondary side: 100 Ω resistor across the winding for damping and attenuation
|
||||
* DC blocking capacitor: 2.2 µF film capacitor (anything between 1 µF and 100 µF works; avoid values below 1 µF to keep low-frequency SSTV content intact)
|
||||
* Microphone sensing resistor: 2.2 kΩ between the first ring and sleeve (values near 2 kΩ are fine)
|
||||
|
|
|
|||
Loading…
Reference in a new issue