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

Search:

Type: Posts; User: CorBee

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Hi, The sine_HT is using a part of the audio...

    Hi,

    The sine_HT is using a part of the audio library, you only need to declare

    AudioSynthWaveformSine sine_HT;

    cheers
    Cor
  2. Hi, Below is part of the code I am using in...

    Hi,

    Below is part of the code I am using in the batdetector. This allows you to set the sampling frequency a lot higher (we have tested/used this up to 384K).


    //...
  3. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Thanks. Its clear that the device is tested at...

    Thanks. Its clear that the device is tested at multiple baudrates but the code did not get a response. As you can see from the DEBUG we tested also at 9600 which seems to be the most common frequency...
  4. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Hi, The debug will output on 19200 baud over...

    Hi,

    The debug will output on 19200 baud over serial, so you indeed need to connect a PC to the USB and look at a serial-monitor.

    This forum is NOT ment to share/store images/sounds of bats,...
  5. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    this file is removed !!

    this file is removed !!
  6. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Hi Helge, That means the GPS did not react to...

    Hi Helge,

    That means the GPS did not react to the request to change the baudrate from the teensybat software. But if this works fine than its a good solution. Thanks for reporting back !
    I would...
  7. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    https://github.com/CorBer/teensy_batdetector/blob/...

    https://github.com/CorBer/teensy_batdetector/blob/master/version1_3development/hex/T1_3_GPS_TEMP_DEBUG.hex
    @HELGE: Ive created a temporary HEX only for the T3.6 with GPS and TEMP enabled and DEBUG...
  8. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Hi Helge, I have only tested this setup with a...

    Hi Helge, I have only tested this setup with a Beitian 180 and 220, both of these work as expected not only on my machines but also with the other testers in our team.

    Maybe you can compile the...
  9. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Hi Helge, As Edwin allready has stated we have...

    Hi Helge,

    As Edwin allready has stated we have upgraded the GPS setup and this now actively communicates with the GPS-module during setup. You can see the necessary connections in the...
  10. https://github.com/PaulStoffregen/Time

    https://github.com/PaulStoffregen/Time
  11. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    TeensyBat V1_3 development-release available

    Hi,

    I have just uploaded all sourcecode including libraries and platformio.ini file and several compiled HEX files on the github repository:...
  12. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Improved HIGHPASS filter

    The HighPass filter has been changed considerably. The settings now allow you to set the number of "stages" the HI_pass filter will use.
    The previous setup was using only one stage, this created a...
  13. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    SDConfig

    In version 1.3 we have added SDconfig. This is a new feature that can be enabled from the bat_defines.h file (by default it is ON). This allows you to store your preferred settings
    in a readable...
  14. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Deepsleep and AGC

    Hi Duncan,

    Both AGC and Deepsleep can be used for both models. Deepsleep is however dependent on a TFT screen with a backlight that can be switched OFF. For most of the TFTs that are used this...
  15. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    TeensyBat V1.3 release pending (end of the week)

    Hi,

    The final testing of our code thusfar has not given much problems. I have allready added the libraries we use on the github repository. We will release the code but it will be structured to be...
  16. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    The next update is using mode 3 in SDFat so will...

    The next update is using mode 3 in SDFat so will support Fat16/Fat32 and ExFat. And we have added extra buffering to prevent possible dataloss during a write to the SD.
  17. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Lets hope the update (which is completely based...

    Lets hope the update (which is completely based on the recent SDfat libraries) will be "easier".
  18. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Hi, SDcards come in different sizes but also...

    Hi,

    SDcards come in different sizes but also in different speeds. I only use SDcards with at least SD-HC 1, they allow higher transfer rates than the older cards.

    Cor
  19. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Hi Looks nice ! If you can try to share your...

    Hi

    Looks nice !
    If you can try to share your works (design etc) so that others that have 3d printers can copy your work.

    cheers
    Cor
  20. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Hi, The code we are about to release (I hope...

    Hi,

    The code we are about to release (I hope within 2 weeks) will be for both the T36 and T41. So its one codebase and you can compile that for both machines with specific options for either...
  21. Replies
    8
    Views
    385

    Done a bit more work on the possible issues. I...

    Done a bit more work on the possible issues. I now have the T4.1 running on sleep but with partial functionality. All functionality that uses storage in PSRAM had to be switched off, the TFT has to...
  22. Replies
    8
    Views
    385

    I am willing to spend time improving this library...

    I am willing to spend time improving this library but its difficult without a clear guidance that I can follow. The application notes of NXP are quite abstract and do not explain in detail what...
  23. Replies
    8
    Views
    385

    Nice work from you as that is important for...

    Nice work from you as that is important for users. But in my case I allready have a 100ms wait after the system should recover from sleep. Thats more than enough as your timings are closer to a few...
  24. Replies
    8
    Views
    385

    I inspected the hal.c file inside the Teensy40...

    I inspected the hal.c file inside the Teensy40 directory in the snooze library and this line is used on the top of

    int hal_sleep(void)
    SCB_SCR = SCB_SCR_SLEEPDEEP;
    That measn the System Control...
  25. Replies
    8
    Views
    385

    Ah ... I see my code still shows deepsleep ... my...

    Ah ... I see my code still shows deepsleep ... my bad. But I have tried the same with sleep and this also fails. When I use the demo-code (sleep_usb_serial.ino) from the
    library that does work as...
  26. Replies
    8
    Views
    385

    Teensy 4.1 snooze library ... resets

    Hi,

    For the TeensyBatdetector I am currently implementing a simple way to allow users to put the device somewhere ready to record (autorecording) ultrasounds at night without a need to look
    after...
  27. Replies
    30
    Views
    1,211

    Seems that the audio designer doesnt copy the...

    Seems that the audio designer doesnt copy the patchcords properly.
  28. Replies
    30
    Views
    1,211

    When I copied your code into the audio designer I...

    When I copied your code into the audio designer I got this ... are there missing connections ?

    25572
  29. Replies
    30
    Views
    1,211

    But that serial.println(millis()) is inside a...

    But that serial.println(millis()) is inside a buttonstate it seems. You have 8ms debounce on those, maybe a bit short ?
  30. Replies
    30
    Views
    1,211

    So thats also not the issue ... most of the audio...

    So thats also not the issue ... most of the audio objects run behind the screens in interrupts so they are a bit tricky to debug.
  31. Replies
    30
    Views
    1,211

    You could see what AudioMemoryUsageMax() tells...

    You could see what AudioMemoryUsageMax() tells you on the reserved audiomemory. You have reserved 240 blocks I see but use very large granular buffers, maybe some blocks do not get cleared properly....
  32. Replies
    30
    Views
    1,211

    Thats unfortunate, I have no idea what breaks...

    Thats unfortunate, I have no idea what breaks your code. You could try and add serial.print commands to see where in the flow it stops.
  33. Replies
    30
    Views
    1,211

    I suggested to test without any analogread, if it...

    I suggested to test without any analogread, if it then works you know analogread is part of the problem. If it doesnt play it cant be due to analogread. If it works, you need to select an ADC from...
  34. Replies
    30
    Views
    1,211

    This ADC problem between Analogread and audio...

    This ADC problem between Analogread and audio isnt related to a specific pin according to me, it has to do with ADC1 (and for ealier teensies ADC0). If you use that ADC also for analogread (so any of...
  35. Replies
    30
    Views
    1,211

    Try and see what happens if you disable your...

    Try and see what happens if you disable your analogRead on A13. I think A13 is on ADC1 on the Teensy 4.1 and audio also uses ADC1 for its input. And its know that this leads to problems.
    But I have...
  36. Thread: Bat detector

    by CorBee
    Replies
    920
    Views
    139,631

    Working towards a new update, now also for Teensy 4.1

    Hi,

    After we released TeensyBat 1.2 in May 2021 we (Edwin, Adrian, Thierry and me) have started to work on the next version.
    As some of us had allready a Teensy 4.1 at hand we also decided to see...
  37. Replies
    30
    Views
    1,211

    Maybe you have this issue :...

    Maybe you have this issue :
    https://forum.pjrc.com/threads/67946-Audio-library-and-analogRead()-not-working-together-on-Teensy-4-0?highlight=audio+ADC
  38. The audioboard has a headphone jack that is used...

    The audioboard has a headphone jack that is used for that purpose ...
  39. Hi, I have never measured the output as my...

    Hi,

    I have never measured the output as my audioboards are always connected to headphones. From the work I have done creating the TeensyBat I have not gotten the idea the signal was not amped...
  40. https://forum.pjrc.com/threads/47847-Teensy-3-2-AD...

    https://forum.pjrc.com/threads/47847-Teensy-3-2-ADC-audio-input-with-11-analog-reads-Possible
  41. You could try using the left and right Line IN...

    You could try using the left and right Line IN and combine those signals ? Your mic would need a preamp to get enough signal for that.
  42. Indeed not possible as there is a bit in the...

    Indeed not possible as there is a bit in the CHIP_ANA_CTRL register that is either MIC or LINE_IN.


    #define CHIP_ANA_CTRL 0x0024
    // 8 MUTE_LO LINEOUT Mute, 0 = Unmute, 1 = Mute (default 1)...
  43. Replies
    98
    Views
    8,106

    My platformio.ini looks like this and works fine....

    My platformio.ini looks like this and works fine.

    [env:teensy41]
    platform = https://github.com/platformio/platform-teensy.git
    board = teensy41
    framework = arduino
    build_flags =...
  44. Replies
    98
    Views
    8,106

    I am on linux but I think its the same on...

    I am on linux but I think its the same on windows.
    You need to go to the .platformio directory (hidden)
    Then go to packages
    and remove all framework-arduinoteensy subdirectories

    Than rebuild...
  45. Replies
    98
    Views
    8,106

    Hi Paul, Unfortunately it seems the new size...

    Hi Paul,

    Unfortunately it seems the new size report did not make it into the 1.54 that is currently stable on PIO. Just a few days ago that was announced but I dont get a detailed report. Maybe...
  46. Replies
    98
    Views
    8,106

    Hi, Its allready for a long time possible to...

    Hi,

    Its allready for a long time possible to get more info on the allocated memory during compilation,
    just add this to platformio.ini

    build_flags = -Wl,--print-memory-usage
    Gives this...
  47. Then the user probably needs to update pio core ?...

    Then the user probably needs to update pio core ? Or do these updates automagically appear ?
  48. Hi, To use the latest 1.54 the platformio.ini...

    Hi,

    To use the latest 1.54 the platformio.ini file needs to have this line:
    platform = https://github.com/platformio/platform-teensy.git
    otherwise it will use 1.53 (current default stable...
  49. Replies
    14
    Views
    809

    I had forgotten all about that modify command,...

    I had forgotten all about that modify command, thanks for suggesting that !
  50. Replies
    14
    Views
    809

    I am not aware of any option in the audio lib to...

    I am not aware of any option in the audio lib to change that specific bit for CHIP_ANA_ADC_CTRL. We for instance have micGain but that always sets this ATT bit to 0 again. The same for lineinlevel.
    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4