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: What Type Of Resistor Is Needed?  (Read 2057 times)

0 Members and 1 Guest are viewing this topic.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
What Type Of Resistor Is Needed?
« on: July 15, 2007, 07:58:55 am »
What type of resistor will i need if i want to get a 12v current down to a 5v? I want to connect my credit board up to my I-PAC, but the credit requires a 12v supply, so i need to add a resistor to the wire that is connected to the I-PAC and the pulse input on the Credit Board, to get the 12v down to a 5v so it doesnt fry the I-PAC

Angry_Radish

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 521
  • Last login:October 24, 2020, 06:36:17 pm
Re: What Type Of Resistor Is Needed?
« Reply #1 on: July 15, 2007, 09:01:45 am »
I'd use a voltage regulator, not a resistor.
They are quite cheap at radioshack and other electronics stores.
 :cheers:

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: What Type Of Resistor Is Needed?
« Reply #2 on: July 15, 2007, 09:54:49 am »
You need to invert the signal as well as isolate 12V from 5V.  The ipac needs a ground to indicate a contact closure.

Use an NPN transistor and a 1000 ohm 1/4 watt resistor to make the following.


lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: What Type Of Resistor Is Needed?
« Reply #3 on: July 15, 2007, 10:29:49 am »
I only have a very basic skill in wiring and soldering. Can you use simpleton terms by any chance?

Angry_Radish

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 521
  • Last login:October 24, 2020, 06:36:17 pm
Re: What Type Of Resistor Is Needed?
« Reply #4 on: July 15, 2007, 10:41:02 am »
Doh, missed the pulse bit, tnx  :cheers:

You need to invert the signal as well as isolate 12V from 5V.  The ipac needs a ground to indicate a contact closure.

Use an NPN transistor and a 1000 ohm 1/4 watt resistor to make the following.



BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: What Type Of Resistor Is Needed?
« Reply #5 on: July 15, 2007, 11:16:23 am »
Those terms were about as basic as they get.  If you don't understand them you should probably not wire the circuit yourself.  Get someone to assist who has a basic electronics knowledge.

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: What Type Of Resistor Is Needed?
« Reply #6 on: July 15, 2007, 03:15:00 pm »
This is always a tricky subject because there are so many ways in which coin mechs and credit boards work. Most mechs and boards send a 12 volt signal and then drop to ground momentarily when a coin is inserted.
Also, most have an "open collector" type of signal which is not actually tied directly to 12 volts when there is no coin, but is allowed to float to 12 volts. This means its safe to connect to the I-PAC with a zener diode added for safety to prevent the voltage rising above 5. You will need a 5 volt (or 5.1 volt) zener diode.
There is a diagram on www.ultimarc.com/controldiags.html showing this.
The problem is, we don't know what your credit board sends exactly, but this is the most likely scenario.
Andy

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: What Type Of Resistor Is Needed?
« Reply #7 on: July 15, 2007, 05:22:23 pm »
You will have to verify what type of signal your coin unit provides.  If it is as Andy says then you will not need to invert the signal as the circuit I provided does.   As stated previously you need to have some electronic knowledge to sucessfully interface your coin unit.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: What Type Of Resistor Is Needed?
« Reply #8 on: July 16, 2007, 09:06:02 am »
So its the Coin Signal wire that goes to the Coin input on the I-PAC then? And the Coin Signal and Ground wires need to be connected together with a 5.1v zener diode, right?

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: What Type Of Resistor Is Needed?
« Reply #9 on: July 16, 2007, 09:08:52 am »
Thats correct, assuming its the type of signal I described. The diode needs to be the correct way around, see the diagram on www.ultimarc.com/controldiags.html
Andy

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: What Type Of Resistor Is Needed?
« Reply #10 on: July 17, 2007, 04:19:54 pm »
Well i took my multi-meter to the credit board and checked the coin pulse terminal when i inserted a coin, it was sitting at about 1.5 volts, and the drops slightly when inserting a credit, so i guess im ok without a resistor/zener diode

rockin_rick

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:May 27, 2017, 09:20:20 am
Re: What Type Of Resistor Is Needed?
« Reply #11 on: July 17, 2007, 07:42:10 pm »
You need to invert the signal as well as isolate 12V from 5V.  The ipac needs a ground to indicate a contact closure.

Use an NPN transistor and a 1000 ohm 1/4 watt resistor to make the following.



It doesn't sound as if you are going this direction, but for reference (perhaps someone else is remembering this circuit for some use), the circuit from BobA needs another resistor to limit the base current into that transistor.  So the 12V in would go through a current limiting resistor (say 10K ohms, 1/4W) then to the base of the transistor.  Connecting the 12V input directly to the transistor will allow the transistor to draw too much current, thus damaging it. 

Rick
If I do not respond to your post in a timely manner, feel free to PM me.

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: What Type Of Resistor Is Needed?
« Reply #12 on: July 17, 2007, 08:13:04 pm »
Thanks for pointing that out rockin_rick.   I had just used an opto isolator circuit then figured you didn't need the LED part of it and forgot to put the resistor into the base.   For isolation the opto is probably the best because there is not direct connection even with component breakdown.

I think I would still advise Lettuce to use the zener on the input to the ipac as Andy recommended.  1.5V falling to ground when tripped does not like a proper output for a credit board.


lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: What Type Of Resistor Is Needed?
« Reply #13 on: July 18, 2007, 07:08:41 am »
But if the voltage on the Coin pulse terminal doesnt exceed 5 volts do i really need to?, i would probably worry if it was near 5 volts but its not even half that. I had to set the multi-meter to 2000m on the DCV setting for it to even register a voltage, before that i had it set at 20 and didnt think the credit board was working as there was no reading.

The last credit board i had (Shefras Green Board) i used on an I-PAC for over 2 years without a problem, i think that was a really old credit board as is this one i think, so maybe its the older credit boards that drop down voltage on a coin insert?

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: What Type Of Resistor Is Needed?
« Reply #14 on: July 19, 2007, 05:39:00 am »
It sounds like you have an open-collector signal which has no pull-up. So this is fine to connect to the I-PAC directly, and the internal pull-up resistor in the I-PAC will pull it to 5 volts with no coin.
Andy

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: What Type Of Resistor Is Needed?
« Reply #15 on: July 19, 2007, 07:59:34 am »
What Andy says.  He is the expert on the ipac.