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

Search:

Type: Posts; User: dundakitty

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    503

    I uploaded a video to Youtube:...

    I uploaded a video to Youtube:
    https://youtu.be/OKJOnvwOW8U
  2. I was able to get six displays running off of a...

    I was able to get six displays running off of a Teensy 3.2. I had to use the updated library from https://github.com/PaulStoffregen/ST7735_t3 dated July 7, 2019.
    I used SCK on 14, MOSI on 11, DC...
  3. What if I add a SN74LCV244N between the four...

    What if I add a SN74LCV244N between the four available chip-selects, tying the chip-selects to both halves of the input to the octal buffer? I then use two non-CS pins to control the tri-state...
  4. I'm planning on driving six 1.44" ST7735 displays...

    I'm planning on driving six 1.44" ST7735 displays using a Teensy 3.2 and the ST7735_t3 library. MOSI, SCK, DC, and RST will be common across all six displays. I'm using pin 15 for DC, so CS can be...
  5. Replies
    29
    Views
    18,333

    How do I not use RESET?

    I'm a little confused about not using the RESET on an ST7735-based display.
    If I set up the display with


    ST7735_t3 tft = ST7735_t3(10, 15);


    It should ignore the RESET pin and use the...
  6. Replies
    3
    Views
    503

    First knob on the left is power/volume control....

    First knob on the left is power/volume control.
    Next knob is the band selector (two bands, as indicated on the dial. Top arch is one band, bottom arch is the other.
    Next knob is tuning.
    The Knob...
  7. Replies
    3
    Views
    503

    RCA 118 "tombstone" MP3 player

    I helped a friend "restore" a 1938 Zenith floor-standing radio, changing it into an MP3 player. We collected old radio broadcasts ("Whistler", "Shadow", "Grand Ole Opry", "Burns and Allen", "War of...
  8. This brings back memories. In the early 1980's...

    This brings back memories. In the early 1980's Flow Cytometry instrument's primary output was basically an oscilloscope screen. Researchers exchanged data by photographing the screen. I consulted...
  9. Replies
    18
    Views
    8,330

    Thanks, I was trying to use 11, 12, 13 as SPI and...

    Thanks, I was trying to use 11, 12, 13 as SPI and 7,8,14 as SPI1. Guess it's a single SPI but alternate pins.
  10. Replies
    18
    Views
    8,330

    I just tried to use SPI1 on a teensy 3.2. The...

    I just tried to use SPI1 on a teensy 3.2. The compile failed with "SPI1 was not declared in this scope". If I compile as a Teensy 3.6, 3.5, or LC the compile completes. The compile fails on teensy...
  11. I've always used WiFI.setPins with the...

    I've always used WiFI.setPins with the appropriate pin definition. Same .ino file with the same pinout works on a Nano, but not on a Teensy 3.1. I've moved the CS connection to pin 7 and changed the...
  12. I'm using SCK - 13, MISO - 12, MOSI - 11, CS -...

    I'm using SCK - 13, MISO - 12, MOSI - 11, CS - 10, EN - Vin, IRQ - 7, RST - 4.
    I've tried Vin at both 3.3v and 5v.
    These pins work on a nano, using the exact same cable (~10" of ribbon cable) and...
  13. I have a Teensy 3.2 and the winc1500 module. I'm...

    I have a Teensy 3.2 and the winc1500 module. I'm also hung up in the lower level init() routine.
    Testing indicates the SPI transfer is returning a zero-byte, when the init routine is expecting...
  14. Replies
    133
    Views
    64,816

    I think I've corrected the problem. I've used my...

    I think I've corrected the problem. I've used my Next/Prev button ~30 times now without an issue.
    I added the line:
    if (o->playing != codec_playing) return;
    to the top of decodeMp3() in...
  15. Replies
    133
    Views
    64,816

    Yes, fn is pointing to valid MP3 content. I have...

    Yes, fn is pointing to valid MP3 content.
    I have both a "next" and "previous" button and I can cycle back & forth between two files that play just fine. If I cycle too many times the player locks...
  16. Replies
    133
    Views
    64,816

    Are there any caveats for using stop()? I have a...

    Are there any caveats for using stop()? I have a "next" button in my mp3 player. Upon a button press I call stop() then play() on the next file. After a several presses the player locks up.

    The...
  17. Replies
    35
    Views
    7,693

    The zenith radio is buttoned up now. It'll be...

    The zenith radio is buttoned up now. It'll be difficult to make any more changes. The person requesting the radio modification is happy with 160 Kbps MP3 files.
    I've started work on another radio,...
  18. Replies
    35
    Views
    7,693

    I should say that I'm using Arduino 1.8.1 and...

    I should say that I'm using Arduino 1.8.1 and teensyduino 1.35. I see that teensyduino 1.36 is out. I might try upgrading, the memcpy fix sounds interesting.
  19. Replies
    35
    Views
    7,693

    I've attached the sketch.

    I've attached the sketch.
  20. Replies
    35
    Views
    7,693

    I decided to try 4096-byte SD card reads....

    I decided to try 4096-byte SD card reads. pushData() is limited to the size of the MP3 frame buffer, which is set to two 961-byte frames (1922 bytes). I bumped up MP3_FRAMEBUFFERS to 9 (8649 bytes)...
  21. Replies
    35
    Views
    7,693

    Files have been sent. I instrumented the code to...

    Files have been sent.
    I instrumented the code to see if I was running out of CPU or SD Card bandwidth.
    On a 128Kbps clip, the audio library reported 9.5% CPU. Only two AudioLib buffers in use,...
  22. Replies
    35
    Views
    7,693

    I used the same ffmpeg command on all the files,...

    I used the same ffmpeg command on all the files, just changing the bit rate specification (-b:a 160k). That should be fixed bit rate. All the old radio broadcasts work at 64Kbps (-b:a 64k). The new...
  23. Replies
    35
    Views
    7,693

    As a test I tried encoding the files at 64 Kbps,...

    As a test I tried encoding the files at 64 Kbps, 128 Kbps, 160 Kbps, 192 Kbps, and 256 Kbps. They would play at 64 Kbps and 128 Kbps, but not at any higher bit rate.
    I am using a SanDisk Ultra 32 GB...
  24. Replies
    35
    Views
    7,693

    The conversion went well, though I found a few...

    The conversion went well, though I found a few files with imbedded graphics. I ended up using
    ffmpeg -i i.mp3 -map_metadata -1 -ac 1 -at 44100 -b:a 64k -vn o.mp3

    This is for an old 1937 Zenith...
  25. I've used coil dope for insulating connections....

    I've used coil dope for insulating connections. My current bottle is labeled "Super corona dope". It is sort of like fingernail polish.
  26. Replies
    8
    Views
    2,144

    Teensy 3.6 reading USB memory stick

    I'd like to wire the 2nd USB port on the Teensy 3.6 to a USB Host cable like https://www.pjrc.com/store/cable_usb_host_t36.html
    and use it to plug in a USB memory stick. I'll only be reading the...
  27. Replies
    35
    Views
    7,693

    Thanks, ffmpeg -i i.mp3 -map_metadata -1 -ac 1...

    Thanks,

    ffmpeg -i i.mp3 -map_metadata -1 -ac 1 -ar 44100 -b:a 96k o.mp3
    did the trick.
    I tried both with and without '-map_metadata -1' and both worked without issue.
    The teensy 3.6, 1,500 MP3...
  28. Replies
    35
    Views
    7,693

    Thanks, I have about 1,500 files to convert now....

    Thanks, I have about 1,500 files to convert now.
    It looks like
    ffmpeg -i i.mp3 -map_metadata -1 -ac 1 -ar 44100 -b 96k o.mp3
    would do the job, I'll have to experiment.
    Or do you have any...
  29. Replies
    35
    Views
    7,693

    It went a little farther with the code change. I...

    It went a little farther with the code change. I would hear snippets of content but nothing more than a half-second or so, interspersed with silence. After a few seconds I heard a sine wave and the...
  30. Replies
    35
    Views
    7,693

    When I get home I'll do some more testing and get...

    When I get home I'll do some more testing and get you a file. The files use long names but I'm just opening a directory and using 'openNextFile()' to get a file handle. I'll have to print out the 8.3...
  31. Replies
    35
    Views
    7,693

    I've started using the Audiolib-MP3 library and...

    I've started using the Audiolib-MP3 library and am having some trouble.
    Some of my MP3 files play just fine, others stop after reading two blocks of 1024 bytes.
    On the ones that stop, pushData...
  32. Replies
    0
    Views
    656

    shortwave radio simulation

    A friend is restoring the cabinet of a floor-standing radio from 1937. He's not interested in restoring the radio itself, but would rather simulate the radio functions by playing MP3 clips of...
Results 1 to 32 of 32