(Topic ID: 307551)

Middle Earth Homebrew Rework

By ThatOneDude

2 years ago


Topic Heartbeat

Topic Stats

You

Linked Games

Topic Gallery

View topic image gallery

img_2_1647234332023 (resized).jpg
20220219_153345 (resized).jpg
20220127_180450 (resized).jpg
20220127_180432 (resized).jpg
20220124_164250 (resized).jpg
20220124_160531 (resized).jpg
20220120_163416 (resized).jpg
20220116_110832 (resized).jpg
20220115_180952 (resized).jpg
20220115_180949 (resized).jpg
20220115_145434 (resized).jpg
20220109_160713 (resized).jpg
20220109_145618 (resized).jpg
20220109_145416 (resized).jpg
20220109_144105 (resized).jpg
20220109_143708 (resized).jpg
There are 64 posts in this topic. You are on page 1 of 2.
12
#1 2 years ago

I picked up a Middle Earth a few months back and decided to rework it with a cobrapin controller. I promised myself I wouldn't do a pinside topic until I had a flipping machine, and...well, I hit that(mostly). So, an overview.
It started with a stock Middle Earth that wasn't booting.
224247561_351500819848298_5185848145347551843_n (resized).jpg224247561_351500819848298_5185848145347551843_n (resized).jpg224629488_436228490751194_1644340008498322400_n (resized).jpg224629488_436228490751194_1644340008498322400_n (resized).jpg225358151_1134521473709184_2077570554868875084_n (resized).jpg225358151_1134521473709184_2077570554868875084_n (resized).jpg

Some links:
Mission Pinball Framework: https://missionpinball.org/
Cobrapin: https://pinballmakers.com/wiki/index.php?title=CobraPin
Middle Earth Configuration: https://github.com/mikelatiolais/middle_earth

#2 2 years ago

I started with switches. I cut the zip ties to the harness and started tracing wires. And here was the first real mistake. I should have disconnected the entire harness and split it up into sections(switches, solenoids, GI, inserts). Instead, I left it on the playfield and just worked around everything.

That took quite a while. The schematics, of course, only give you an overview of the electrical connections. For the real world wiring, you have to trace everything out. Since ME didn't use a switch matrix and they all shared grounds, I had to split them into groups and then cut up the ground to minimize how much I needed to rewire. You have to take into account things like matching autofire coils with switches on the same microcontroller, which made some of the wiring more complex that it needed to be. Also, there was a set of 10pt switches which were all chained together. Thus, that ground had to traverse the whole playfield.

#3 2 years ago

After that, it was time to wire the solenoids. Or, if you know me, make a mistake and burn a mosfet out.
Once I got my initial mistake fixed, I was able to get all of the solenoids working. Due to the number of switches, I ended up using a cobrapin satellite board. This gave me more switches, but now required that I feed the flippers from there(autofire has to match the microcontroller). I bolted everything to a board to create the control system at this point.

263522521_1590379964646099_9050682252389368223_n (resized).jpg263522521_1590379964646099_9050682252389368223_n (resized).jpg
#4 2 years ago

Now, came the new lamps and GI. I had hacked out all of the insert lamps....and accidentally some of the GI. Oops. I started with the inserts. I had some RGB lamp boards on hand(https://github.com/jhpieper/pin-led) and used those. One nice thing about the cobrapin controller is that I could solder a new LED on and plug it in to test. It would glow a nice low blue.

Then, it was time for the lamp testing. I created a simple light show for the attract mode.

After getting that going, I cobbled together a new GI harness and replaced all of the lamps with LEDs. All lamps are now running from the beefy 5v supply.

#5 2 years ago

Next, it was time to start setting up the first modes, to test some basic things like autofire solenoids and the music. This is NOT the final music for the game.


#6 2 years ago

My basic TODO list at this point:
1) Mount the new display in the apron(I am using a 6.5" LCD)
2) Finish the cabinet rewiring
3) Set up the amp and new speakers
4) Setup the base mode and dial in the solenoid responses
5) Cut a new apron with new art
With any luck, I'll be showing off a running game within the week.

#7 2 years ago

Oh, and some initial thanks.
JethroP for the game
CodHollandaise for inestimable help in wiring and brainstorming
cobra18t for help getting the wiring figured out

#8 2 years ago

Cobbling together a mount for the apron display.

20220108_211943 (resized).jpg20220108_211943 (resized).jpg
#9 2 years ago

Sweet! Im glad to see this project if getting off the ground and is finally flipping.

#10 2 years ago

Installed my wooden monitor in the apron area. Need to run power to it.
Bolted the pc to the board and added a buck converter to pull 12v from the 36v supply for the monitor.
Time to start wiring the cabinet.

20220109_143708 (resized).jpg20220109_143708 (resized).jpg20220109_144105 (resized).jpg20220109_144105 (resized).jpg
#11 2 years ago

And it works well. Cute little display. The current power connector is temporary. Just need to set up the system to auto run mpf and hide the mouse.

20220109_145416 (resized).jpg20220109_145416 (resized).jpg20220109_145618 (resized).jpg20220109_145618 (resized).jpg
#12 2 years ago

1) Mount the new display in the apron(I am using a 6.5" LCD) - Done
2) Finish the cabinet rewiring
3) Set up the amp and new speakers
4) Setup the base mode and dial in the solenoid responses
5) Cut a new apron with new art

#13 2 years ago

Tested the amp today. Works well. Need to cut a new hole for a speaker in the bottom of the cabinet. I think I might make a topper for a couple of speakers as well.

20220109_160713 (resized).jpg20220109_160713 (resized).jpg
#14 2 years ago

Looks like you are powering the Satellite board straight from 36V. If you want, you could power it from one of the bank outputs (HV_A, HV_B, HV_C) on J13 from the main board. Then you would benefit from the capacitors on the main board. Make sure you size the fuses appropriately since there would then be the bank fuse inline with the Satellite board fuse.

#15 2 years ago
Quoted from cobra18t:

Looks like you are powering the Satellite board straight from 36V. If you want, you could power it from one of the bank outputs (HV_A, HV_B, HV_C) on J13 from the main board. Then you would benefit from the capacitors on the main board. Make sure you size the fuses appropriately since there would then be the bank fuse inline with the Satellite board fuse.

Good catch. Yes, I was debating about putting an OPP power board there, since I have one handy. But, your solution is cleaner. Thanks!

Should both fuses be identical, since there is nothing else being powered by bank A?

#16 2 years ago

This is awesome!!

#18 2 years ago

So, running the satellite from Bank A presents another problem, @cobra18t. Currently, B & C are connected to the playfield. I would need to add a connector between the 36v on the Satellite board and the playfield(since 5v and ground for the Satellite are still connected directly). I'm not sure I want another connector sitting between 36v and the flippers. I guess I could pull 5v and ground from the gi on the playfield.

#19 2 years ago

I can't visualize what the problem is. Why do you have to go to the playfield for 36V? Do you have an updated picture of the CobraPin wiring to illustrate?

#20 2 years ago

The existing banks are tied to playfield solenoids. Connecting the third bank to the satellite board means tying its power connector to that connector(attached to the playfield) and to the 5v and ground that the satellite board is already wired to. Not a big deal. I can either put a disconnect on the third bank wire or remember that I have to disconnect the direct 5v and ground if I pull the playfield.

#21 2 years ago

Got it. Are you using Bank A for any solenoids? You could pick up HV_A (36V) from J6 instead of J13. It is the pin marked with an asterisk.

#22 2 years ago

I went ahead and connected it. I'll reattach the grounds and 5v when I'm installing the playfield.

Added 4 service buttons, and got all of the other cabinet switches connected.
Getting closer.

20220115_145434 (resized).jpg20220115_145434 (resized).jpg20220115_180949 (resized).jpg20220115_180949 (resized).jpg20220115_180952 (resized).jpg20220115_180952 (resized).jpg

#23 2 years ago

Powered up from the switch for the first time.

#24 2 years ago

Controller and power board installed. I guess it's time to install the playfield...

20220116_110832 (resized).jpg20220116_110832 (resized).jpg
#25 2 years ago

Some days it doesn't pay to get out of bed.
I think I had a short that took out the boards. I'm assuming it was 36v to 5v. Might have cooked the chromebox too.

#26 2 years ago

Didn't kill as much as I thought.


First game!

#28 2 years ago

So, it turns out that I had plugged a connector in the wrong spot and sent 36v on the 5v system. It killed the 36v power supply and the original cobrapin board. Luckily, I had a 48v supply and a spare cobrapin.
However, the biggest loss was the lamps. It looks like I'll be resoldering most, if not all, of those.
Could be worse.
Implemented a ball save tonight. Working on the software for a bit.
Still need to cut a hole for the new speaker.

#29 2 years ago

Do you have something over all your boards to protect them from stray balls, screws, etc? Those are all in the bottom of you cab, yeah?

#30 2 years ago

Great work!

#31 2 years ago
Quoted from Mbecker:

Do you have something over all your boards to protect them from stray balls, screws, etc? Those are all in the bottom of you cab, yeah?

That is coming. Probably going to use cardboard tomorrow, and a piece of acrylic permanently.

#32 2 years ago


A pinsider enjoying a game while I watch.

#33 2 years ago
Quoted from ThatOneDude:

A pinsider enjoying a game while I watch.

Cool, it looks like your mechanics are working great. Now its on to the fun part, coding the game.

#34 2 years ago

Got time this afternoon to solder the wiring for the service buttons. Need to decide if I can shoehorn a door switch on this thing.

20220120_163416 (resized).jpg20220120_163416 (resized).jpg
#35 2 years ago

Decided on no door switch.
Replaced the old flipper switches with new switches. A lot more responsive and no "machine gunning" anymore.
Started replacing each of the RGB leds.

#36 2 years ago

Got the bar scoring added in, along with the high score mode. I think I track high scores and loops.

20220124_160531 (resized).jpg20220124_160531 (resized).jpg

20220124_164250 (resized).jpg20220124_164250 (resized).jpg
#37 2 years ago

I also got the service mode working. Very nice work on the part of the MPF team on implementing these built in modes. It's pretty painless.
I am redoing the insert lamps. I'm going to test some diffused LEDs in places, as well as move from soldered wiring to connectors. Ordered a bunch of premade connectors from China, so we'll see how those work out.

#38 2 years ago

New lamp boards are in. I've also started building some diffused led versions for some inserts.

20220127_180432 (resized).jpg20220127_180432 (resized).jpg20220127_180450 (resized).jpg20220127_180450 (resized).jpg
#39 2 years ago

Looking good. You must be happy with your work.

What is the status of you 1st Cobra board ? Was it just a blown power fuse issue and board ok ?

The wiring looks clean and tidy.

#40 2 years ago

Regarding your service buttons...

I found that adding 2 additional button
1) Power on/reset - connects to the mother board to trigger pc to start
2) Shutdown - Triggers pc to perform a shutdown

These two button are kinda handy instead of digging out a keyboard & mouse to manyal shutdown the system.
Some people alternatively us button combinations like hold left flipper and start button (you get the drift).

#41 2 years ago
Quoted from legtod2:

The wiring looks clean and tidy.

Thanks!

Quoted from legtod2:

What is the status of you 1st Cobra board ? Was it just a blown power fuse issue and board ok ?

The bluepills won't boot when in the board. They do, however, boot in another board. I think it's the level shifters, and I have some on order to see if I can fix it.

#42 2 years ago
Quoted from legtod2:

I found that adding 2 additional button
1) Power on/reset - connects to the mother board to trigger pc to start
2) Shutdown - Triggers pc to perform a shutdown

These two button are kinda handy instead of digging out a keyboard & mouse to manyal shutdown the system.
Some people alternatively us button combinations like hold left flipper and start button (you get the drift).

Hmmm, good idea. That is one drawback to using these little chromeboxes. The button is not easy to get to, and requires that you disassemble the entire device. I need to get on that, since I had planned to install one of Scott Danesi's power controllers.

#43 2 years ago

Playing with some open source sound effects.
Music is nice, but I need to replace it.

#44 2 years ago

I got one of the special modes set up today. When you complete a drop target bank, you have a few seconds to hit the target behind them, which is worth 2000 points until it resets. It also has a sound which plays until the reset.

#45 2 years ago

Bunch of little updates.
The main theme starts and stops when the mode starts and ends. It also cuts out the intro of the music, so it sounds better. Neither is particularly important, since this is placeholder music, but still...
The ball save now behaves correctly. It was starting on ball launch, which meant you could eat up your ball save while the ball sat in the shooter lane. Now, it starts on the playfield_active state.
Fixed the 10pt switch scoring.

I also got the original cobrapin board booting again. I think that there is still something screwy with the 5v system, so this one won't ever be driving RGB lamps again, but that's ok.

Without other modes, you mostly shoot for the drops, and getting control again fast enough to score on the 2k shot is a challenge. I think I'm going to work on a timed spinner mode next.

2 weeks later
#46 2 years ago

More little changes. I need to get someone over to film a full game now.
- Changed the font to a green monochrome CRT style to mimic 70s/80s terminals
- Fixed some bugs with the drop modes
- Added more sounds(I think all of the switches have an associated sound now)
- Added some initial shots in the base mode to begin an attack mode

Still deciding on how to enter into an attack mode. I'd like to have a way to pick your modes, but it's problematic, given that I have no way to trap the ball without adding some sort of physical stop. Given the limited number of shots, I don't want to have something like "do X 20 times to activate the mode where you do X 20 more times to finish."

I have contemplated awarding a random mode upon finishing the mode activation shot. Right now, I'm thinking 3 attack modes, then one frantic escape mode. After that, activating the modes takes more hits. I'd love a multiball, but one of the rules I gave myself on this build is not to change the physical elements of the playfield beyond what the new controller required. I really wish that there was another rollover in the loop, for example, and adding a locking post on the loop wouldn't be terribly hard.

#47 2 years ago

It sounds great with the amplifier!

20220219_153345 (resized).jpg20220219_153345 (resized).jpg

#48 2 years ago

I have been following along on your progress with this as motivation since you started this thread as I picked up a project Middle Earth last summer. I just got the boards back from being repaired last week. Happy to see I am not the only one trying to save these games.

#49 2 years ago

Added some voices to the system.

#50 2 years ago

This is so sick. Dick hamill was doing something about this, he reached out to me a coulle yrs back but i guess he never got the game so he could recode it.

How much did this all work out to?

There are 64 posts in this topic. You are on page 1 of 2.

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, subscribe to Pinside+!


This page was printed from https://pinside.com/pinball/forum/topic/middle-earth-rework and we tried optimising it for printing. Some page elements may have been deliberately hidden.

Scan the QR code on the left to jump to the URL this document was printed from.