Giter Site home page Giter Site logo

sh123 / esp32_loradv Goto Github PK

View Code? Open in Web Editor NEW
27.0 8.0 4.0 1.74 MB

ESP32 based Codec2/OPUS DV handheld trasceiver

License: GNU General Public License v2.0

C++ 93.09% C 6.91%
amateur-radio codec2 digital-voice dv esp32 esp32-arduino hamradio lora radio uhf

esp32_loradv's People

Contributors

sh123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32_loradv's Issues

src/radio_task.cpp:81:26: error: 'radio_' was not declared in this scope

include/config.h:28:68: note: #pragma message: LoRa pin definitions are not found, redefining...
#pragma message("LoRa pin definitions are not found, redefining...")
^
src/radio_task.cpp: In member function 'void LoraDv::RadioTask::setupRig(long int, long int, int, int, int, int, int, bool)':
src/radio_task.cpp:79:35: note: #pragma message: Using SX127X
#pragma message("Using SX127X")
^
src/radio_task.cpp:81:26: error: 'radio_' was not declared in this scope
if (isIsrInstalled_) radio_->clearDio0Action();
^~~~~~
src/radio_task.cpp:81:26: note: suggested alternative: 'rig_'
if (isIsrInstalled_) radio_->clearDio0Action();
^~~~~~
rig_
src/radio_task.cpp:82:5: error: 'radio_' was not declared in this scope
radio_->setDio0Action(onRigIsrRxPacket);
^~~~~~
src/radio_task.cpp:82:5: note: suggested alternative: 'rig_'
radio_->setDio0Action(onRigIsrRxPacket);

i replace radio_ to rig_ fix ok

[Feature Request]Preamble length in config

First of all thank you for your project!
I'm experimenting with LoraDV and it would be nice to have in config.h file the option to change preamble length. This could be useful in unstable and noisy propagation conditions.

Is it possible to add Opus for better quality audio?

I know it will reduce range with higher data rate Opus require but audio quality would be improved.

I am asking as you implemented Opus codec in your android app version. Can it be done for standalone implementation?

Thanks.

question about specific use case - one way mic/audio transmission

HI, i played around with the lora/codec2 projects and really enjoy to learn from it ! I ask myself it's possible to use 868/915 Mhz lora like the sx1276 and ESP32 to realize a one way audio transmission . I look for a way to transmit on board audio from FPV drones that use a digital video transmission at 5.8Ghz and a 868 lora based control link - I don't look for perfect representation of the onboard audio situation but for a "low latency" representation of the prop noise - rpm and the pitch level of the noise onboard would already be helpful.
In general I want to use one firmware for the sending hardware and one for the receiving side - like ESP-c3 + I2c mic on one side and one with a headphone amp on the other side.

Would codec2 and 868 Mhz "one-way lora" be able to transmit the noise from a drone or is this type of sound chaos not working for that codec ?

Any idea how latency will behave with decreasing "link quality" in a constant one-way setup ?

THX !!

Comment out for SX127X module build error

Building in release mode
Compiling .pio\build\esp32dev\src\audio_task.cpp.o
Compiling .pio\build\esp32dev\src\hw_monitor.cpp.o
Compiling .pio\build\esp32dev\src\loradv_config.cpp.o
Compiling .pio\build\esp32dev\src\loradv_service.cpp.o
In file included from src/loradv_config.cpp:1:
include/loradv_config.h:14:48: note: #pragma message: Using default built-in config
#pragma message("Using default built-in config")
^
In file included from include/loradv_config.h:15,
from src/loradv_config.cpp:1:
include/config.h:28:68: note: #pragma message: LoRa pin definitions are not found, redefining...
#pragma message("LoRa pin definitions are not found, redefining...")
^
src/loradv_config.cpp: In member function 'void LoraDv::Config::InitializeDefault()':
include/config.h:42:37: error: 'RADIOLIB_NC' was not declared in this scope
#define CFG_LORA_PIN_B RADIOLIB_NC // (sx127x - dio1, sx126x/sx128x - busy)
^~~~~~~~~~~
src/loradv_config.cpp:36:15: note: in expansion of macro 'CFG_LORA_PIN_B'
LoraPinB_ = CFG_LORA_PIN_B; // (sx127x - dio1, sx126x/sx128x - busy)
^~~~~~~~~~~~~~
*** [.pio\build\esp32dev\src\loradv_config.cpp.o] Error 1
In file included from include/hw_monitor.h:6,

i make a sch for loradv ,and i tested for heltec-v2.1

i make a sch for loradv ,and i tested for heltec-v2.1 board ,the default config tx mic ,rx spk sound is not big engouht,the sound quality is not good,but we can try more.

i nottice meshtastic module have codec2 sound tx rx function now.
it just use 4 gpio to work
I2S Word Select
The GPIO to use for the WS signal in the I2S interface.
I2S Data IN
The GPIO to use for the SD signal in the I2S interface.
I2S Data OUT
The GPIO to use for the DIN signal in the I2S interface.
I2S Clock
The GPIO to use for the SCK signal in the I2S interface.
https://meshtastic.org/docs/settings/moduleconfig/audio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.