Telegram voice messages <> Baofeng radio RX/TX two-way bridge (half-duplex).
radiotelegram
is a software-hardware project allowing you to to communicate with peers in Telegram chat using your handheld radio (walkie-talkie).
- RX is recorded and sent to Telegram chat (topic) as a voice message.
- incoming chat voice messages are played into radio TX.
Hardware requirements:
- UR-5V Baofeng handheld radio (or compatible)
- PC audio adapter
- buy APRS K1 PRO
- DIY adapter (see schematics below)
Components:
- (usb) audio card
- 2.5mm jack cable
- 3.5mm jack cable
- ethernet transformer — you can find one in unused electroncs: old routers, pc motherboards or other devices with ethernet ports.
Jack | Contact Points |
---|---|
3.5mm Baofeng | Sleeve, Ring |
2.5mm Baofeng | Sleeve, Tip |
3.5mm Microphone | Sleeve, Tip |
3.5mm Headphones | Sleeve, Tip |
- find a datasheet for your ethernet transformer
- select two pairs as shown on the schematics
- cut cables, solder wires, that's it
- polarity is not that crucial, for voice it's ok both ways.
- copy
.env.example
to.env
- edit file: fill bot token, group id and topic id (if present).
sudo apt install ffmpeg python3.13-venv
pyaudioop
was disconutinued in python3.13 so audioop-lts package is used.
python3 -m venv ./venv
source ./venv/bin/activate
pip3 install -r requirements.txt
python3 ./radiotelegram/main.py
- put baofeng into VOX mode (1/10).
- adjust main volume knob so that audio doesn't clip (<100% volume).
- adjust pc audio output volume so there is no voice distortion on the receiving end.
less is more. do NOT use full volume.
MIT