@OE3FKG I’ve used this one with a RP2040 Pico so it should work with the ESP32
https://github.com/handiko/Arduino-APRS
My code did multiple modes including SSTV
https://github.com/alanbjohnston/CubeSatSim/tree/pico-v0.41/cubesatsim
@OE3FKG I’ve used this one with a RP2040 Pico so it should work with the ESP32
https://github.com/handiko/Arduino-APRS
My code did multiple modes including SSTV
https://github.com/alanbjohnston/CubeSatSim/tree/pico-v0.41/cubesatsim
@OE3FKG I turned it into a simple Arduino library. You are welcome to use it. My CubeSatSim code is an example of how to use it if you just look at the APRS code
https://github.com/alanbjohnston/Arduino-APRS/tree/lib-v0.14
@ku2y you‘re talking about this repo: https://github.com/alanbjohnston/CubeSatSim right?
Hm I have troubles finding the relevant piece of code using the search terms „aprs“ and „afsk“… could you help me out?
@OE3FKG Here’s the Arduino library:
https://github.com/alanbjohnston/Arduino-APRS/tree/lib-v0.14/Arduino-APRS-Library
If you look ok at the .h file it lists the functions you can use. The zip file is here under Assets: https://github.com/alanbjohnston/Arduino-APRS/releases You can install it like any Arduino library.
If you search this file for AFSK you will see an example of how to use it:
https://github.com/alanbjohnston/CubeSatSim/blob/pico-v0.41/cubesatsim/cubesatsim.ino
@ku2y I'm sorry to keep bothering you...
I loaded the library into the IDE and created a script:
It compiles, uploads and runs fine on the ESP32. However, direwolf can't decode the wav file, I recorded with Audacity. (http://sndup.net/5k9q2). It says `0 packets decoded in 0.027 seconds. 32.4 x realtime`
Am I missing somethin?
@OE3FKG Where and how did you record the wav file? Did you listen to the wav file? APRS has a distinctive sound that you can tell. Listening will also tell if the volume level is correct.
I see you selected pin 26. What is pin 26 connected to? It needs to be low pass filtered (this library generates square waveforms) then connected at the right level to the audio input of a FM transmitter.
@ku2y I connected pin 26 (DAC2 of the ESP32) via an AUX cable to the PC and recorded it that way with audacity.
I‘ll try a low pass filter soon! What cut off frequency should I aim for? 2400 Hz?
Using the ESP32's DAC's cosine wave generator didn't solve the problem. The sound stayed the same.
The attached wav file does not have that distinct modem sound yet, you’re right! And it's very short...
Maybe I should adjust `baud_adj`. But to what value?