Registration Notice

Due to increased spam, forum registration must be manually approved by a moderator! Please see this post for instructions.

*

Offline califrag

  • 10
    • View Profile
  • Long Beach, CA
Re: Open Source Sound using Teensy 3.2 and PJRC Audio Library
« Reply #120 on: January 15, 2026, 08:35:56 PM »
Hi Luke , would it be possible to get the centroid file for the OP Soundcard here ? I'm looking into doing a small run through PCBway for these also.

Thanks!

*

Offline LukeZ

  • 1342
    • View Profile
  • France
Re: Open Source Sound using Teensy 3.2 and PJRC Audio Library
« Reply #121 on: January 16, 2026, 07:21:30 AM »
Hi Cali, I have attached it here. However, note that the Teensy 3.2 processor which this sound card uses, has been discontinued for several years, never to return. So unless you are still in possession of some from the days when it was still sold, you are likely to find it impossible to have it manufactured.
OP_Sound_v3_r1.mnt
(1.25 kB ~ Downloads: 172)
NO SUPPORT THROUGH PM - Read why
Need a forum account? Read here
Open Panzer FAQs

*

Offline califrag

  • 10
    • View Profile
  • Long Beach, CA
Re: Open Source Sound using Teensy 3.2 and PJRC Audio Library
« Reply #122 on: January 16, 2026, 02:55:05 PM »
Thank you!

Yea I saw someone posted on the PJRC forums they had some available, but their asking price is a bit steep so I think I will have to find another solution.

I'd love to see this board\project updated to work on Teensy 4.0 which is currently available, or even better, to work on ESP32 which are widely available at very affordable price.

I downloaded the code from GitHub but it wasn't as easy as just "compiling" for the Teensy4.0 board, there were a lot of errors thrown that are beyond my ability to debug

*

Offline LukeZ

  • 1342
    • View Profile
  • France
Re: Open Source Sound using Teensy 3.2 and PJRC Audio Library
« Reply #123 on: January 17, 2026, 12:22:52 PM »
Unfortunately the OP Sound Card code is not directly portable to any other processor than the discontinued Teensy 3.x devices, which had very specific sound capabilities that made them unique, and which my project was developed around. To recreate the sound card on different hardware will require not only a new board but a complete rewrite of the firmware based on a completely different approach.

This is not something I'm going to undertake, but user Foxhood recently started a thread about his project which he calls OPSC Lite, which you should follow.
NO SUPPORT THROUGH PM - Read why
Need a forum account? Read here
Open Panzer FAQs

*

Offline califrag

  • 10
    • View Profile
  • Long Beach, CA
Re: Open Source Sound using Teensy 3.2 and PJRC Audio Library
« Reply #124 on: January 17, 2026, 03:59:53 PM »
Yup I saw that thread and am following it intently, really looking forward to an affordable sound card option!

I saw there were some TBS mini on ali-express but a lot of the reviews say they can't be programmed (probably because they are clones), so I don't wanna go down that route...

I've also been looking at another open-source "audio and light" module (this one : https://github.com/TheDIYGuy999/Rc_Engine_Sound_ESP32) to see if it's somehow possible to integrate it with OP TCB.. Of course it would take a bit of work to the code but I don't see why it couldn't be possible to add in the serial communication triggers from OP TCB to trigger the various sounds.

It wouldn't be as easily configurable though as the sound files have to be encoded into the compile routine. It is a pretty cheap option though. I did a PCBWay run of 5 boards which cost around $60 and for the ESP32 and other parts maybe another $35 in components for the 5 units, which breaks down to around $20/unit. It does require quite a lot of soldering assembly for all the connectors though. There's also a "mini" version for semi trailers which seems like it would be a good option but I had already ordered the full-size version.

Anyway just exploring some potential alternatives to find the cheapest and\or easiest option (I think it's worth paying a little more if the components are more readily available and easier assembly)


*

Offline Foxhood

  • 7
  • Electronics Engineer / Mad Scientist
    • View Profile
  • Netherlands
Re: Open Source Sound using Teensy 3.2 and PJRC Audio Library
« Reply #125 on: January 17, 2026, 04:46:03 PM »
Unfortunately the OP Sound Card code is not directly portable to any other processor than the discontinued Teensy 3.x devices, which had very specific sound capabilities that made them unique, and which my project was developed around. To recreate the sound card on different hardware will require not only a new board but a complete rewrite of the firmware based on a completely different approach.

This is not something I'm going to undertake, but user Foxhood recently started a thread about his project which he calls OPSC Lite, which you should follow.

I would note that the code is like 98% compatible with the newer Teensy 4.x as though the main website doesn't indicate as such: the sound library has been ported over cleanly to the new processor, restoring all functionality except for the on-chip DAC as the T4 lacks one. Porting would mostly be a matter of a little bit of rewiring (SD from SPI to SDIO), adding a simple little I2S DAC (e.g. SGTL5000) to the board and a few relatively tiny tweaks to the code like swapping the Audio DAC output block with I2S Output and replacing the old SdFat fork with the regular version.

I investigated this possibility as part of my dive into potential solutions to the audio dilemma. Honestly would have gone for this approach if my experiments didn't show a very interesting possibility in a spiritual successor to Benedini's work with AVR. Still. I'm keeping this in mind as a back-up should my efforts fail to pan out. After all. We do need a solution
Engineer by day, Mad scientist by night and Artist by weekend.
Ask me anything electronics related :3

*

Offline LukeZ

  • 1342
    • View Profile
  • France
Re: Open Source Sound using Teensy 3.2 and PJRC Audio Library
« Reply #126 on: January 22, 2026, 02:22:38 PM »
I would note that the code is like 98% compatible with the newer Teensy 4.x as though the main website doesn't indicate as such: the sound library has been ported over cleanly to the new processor, restoring all functionality except for the on-chip DAC as the T4 lacks one. Porting would mostly be a matter of a little bit of rewiring (SD from SPI to SDIO), adding a simple little I2S DAC (e.g. SGTL5000) to the board and a few relatively tiny tweaks to the code like swapping the Audio DAC output block with I2S Output and replacing the old SdFat fork with the regular version.

I investigated this possibility as part of my dive into potential solutions to the audio dilemma. Honestly would have gone for this approach if my experiments didn't show a very interesting possibility in a spiritual successor to Benedini's work with AVR. Still. I'm keeping this in mind as a back-up should my efforts fail to pan out. After all. We do need a solution

I hadn't known the Audio Library got ported over, thanks for letting us know. I agree with you that your alternative approach would ultimately be better, as it would end up both less expensive and smaller in size. But good to know there are options.
NO SUPPORT THROUGH PM - Read why
Need a forum account? Read here
Open Panzer FAQs

 

bomber-explosion