Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: CorBee

Page 1 of 6 1 2 3 4

Search: Search took 0.00 seconds.

  1. 17836 This is another option

    17836
    This is another option
  2. Yeah, in the GUI they do not show until you place...

    Yeah, in the GUI they do not show until you place the component on the drawing-board.
  3. 17821 Hi, This should work, you only need to...

    17821
    Hi,

    This should work, you only need to set the mixer-values to get the signal more/less on right/left.

    regards
    Cor
  4. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    When you look at the schematic 17720 it is not...

    When you look at the schematic 17720 it is not clear.
  5. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    The digital stream is MONO when using MIC_IN...

    The digital stream is MONO when using MIC_IN according to me. The docs tell that we can even switch to a LEFT_ONLY mode when using MIC_IN. This is controlled in bit 6 of the CHIP_ANA_POWER register....
  6. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    When line-in will be used for tests be aware that...

    When line-in will be used for tests be aware that there are quite some reports on the difference between the line-input L and R see: https://community.nxp.com/thread/467119
    It seems line-in L has...
  7. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi at Thanks for that info. I was simply not...

    Hi at


    Thanks for that info. I was simply not aware of that and after reading up on the internet I see the 1st harmonic is used as another name for the fundamental-frequency. My explanation of...
  8. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    SGTL5000 tests part 6: REF_CTRL and harmonics

    REF_CTRL, 1st/2nd HARMONIC

    This is the final part of the analysis based on the files Edwin has collected for many different samplerates, gains and REF_CTRL settings. The graph below shows on the...
  9. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, Its Edwin's setup and the reason for the...

    Hi,

    Its Edwin's setup and the reason for the relay is simple ... we needed to be able to record many test-sequences in a row without having to manually connect/disconnect anything. Collecting many...
  10. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    You can read that all in the first posting I made...

    You can read that all in the first posting I made after we have done the tests, post #464.
  11. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    We have not used the MIC and preamp in our tests...

    We have not used the MIC and preamp in our tests ...
  12. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    The current BIAS is part of the REF_CTRL setting...

    The current BIAS is part of the REF_CTRL setting of the SGTL. Default it is set to 2 which means 12.5% above nominal. This setting can be changed to 0% (nominal) and down to -50%. We have tested this...
  13. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, I am sure Edwin will have a look at your...

    Hi,

    I am sure Edwin will have a look at your remarks. And when you build one, it will be absolutely simple to switch to line-input and no-gain is a software setting !

    Cor
  14. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, I think now understand your question. The...

    Hi,

    I think now understand your question. The narrow peaks you see are not visible in the spectra I have seen, they might be present but can also be swamped by other noise. We have looked at...
  15. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    I have seen those before, but it does not answer...

    I have seen those before, but it does not answer (at least for me) what you would like to see from the samples we collected. You want to see a spectrum of the so-called "silence" ?
  16. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi Chip, Thanks for having a look. Going...

    Hi Chip,

    Thanks for having a look. Going through the bullets although I dont mind getting these ;)

    1) I was using contrast as a term as we simply show the difference between for instance...
  17. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    SGTL5000 tests Part5: REFCTRL and median Noise

    Noise in the silent sections
    After splitting the wav-files into signal and "silence" I calculated the median and the 5%,95% percentiles of the "silence" to get an idea of the bandwidth of the noise....
  18. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi Welcome to this forum ! I am interested to...

    Hi

    Welcome to this forum ! I am interested to hear and see your progress in building the batdetector. Several people have been building the system using either the transistor or the IC opamp and...
  19. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi Walter, I know you did those tests but the...

    Hi Walter,

    I know you did those tests but the discussion at that time more or less ended rather fast. Since we had all this data - with the purpose of testing the effects of using REF_CTRL - I...
  20. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    SGTL5000 tests Part4: REF_CTRL

    REF_CTRL tests
    The REF_CTRL setting on the SGTL5000 has two parts that can be changed, the VAG (VAG is the internal voltage reference for the ADC and
    DAC) and BIAS which controls the bias currents...
  21. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    SGTL5000 tests Part3: testing frequencies

    Testing the frequencyresponse
    We are using the SGTL5000 well above its normal specifications to record the frequencies of the incoming signals. Since it was unclear if the SGTL5000 could handle all...
  22. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi Remis, Maybe wait with this until you have...

    Hi Remis,

    Maybe wait with this until you have been able to inspect the results of this work ... I am going to show step by step the process and the results. Doing this all in a single post would...
  23. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    SGTL5000 tests Part2: Initial datahandling

    Initial Processing
    The WAV files were directly loaded into the jupyterlab-environment using the SciPy library. After loading the data was scaled to a maximum -1..1 range by dividing with 32768. ...
  24. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    SGTL5000 tests part 1: SETUP

    What happened before ?
    At the beginning of september I tested if changing the MIC_CTRL and REF_CTRL settings on the SGTL5000 had effects on signalstrength and spectrum. My tests were showing clear...
  25. Replies
    14
    Views
    855

    Hi Thanks for the reply. As I was going...

    Hi

    Thanks for the reply. As I was going through the possibilities for the bat-detector playing so playing CLK_CTRL settings was something I had not tried yet. It was the difference in harmonics...
  26. Replies
    14
    Views
    855

    Hi, Just by chance I see you have been testing...

    Hi,

    Just by chance I see you have been testing different setups to change the samplerate, have you done any further work on this ? One of odd things your spectrum graphs show is that with a SR of...
  27. Replies
    21
    Views
    277

    This is the output I get (I tried with teensy3.1...

    This is the output I get (I tried with teensy3.1 but this gives the same issues as teensyLC)

    compilation terminated.
    Archiving .pio/build/teensy31/lib08f/libWire.a
    Indexing...
  28. Replies
    21
    Views
    277

    Hi, I just tried to use your code and got the...

    Hi,

    I just tried to use your code and got the same errors. The direct link between NXPmotionSense and util/crc16 seems to be inside Nxpmotionsense.cpp. Just adding CRC16.h to your project does not...
  29. Replies
    21
    Views
    277

    Can you share your full code ?

    Can you share your full code ?
  30. Replies
    21
    Views
    277

    You could simply copy this:...

    You could simply copy this: https://github.com/PaulStoffregen/cores/blob/master/teensy3/util/crc16.h
    into the library-section of your project as a fast solution
  31. Replies
    21
    Views
    277

    If you look at:...

    If you look at: https://github.com/PaulStoffregen/NXPMotionSense/blob/master/examples/CalibrateSensors/CalibrateSensors.ino

    You see that the program starts with:


    #include <NXPMotionSense.h>...
  32. Replies
    21
    Views
    277

    if you look at the examples in the github for...

    if you look at the examples in the github for this library you will find out ...
  33. Replies
    21
    Views
    277

    Just open the embedded terminal in VSCODE...

    Just open the embedded terminal in VSCODE (rightmost icon on the statusbar on the bottom)
  34. Replies
    21
    Views
    277

    Question is if the nxpmotionsense lib has been...

    Question is if the nxpmotionsense lib has been installed from platformIO or not

    PlatformIO has a system to install libraries, you can first check from the terminal if a library exists:...
  35. Replies
    21
    Views
    277

    Hi, In the dependency-graph you see its using...

    Hi,

    In the dependency-graph you see its using <NXPMotionSense> 1.0 and states that the function _crc16_update (from which library ?) was not declared. So NXPMotionSense must be depending on...
  36. Replies
    18
    Views
    1,621

    Hi, If you want specific libraries to be used...

    Hi,

    If you want specific libraries to be used you can edit the platform.ini of your project (you need to first create a project), here's an example of one of my platform.ini files where I do use a...
  37. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, If anybody is willing to do such a test...

    Hi,

    If anybody is willing to do such a test and record the data in a raw-audio file I will be volunteering to do the analysis of the datasets in a standardized way. For this I will be studying...
  38. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, I invite anybody who has this kind of...

    Hi,

    I invite anybody who has this kind of equipment to try and test this. For me this was a test and I am allready happy with the progress I made.

    Another option would be to generate (using...
  39. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, Isnt the data you can see in the files...

    Hi,

    Isnt the data you can see in the files (raw files on github) allowing that ?
    17522

    Cor
  40. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi Remis, I do not have equipment to do that...

    Hi Remis,

    I do not have equipment to do that kind of testing but maybe others can. The "generator" is as stated a simple MCU generating a PWM signal for a given frequency that is than transmitted...
  41. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Testing SGTL5000 MIC settings (MIC_CTRL and REF_CTRL)

    Hi,

    In the past few days I have been trying to find out if the settings for the microphone on the SGTL5000 codec can be changed to improve the quality of the incoming ultrasound signals.

    For...
  42. That can be done also using PlatformIO but its...

    That can be done also using PlatformIO but its always wise to follow a choice you are allready accustomed to. I merely wanted to signal that PlatformIO is often overlooked whilst it can make things...
  43. Try using PlatformIO from within VisualCode ......

    Try using PlatformIO from within VisualCode ... it will make uploading very simple.
  44. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    v0.98 minor update, bugfixes and some additional options

    Hi,

    I have uploaded the source an hex to Github. No major changes, some cosmetic improvements in the screens (settings).

    Added a option to change the libraries used during compilation, #define...
  45. I am using PlatformIO in MS Visual Studio Code...

    I am using PlatformIO in MS Visual Studio Code for some time to program a Teensy 3.6 and I have seen that support for the teensy 4.0 has been added recently:...
  46. Unstable measurements on VCC (Teensy Batdetector)

    Hi,

    I have recently added a Lipo to a Teensy Batdetector (see https://forum.pjrc.com/threads/38988-Bat-detector). Next step was adding a simple routine that keeps track of the voltage coming from...
  47. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    I think Edwin has removed C2 from his design...

    I think Edwin has removed C2 from his design later on. But the simulation with LT-spice does show this is probably not going to change the amplification
  48. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, The amplitude will be depending on the...

    Hi,

    The amplitude will be depending on the distance from the key-ring to your detector, the loudness of your ring (intensity), the gain for the one-transistor amplifier (which design ?) and the...
  49. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, I have just uploaded a proper working hex...

    Hi,

    I have just uploaded a proper working hex and also updated the sourcecode. In the lib subdirectory I have added the most recent setup of the libraries I am using for those that are compiling...
  50. Thread: Bat detector

    by CorBee
    Replies
    527
    Views
    36,994

    Hi, Comparing detectors is not a very simple...

    Hi,

    Comparing detectors is not a very simple thing unless it is done in a controlled environment. Can you tell which pre-amplifier you used ? How is your microphone constructed ?
    Frank (DD4WH)...
Results 1 to 50 of 259
Page 1 of 6 1 2 3 4