Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Q-bert controls software asjustment ?  (Read 12424 times)

0 Members and 1 Guest are viewing this topic.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Q-bert controls software asjustment ?
« on: May 25, 2006, 02:38:34 pm »
I know some people have a dedicated 4 way stick that they turned 45 degrees to play Q-bert. Isn't there a software way to "translate" the diagonal signals of an 8 way stick to the correct signals for Q-bert ? I know it can't be done by keyboard settings in mame (or can it ?) Please, no discussion about wether this is the "real thing" or not....just the software part please  :D



ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Q-bert controls software asjustment ?
« Reply #1 on: May 25, 2006, 02:46:30 pm »
It can be done in MAME.  Just point your joystick down and left at the same time when mapping an input and MAME should register "DOWN+LEFT" for example.  Works pretty well actually.

dpz147

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 129
  • Last login:March 18, 2020, 11:49:34 am
Re: Q-bert controls software asjustment ?
« Reply #2 on: May 25, 2006, 02:52:43 pm »
It can be done in MAME.  Just point your joystick down and left at the same time when mapping an input and MAME should register "DOWN+LEFT" for example.  Works pretty well actually.

Would you have to use an 8-way for that?  I have p360's and I would think the one set in 4-way mode wouldn't register "down+left"?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Q-bert controls software asjustment ?
« Reply #3 on: May 25, 2006, 02:57:07 pm »
Hmmm, I'm not sure as I don't have a P360 (unfortunately).  But I'm guessing you're right -- it wouldn't work if the 4-way mode prevents both down and left signals simultaneously.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #4 on: May 25, 2006, 03:07:15 pm »
Of course it has to be in 8 way mode. Else the P360 will not put out the diagonals. I'm actualy asking this since I want to use it with my Suzo Inductive. From the joysticks controller (I-pac/J-pac, whatever) point of view, these are the same.

However, I now also understand the problem. What does Q-bert do when you hit a up, left, right or left ONLY, instead of the diagonals ? You need to disable or filter out these signals. THAT is the problem  :D

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #5 on: May 25, 2006, 03:11:41 pm »
You don't need to disable or filter out anything.  Just do what ahofle said or map it in the cfg yourself.  Use the search as others have done the same.


ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Q-bert controls software asjustment ?
« Reply #6 on: May 25, 2006, 03:14:24 pm »
Well it's not ideal (nothing is other than a 4 way restricted joystick in 45 degree orientation) but it works.  And as 2600 pointed out, you don't need to "filter" anything out.  If you press only LEFT, nothing happens.  Anyway, you said yourself "no discussion about wether this is the "real thing" or not."   ;D
« Last Edit: May 25, 2006, 03:16:16 pm by ahofle »

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #7 on: May 25, 2006, 04:11:03 pm »
Thanks guys, it works and I'm a bit ashamed I didn't figure this out myself  :banghead:

It's certainly playable with an Inductive. The advantage with this stick is you have the same resistance whatever way you push it.... But I can see how a real 4-way could be better here. I never felt the need for it playing other 4 way games like Ms.Pac Man or DK etc.

Why didn't anyone sample the sound of a knocker and put it up with the other samples for Q-bert ? Nothing can beat the real sound and feel of a real knocker of course, but my full HiFi system inside my cab would probably come pretty close :)

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Q-bert controls software asjustment ?
« Reply #8 on: May 25, 2006, 04:48:12 pm »
The MAME devs answer would probably be that it isn't "authentic" emulation.  ::)
Is this feature on the PowerMAME list?

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #9 on: May 25, 2006, 05:10:08 pm »
Don't know. It should. Even better, it should send out a signal to trigger a real knocker ! :) Could be done through the keyboard LED's IMHO

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Q-bert controls software asjustment ?
« Reply #10 on: May 25, 2006, 05:14:03 pm »
The keyboard LED flashing code in MAME has been broken since v0.105 (not kidding you like the DAY AFTER I finally got LEDs hooked up to my player 1 and 2 buttons).  :banghead:   :badmood:  :censored:

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #11 on: May 25, 2006, 05:46:27 pm »
On page two, close to the end of this thread there is discussion about how to install a real Qbert knocker using powermame and ledwiz.  It is going to be my next project.

http://forum.arcadecontrols.com/index.php?topic=50002.0
« Last Edit: May 25, 2006, 05:48:16 pm by juggle50 »

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: Q-bert controls software asjustment ?
« Reply #12 on: May 25, 2006, 06:04:11 pm »
Level42, do you mean like:

In Mame you can do this by making Mame accept only the diagonal directions. Here is an example for qbert:
Hit "Tab" and go down to "Input (this game)"
Go down to P1 Right and hit "Enter"
Now hit the down arrow then right after that hit the right arrow (it should say "Down Arrow Right Arrow" in just a couple seconds)
Now do the same for the other directions but use:
P1 Left:  Left Arrow Up Arrow
P1 Up:  Up Arrow Right Arrow
P1 Down:  Down Arrow Left Arrow

If you make a mistake, just select the line again and press "ESC" to reset the control to its normal key.

Once you have done this, qbert is tons of fun with an 8-way stick!

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #13 on: May 25, 2006, 06:47:41 pm »
Ahofle: THAT SUCKS !!!  :banghead: :banghead: Is it fixed in 1.06 ?

juggle50: That ROCKS !!! I definitly want that !!!

JustMichael: Exactly ! I figured out the directions myself by playing q-bert, and it works like a charm. I actualy had to get used to having to hit the "right" directions !
FYI, exactly the same settings work for Flip & Flop too. However, I've played this game a lot on my real Atari's and as far as I remember, it didn't work with the diagonals, but it also doesnt use the default directions that Mame uses. I need to figure this out with my Atari or an Emulator. Which is probably better for running this game any way no stupid money count-down........I seem to be drifting off sorry, but Flip & Flop is a bit like Q-bert ....
« Last Edit: May 25, 2006, 07:01:18 pm by Level42 »

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Q-bert controls software asjustment ?
« Reply #14 on: May 25, 2006, 07:03:43 pm »
Ahofle: THAT SUCKS !!!  :banghead: :banghead: Is it fixed in 1.06 ?

Nope it's still broken.  :(
I opened a bugreport on mametesters back when it happened, but I'm sure it isn't a priority for them.  I actually did a diff on the source code between v104 and v105 and saw some LED stuff that changed, but nothing that looked obviously wrong to me.  I really need to get a source environment and compiler setup.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #15 on: May 25, 2006, 07:10:47 pm »
Can Powermame rescue us ?

NoOne=NBA=

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2718
  • Last login:July 23, 2011, 08:59:16 am
  • Just Say No To Taito! -Nichibutsu
Re: Q-bert controls software asjustment ?
« Reply #16 on: May 25, 2006, 08:29:22 pm »
HERE is my obligatory cross-link for this, explaining how to set up the software.

The P-360 won't work optimally because it's not square-restricted.
The square restrictor guides the joystick to the corners, where it needs to be to trigger movement.

And here is the obligatory link to Q*MAME, which tells exactly how to set MAME up to use a Q*Bert knocker.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #17 on: May 26, 2006, 04:59:52 am »
HERE is my obligatory cross-link for this, explaining how to set up the software.

The P-360 won't work optimally because it's not square-restricted.
The square restrictor guides the joystick to the corners, where it needs to be to trigger movement.

And here is the obligatory link to Q*MAME, which tells exactly how to set MAME up to use a Q*Bert knocker.

 :notworthy: :notworthy: :notworthy: :notworthy:
So it's all been long done !  :cheers:
At least I had the right idea of using the Ipac LED's to control the knocker :)

Should be pretty easy to incorporate this feature into Powermame I guess !

Does it neccesarely have to be the A-5195 knocker ? I guess the sound is much more determined by what the knocker hits, instead of the knocker itself. That would finding a knocker a lot easier. The A-5195 coils are pretty well available but I couldnt find the knocker assembly anywhere.

So what does the knocker hit, simply the inside of your cab, or a piece of wood placed on the cab ?

I MUST have this :):)

NoOne=NBA=

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2718
  • Last login:July 23, 2011, 08:59:16 am
  • Just Say No To Taito! -Nichibutsu
Re: Q-bert controls software asjustment ?
« Reply #18 on: May 26, 2006, 07:12:21 pm »
I have no idea.

I'm guessing the guy that designed Q*MAME would know, if you emailed him.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #19 on: May 28, 2006, 05:26:08 am »
Hoped he might be around here, but of course I also mailed him....I'm on track for a knocker already :)

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #20 on: June 01, 2006, 02:58:18 pm »
I think if you are going to go the powermame route, using the LEDwiz is a better option than doing it through the I-pac.  I could be wrong but I believe powermame controls the LEDwiz not the Ipac.

You said you were on track to get that knocker.  Do you have any leads?  I'm looking for an assembly myself.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #21 on: June 06, 2006, 04:03:32 am »
Hi juggle50, got your PM also, but I was out for a couple of days.

Well, I've already got an I-Pac (or actualy a J-Pac) and I don't really want to buy a LEDwizz just for triggering the knocker.
Yes Powermame is the choice when you've got a LEDwiz but until know it does not support the Q*bert knocker afaik. It's not even on the proposed features list.

So, at least for now, to get the knocker knocking, you need Q*mame (check out the site that NoOne=NBA= mentioned).

I'm still on track, but not sure what to do. As soon as I know what I do I will let you all know and give contact details. There are a couple of options.

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #22 on: June 06, 2006, 09:59:37 am »
Actually, it's already been implemented in powerMame.  Check out this link.

http://www.unappliedbraincells.com/demos.htm

Download demo 3 "PowerMame running event based lighting sequence." and you can see the feature in action.

It is set up as a lighting feature, so when you plug the knocker into the ledwiz the ledwiz recognizes it as a light.

Reread page 2 of  this link.

http://forum.arcadecontrols.com/index.php?topic=50002.40

Sir Poonga even gives a diagram on how to attatch it to the Ledwiz to make it work using a relay and powersupply.

However, I understand that the led wiz is quite an expense for just one feature.  Please keep me posted if you have anymore leads on an extra knocker asembly.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #23 on: June 07, 2006, 02:55:09 pm »
Mmmmm, good thing I added "afaik" !!
I probably still need to go with the Qmame option, although I'd prefer Powermame so I would not need to use two different versions of mame.

Actualy, I had seen that video before ! But is that the real knocker we are hearing, or is it the sample ? Sounds more like the sample to me.

Assuming the knocker sound is sampled from a real cab, that sound is way off from what I associate to a knocker sound. I was more thinking of the sharp TOCK sound that you get from a pinball machine for an extra ball. This is also what I seem to remember from the real cab, but the last time I played an original was about 20 years ago....

The sample sounds more like a damped THWAK....I did read somewhere this is what the creator's wanted it to be, but couldn't realize it because of cost of manufacturing ?

But if this is the true Q*bert sound, how to realize this with a normal knocker ?

Basicaly both the Ledwizz and the J-pac use a LED output to trigger the knocker, so the electronics should be the same. I personaly feel more for Brad's solution using a transistor instead of a relais, basicaly because a relay is slow. However, Brad's way of connecting things introduce the risk of feeding back the 30 V into the J-pac or LEDwizz and maybe even your mobo, if you make a mistake in the wiring or f.i. the transistor blows.
I'm thinking of a solution using an optocoupler (or better opto-isolator) together with Brad's scheme. This will protect the J-pac/Led wizz and everything else.

I've found the exact knocker by the way, I'll PM you about it.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #24 on: June 08, 2006, 03:48:12 pm »
OK I found two sources for the knocker assemby:

www.pbresource.com ( I got that tip from someone here, don't remember who ?)

And this is what we're talking about:


You can find it under:
http://www.pbresource.com/hauntedhouse.html

Scroll down to cabinet parts.

I e-mailed Brad (the guy who made the first set-up and Qmame) and he confirmed this is exactly what he used.

However, Pinball Resource is not only "Keeping Pinball Affordable since 1977", it seems they also are stuck in 1977 since they don't accept Paypal or Credit Cards for international orders.....hello......it is 2006 !?!?! Global Market ?  Ah well...

So I mailed Todd at www.TNTamusement.com (since I was about to order two more Suzo Inductives anyway....) and he could also offer the same knocker. Don't know if that one is new, but he says it's the same as the pbresource one (I mailed him the link of the pic).
Not sure if TNT has more, but you can always try.
« Last Edit: June 08, 2006, 03:51:52 pm by Level42 »

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #25 on: June 09, 2006, 12:41:25 pm »
Level 42,  I just pmed you, thank you so much again.  This is going to be awesome.

You are right about the sound on that video clip.  I believe it is a sample and I don't think there is a knocker in that cab.  However, what's important is the lighting effect.  You can see the lights on the buttons flash when Q*bert jumps off and the knocker is supposed to fire.  In theory, when you plug the knocker into the ledWiz,  PowerMame and the LEDwiz won't distinguish the knocker from any other led, so it fires the knocker thinking it's an led.

Do you think there is any danger of power feeding back in  Sir Poonga's diagram.  I don't know much about that stuff and have never used a relay before.

Also, with the knocker, do you know if we will have to build a box for it?  Or does the knocker just hit itself?

Thanks again man

Kevin


Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Online Online
  • Posts: 4419
  • Last login:Today at 05:38:48 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re: Q-bert controls software asjustment ?
« Reply #26 on: June 09, 2006, 01:26:38 pm »
judging by the pic above, you will see that the 3 holes is for screwing the unit into (anywhere) inside the cab, and the the relay on the unit hit the metal piece. Thats all you need to do, just find a spot and screw the unit in. Some think that somehow where triggered, it hits the CABINET WOOD part, but the way that pic looks, it just hits the unit itself.
I aslo is thinking of adding a knocker inside that cab, but ATM, busy with other things...
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #27 on: June 09, 2006, 06:19:42 pm »
You are right about the sound on that video clip.  I believe it is a sample and I don't think there is a knocker in that cab.  However, what's important is the lighting effect.  You can see the lights on the buttons flash when Q*bert jumps off and the knocker is supposed to fire.  In theory, when you plug the knocker into the ledWiz,  PowerMame and the LEDwiz won't distinguish the knocker from any other led, so it fires the knocker thinking it's an led.
Yeah, but what happens when it triggers the LED's on other moments, in other games ? You need ONE LED output dedicated for the knocker only. It doesn't matter if it's the LEDwiz or the I-pac/J-pac. It's simply a matter of putting out +5 Volts at the right moment, for the right time.
Even so: What you see happening to the LED's on the panel when Q*bert dies, is that the LED's increase and decrease in intensity (reasonably fast, but still). You don't want this. We don't need an analogue signal, we want a direct full 5 Volts.

So, I wonder if this can actualy be done with the Ledwizz and powermame. You at least need to reserve one led output for only the knocker, and that light may not be triggered in any other game (except for Pinballs maybe). I also believe that timing is essential. It has to go at exactly the right moment to get the real "feel".

Do you think there is any danger of power feeding back in  Sir Poonga's diagram.  I don't know much about that stuff and have never used a relay before.
No there's no danger because the relay is the protecting part here. It seperates the knocker circuit from the LEDwizz or I-pac/J-pac circuit. I still don't want to use a relay though...

Also, with the knocker, do you know if we will have to build a box for it?  Or does the knocker just hit itself?
It does hit itself, but the shock (noise) is transfered from the metal bracket into the wood panel you mount it on. I bet there is almost no sound when you would trigger the knocker while it is not mounted. It
« Last Edit: June 09, 2006, 06:25:05 pm by Level42 »

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #28 on: June 09, 2006, 08:34:18 pm »
Yeah, I haven't played around with powermame a ton, but from what I understand you dedicate one led port on the ledwiz to the knocker and you set it up so the qbert effect in powermame only triggers that one port.  In the example, he only had his buttons light up, not his led joysticks.  I also saw the fade effect on the buttons and will have to play around so that doesn't happen.  I think that is an effect you add on top of the initial triggering of the led.

However, since I haven't actually built it yet I certainly can't verify what I'm talking about.   I will have do it first and report back.  If it doesn't work, I have a i-pac and can qmame it if necessary.

Cheers level

Kevin

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #29 on: June 10, 2006, 04:34:20 am »
It would be cool if it could be done with Powermame, since I prefer to use one version of mame. However, it looks like Powermame's development is coming to a halt...(see the Powermame section). which is a shame really.

My knocker is on it's way crossing the big water :)

Hey Kevin, maybe we should also get one of these:
http://www.iloveknockers.com/

;)

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #30 on: June 10, 2006, 11:05:18 am »
LOL,  yes we definately need to buy one of those after we're done.   Yeah,  I'm bummed about powermame too.  I don't really need it too much for the led features or the GP49 way stuff, but I was really excited about some of the proposed features on the wiki page.

I got my order confirmed and am sending a check today.  It will probably take me a little while to complete it as I have some real life junk to deal with, but let's be in contact.  I may need a little help with how to use the relay.

Kevin

koolmoecraig

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1433
  • Last login:April 05, 2014, 07:07:20 pm
    • My Intervention
Re: Q-bert controls software asjustment ?
« Reply #31 on: June 10, 2006, 05:11:17 pm »
My Q*bert post on here has a bunch of info regarding adding a knocker.

http://forum.arcadecontrols.com/index.php?topic=26333.0

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #32 on: June 11, 2006, 03:06:11 pm »
Thanks Cool,

Your cab is great.  I too am a fan of "tasteful" mameing.  Also, you asked a question about vertical daphne.  I'm sure you've probably built your "horizontal" cab by now, but the daphne devs are working on rotational features.  It should be ready in the near future.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:35:37 pm
  • The Bears Still Suck!
Re: Q-bert controls software asjustment ?
« Reply #33 on: June 14, 2006, 04:57:24 pm »
Ahhhh, this is why juggle has been PMing me, this thread.

I put a relay in my diagram because I don't know how transistors work.  For the purpose it is for I don't think the delay will be that bad, this isn't exactly a split timing thing.

I've been wanting to look at powermame to see how it triggers the knocker.  I've written the code to do it many times :)  I also want to see how qmame does it but the links on the site have been down for sometime.

I just haven't got around to buying all the parts needed.  Since the computer for my arcade cabinet isn't working right now it isn't a priority.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #34 on: June 16, 2006, 06:55:27 am »
Ahhhh, this is why juggle has been PMing me, this thread.

I put a relay in my diagram because I don't know how transistors work.  For the purpose it is for I don't think the delay will be that bad, this isn't exactly a split timing thing.

I've been wanting to look at powermame to see how it triggers the knocker.  I've written the code to do it many times :)  I also want to see how qmame does it but the links on the site have been down for sometime.

I just haven't got around to buying all the parts needed.  Since the computer for my arcade cabinet isn't working right now it isn't a priority.
Well, I'm not sure if the trigger pulse that is sent out to the LED by QMAME is long enough to move the relay.  I mailed Brad about how long that pulse is and let you know.

I'm working on an improved (safer) solution. Will post here asap

jcroach

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 444
  • Last login:March 01, 2012, 09:36:56 am
  • I'm a llama!
Re: Q-bert controls software asjustment ?
« Reply #35 on: June 16, 2006, 08:16:19 am »
Ahofle: THAT SUCKS !!!  :banghead: :banghead: Is it fixed in 1.06 ?

Nope it's still broken.  :(
I opened a bugreport on mametesters back when it happened, but I'm sure it isn't a priority for them.  I actually did a diff on the source code between v104 and v105 and saw some LED stuff that changed, but nothing that looked obviously wrong to me.  I really need to get a source environment and compiler setup.

Does this include the flashing Player 1 start and Player 2 start [Num Lock] and [Caps lock] LEDS
« Last Edit: June 16, 2006, 10:55:01 am by jcroach »

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #36 on: June 16, 2006, 09:04:12 am »
This is my idea on an improved schematic for the knocker driver. Although I'm an electronics service engineer, I normaly do not actualy design schematics so any help is welcome.

It's basicaly still the same thing Brad and John (from John's Retroarcade: http://www.johnsretroarcade.com/hardware_knocker.asp) designed, but I added the optoisolator because I don't think it's a safe thing to connect the 30 Volts of the knocker power supply to the I-Pac/J-Pac. I know it won't hurt normaly, but if anything goes wrong (wrond wiring, transistor blow up) you could be feeding the 30V into the J-pac's output.

By using the optoisolator, the I-pac/J=pac circuit and the knocker circuit are completely seperated from eachother electricaly.

I think this will work. I already found some optoisolators that can have the 30V on the collector, but need to see what's easily available.

The only worry I have is if there needs to be a current limiting resistor between the emitter of the optoisolator and the base of the darlington transistor.

Anyone ?
« Last Edit: June 16, 2006, 09:08:04 am by Level42 »

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:35:37 pm
  • The Bears Still Suck!
Re: Q-bert controls software asjustment ?
« Reply #37 on: June 16, 2006, 10:03:06 am »
Well, I'm not sure if the trigger pulse that is sent out to the LED by QMAME is long enough to move the relay.  I mailed Brad about how long that pulse is and let you know.
4 to 5 qbert clock cycles on my machine, assuming he is sending the signal on the state changes in the driver.
One could use a timer in mame to activate the the knocker to.
« Last Edit: June 16, 2006, 10:08:47 am by SirPoonga »

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Q-bert controls software asjustment ?
« Reply #38 on: June 16, 2006, 11:15:26 am »
Ahofle: THAT SUCKS !!!  :banghead: :banghead: Is it fixed in 1.06 ?

Nope it's still broken.  :(
I opened a bugreport on mametesters back when it happened, but I'm sure it isn't a priority for them.  I actually did a diff on the source code between v104 and v105 and saw some LED stuff that changed, but nothing that looked obviously wrong to me.  I really need to get a source environment and compiler setup.

Does this include the flashing Player 1 start and Player 2 start [Num Lock] and [Caps lock] LEDS

Yep, that's exactly what's broken.   :(

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:35:37 pm
  • The Bears Still Suck!
Re: Q-bert controls software asjustment ?
« Reply #39 on: June 16, 2006, 12:21:39 pm »
Actually, thinking about it, even though the solenoids are rated 27V doesn't that mean it takes 27V to trigger them?  So 30V is probably safe for them.  All you are doing is powering up a coil of wire to make an electromagnet.  I know someone recently asked me if a resiter is needed to knock 30V down to 27V.  This isn't a LED that will burn out quicker, just an electromagnet.

Level42, I like that design.  If you find the right parts I would probably go with that.  It would be a fast mechanism to.

jcroach

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 444
  • Last login:March 01, 2012, 09:36:56 am
  • I'm a llama!
Re: Q-bert controls software asjustment ?
« Reply #40 on: June 16, 2006, 01:09:53 pm »
Ahofle: THAT SUCKS !!!  :banghead: :banghead: Is it fixed in 1.06 ?

Nope it's still broken.  :(
I opened a bugreport on mametesters back when it happened, but I'm sure it isn't a priority for them.  I actually did a diff on the source code between v104 and v105 and saw some LED stuff that changed, but nothing that looked obviously wrong to me.  I really need to get a source environment and compiler setup.

Does this include the flashing Player 1 start and Player 2 start [Num Lock] and [Caps lock] LEDS

Yep, that's exactly what's broken.   :(

DAMN.  I just upgraded from 0.95 to 0.105  I'm going to have to find a copy of 0.104 or my atari volcano buttons are going to go to waste..............

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #41 on: June 16, 2006, 06:06:30 pm »
Actually, thinking about it, even though the solenoids are rated 27V doesn't that mean it takes 27V to trigger them?  So 30V is probably safe for them.  All you are doing is powering up a coil of wire to make an electromagnet.  I know someone recently asked me if a resiter is needed to knock 30V down to 27V.  This isn't a LED that will burn out quicker, just an electromagnet.

Level42, I like that design.  If you find the right parts I would probably go with that.  It would be a fast mechanism to.

Well, first: the 3 Volts more or less won't matter much. The coil is getting a very short pulse only. I bet it never actualy reaches the full 30/27 Volts but at those ratings 3 Volts doesn't really matter much, and indeed it's a coil getting the voltage, nothing very delicate. No need for resistors.

Indeed, this will be a lot faster then a relay, my feeling is a relay won't work because of the short pulse.

This is what Brad says in his e-mail to me:
______________________________________________________________
The triggering needs to last a mere fraction of a second.  A half second is
wayyyyy too long.  In my Q*MAME code, it is turning on the LED and turning
off without any delay at all.  It should be the least amount of time
possible.  I didn't want to use a relay because I thought it would be more
likely that a relay could get stuck in the ON position, which would not be
good.
______________________________________________________________


Thanks, I do hope it works though ;) Gotta build it first but the 30 Volts on the Base of the darlington (through the optoisolator) worries me a bit. I think it'll need a resisitor there.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #42 on: June 17, 2006, 03:49:12 pm »
I updated me design with an extra (much needed !!!) resistor. It's still a DESIGN only, not built yet and not tested !!!

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:35:37 pm
  • The Bears Still Suck!
Re: Q-bert controls software asjustment ?
« Reply #43 on: June 17, 2006, 11:32:18 pm »
I will definately go your route though if the signal in the real game which lasts that long can trigger a solenoid it can trigger a relay.  It's all electromagnets anyway:)

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #44 on: June 19, 2006, 01:02:16 am »
Nice work Level 42!!!  I don't have a clue what your diagram means as I am a Theatre Major/ Philosophy minor but it's clear you know your stuff and I feel a bit sheepish about trying to give you help before when you clearly know way more than I do.

So I'm a little confused now.  I would still like to try the set up using a ledwiz.  In your opinions (Sir Poonga and Level 42) should I or should I not use a relay?  And if I don't, what should I use instead.  I was kind of looking forward to the simplicity of the relay diagram as I don't feel comfortable building a board.

I ordered my resistors to knock the 30 volts down to 27 but it's pretty clear now that those won't be necessary so I won't worry soldering them on.

thank you for your help


SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:35:37 pm
  • The Bears Still Suck!
Re: Q-bert controls software asjustment ?
« Reply #45 on: June 19, 2006, 10:16:07 am »
Level42, why is the darlington in there?  Don;t we need to just switch the coil on and off.  Wouldn't the optisolator do that?

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #46 on: June 19, 2006, 11:00:30 am »
Level42, why is the darlington in there?  Don;t we need to just switch the coil on and off.  Wouldn't the optisolator do that?

I think it's because he is copying some designs and literally throwing an opto-isolator in there just in case.  As it is now, I think the circuit is going to risk blowing the darlington up and doesn't have the otpo really hooked up correctly anyways.  Also, the opto isn't spec'd so maybe it can't support enough current to drive the coil.

Level42, try keeping the topic to one thread and it may be easier to help.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #47 on: June 19, 2006, 11:14:24 am »
Level42, why is the darlington in there?  Don;t we need to just switch the coil on and off.  Wouldn't the optisolator do that?

No, the optoisolator will not be able to handle such high currents.
There actualy are optoisolators with darlingtons around, but none of those still have the specs of the 6N6044, else I would have gone that route.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #48 on: June 19, 2006, 01:19:16 pm »
Level42, why is the darlington in there?  Don;t we need to just switch the coil on and off.  Wouldn't the optisolator do that?

I think it's because he is copying some designs and literally throwing an opto-isolator in there just in case.  As it is now, I think the circuit is going to risk blowing the darlington up and doesn't have the otpo really hooked up correctly anyways.  Also, the opto isn't spec'd so maybe it can't support enough current to drive the coil.

Level42, try keeping the topic to one thread and it may be easier to help.

Mmmm.....the reason why the darlington is in there is that it was there in the original design by Brad (see http://members.cox.net/brado426/build.htm), which in itself is basicaly a copy of the original Q*bert's triggering circuit. You can read my reponse to SirPoonga for the reason why it is still needed in my diagram.

I've never claimed to invent something new here !!!!

I merely try to make the diagram a bit safer. The reasons why I "literally throw in" an optoisolator are already spelled out in this thread, but you don't seem to care to read it, so I'm not going to repeat them here.

So back to the facts:
Can you explain me why you think there is a risk of blowing up the darlington ?
Can you explain me why the opto isn't hooked up correctly and how should it be hooked up in your view ?

Again proof that you haven't read the full thread: The opto isn't spec'd because I don't know WHICH opto to use yet, BECAUSE I need to find one that can handle the voltage (the current is NOT the issue here, if you really understand anything about electronics, you know that the current through the base of the darlington is now limited by R2).

Any help is very much wanted and appreceated, but just posting some negative remarks without any facts WHAT is wrong in my design is not what I am calling help.

Just to be very clear: I am PROPOSING an improvement on an existing WORKING design. Build the design by Brad, and it will work. MY improved design is still theory only, not built and tested yet.


EDIT: attached the full jpg here, that may be a bit clearer than linking the image.
« Last Edit: June 19, 2006, 01:37:09 pm by Level42 »

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:35:37 pm
  • The Bears Still Suck!
Re: Q-bert controls software asjustment ?
« Reply #49 on: June 19, 2006, 01:43:42 pm »
Just to be very clear: I am PROPOSING an improvement on an existing WORKING design. Build the design by Brad, and it will work. MY improved design is still theory only, not built and tested yet.
I can follow a schematic, I can build from a schematic, I'm not good at coming up with circuit designs.

I see a couple of differences between the qmame design and yours.  Like fuse on opposite side and the added cap.  Why? 

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #50 on: June 19, 2006, 02:23:45 pm »
Hey SirPoonga,

That posting was in response of 2600's posting, not yours.

I'm in your league normaly, not the designer :) !

Those differences were copied from the diagram of John from John's Retro Arcade this site:
http://www.johnsretroarcade.com/hardware_knocker.asp

Read this page, it has a LOT of interesting info, like a patcher to give new versions of MAME the knocker triggering ability (don't know if it still works though !)

As John mentions on his site, this is actualy part of the original Q*bert diagram ! Hence the cap and the fuse placing.

I think it'll work fine without the cap. Must be some filtering or something, not really sure. The fuse is placed behind the coil of the knocker (looking from the 30V supply) in John's design and on the other side in Brad's design. It really doesn't matter, since the current is exactly the same on both sides so if it gets too high, the fuse will blow and disconnect it from the 30V from either side.

John also brings forward another important thing: the LED could be turned on for a longer period of time if the PC is in normal "PC" mode and you hit the caps lock. This will continuesly power the knocker and that's not a good thing to do. He included a switch to simply turn off the knocker alltogether. Crude but efficient.
« Last Edit: June 19, 2006, 02:33:26 pm by Level42 »

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:35:37 pm
  • The Bears Still Suck!
Re: Q-bert controls software asjustment ?
« Reply #51 on: June 19, 2006, 03:26:02 pm »
That posting was in response of 2600's posting, not yours.
Yep, I know :)

Quote
John also brings forward another important thing: the LED could be turned on for a longer period of time if the PC is in normal "PC" mode and you hit the caps lock. This will continuesly power the knocker and that's not a good thing to do. He included a switch to simply turn off the knocker alltogether. Crude but efficient.
Which is why I suggest using the LEDWiz  ;)  Don't want the LEDWiz for only a qbert knocker, use powermame or a frontend with controls.dat *sneaks a plug*.

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #52 on: June 19, 2006, 03:29:03 pm »
John's Retrocade tried to copy Q*bert Schematic, but I think he might of just misread the schematic slightly.  At least that's what it looks like. The knocker circuit spans multiple pages and if you put it all together it goes left to right 30V ->fuse-> knocker-> Main board.  The fuse and knocker are on one page, the 30V is on another.

The .1 uF cap is for filtering, debouncing.  Why the QMAME's circuit doesn't have it I dunno.  It's not "required" just a better circuit design to include it.


Quote
1. Can you explain me why you think there is a risk of blowing up the darlington ?
2. Can you explain me why the opto isn't hooked up correctly and how should it be hooked up in your view ?

1. Your putting 30V onto the Base pin of the transistor.  Please, don't try to back that up with, I'm using a 33000000 Ohm resistor, that's just ugly.
2. You should pull the emitter of the opto down with a resistor.  When the circuit is off the Base pin of the Darlington should be 0 Volts not left floating.

Additions:
1. I'd put the fuse on the high side of the knocker.
2. The resistor on the driving side of the optoisolator should be spec'd when you pick the optoisolator, otherwise it's just an arbitrary number.

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #53 on: June 19, 2006, 08:07:31 pm »
Well, my knocker came today.  I got it, the 30 volt power supply and I don't have a clue what to do.  Should I give the relay a shot with the ledwiz or sit on it for a bit?


Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #54 on: June 20, 2006, 11:57:23 pm »
Sure as long as that relay can work on 5 volts and use very little current you could try it, what relay are you intending to use ?

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #55 on: June 21, 2006, 01:24:06 am »
Thanks for the reply Level.  I was going to use this one.  I've never used a relay before, but I think this is the one that sir poonga recomended.  Did your knocker arrive?

http://www.radioshack.com/product/index.jsp?productId=2062478&cp

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:Yesterday at 11:35:37 pm
  • The Bears Still Suck!
Re: Q-bert controls software asjustment ?
« Reply #56 on: June 21, 2006, 01:37:42 am »
I think this is the one that sir poonga recomended.
I will tell you why I recommend it, I hope I am reading this correctly.  Someone can correct me if I am wrong.

It seems like it takes 5V/1A it activate.  The switched side can take 60V.  Not sure if the amps is good though.

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #57 on: June 21, 2006, 08:18:44 am »
Juggle50,

You need a diode across the relay and you should get a fuse as well.

When setting up and testing DO NOT hook up the knocker, or anything on the output of the relay for that matter.  You will be able to hear the relay.  You need to get the relay to ONLY trigger when you need it to, a quick on-off.  You DO NOT want it to go "rat a tat tat".  This will require testing and a little patience.

The relay is fast, but may be a bit weak and a it's a little fragile.  It only takes a few milliamp to activate it, like 20ma.  I think they might have some information wrong on their site or I'm misreading it..  It can only handle .5 Amp or 10Watts and you are probably going to go over that.  Doubt it would kill it initially, but it will shorten it's life span.  I think they have a better one for like $5.  Not much info on it though.
http://www.radioshack.com/product/index.jsp?productId=2062480&cp

Really busy sorry can't help more.


juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #58 on: June 21, 2006, 04:05:06 pm »
Hmmm,  I know nothing of diodes and barely understand relays.  I just did a little research.  Am I correct in saying that the purpose of the diode is to restrict the current to only one direction so current does not flow back into my ledwiz?

Is the purpose of the fuse so that the relay will not get blown?

I know it isn't anyone's job to hold my hand, but if you would be so kind as to reccomend a type of fuse and diode and maybe draw up a little circuit diagram for a moron.  I would greatly appreciate it.  This project got a little more out of my league than I first expected.

Let me know if the general consensus is that a relay would be too slow, if there are alternate routes to get the project to work with a ledwiz

Thank you again for all your help Poonga, 2600 & Level, I'm learning a lot.

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #59 on: June 21, 2006, 05:08:03 pm »
The purpose of the fuse is protect the knocker.  If the relay does get stuck or something then you want the fuse to blow before your knocker does.  Connect it just like a real Q*Bert does and use what everyone else does. 

The diode protects the relay itself from a short life and also other devices. Off the top of my head 1N4001 should be fine, I think.  The coil should have a diode as well just in case you want to check.

I don't think the speed of the relay will be your problem.

Don't have time to draw it up right now.  Try to draw it yourelf and myself and others can try to comment.  Don't forget to test the circuit without the knocker connected.


juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #60 on: June 21, 2006, 08:44:06 pm »
Okay guys, how's this.  It's the same as poonga's with the addition of the diode and fuse.  However, I think by drawing it I've got a better understanding of how the relay works.  Correct me if I'm wrong, but doesn't the positive current just pass through the relay which completes the circuit electromagnetically when switched on by the led wiz?

Also, what device would I use to test the circuit without the knocker?  And finally, because my ledwiz is quite hard to easily access, can I hook up a 4.8 volt battery pack with a switch and manually turn on the circuit to simulate the led wiz in order to test everything?

Thanks again fellas.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #61 on: June 26, 2006, 02:16:01 pm »
Hey Juggle, yes in theory this should work. You don't need to actualy connect another device then the knocker to test the circuit, you should hear the relay clicking when triggered.

You can do the battery thing, but run it without the knocker attatched. OR don't use a switch, but very momentarely touch the plus side of the terminal of the battery with a wire to simulate the trigger pulse.

To 2600: yous comments seem correct to me. (Those are cunstructive comments :) ) Sorry for my harsh reply earlier. I wonder if we can two more resistors to devide the voltage so we can bring it down to a safe voltage for the Vbe.

Alternatively, something like a 7805 could work, but you can't put 30V directly into that....

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #62 on: June 26, 2006, 02:48:56 pm »
Woops forgot about this thread, been busy.

Juggle, the diode should be across the + and - that is in between the LEDWIZ and Relay.
The other part looks fine if I am reading your drawing correctly.


Level42, Datasheet says you can feed 35V into an LM7805, but regulating down to 5V it's going to get hot.  The question is do you need to isolate the power?  You are isolating the IPAC, do you need to isolate the power or protect it or none of the above?


Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #63 on: June 26, 2006, 02:57:26 pm »
Wrong again...sorry...
« Last Edit: June 26, 2006, 03:56:20 pm by Level42 »

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #64 on: June 26, 2006, 05:43:57 pm »
Does that mean that I need two diodes?  One for the + and one for the - going from the ledwiz to the relay? 

Right now I'm playing around with lsq files and lwa files in powermame to isolate the ledwiz port so only the knocker fires and not everything else in when qbert falls off.

What is everyone else using for the fuse.  I'm going to buy all that stuff this week.

Thanks for your help guys.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #65 on: June 27, 2006, 12:57:15 pm »
Level42, Datasheet says you can feed 35V into an LM7805, but regulating down to 5V it's going to get hot.  The question is do you need to isolate the power?  You are isolating the IPAC, do you need to isolate the power or protect it or none of the above?

Yeah the 35V is an absolute maximum and normaly you would put max about 20V into a 7805. Not needed for isolating, just for lowering the Vbe voltage. However, in theory this can also be done with a simple voltage divider using resistors.

Forgive my persistance, but I want to see if I can learn a little from this too....here's my last attempt, 2600 please review and let me know what you think.

R3 (10k) and R4 (1k)  work as the voltage devider. There should be a little less then 3 Volts on Vbe this way. I've lowered R2 to 20k, since the base current will be already running through R3 which is 10k, so 10k+20k is 30k which should give a safe base current.

Although I don't see the need for it, R3 and R4 should also work as pull down resistors as you suggest.

Fire at will !!! If this is all wrong again, I'll stick to Brad's original design :)

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #66 on: June 27, 2006, 04:40:08 pm »
Does that mean that I need two diodes?  One for the + and one for the - going from the ledwiz to the relay? 


See here.

http://www.kpsec.freeuk.com/components/relay.htm

The diode goes across the +/-.

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #67 on: June 27, 2006, 05:03:12 pm »
Level42, Datasheet says you can feed 35V into an LM7805, but regulating down to 5V it's going to get hot.  The question is do you need to isolate the power?  You are isolating the IPAC, do you need to isolate the power or protect it or none of the above?

Yeah the 35V is an absolute maximum and normaly you would put max about 20V into a 7805. Not needed for isolating, just for lowering the Vbe voltage. However, in theory this can also be done with a simple voltage divider using resistors.

Forgive my persistance, but I want to see if I can learn a little from this too....here's my last attempt, 2600 please review and let me know what you think.

R3 (10k) and R4 (1k)  work as the voltage devider. There should be a little less then 3 Volts on Vbe this way. I've lowered R2 to 20k, since the base current will be already running through R3 which is 10k, so 10k+20k is 30k which should give a safe base current.

Although I don't see the need for it, R3 and R4 should also work as pull down resistors as you suggest.

Fire at will !!! If this is all wrong again, I'll stick to Brad's original design :)

Sorry, but no.  Your problem is trying to use a voltage divider.  That's why I asked my original question.  Do you have to use the 30V supply?  Do you require isolation from your other voltage supply, ie IPAC, PC?

But don't just listen to me, there are a lot of good people here.




Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #68 on: June 28, 2006, 05:17:08 pm »
Well basicaly, that is what introducing the optoisolator was all about. Using the power on the PC/Ledwiz/I-pac side would still couple that with the 30V and the idea was to make an electrical seperation between those.

So then the optoisolator is totaly unneccesary and complicating things and we could better use Brad's original diagram.

Still haven't received the knocker by the way !  :angry: :cry: :banghead: :badmood: :hissy:

2600

  • Trade Count: (+7)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1630
  • Last login:June 05, 2017, 10:20:56 am
  • I want my own arcade controls!
Re: Q-bert controls software asjustment ?
« Reply #69 on: June 28, 2006, 07:41:47 pm »
You can use an isolated DC-DC converter powered off the 5v line.

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #70 on: June 30, 2006, 02:13:06 am »
Okay, I think I get it now.  The protection diode should look like the one on my  knocker right.  How is this new diagram.  Also, is this the right fuse

http://www.radioshack.com/product/index.jsp?productId=2102747&cp

This might sound really moronic but do you solder the fuse on there or do you get some type of fuse holder?

« Last Edit: June 30, 2006, 02:20:13 am by juggle50 »

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #71 on: June 30, 2006, 03:58:21 am »
Yes the diode on the knocker is actualy performing the same function. A relay and a knocker both use coils and have more or less the same charcteristics.

That fuse is fine. Use this http://www.radioshack.com/product/index.jsp?productId=2102786&cp=&pg=4&origkw=fuseholder&kw=fuseholder&parentPage=search
fusholder. Fuses have the possibility to blow out (that's what they're for) and you want to easily replace it if that happens. Even if you get it soldered (probably not, the metal on those caps is probably very solder-unfriendly it would be very clumsy.

I don't think your diagram is fully correct I don't really understand your plus signs...I'll draw a new diagram tha should work in my next posting.

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #72 on: June 30, 2006, 06:02:02 am »
While drawing the diagram I was thinking of this:

Juggle, what relay are you gonna use ? You have to keep in mind the current drawn by the relay. The ledwizz is intended for supplying enough current for LEDs. Those use very little current (let's say 20 mA). The relay suggested by 2600 is using 90 mA f.i. It could be fine, but better be safe then sorry !

I checked the manual of the Ledwizz on GGG's site, but it doesn't say anything about how much current each port can deliver. There is a remark about the TOTAL current drawn though. Don't know if you also use your LEDwizz for driving lots of leds (probably, why else would you buy it) but if the total current is over 500 mA you must use seperate wiring for the +5 V (see the manual).

Check with RandyT of GGG how much current each port can deliver before proceeding.


Anyway, here's the diagram I made. Be aware that the knocker already has a diode on board. When you look at the diode there is a line at one side of the diode. This corresponds with the line of the symbol in the diagram. In this application (!) the wire of the diode that is closes to the line should be connected to the PLUS side.

It's so hard to explain through text only :S Hope you understand. It is essential to wire up the diodes correctly.

To confuse you even more: some relays already have a diode built-in. check with the supplier. However, it doesn't hurt to have two diodes....

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #73 on: July 01, 2006, 08:59:30 pm »
Thanks Level 42,

I think I understand your diagram.  Thank you for taking the time to do that.  I would like to learn how to read those better.  Am I right in saying that the negative wire from the power supply goes directly to the knocker and the positive passes through the relay so it can break/ complete the circuit?

That is a good question about the Ma's coming from the ledwiz.  I will PM Randy today.  I actually only have a few led's in my cab which is why I thought about this project origionally.  I wanted more out of my ledWiz.   :) 

Unfortunately this project will move pretty slowly in the next few months as work starts picking up this week.  So I will be reporting progress rather slowly.

Thanks again Level


Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #74 on: July 02, 2006, 05:46:18 pm »
Hey Juggle, you're welcome !

Yes, you understand it correctly. So it's the plus of the 30V supply going to one side of the fuse (doesn't matter which side), the other side of the fuse (or better: fuseholder) is going to the common (C) contact of the relay. The NO (Normaly Open) contact of the relay is than wired to the plus side of the knocker (did you get what side of the diode that is ?). Then the other side of the knocker is wired straight to the - side of the 30V supply.

Well, it's going to be some time here as well, since some guy at tntamusements accidently sent my knocker by ship......... :(  Well at least they're honest enought to admit it AND they refunded me the difference in shipping costs right away, so I still believe tntamusements is a great company to deal with.

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #75 on: July 03, 2006, 03:25:44 pm »
I gotcha,

So the fuse is between the power supply and the relay on the positive, rather than between the relay and the knocker on the positive as it is in my diagram.  That is a big help.

I talked to Randy and the MA output is 500ma's total if you are using the power from the usb or 500ma's per port if you wire the power directly from the Computer Power supply to the LedWiz.  So that should work just fine. 

Also, I created a new qbert.lsq for powermame which will isolate the port outputing the 5 volts to the relay.  It wasn't too hard to figure out, just had to get more familiar with both powermame and LedWiz lsq files.

Oh yeah, does anybody know if the sound of the knocker that plays in MAME (or powermame) can be switched off?  I couldn't find away to do that.  Or would it play on the original game?I can't remember.

I'll order the relays, fuse, fuse holder and diode today. (probably several just in case I  I make a mistake.) 

Level, that sucks that yours got put on a boat.  If it never arrives let me know and I can order one for you from that Pinball supplier that I bought mine from.

Lastly, thanks for your help on telling me which way all the wires go to the relay.  I'll probably need some more help with that but I was going to wait to ask anything until I got all the parts.

Talk to you soon fellas


Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #76 on: July 07, 2006, 04:02:37 pm »
Sure thing, about the knocker sound, cant you simply delete the sample file ?

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #77 on: July 16, 2006, 04:27:34 pm »
Finaly received my knocker !!!! It's exactly the right one.  I tested it with 2 12Volt batteries in series (so about 24 Volts). I've experimented a bit with it, and I'm convinced that this thing needs a box to sound as good as possible. Tried it on a side of my cab, but this doesn't give a low sound. I tried it on a small shoebox and it sounded amazingly good !

Anyone with a real Q*bert cab that can tell us how this is built into the original ?

juggle50

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 18, 2024, 07:25:48 am
  • Your either on the bus or off the bus
Re: Q-bert controls software asjustment ?
« Reply #78 on: July 17, 2006, 07:59:47 pm »
Hey Level,

I'm glad to hear that  your knocker finally came, that is awesome!!!!  My radio shack stuff came the other day as well although I'm so busy right now I don't know when I'll have time to experiment.  :(  I haven't had a chance to play around with the artifical qbert sount in PowerMame.  PowerMame does not have a samples folder, which leads me to believe the sound is in the rom.  Again, I'll have to put more time into investigating.

As far as the box for the knocker, I don't know how the origional was set up, but have you tried mounting it  in one of the bottom cornors of your cab so that the rubber piece on the very bottom of the knocker is touching the bottom of the cab?  I saw a picture of it mounted that way in a cab, however the picture was of a mame machine not an origional qbert cab.  It may resinate more if it is mounted to the bottom..

Also, I've got the relay and am confident I have found the COM pin and the NO pin.  However, I'm a little confused about the + and -  pins that will be wired to the ledwiz.  It isn't clear which is supposed to be wired to the positive and which is supposed to be wired to the negative.  Does it matter as long as I have the diode going the right way?

Anyway, stoked that your stuff came.


Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #79 on: July 18, 2006, 01:37:19 am »
Thx Juggle,

No the coil of the relay doesn't have a + or - side. It doesn't matter which way you connect it. (Unless there's a built-in diode, but that is normaly not the case). Are there any markings like C or something on the other pins ? Then those are the coil connections.

I will get my electronics stuff this week and will report back. Think I will first set it up like Brad has done it. If that will work, I still will see if my design has any chance on working. I will check with some electronics guys.

melarky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 468
  • Last login:July 12, 2020, 12:49:22 pm
  • If I could be any animal, I would be a llama
Re: Q-bert controls software asjustment ?
« Reply #80 on: July 18, 2006, 05:17:51 pm »
Level42, do you mean like:

In Mame you can do this by making Mame accept only the diagonal directions. Here is an example for qbert:
Hit "Tab" and go down to "Input (this game)"
Go down to P1 Right and hit "Enter"
Now hit the down arrow then right after that hit the right arrow (it should say "Down Arrow Right Arrow" in just a couple seconds)
Now do the same for the other directions but use:
P1 Left:  Left Arrow Up Arrow
P1 Up:  Up Arrow Right Arrow
P1 Down:  Down Arrow Left Arrow

If you make a mistake, just select the line again and press "ESC" to reset the control to its normal key.

Once you have done this, qbert is tons of fun with an 8-way stick!

I just tried this, and it doesn't seem quite right.  Are you sure you have the correct values listed (P1 Down: Down Arrow Left Arrow etc...)?

Level42

  • Wiki Contributor
  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5965
  • Last login:November 13, 2018, 01:56:39 am
  • A Suzo stick is a joy forever...
Re: Q-bert controls software asjustment ?
« Reply #81 on: August 07, 2006, 07:51:51 am »
Just wanted to let everyone who is interested in this is probably also intersted in this:

http://forum.arcadecontrols.com/index.php?topic=56568.msg555969#msg555969

NoOne=NBA=

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2718
  • Last login:July 23, 2011, 08:59:16 am
  • Just Say No To Taito! -Nichibutsu
Re: Q-bert controls software asjustment ?
« Reply #82 on: August 07, 2006, 09:12:42 pm »
I just tried this, and it doesn't seem quite right.  Are you sure you have the correct values listed (P1 Down: Down Arrow Left Arrow etc...)?

It's right.