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: Wiring sensors that require power?  (Read 1010 times)

0 Members and 1 Guest are viewing this topic.

thatpurplestuff

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 670
  • Last login:May 10, 2025, 02:37:15 pm
Wiring sensors that require power?
« on: April 01, 2014, 11:32:14 pm »
I'm playing with a couple of ideas regarding digital sensors in my Skeeball machine and these Sharp Digital Distance Sensors http://www.pololu.com/product/1134 are one option that I'm floating around.  I've done a lot of reading and think I've got a basic understanding of wiring possibilities for these sensors, but I'm still not positive that I understand correctly.  I've mocked up a couple of diagrams of circuits that I think would work.

First, here's what I think(?) is a functional parallel circuit:

On this circuit, would it also work to run each ground individually back to the LEDwiz GND instead of stringing them together?  Is the above image technically a series circuit because the ground wires are all connected in a series?

Second, here's what I think(?) is a functional series circuit:


If both of these examples would actually work, would either of them be better than the other?  My main concern is that I've really only wired LEDs and standard button switches... I've never wired anything that requires power that also has an output and it seemed strange to me to have both the voltage and the output share the same ground.  I sincerely appreciate any help you guys could provide!  Thanks in advance!
« Last Edit: April 01, 2014, 11:44:41 pm by thatpurplestuff »

So once again, we find that evil of the past seeps into the present like salad dressing through cheap wax paper, mixing memory and desire.

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost
Re: Wiring sensors that require power?
« Reply #1 on: April 01, 2014, 11:42:10 pm »
Both of those circuits are parallel.
I don't see any problems with wiring either way, although the second one might be neater.
Also, make sure your sensor switches the output (blue wire) to the ground (black wire) when activated.
I cant tell by looking at them, but some sensors switch the positive to the output.

Edit, if these sensors switch the positive to the output when activated, you can add a couple of quad inverter chips to flip the signal back to what the GP Wiz needs.
« Last Edit: April 01, 2014, 11:48:33 pm by DaOld Man »

ed12

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3972
  • Last login:March 31, 2018, 03:44:39 pm
  • it is what it is..."Nobody Said It Was Easy"....
Re: Wiring sensors that require power?
« Reply #2 on: April 02, 2014, 12:12:42 am »
there is a builtin digital switch
note the arrow's
1=nor logic
1=nand logic
we use nor logic >ground<
both way's would be fine

ed
Shipping something from the U.S. to Canada for repair/exchange?  Please use USPS to avoid (additional?/excessive?) shipping charges.  PM me if you have any questions.

thatpurplestuff

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 670
  • Last login:May 10, 2025, 02:37:15 pm
Re: Wiring sensors that require power?
« Reply #3 on: April 02, 2014, 06:26:00 pm »
Ahh thank you guys for the clarification.  Obviously I still have some learning to do regarding circuits but at least I know I'm going in the right direction haha

So once again, we find that evil of the past seeps into the present like salad dressing through cheap wax paper, mixing memory and desire.