Giter Club home page Giter Club logo

Comments (5)

TMRh20 avatar TMRh20 commented on May 24, 2024

Hi, if this is with the RF24Audio library, technically the issue shoud be filed here. Regardless, that seems like kind of an odd issue, but I'm not exactly sure what would cause that.

One simple way to find the cause, is to do the following on the transmitter:

  1. At the end of setup() { add the line tone(5,2500);
  2. Connect pin 5 to pin A0 on the transmitter
  3. It might not sound the greatest, but when transmitting you should hear the tone being transmitted

a: If the volume is constant using this method, then the problem is likely with the pre-amp and/or microphone input volume.
b: If the volume drops using this method also, the problem would likely be with hardware or the library itself, but I have not seen this in testing.

from rf24.

vetRalph avatar vetRalph commented on May 24, 2024

Thanks YMRh20

Sorry about posting in the wrong place. Is it possible to move this to the RF24Audio?

I tried that test and it still didn't work but I tried something I hadn't tried before. I am using the computer sound card to listen to the input and output so I connected the input to the line in instead of the microphone input. It's works great. Do you know why the line in works and not the microphone. I have been working with computer for many years and never noticed any difference before. Of course I haven't done much work with sound.

Thanks
Ralph

from rf24.

TMRh20 avatar TMRh20 commented on May 24, 2024

Np, I don't think this can be moved, no worries.
I can only assume that the microphone input doesn't like the digital pwm signal the Arduino generates, and maybe expects an analog signal. It's possible the Arduino output could be smoothed using a low-pass filter, which might make a difference, but hard to say exactly. If it works on line-in, I would just stick with that.

from rf24.

vetRalph avatar vetRalph commented on May 24, 2024

Thanks
I may use this on several different computer and would like to have the option if I can get it to work with a low pass filter. Do you know where I can find a circuit one?

I have one other question at this time.

I am also interested in the USB Audio. In the code there are a couple of notes as follows:

// Now do whatever you want with the audio data.
// Maybe send it over USB to a PC to analyze further?

Can you direct me to code, devices or instruction on how to send the audio over the USB?

Thanks
Ralph

from rf24.

TMRh20 avatar TMRh20 commented on May 24, 2024

See http://www.ecs.umass.edu/ece/m5/tutorials/PWMsoundTutorial.html for low pass filter info.

With Arduino, one can send data over USB using simple Serial.write() command, although a custom solution might prove faster, with direct acesss to the UART.
I don't have any examples, but google has many:
If using linux, maybe see http://salilkapur.wordpress.com/2013/03/08/communicating-with-arduino-using-c/
If using windows, processing might be easier

from rf24.

Related Issues (20)

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.