Saturday, October 12, 2019

Ported enclosure... WORKS!

So 20 hours later and a little assembly and I've got a kicking speaker.  My little 2" speakers I use on my computer are pretty loud and a little bassy, but nothing like this.  I'm so happy with the results that I published it on thingiverse so anyone can make one:

Video showing the speaker vibrating

Friday, October 11, 2019

speakers came

So my initial impression of the 3" speakers I bought.. even without an enclosure equally or better than the bookshelf speakers I use on my computer.  I hooked up the same amp I use for my computer to one of the bare speakers and it was quite loud and good sound.  I put it in a cup so it has some back pressure, cranked down the treble a bit and the speaker definitely moves quite a bit when it has some bass thrown at it.  I'm going to try to 3d print at least one enclosure this weekend to see if it makes a big difference in the sound.  I'm almost wishing I had bought a 3rd to turn one into a bass only speaker (the LEPY amp is a 2.1 channel so it does have a bass output on it).  I might try it in each output to see if there's any difference.

I've grown up always thinking bigger is better (and if you want true air moving bass in a car that's still true), but for a pinball I think even small speakers can deliver pretty good sound if they are enclosed properly.  We shall see.

Wednesday, October 9, 2019

speakers ordered

So after watching this video of a 1.5" speaker putting out crazy sound by 3d printing a fluted enclosure:

And this video using a 3" speaker and a 3d printed case:

I decided to order a pair of these mid-range speakers:

And I'm going to design my own enclosure from scratch.  I know ideally there is math and calculations for optimizing sound, but I believe that this design in general helps to direct the airflow and allow the soundwaves to bounce around to increase volume and waveform range.  Look at any bose speaker, they all use this design.
Right now the main case above is an 18 hour print job each.  I'm going to add threaded brass inserts where the holes are, and 3d print sides to close it all up.  I may add some channel features to really seal everything up.

Friday, October 4, 2019

more parts, configuring computer

Computer had a clean install but I wanted to ditch the mechanical hard drive.. Finding an ISO isn't going to help because OEM keys don't work that way. Tried to create a backup image to a usb hard drive, wouldn't boot from it.  Got fed up and installed tiny7 directly through the dvd drive.  No drivers, but struggled to get them installed.. then after ALL that I realized tiny7 is 32-bit not 64bit.  So finally my solution was to find a free cloning program that would at least make a mirror of what's on the mechanical drive over to the SSD.  Case is fairly quiet, I'm guessing if it were inside a pinball cabinet with the glass on you wouldn't even hear it, but I may look into replacing the CPU fan with a noctua fan.

Very clean, no scratches or dents, very impressed.

Grabbed a wireless keyboard/mouse $12 amazon, a wifi dongle $5 on ebay, $14 audio amp on ebay.  Still need speakers and probably going to go with a pair of these for the backbox:

But I really want some bass, so I may try 3d printing a subwoofer box:

Got Python and mission pinball installed.  Tried downloading the demo_man sample.  It would run the code, but the media control window (DMD) opens up then closes itself.. I even added the capital -X at the end (so it runs as simulation not a real pinball).  I feel like I'm following the tutorial to the T and already I'm hitting a roadblock.  I really need to see an example running so I know it's capability.

Friday, September 27, 2019

more parts, not a patient person

So computer is shipped and on the way.  Supposedly going to be here next Tuesday but because it's fedex it could get delayed until next Friday because fedex usually sucks.  Computer comes with 4gb ram and I was going to wait to see if that's a single ram chip or dual chips but then I said screw it let's see what a pair of 4gb ram chips cost. Found a pair of used 4gb samsung PC3-12800 for only $18 shipped on ebay so bought that.  Then I was going to do the "buy a 240gb drive, replace my main computer drive since it's low,  put 120gb from my main computer into pinball computer.. then decided to see what was actually sucking up space.  Found a free program called wiztree and turns out epic games was sucking up 20gb (I believe I had unreal engine, pinball, and possibly fortnite).  So since I don't NEED to replace that drive (I'd actually be dreading re-installing windows and all my software, especially solidworks) so I opted to simply just buy another 120gb drive and call it done (also $18 brand new).  So by the end of next week hopefully I can start installing windows from scratch (most likely I'll install tiny7), install mission pinball framework and just start going through the tutorial.

Wednesday, September 25, 2019

Computer acquired

So for about the past week I've been combing ebay and craigslist.  There was one ebay post of 4 computers, all the same specs.  Honestly it's a deal at $35+$15 shipping.. Core i5 750 (2.66ghz cpu, 4 cores, 4 threads), 4gb ram, 250gb hard drive, windows 7, geforce 310 (not awesome, but plenty for open GL), and if at some point I decide to add 3d unity graphics or I want to run dual screen it does have an open slot for a nicer video card.  Even though it's a 10 year old computer, it's still very decent.  I mean even if you were to piece together parts it would add up quick.  Probably going to upgrade to 8gb ram and a solid state hard drive since that's what mission pinball recommends as an ideal machine for development.  My home computer has a 120gb SSD drive that seems to float between 1-5gb of space left, so my goal is to buy a 240gb SSD, upgrade my home machine (re-install everything), then pop the 120gb drive into the pinball computer.  120gb should be PLENTY for windows plus framework plus yaml.

Tuesday, September 10, 2019

P3-roc powered up, skeleton game installed

So I'm still waiting for my 12v power supply, was supposed to be here last thursday but fedex is the worst shipping company so I might see it today.  Guess it doesn't really matter, 12v is typically just used for lighting/flashes/switches from what I'm reading.  So since I got my 5v 30a power supply (probably overkill for logic, but it was cheap), I wired up the 2-pin IDC connector, and fired it up.  Right away the blue LED's lit up, and I got a rotating pattern which I assume means it's functioning normal.

I installed Skeletongame as recommended by Scott Danesi.  He says mission framework is a little easier to get going, but it's more limited if you want advanced features.  I ran the demo, which is some color faux T2 game where basically your only functions are start game, and hit switches to add scoring.  I wondered if I hooked up my switch board and added a switch if it would translate that to the score on the PC.. I started reading through some of the documentation, and apparently by default it's set to be fake, but if you rem out one statement in the config file it becomes live with the board.

So my next plan of action is to read through the 6 pdf documents of getting a whitewood flipping from scratch, which looks like some forum that was saved out.  From reading other stuff, it looks like there are two config files.  One for the framework (IE all the standard coding like hit switches, lamps, coils firing, ball trough management, basic scoring), and then you have the "machine" config which is specific to your game.  This almost seems like it's turning raw python code into more of a basic language, spelling things out like start_button = start game, or left_button = left_flipper_coil.  Yet another thing that isn't explained in any documentation (but I have some knowledge of watching Ben heck videos over the years), you don't want to edit code in a standard word program, you want a true python editing program so that you get the color separation, and the suggested code as you begin to type something (which helps speed things up, not to mention avoids spelling errors which can break code).