HFU HF Underground

Technical Topics => The RF Workbench => Topic started by: Quinta on June 24, 2020, 1845 UTC

Title: Arduino voice telemetry sketch
Post by: Quinta on June 24, 2020, 1845 UTC
Hi, i compile this sketch from some other sketches and examples for myself, i am bad programmer, but it works.
Arduino measuring temperature on diode, voltage, transmitter output power (rectified output tx voltage and calculates power on 50-ohm load), turns on transmitter and speaks values on english.
More instructions in sketch comments, there are pinout, termometer calibration, available voice synthesyzer vocabularies and other. On my arduino nano 8mhz atmega 168 sketch used 60% of memory.

https://drive.google.com/file/d/1MZXGC5Yg6jr5mtrGw_xZu3xaAU7_T9IB/view?usp=sharing

How it sounds in real radio
https://www.youtube.com/watch?v=yyRJJnI8Hxg

You can also record your own words and phrases with this tool
https://github.com/ptwz/python_wizard
install Python and NumPy
unzip the python_wizard in folder
record a 16 or 8 bit mono .wav file. Better way for it is Audacity, for filtering and compressing sound
run file python_wizard_gui from console (if you add extension .py to its name you can run script by double-clicking on it)
in gui open menu File>open Wav and pick your .wav record
wait until in the big emty field appears hex codes with first string "const unsigned char FILENAME[] PROGMEM =", copy them (ctrl+c) and paste in sketch, in definitions section
in progam loop section write voice.say(FILENAME);
listen your voice from arduino with terrible quality :)
here the video how it works https://www.youtube.com/watch?v=t3zAZFH2K7E


I think now about using this sketch with simplest SSB transmitters like this single channel filtering ssb http://www.vk6fh.com./vk6fh/7mhzxcvr2.PNG
or simple phasing ssb like this http://www.seekic.com/uploadfile/ic-circuit/20114216472392.jpg
I made once this https://serwis.avt.pl/manuals/AVT2906.pdf simple phasing ssb receiver, and it works not bad.

Title: Re: Arduino voice telemetry sketch
Post by: syfr on September 11, 2020, 1313 UTC
Very interesting post, thank you!!   More to read and study :-)