(Topic ID: 179619)

Rebuilding sound for DataEast & WPC using a pi

By steve45

5 years ago


Topic Heartbeat

Topic Stats

  • 1,873 posts
  • 106 Pinsiders participating
  • Latest reply 37 days ago by lucky1
  • Topic is favorited by 138 Pinsiders

You

Linked Games

Topic Gallery

View topic image gallery

backbox_annotated (resized).jpg
290860509_5322755734485497_3370088674762995531_n (resized).jpg
tilt2_5d (resized).jpg
tilt2_6a (resized).jpg
TL-board (resized).jpg
tiltaudiopic1 (resized).PNG
pasted_image (resized).png
rom (resized).png
pasted_image2 (resized).png
pasted_image (resized).png
raspilog.pdf (PDF preview)
20220102232634-Sebinouse-FD802F28-3EEC-4661-9A38-5A35D35F80E4 (resized).jpeg
20220102224622-Sebinouse-28F808E6-D074-48AA-BDCC-C0BFA18607DB (resized).jpeg
image (resized).jpg
image (resized).jpg
DD979586-D242-46E9-8FFF-D6711145A834 (resized).jpeg

There are 1,873 posts in this topic. You are on page 17 of 38.
#801 3 years ago

PM me a price on 2 complete boards? I fucked up both of the kit ones i bought.

#802 3 years ago

OK, so the new image is way smoother! Thanks for updating that. Way easier. My problem now is I get no sound at all from the speakers. I also have no errors that I can see in the logs. I dont hear the boot sounds, game sounds, nothing. Here is my log if you want to look, but is there some other thing for me to look at and see why I cant? I assume the issue is somewhere between the pi and the speaker out. Could it be a bad connection between the pi and the amp? What pins should I check continuity between?

Here is my log if you want to look at it: https://1drv.ms/u/s!ArdtzWfkcdJUh5NclBRw5pOy02fy5Q

#803 3 years ago

So I went through and verified that all points from the pi to the sound boards are ok. I have 2 boards, both do the same thing. It looks like they should be working from the logs, but nothing. Points have continuity. Not sure how to test/verify if the pi is putting out sound though.

#804 3 years ago
Quoted from BrewNinja:

So I went through and verified that all points from the pi to the sound boards are ok. I have 2 boards, both do the same thing. It looks like they should be working from the logs, but nothing. Points have continuity. Not sure how to test/verify if the pi is putting out sound though.

Have you tried to switch audio devices? Another easy test when you hear no audio: just connect a small speaker to builtin 3.5 audio jack or audio jack on the DAC module to check if you hear at least boot sounds.

What is also weird in your logfile: there's way to much 0x8b commands coming from the cpu, so there is something wrong with the data connection. Please check the jumper position, is it on WPC? Also pull out the ribbon cable for a first test, the 0x8b bytes should be gone in the logfile, but you should still hear boot sound and serial number annoucement.

Br Steve

#805 3 years ago

I removed the data connection for testing. No more 0x8b commands. My jumper is on the WPC position, and WPC is set in the config. If I hook up a 3.5 speaker to the pi, I hear the sounds. So that is working. I tried connecting it to the DAC module, and im not getting anything. Which audio device should I be choosing? HiFi DAC direct, HiFi DAC with conversion, the sndrpihifiberry, or one of the alsa devices? I have 2 different 2.5d boards, so it seems weird that they both would have bad DAC modules (though I suppose it could be a bad batch from the factory or something). Thanks for the help.

#806 3 years ago

Is your DAC Module connect with all pins to the main board ? If so, thats wrong and connect it like on the TiltAudio Website described.
The Output device is Hifi DAC or equal-dac for example...

#808 3 years ago
Quoted from Jim-Beam:

Is your DAC Module connect with all pins to the main board ? If so, thats wrong and connect it like on the TiltAudio Website described.
The Output device is Hifi DAC or equal-dac for example...

It totally is. Oops. I'll have to remove those pins and try again. Thanks for the input!

#809 3 years ago
Quoted from BrewNinja:

It totally is. Oops. I'll have to remove those pins and try again. Thanks for the input!

I hope that helps, i had that once...

#810 3 years ago

Ill hopefully know soon. I was unable to remove the DAC in one piece (soldering iron slipped and hit one of those tiny ass resistors off and instantly lost it on the carpeted floor ‍♂️) and have a new one arriving soon. Wish there was a cheaper/faster way of getting them than either $7 off of amazon or 45 days from aliexpress.

#811 3 years ago

Just ordered a pair of boards, one for my getaway and another for my Jurassic Park. Can’t wait to get them and start tinkering!

#812 3 years ago
Quoted from BrewNinja:

Ill hopefully know soon. I was unable to remove the DAC in one piece (soldering iron slipped and hit one of those tiny ass resistors off and instantly lost it on the carpeted floor ‍♂️) and have a new one arriving soon. Wish there was a cheaper/faster way of getting them than either $7 off of amazon or 45 days from aliexpress.

Digikey is less than 24 hours for every order I’ve ever made

#813 3 years ago

Just wanna give a quick heads-up: I'll be out on vacation starting mid next week and the week after. No shipping of kits in this time, also I'll have limited access to internet, slack, mail, so please expect some delay in case there are questions, support request, sounds ....

Also for those how like not yet finished announcements I'm working on the next release of board and firmware already and it will support a new port extender, that can control up to 16 additional output (can be programed as inputs as well), that can be controlled by TILT!Audio. So for a sound effect you can trigger all kind of extra effects build with the new IO port.

Br Steve

#814 3 years ago
Quoted from steve45:

Just wanna give a quick heads-up: I'll be out on vacation starting mid next week and the week after. No shipping of kits in this time, also I'll have limited access to internet, slack, mail, so please expect some delay in case there are questions, support request, sounds ....
Also for those how like not yet finished announcements I'm working on the next release of board and firmware already and it will support a new port extender, that can control up to 16 additional output (can be programed as inputs as well), that can be controlled by TILT!Audio. So for a sound effect you can trigger all kind of extra effects build with the new IO port.
Br Steve

YES

#815 3 years ago
Quoted from WW2GURU:

Digikey is less than 24 hours for every order I’ve ever made

Do they actually have the proper DAC? Got a part number? I searched but didn't find anything.

#816 3 years ago

So my new DAC arrived and I installed it the correct way and it works better. Looks like the soundset for fish tales is scrambled. All the links to the old descramblers are dead, is there anything available anymore?

The major issue though is Im getting a constant sound played over and over. This is in my fish tales. I have WPC set on both the jumper and in the software. Any ideas on what to try? This is basically the entire log without starting a game, over and over and over again. Attract sounds are off, so nothing should be playing.

2019-06-09 21:36:11.168 DEBUG isr wpc [wdenInterrupt] [pincom.c:338] wpc cmd 00000 139 0x8b 10001011 len: 1
2019-06-09 21:36:11.168 DEBUG isr wpc [soundWpcHandler] [sdl_sound.c:1559] wpcSoundHandler cmd: 0x8b 0x00 0x00 0x00, id: 139
2019-06-09 21:36:11.168 DEBUG SndServi [playSample] [sdl_sound.c:1345] playing sample 139:0 vol: 15->23 'sfx' 'space_1' on channel 0

#817 3 years ago

Hello,

I've flashed and setup WiFi without issue, using the big image.
But i've got only rootfs partition mounting under windows.
How can I add the data folder ??

#818 3 years ago
Quoted from BENETNATH:

Hello,
I've flashed and setup WiFi without issue, using the big image.
But i've got only rootfs partition mounting under windows.
How can I add the data folder ??

Solved, I've used scp

#819 3 years ago

Could you elaborate for others with the same problem? What is SCP?

#820 3 years ago

You can connect to the raspberry using a scp software, like winscp on windows.
It's a way to use the ssh port as a ftp.
Install winscp and create a connection on the IP of the tiltaudio system, on port 22
Username is : pi
Password is : raspberry
You might be stuck with user rights, as boot/data seems not writable for pi user .
I've pushed the data to /media folder and moved it through a terminal ssh connection, using a sudo command.

Seems a bit cryptic for non-linux and not sure if it's the best way..
Maybe dietpi user has ssh access but not sure of the credentials.
Steve, can you comment ??

By the way, I redid a test on my LOTR.
it behaves like old version.
Everything works, except the first music that should start on ball1.
The initialization of the game seems not detected, as the lottery or attract music is still played. On ball2 and 3, it works well.

#821 3 years ago

You should be able to sudo or su to get root. I swear I did that when I was trying to chase down problems (but that might have been something I was working on for work too...I cant remember).

#822 3 years ago

yep, a sudo su might work too.

the easiest would be that data partition would be mounted on windows system.. or that I use ubuntu on my laptop too

#823 3 years ago
Quoted from BENETNATH:

yep, a sudo su might work too.
the easiest would be that data partition would be mounted on windows system.. or that I use ubuntu on my laptop too

The ssh stuff shouldn't be necessary. Of course the first partition is meant to be mounted on windows. If this doesn't work I need to check / test the image.

Which image and which version of Windows did you use?

An alternative for just putting sound on the system is simply the webUI. I. The sound section you can just upload a complete sound pack. Much easier than fiddle around with ssh, scp and sudo ...

Br Steve

#824 3 years ago

Hi Steve,
I've used the latest big file shared here on a 16GB.
Etcher under win10 64bit was used

i wanted to put my whole data folder with key and config, so i needed a folder upload, not just soundset.

1 week later
#825 3 years ago

New revision of the 2.5 board arrived today.
IMG_20190626_174941.geaendert (resized).jpg

new feature: support for a port extender:

with port extender option you can control up to 16 additional GPIOs that control additional lights etc. based on the played sound effect. The used mcp 23017 has 16 programmable GPIO that supports up to 25 mA each and max 150 mA all together. So if you want to drive bigger loads you need a driver board or relay board in between.

configuration is easy: starting with version 1.28 of the firmware, you can not only place serial commands per sound effect, but also PORT commands, to either switch on or off, or playback sequenes (pulses).

Port extender is optional and must be ordered separately from the main kit.

Br Steve

#826 3 years ago

Where is the most recent guide to using this. Very interested in getting my sound better.

#827 3 years ago
Quoted from BrewNinja:

So my new DAC arrived and I installed it the correct way and it works better. Looks like the soundset for fish tales is scrambled. All the links to the old descramblers are dead, is there anything available anymore?
The major issue though is Im getting a constant sound played over and over. This is in my fish tales. I have WPC set on both the jumper and in the software. Any ideas on what to try? This is basically the entire log without starting a game, over and over and over again. Attract sounds are off, so nothing should be playing.
2019-06-09 21:36:11.168 DEBUG isr wpc [wdenInterrupt] [pincom.c:338] wpc cmd 00000 139 0x8b 10001011 len: 1
2019-06-09 21:36:11.168 DEBUG isr wpc [soundWpcHandler] [sdl_sound.c:1559] wpcSoundHandler cmd: 0x8b 0x00 0x00 0x00, id: 139
2019-06-09 21:36:11.168 DEBUG SndServi [playSample] [sdl_sound.c:1345] playing sample 139:0 vol: 15->23 'sfx' 'space_1' on channel 0

Hey steve45 any ideas on what to do with this sound constantly being triggered? Also, do you have a descrambler up anymore? Thanks!

#828 3 years ago

Anyone have a picture of a completed 2.5d/e board for WPC with DCS sound? I have an orphaned connector and I dont know if that because I got the on board power supply? My OLED display won't come on and I cant get any sound out of this thing even while using the UI to command sounds. And FYI the mounting holes to hold the board down dont match for a DCS machine.

Added over 3 years ago:

Going back thru the thread I found a picture from about a month ago with an assembled WPC board, it doesn't mention DCS but its the same as what I have built here so for now thats what i'll work with. I was able to get the sound to work from the 1/8 jack for bench testing and also got the display to work. These only came to life after doing a fresh install of 1.27. I couldn't get any of these things to work on 1.25 after multiple card reflashes. I'm using a Pi 3B+ and have no idea if the display and sound issues were related to that. I thought 1.25 was the latest version as that is what is reflected on the tilt audio site and the bintray link in the boards browser UI. I really found 1.27 by accident reading the thread. Now Im looking to solve the scrambled sound set issue for my IJ.

#829 3 years ago

What connector do you have left? Show us a picture. I'm out of town for the next 2 weeks, so I can't get a picture of mine.

1 week later
#830 3 years ago

New firmware 1.28 is out: https://mega.nz/#!l4xyDI5I!qoBXKPpOlxKabubys3AqH6tNBpEhtj0eJvP5bU4uTSY

It has a few bugfixes and especially support for the port extender (with board rev 2.5f and newer)

To use extension port you simply can reuse the serialCmd field in the sound effect details. New 1.28 recognized a few additional commands:
1. all commands for the serial media server (like before): PLAY, STOP und PLAYONEOF
2. NEW commands for the port extender: PORT x ON, PORT x OFF oder PORTSEQ x n1 n2 n3 ...

You can also combine both comamnd types in one, just use a colon as separator. X is the placeholder for the port number with the range 100-115 -> 16 outputs. The n1, n2 ... values are timespans of milli seconds, in order to playback a sequence. The port pin then toggles on and off.

There is also a new settings page in the web ui, that allows for testing GPIOs and commands in general:
TA-port-screenshot (resized).jpg

Br Steve

#831 3 years ago
Quoted from steve45:

New firmware 1.28 is out: https://mega.nz/#!l4xyDI5I!qoBXKPpOlxKabubys3AqH6tNBpEhtj0eJvP5bU4uTSY
It has a few bugfixes and especially support for the port extender (with board rev 2.5f and newer)
To use extension port you simply can reuse the serialCmd field in the sound effect details. New 1.28 recognized a few additional commands:
1. all commands for the serial media server (like before): PLAY, STOP und PLAYONEOF
2. NEW commands for the port extender: PORT x ON, PORT x OFF oder PORTSEQ x n1 n2 n3 ...
You can also combine both comamnd types in one, just use a colon as separator. X is the placeholder for the port number with the range 100-115 -> 16 outputs. The n1, n2 ... values are timespans of milli seconds, in order to playback a sequence. The port pin then toggles on and off.
There is also a new settings page in the web ui, that allows for testing GPIOs and commands in general:
[quoted image]
Br Steve

Im assuming this is an update patch file and not the large main file?

#832 3 years ago

I did a try on the previous version on lord of the ring and still have on issue : no music on ball 1. Everything out of that is 100% perfect.

Did anyone give a try on another white star ??

#833 3 years ago

I still have issues with mine, Steve. I have contacted you through email and slack numerous times.

#834 3 years ago
Quoted from kba78:

I still have issues with mine, Steve. I have contacted you through email and slack numerous times.

Why don't you post some of the issues here. Steve is building this thing, but troubleshooting support from afar is incredibly time-consuming. The rest of us can help too

#835 3 years ago

Ok, mine was running fine for a few days, just was working out some scrambled issues with a star wars sound set. Playing a game and the sound cut out, open door and I had no light on the pi. Checked all my voltages and all good. Put original sound board in, all good. Took out the raspberry pi and plugged in the 5v adapter and the pi boots fine. I am Thinking something when out on the shield, but have been trying to get Steve to help me pinpoint if a chip went bad or is causing a short and maybe not allow the pi to boot

#836 3 years ago

Did you test the voltages as described on tiltaudio.com

After assembly do a step by step test if you have a meter first do some checks without pi applied. Just connect WPC aux power J501 and check voltages:

after rectifier about 20V
after linear regulator 15V (depending on reg type maybe 12V)
after DC DC buck converter 5V

#837 3 years ago

As I said, I am working on a data East. What are the test points for that?

#838 3 years ago

Also, as I said, this shield ran fine for a while. Steve was just help me work through a scrambled sound set for de star wars. It then just quit, in the middle of a game

#839 3 years ago
Quoted from kba78:

As I said, I am working on a data East. What are the test points for that?

The test points are the same.

#840 3 years ago

Working on getting my board installed in my Getaway. So far I have v1.25 loaded up, when testing over HDMI the intro sound plays along with the serial number etc. When placed I place it into the assembled board I can't seem to get audio out through the built in amps. I have a speaker on the right channel of the BB speakers right now. I can hear it humming, but no sounds. I can connect to the tilt server over wifi so I've tried changing the audio device but none of them will output anything.

The DAC's led lights up red so it looks like it's getting power. I originally had all 4 legs connected to the left part of the board L, AGnd, R, AGnd, but went back and desoldered the two AGnd points as per a post above.

I've tried updating the firmware using the browsers update, but it doesn't seem to work. I put the file on the sd card in the root Tilt folder and named it update.zip but I can't seem to select it when browsing. I also tried selecting the file from my computer, but it still seems stuck on 1.25. Am I missing something here? Should I just download and reimage my sd card with the 1.27 image that Steve provided? ( I missed it the first time).

Feels like I'm getting close, so any input would be great. Thanks.

#841 3 years ago

I got 12v at the amps
And 5v at the dac
These seem right.
On the data East board there is no linear regulator , and no buck converter

15628796426491581531728034683809 (resized).jpg
#842 3 years ago

Geteos did you try to create an update folder and put the zip in it ?

#843 3 years ago
Quoted from BENETNATH:

Geteos did you try to create an update folder and put the zip in it ?

Ah no, I didn't. I was just putting it into the root.

I ended up creating a new image for 1.27, I'm planning on testing it this week. But I'll try to update to 1.28 using an update folder.

Thanks!

#844 3 years ago

Does anyone have any insight to my problem that I described above?

#845 3 years ago
Quoted from kba78:

Does anyone have any insight to my problem that I described above?

The only difference is that the PI gets the 5V through pin 2+4 on the pinheader instead of the USB power connector.
Test wether you have the 5V there.
raspberry-pi-pinout (resized).png

#846 3 years ago

kba78
i looked at your board pic and found the 40pin socket complete down to the board. The socket is having long pins to allow an easy plugin for the rasp, so how did you mount the rasp to the socket/board ? Did you bent it somehow ? Maybe here is the problem and that why it worked just for a while ?

#847 3 years ago

I did test the 5v at the pi, but I can certainly double check.
And also, the 49 pin is not soldered all the way down. It is raised off the board

#848 3 years ago

Ok, I was able to use a friends raspberry pi today. And the shield reacted the same way. Nothing, even though all the voltages are correct. Is possible one of the three chips has failed for some reason?

#849 3 years ago

So I'm getting a bit closer but still not working the way I need it to.

I flashed 1.27 onto a 16gb card along with a custom sound set I found online.

Two problems:
1. I tried hooking up a speaker to the board itself but no matter which playback device I choose nothing will play.

2. I tried hooking up a speaker to the line out on the Pi board itself and chose the device. With this config, some of the effects play back, but I'm getting no music. I checked the logs and I'm getting this error.

2019-07-22 21:37:12.326 WARN SndServi [handleSoundByTypeWithIdx] [sdl_sound.c:1422] sample for id '55' not found

What do I have to change to get this to trigger the music properly?

#850 3 years ago

I had a similar problem when working on a star wars sound set. Ended being a scrambled sound set. Ask Steve for an unscramble sound set for getaway. I am pretty sure he has one or someone else on her must.

Promoted items from the Pinside Marketplace
€ 145.00
Playfield - Toys/Add-ons
Dystopic Pinball
$ 40.00
Playfields
BRIAN'S PINBALL SHOP
4,200 (OBO)
Machine - For Sale
New Ulm, MN
$ 26.50
$ 29.95
Playfield - Toys/Add-ons
ULEKstore
$ 15.00
Playfield - Plastics
Pinball Haus
$ 9.95
Eproms
Pinballrom
There are 1,873 posts in this topic. You are on page 17 of 38.

Reply

Wanna join the discussion? Please sign in to reply to this topic.

Hey there! Welcome to Pinside!

Donate to Pinside

Great to see you're enjoying Pinside! Did you know Pinside is able to run without any 3rd-party banners or ads, thanks to the support from our visitors? Please consider a donation to Pinside and get anext to your username to show for it! Or better yet, become a Pinside+ member!