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: PC Engine 6 button controller  (Read 14872 times)

0 Members and 1 Guest are viewing this topic.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
PC Engine 6 button controller
« on: April 25, 2023, 08:59:37 am »
So I've decided I'd like a 6 button controller/joystick for my PC Engine.  There's this schematic floating around online...



If anyone has any pointers for how to turn this into a PCB file I can have printed up, I'm all ears.  (Or, you know, if you'd like to do it for me and get some PCBs in return...  :dunno)

Anyway, KiCad installed....

 :cheers:
« Last Edit: December 12, 2023, 09:50:42 pm by pbj »

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3255
  • Last login:April 25, 2024, 06:33:53 pm
Re: PCB from schematic
« Reply #1 on: April 25, 2023, 10:33:22 am »
Osh Park is US-based (I think) and popular with hobbyists. They do very small lots for reasonable prices.

EasyEDA/JLCPCB is Chinese and they have an online editing tool that links your design through to the printing/factory. They do small lots at reasonable prices. You can also upload your own designs without using their online tools, as you prefer. Search for "pcb printing websites".

The 5 Best Free Online PCB Design Tools Every PCB Engineer Uses

PCB design isn't that hard but you need a lot of patience. It can even be kinda fun, if it works, you win! Lots more involved than just being able to read a schematic.

Check out my completed projects!


PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9405
  • Last login:Today at 10:18:34 am
  • Designated spam hunter
Re: PCB from schematic
« Reply #2 on: April 25, 2023, 01:41:44 pm »
If anyone has any pointers for how to turn this into a PCB file I can have printed up, I'm all ears.
I assume you'll be connecting regular buttons to the PCB instead of trying to use a gamepad-style conductive plunger to close button contacts on the PCB, right?

Given the size and complexity of the schematic, at a minimum this will be a two-layer PCB with plated through holes.

You might want to practice on an easier design like the the NES Arkanoid (Vaus) controller here or here.



One nice feature that baritonomarchetto included his 3-switch 4-position shifter decoder thread here is allowing the user to choose between 5.08 mm pitch screw terminals or 2.54 mm pitch screw terminals or Dupont pin headers for the button/switch connections.

 

Looking through the Sparkfun tutorial here and this video, it looks like there is a bit of a learning curve to KiCAD.




Scott

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #3 on: April 25, 2023, 10:23:19 pm »
Found this, which gets me partway there:



https://oshwlab.com/ptchnk/PCEngine_ControlBoard2P_V1.1_copy



I’ll do what I do best… register for a foreign forum and beg.

 :cheers:

bobbyb13

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1899
  • Last login:April 23, 2024, 02:59:55 am
  • I believe I may need an intervention
Re: PCB from schematic
« Reply #4 on: April 25, 2023, 10:46:16 pm »
This is cool.
I'm looking forward to understanding some meaningful part of how this all works before I'm toast.

And who could be a better steward on such a journey?!
Relax, all right? My old man is a television repairman, he's got this ultimate set of tools! I can fix it.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3255
  • Last login:April 25, 2024, 06:33:53 pm
Re: PCB from schematic
« Reply #5 on: April 25, 2023, 11:57:49 pm »
Give EasyEDA a go, is free. Try something dead-simple first. Recreate some of your sega game cartridge PCBs, something familiar yet useful like that. I see there are quite a few video tutorials around for it too.

EasyEDA has limitations, but it can do everything you need and gets you going pretty quickly. You can download your designs as files usable by the other platforms. Once you understand all the basics you can move onto something more advanced like Kicad.
Check out my completed projects!


PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9405
  • Last login:Today at 10:18:34 am
  • Designated spam hunter
Re: PCB from schematic
« Reply #6 on: April 26, 2023, 01:40:18 am »
Found this, which gets me partway there:

https://oshwlab.com/ptchnk/PCEngine_ControlBoard2P_V1.1_copy
Looks like this PCB is for the original PC Engine controller -- D-pad, 2 player buttons, Select, and Run. (no switches)



The schematic you posted earlier appears to be for a variation on the PC Engine Duo-RX "Arcade Pad 6" controller -- D-pad, 6 player buttons, Select, Run, and 7 switches. (schematic shows 4 switches)



Which controller type do you want?


Scott

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9405
  • Last login:Today at 10:18:34 am
  • Designated spam hunter
Re: PCB from schematic
« Reply #7 on: April 26, 2023, 03:14:32 am »
I’ll do what I do best… register for a foreign forum and beg.
What do you need to beg for?

Other the Single Inline Pack (SIP) 8x47k resistor pack (vertical 2nd row of 9 pads from the upper left), the components are pretty obvious and should be easy to source.

The inline resistor pack almost certainly contains "bussed resistors" like this one  or this one with the common (pin 1) marked with an "X" on the PCB. (see page 2 of the datasheet here for schematic)

 

On the PCB page you linked to, click on "Open in editor" under Design Drawing to view the layers of the board and connections by hovering over components, traces, or pads.
- You can also export a .zip file containing the Gerber files that are needed to fabricate the PCB using the "Fabrication--PCB Fabrication Files (Gerber)" menu entry.   ;D


Scott
« Last Edit: April 26, 2023, 03:22:25 am by PL1 »

bobbyb13

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1899
  • Last login:April 23, 2024, 02:59:55 am
  • I believe I may need an intervention
Re: PCB from schematic
« Reply #8 on: April 26, 2023, 04:06:22 am »
Well, ---steaming pile of meadow muffin----
I thought I would be able to follow along for longer than that-
 :dunno
Relax, all right? My old man is a television repairman, he's got this ultimate set of tools! I can fix it.

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #9 on: July 08, 2023, 03:24:18 pm »
I work as a PCB/Hardware design engineer these days and was bored last night... This should fit the 2 dollar 5x5cm 2-layer option on JLCPCB. Enjoy :cheers:




If anyone has any questions or finds a mistake, hit me up.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #10 on: July 08, 2023, 10:07:03 pm »
 :notworthy: :notworthy: :notworthy: :notworthy: :notworthy: :notworthy:

I’ve ordered 10 of them.

 :cheers:

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #11 on: July 14, 2023, 06:21:07 pm »
So, just because I like ruminating over silly purchases.

10 PCBs were $10 shipped from PCB Way.  I've done business with them in the past and it's always been a very smooth process.  I'm not entirely sure how they actually make any money off me but hey.

The required components from the PCBs cost about $40 all in shipped from Ali Express.  I have a million 0.1uF and 47uF 16V caps laying around from all the SEGA cartridges.




I bought 10 8 pin mini DIN cables from this person, they cut me a good deal (~$33 shipped).  The cables are 6 feet and not 10 which is disappointing but they do work perfectly with the PC Engine.

https://www.ebay.com/itm/385106570311

Seller took my best offer and I picked this up for $26 taxed and shipped:

https://www.ebay.com/itm/385364892973

I think it is a rebadged Qanba Drone.  I'll make it work.


So... $10 + $40.74 + $33 + $26.....  Yeah.  $110.  To play one game for 15 minutes.


 :banghead:

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3255
  • Last login:April 25, 2024, 06:33:53 pm
Re: PCB from schematic
« Reply #12 on: July 14, 2023, 07:16:10 pm »
The required components from the PCBs cost about $40 all in shipped from Ali Express.  I have a million 0.1uF and 47uF 16V caps laying around from all the SEGA cartridges.

Not bad for a small run.

Maybe not millions, but I also seem to have literally thousands of 0.1uF caps, both ceramic disc and monolithic  :laugh2:
Check out my completed projects!


mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #13 on: July 14, 2023, 07:42:00 pm »
I am liking the enthusiasm but as this is a prototype that may or may not have bugs in the design.. why would you not just order the parts for one or two units?

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3255
  • Last login:April 25, 2024, 06:33:53 pm
Re: PCB from schematic
« Reply #14 on: July 14, 2023, 08:51:01 pm »
With this kind of project, you may as well order parts for 10 or more because:

a) those are the minimum lots they are typically sold in online
b) once you factor in freight, there is almost no difference in total price
c) some parts can be easy to damage when installing - best to have ready replacements available.
d) all of the above applies to getting PCBs printed too: If you are getting one you may as well get 5 or 10
e) while you might want to redesign the PCB later, all the main parts should still be useful.
f) if you have parts for 10, you can make more for yourself or your mates

Another reason is that once you get into this sort of tinkering, having a range of commonly used parts at hand helps you to maintain momentum and complete projects, rather than letting them gather dust and become forgotten while you wait for stuff to arrive.

Check out my completed projects!


pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #15 on: July 14, 2023, 09:22:47 pm »
I am liking the enthusiasm but as this is a prototype that may or may not have bugs in the design.. why would you not just order the parts for one or two units?

Anything worth doing is worth overdoing.  The pcbs were the cheapest part of this project.  Obviously I assemble and test one and see how it goes.  The needed components won’t change.

Plus, I believe in you.

 :cheers:

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #16 on: July 20, 2023, 04:22:36 am »
PCBs are here…


mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #17 on: July 20, 2023, 02:44:22 pm »
Alrighty, let's overdo this shiz :afro:

Just remember the seperate grounds for I and II, plus the four SPDT switches for settings. If you don't care about those, just use a common ground and jumper a random setting.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #18 on: July 26, 2023, 03:49:07 pm »
Well, I assembled one.  When I first plug it in while a game is running, it will simultaneously send a down and I or II input to the console and then do nothing else.  Manually grounding each input gets no response beyond that initial pulse.   ???

I'll double check my cable.... so... many... wires...


mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #19 on: July 26, 2023, 04:15:04 pm »
Now comes the debugging magic time... Got pics of your wired boards?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #20 on: July 26, 2023, 04:58:26 pm »
So, I think I've jumped it to A mode, no turbo on I or II, and no slow motion.



I've been playing around with it some more.  If I ground out the Run input, then buttons I and II work properly when grounded to GI or GII.

Otherwise not getting any response.

(and I don't have a 47k ohm resistor laying around, oops, so that's why R2 is a cobbled monster)

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #21 on: July 26, 2023, 05:05:58 pm »
Maybe a better pic...



pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #22 on: July 26, 2023, 06:23:19 pm »
There’s another schematic floating around but I’m not sure he ever got it fully working





mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #23 on: July 27, 2023, 06:25:04 am »
The jumpers are correct as you stated.

Sanity checks:
  • I don't see all the solder joints flowing to the top. Are they all soldered down properly?
  • Did you put 100pF at C6 and not accidentally 100nF?
  • Are the 9 pin resistor arrays the right way around?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #24 on: July 27, 2023, 06:40:14 am »
Common pin is at the top on RN1 and RN3.  On the bottom of RN2.  I’ll double check the soldering and C6 value.

 :cheers:

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #25 on: July 27, 2023, 07:25:06 am »
This site says "switch that toggles between two-button controls (A mode) and six-button controls (B mode)".

You might get more response soldering the jumper to B mode :angel:

I see the 100 pf missing on your buy list so am suspicious of that one..
« Last Edit: July 27, 2023, 07:26:48 am by mourix »

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #26 on: July 27, 2023, 10:04:18 am »
Okay, took another look at it.  I didn't realize C6 was a different value.  I have a 100nF / 0.1uF capacitor there.  I'll get some of those 100pF ordered.

Put a toggle switch on A/B mode and soldered components on the top side of the board, too.  I'm noticing that the options menu will briefly show a 6 button controller plugged in, regardless of what that toggle switch is set to.


Edit - I removed C6 and tried the PCB with nothing in that slot.  Now it toggles back and forth between 2 and 6 button mode correctly in the options menu.  Definite progress.

 :cheers:


« Last Edit: July 27, 2023, 10:25:58 am by pbj »

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #27 on: July 27, 2023, 10:47:58 am »
Awesome! I was gonna say to remove it as it's just a basic filter on the clock line. What's the status on the inputs?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #28 on: July 27, 2023, 11:28:02 am »
Same behavior.  Controller pulses a down and button input when plugged in.  If I ground out the Run input, I can get buttons I and II to respond if I ground them to their respective inputs.


mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #29 on: July 27, 2023, 12:57:32 pm »
Alright. I would try to check the resistor arrays with your multimeter to really confirm they are good and the bussed ones have the common on dotted PCB pin.

I usually order these IC's for a few units on places like Mouser. Those ones on your board do look quite rough so I hope we did not get a recycled dud ruining your party.

Do you own an oscilloscope? This really is just a few multiplexers when you turn off the turbo stuff :embarassed:

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #30 on: July 27, 2023, 03:23:15 pm »
Did I get the correct arrays?  Here's what I ordered:

8P 330R A331J

https://www.aliexpress.us/item/3256804160893121.html

A09-473 47K

https://www.aliexpress.us/item/3256802285129102.html




mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #31 on: July 27, 2023, 04:21:09 pm »
Those seem fine at first glance but I'm afraid we are at the stage where stuff has to be measured to be sure of anything..

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #32 on: July 27, 2023, 04:39:03 pm »
So, I think I put in a bussed network array for the 330 Ohm RN2 and what I really needed was an exclusion/isolated array.

 :embarassed:

The only 330 Ohms I have laying around are huge flame proof stuff I probably bought to fix an amplifier or something.  Anyway, I'll get the right part ordered. 


mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #33 on: July 27, 2023, 04:48:20 pm »
I do see some random datasheets saying A is bussed now I looked once more. Wouldn't have spotted it from the ali listing tho.

Again, this is just a non critical series protection resistor pack. I think any resistor less than 1K you may have laying around would work fine as a quick confirmation test.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #34 on: July 27, 2023, 05:45:01 pm »
I pulled off that 8 pin bussed array and stuck in 4 220 Ohm resistors.  I've got up, down, left, and right now.  It's all getting so jumbled and overworked I may just start with a fresh board.   :lol

Anyway, that filter capacitor should arrive in the next day or two.  I think we're very close!

 :cheers:

EDIT:  Success!  I've gotten every input to fire in both 2 and 6 button mode.  I'm going to start over with a fresh board and proper components but the concept has been proven.



« Last Edit: July 27, 2023, 06:10:32 pm by pbj »

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #35 on: July 27, 2023, 06:43:09 pm »
Yesss! This makes me happy. Transatlantic troubleshouting worked somehow. Can't wait to see it finished :burgerking:

Now the final part is to test the turbo modes, but those are less critical.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #36 on: August 01, 2023, 06:00:28 pm »
Couldn't arouse any interest from a prolific video game blogger that's made controllers to play single games before... but I tried.

Here's my second swing at this.  I couldn't find a 330ohm isolated array at a decent price, so I went with 4 individual resistors on their side and heat shrink wrapped.  Otherwise else should be exactly according to spec.



Budai for scale.

 :cheers:

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #37 on: August 03, 2023, 02:34:01 pm »
Aww, well you did go all out. I like the finishing touches with the colored headers and heat shrinked resistors.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #38 on: August 04, 2023, 11:48:05 am »
Bought one of these....



It's some PS3/PC joystick called "RockSoul" and there's virtually no trace of it on the internet.  But some guy on ebay is selling them CIB for $25 shipped.



On the inside, it looks suspiciously like a stripped down Qanba Drone.




Anyway, snipped everything out of the joystick.  (who the hell needs a direct input controller?)  Left pigtail wires in case I wanted to restore it back.  Select and Run are wired to those two little buttons at the top right.  I - VI are in a SF2 layout.  The rightmost buttons will eventually be made into redundant Run/Select buttons for those "three button" PCE games.  I've got 16MM toggle buttons coming in the mail to fill those five holes.  That will cover mode, slow motion, and turbo I and turbo II

So everything is working great for SF2, but I'm having some weird, weird issues with the PCB.  Basically when I plug it in, it's throwing a Select input at the console.  And seems to do so randomly.  If I boot it up into CD mode, it goes to the memory management screen and I can't get out of it.  I can't control my Everdrive clone menu with it.  But I can hit select to start the most recently loaded game.  When I play Strip Fighter 2, I can control the menus and character select screens perfectly.  In an actual fight, my character does nothing.  But I can pause!

Not entirely sure what's going on.  Perhaps a ceramic capacitor between select and ground?







mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #39 on: August 08, 2023, 03:19:47 am »
Looking really nice, just a shame with the input situation. I guess double checking every component and even measuring the bussed resistor pack is the start.

What test equipment do you own? I would order a PCB to try it myself but I don't own a PC Engine...

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #40 on: August 11, 2023, 06:39:40 pm »
I have a Fluke multimeter and THAT IS IT.   :lol

Been out of town this week, I'll dink around with this some more in the next few days.  I am borderline tempted to buy a PC Engine and have it sent to you.  All reason has left the building on this quest.   :lol

They're not all that expensive, though, and the flashcart will set you back about $30 USD. 

 :dunno

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #41 on: August 15, 2023, 09:44:38 am »
I'll leave it up to you, haha. This is a bit of fun for me too so I don't mind ordering some PCB's as well.

My problem is PC engines being incredibly rare in The Netherlands so I'd have to import one from Japan which means big dollars.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14000
  • Last login:Today at 09:19:47 am
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: PCB from schematic
« Reply #42 on: August 16, 2023, 07:16:44 am »
https://www.ebay.com/itm/385894281500

$125 free shipping and it comes with a game.
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PCB from schematic
« Reply #43 on: August 16, 2023, 11:11:09 am »
I'll leave it up to you, haha. This is a bit of fun for me too so I don't mind ordering some PCB's as well.

My problem is PC engines being incredibly rare in The Netherlands so I'd have to import one from Japan which means big dollars.

videogames are quite the opposite in japan. the market is so saturated with used games and systems that they can be had so so SOOOO cheap. there are shops where you can literally buy used snes games loose for under 1000 yen (about 6 bucks USD) each.

i can find tons of copies of the Japanese version of banjo kazooie for just over 10 bucks WITH free shipping. same game, north America version is topping 60 with shipping on top of that. call it 80.

hit up ebay. you can get pc engine... japan console... with controller and power supply with everything tested guaranteed working... 100 bucks.

NA "turbographics 16" system seller... untested, only console. nothing but the system so... probably broken and needs repair... for 250 with the shipping on top of that. (depending where you are could be about 50 bucks more.)

even with netherland bucks conversion, japanese consoles are still dirt cheap.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #44 on: August 16, 2023, 12:16:50 pm »
Well, TG16 was dead on arrival in the US, so it's going to be QMG LQQK R@RE no matter what you do.  That being said, my last several systems (SNES, Saturn, Dreamcast, Neo Geo, Neo Geo CD, PC Engine) have all been Japanese because nowadays it doesn't make any difference and they were a lot cheaper.  I wasn't really impressed with my experience using a Yahoo Auctions Japan broker.  Buyee?  Some BS like that.  I bought a bunch of PC Engine stuff and they pulled something like $350 out of my bank account for shipping without approval.  After my bank dealt with that fraudulent behavior it was all "forgiveness please, we can ship it FedEx for $80."  I hope they're enjoying that pallet of PC Engines in their warehouse.

I just stick to ebay these days.  Same sellers and auctions anyway.


Back on topic - I put a 100pf (type 101) capacitor on pin 11 of U1 and connected it over to Vcc on pin 16 of the same chip.  This has definitely improved the behavior.  In 3 button mode, I can use it to start up and play a CD game correctly (previously it was slamming select over and over and trying to delete my internal memory).

So, I figured what the heck and I tried a 0.1uF (type 104) capacitor across those same pins and now it's back to strange behavior.  I can get it to spit out select and run inputs and that's about it.

Then I tried a 220 Ohm resistor between pins 11 and 16.  It's back to the same behavior as if there's nothing there.

So I think I'm going along the right lines here..?

 :dunno












 


lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PCB from schematic
« Reply #45 on: August 16, 2023, 01:45:58 pm »
just a thought... i haven't perused your schematic much but your circuits behavior seems to indicate a floating or otherwise not properly pulled input causing random behavior.

typically in circuits, you tie an input line high through a 10k pull-up resistor to drive it definite high... then yank it low through your switch. i see some 47k resistors, perhaps the value is too high and not driving up the input of the chip high enough above the 0/1 switch point threshold.

check the Vil(max) and Vih(min) of your chips datasheets to make sure your high and low states with a voltmeter and see if it's within the ranges specified. (typical 74 series logic has a "0" in the 0.8v and under range and a "1" in the 2.0v and up range... and anything between 0.8 and 2.0 produces 0/1 random gitch switchingness)

something worth looking into anyways.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #46 on: August 16, 2023, 10:34:40 pm »
I had another electronics engineer look over the circuit.  I’ve only been feeding and inebriating his ass for 25 years.  His comment was similar - the 47k pull ups seem too high.  And he thinks my capacitor addition is filtering noise.  His suggestion was a 10k array.  Perhaps those circuits were all 4.7k and nobody noticed the typo for 35 years?

I tried another capacitor value while I had the box of them out - 220pF and it was the same behavior as 100pF.

I did some play testing tonight.  Some games are 100% playable in 2 button mode - Dragons Curse, Alien Crush, Devils Crush. 

Some will immediately throw a select input when the level starts, but otherwise play normally - Shinobi, Rondo of Blood.

SF2 plays fine, but it brings up a “define buttons” screen before each match and also skips the between round trash talk scenes.  Just like smashing the select button would do.  In both 2 and six button mode.

I did notice on most games that pressing select made the character have a down input.

I am so tantalizing close on this one…. But even as-is I’m having fun with it.

 :cheers:

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #47 on: August 17, 2023, 10:15:48 am »
Well, I tried a 10k resistor on select.  No change.  Then I added the 100pF capacitor.  No change. 

 :dunno

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PCB from schematic
« Reply #48 on: August 17, 2023, 12:26:48 pm »
honestly, I would go down as low as 1k on that circuit. you aren't worrying about fighting another circuit pulling it high/low there, might as well pull hard.

I've gone as low as 470 ohms on some projects just to get the Vih(min) high enough that it doesn't randomly trip the input. (especially on a microcontroller's unused reset line which benefits from being driven high to keep it from randomly resetting due to shenanigans.)

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #49 on: August 17, 2023, 12:58:47 pm »
I've been chasing the resistor arrays for the most of these posts. 47k makes sense for short pcb traces but for long wires it may not.

1k too low though. Every button you press would pull 5ma from the PC engine which adds up if you push many at the same time. If 4.7K does not work and 1K does, there are different issues than your pull value.

Mike A

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5885
  • Last login:Yesterday at 12:18:54 pm
  • This plan is foolproof
Re: PCB from schematic
« Reply #50 on: August 17, 2023, 01:30:42 pm »
I had another electronics engineer look over the circuit.  I’ve only been feeding and inebriating his ass for 25 years.  His comment was similar - the 47k pull ups seem too high.  And he thinks my capacitor addition is filtering noise.  His suggestion was a 10k array.  Perhaps those circuits were all 4.7k and nobody noticed the typo for 35 years?

I tried another capacitor value while I had the box of them out - 220pF and it was the same behavior as 100pF.

I did some play testing tonight.  Some games are 100% playable in 2 button mode - Dragons Curse, Alien Crush, Devils Crush. 

Some will immediately throw a select input when the level starts, but otherwise play normally - Shinobi, Rondo of Blood.

SF2 plays fine, but it brings up a “define buttons” screen before each match and also skips the between round trash talk scenes.  Just like smashing the select button would do.  In both 2 and six button mode.

I did notice on most games that pressing select made the character have a down input.

I am so tantalizing close on this one…. But even as-is I’m having fun with it.

 :cheers:


Keep it up. You will get it.

This is good stuff.




pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #51 on: August 17, 2023, 03:08:34 pm »
Just wanted to mention, same behavior on both assembled boards.  They both throw a Select when plugged in, even if I don’t have anything connected to the input pins.  If I turn the system on with the board already plugged in, I’m not seemingly getting that input but it may just be the system booting up.

I can leave it at the CD rom menu as long as I want, and it’ll never read a select input until I actually press it (it jumps to memory management instantly when you hit select). 

Don’t know what other testing I can do at this point….

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PCB from schematic
« Reply #52 on: August 17, 2023, 03:42:33 pm »
a logic probe would really help you out here.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #53 on: August 17, 2023, 04:50:50 pm »
I do actually have a logic probe.  Can you type very slowly and tell me what I should do with it? 

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 806
  • Last login:Today at 07:40:31 am
Re: PCB from schematic
« Reply #54 on: August 18, 2023, 05:32:44 pm »
Could you reassume the situation so far? What is working and what is not?

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #55 on: August 19, 2023, 01:16:12 pm »
Maybe it's a good thing to go put select directly to VCC with a wire to see if it still triggers accidentally.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #56 on: August 22, 2023, 12:13:53 pm »
Well, if I put select directly to Vcc, and then I ground out select, the console scrambles the graphics and freezes up, so that is a no go.  If I just leave it connected to Vcc and wait, after a few seconds the system registers a phantom select press.  I still get a select input when I plug in the controller cable with the system on.




lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PCB from schematic
« Reply #57 on: August 22, 2023, 03:23:35 pm »
I do actually have a logic probe.  Can you type very slowly and tell me what I should do with it? 

sorry, i didnt see this post. i can help you out here a bit.

you probe should have some power lead on it. (one or two, either a power and ground, or just ground) hook this up to your circuit.

your probe should have a setting for TTL/CMOS. (For TTL it is 4.75 V to 5.25 V while for CMOS it ranges between 0 to 1/3 VDD for a "low" level signal and 2/3VDD to VDD for a "high" level signal. set your probe for CMOS mode.

your probe may or may not have a switch for "pulse" or "mem" or the like. this will just illuminate an led for if it senses a logic level change that is extremely short. it will lock on a light or have it flash or something like that. you usually have to apply the probe to the circuit, then turn on pulse mode to keep from it being triggered by attaching it.

then just attach your probe tip to your circuit inputs and outputs to see where your weird pulses are coming from. make sure your button presses are properly registering as high and low and not "both"

couldn't hurt to check to see if your +5 vcc coming in to your board doesn't have a pile of ripple on it. measure it with your voltmeter set to AC. it should be less than 20mv. if it's higher, you have some bad power filtering somewhere in the console sending dirty power.

Well, if I put select directly to Vcc, and then I ground out select, the console scrambles the graphics and freezes up, so that is a no go.

kek, you essentially shorted your VCC to ground if you don't do it through a resistor. not sure why mourix suggested this.. maybe thinking your board had a seperate or different supply maybe?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #58 on: August 23, 2023, 11:43:47 am »
Reading 1.5 - 2.6 mV AC.  Readings didn't do much even when loading large roms or booting a CD.  Oddly, even with the system off I'm still reading 1.4mV.   :dunno

Still digging around for the logic probe.  I bought it back when I was trying to fix some Williams pinball boards with a test rom.  It passed all the tests beautifully but wouldn't boot.  I bought repros.   :lol


lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PCB from schematic
« Reply #59 on: August 23, 2023, 02:13:10 pm »
voltage seems good, not much ripple there so I don't think it's that.

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #60 on: August 23, 2023, 04:52:49 pm »
Well, if I put select directly to Vcc, and then I ground out select, the console scrambles the graphics and freezes up, so that is a no go.  If I just leave it connected to Vcc and wait, after a few seconds the system registers a phantom select press.  I still get a select input when I plug in the controller cable with the system on.

The idea was to pull select hard high to rule out any chance for ghost presses by bad wiring or pullups not working, which it did. You just added the short circuit  :dizzy:

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #61 on: August 23, 2023, 06:02:56 pm »
Was I supposed to leave it tied to Vcc and then not press it?  Type slowly, I'm begging.


pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PCB from schematic
« Reply #62 on: October 10, 2023, 10:53:49 pm »
Hi pbj,
Is the interface working now or is it still producing a select when initially connected ?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #63 on: October 15, 2023, 03:41:06 pm »
Nothings changed.  I throw an occasional bid on a PC Engine to mail it to mourix.  They’re selling crazy high lately.  I’ve played with it a little more.  Tied in Vcc to Ground with a 100pf cap on that first IC.  I notice that hitting select also sends a down input. 


baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 806
  • Last login:Today at 07:40:31 am
Re: PCB from schematic
« Reply #64 on: October 16, 2023, 01:09:12 am »
Being a simple design, I would suggest to emulate the circuit with a circuit simulator tool like circuitJS1.
This way one could at least see if those schematics makes any sense...
« Last Edit: October 16, 2023, 01:14:32 am by baritonomarchetto »

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PCB from schematic
« Reply #65 on: October 16, 2023, 11:24:54 am »
i still think your issue is errant signals triggering your IO chip... (see mspaint cad)

if you design the circuit as in the first instance, the inputs and outputs are left "floating" if a button is not pressed... this will cause the input to behave erratically such as ghost pressing and not registering presses. this is caused by all manner of weird things such as static buildup in the air and possibly fast moving particles like radiation and (depending on a circuit's content) possibly photons. i know you got some pullups going on so i dont think it's that... but...

we might need to yank these outputs high or low (depending on the circuit's needs) using a resistor too. (see mspaint cad 2nd half) this puts the inputs/outputs in a known state that we can change so there is a definitive change from a 5v state (high) to a 0v state (low)

im thinking it may be beneficial to drive the output high as well (unless it's an inverter or some kind of nor gate, (you'd have to see how the console's gamepad originally did it) in which case we would also want to drive the output high or low as well (sorry i havent really looked into the circuit too much TBH)

designing a digital circuit is kind of a pain in the ass especially if the digital circuit and the devices it's attached to is picky about how it's being run (as it seems to be in this case) and could really need/want/require the states of the inputs and outputs in a definite high or low state.

if i was having errant signals on the select button, i would hook a logic probe to the IC's output for the select and watch it for blips of signals. my logic probe has a mem/pulse switch... if i switch it to mem, if the state changes at all, it will illuminate the "pulse" LED on it until i reset it, so even if a short or single pulse happened (basically a state change from whatever the base is), the probe would show it by illuminating the led. a couple of alligator clips or a soldered on fly lead attached to the probe tip will make it hands free and able to check the circuit for long periods of time.

use of some circuit simulator would also be beneficial to sanity test the original circuit diagram, but they do have a pretty sharp learning curve to them. i have used "livewire" it's old (meant for pentium computers with 16mb of ram but runs just fine today on win 10), still a fairly capable program and it can be found  for free on the various ---No torrents please - thanks!--- places often bundled with "PCBwizard" which i also use occasionally... since i can export my circuits right out of livewire into it and dont have to redraw them. there are a couple formats they can be saved in that can be opened up in other software and imported to pcbway and the like. its a little clunky...but i like it better than cloud things where you don't own anything anymore if you make it with them.


baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 806
  • Last login:Today at 07:40:31 am
Re: PCB from schematic
« Reply #66 on: October 16, 2023, 02:11:57 pm »
Schematics in first post actually show pulled up inputs: am I missing something obvious? The other inputs need no pullup or pulldown because signals from previous ICs will not float.

If (and only IF) the circuit is ok, next suspect should be ICs. Recently I bought a 10 pcs lot of quad XOR gates. Only three out of four gates (not ICs but GATES on the same IC) were working... You can bet this caused a circuit malfunction. All 10 had the same issue!
This is to say that you cannot trust those AliExpress chips 100%
« Last Edit: October 16, 2023, 02:47:37 pm by baritonomarchetto »

pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PCB from schematic
« Reply #67 on: October 16, 2023, 09:22:58 pm »
Did you find the logic probe?

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3255
  • Last login:April 25, 2024, 06:33:53 pm
Re: PCB from schematic
« Reply #68 on: October 17, 2023, 02:22:31 am »
You could try putting one or two larger electrolytic caps (suggest 100uF/22uF to start with, but you might want to try higher-lower variations to see what works best) in as a "bypass" or "filter", across the 5v input and GND. This will help to smooth out variations ("bumpiness") in the 5v supply, and help with a poorer quality PSU. You'd know what I mean by "bumpiness" if you saw the waveform on an oscilloscope. Anyways, nothing terrible will happen if you experiment with some different capacitor values using the PCBs you already have. Just make sure to put them on the right way around (+ to 5v, - to GND). Best to do with an oscilloscope attached so you can see the results.

You already have some 0.1uF caps, but they are only there for local support of the chips they are close to. The electro caps would help with bulk power support.

If want to really go all out, a LDO (low drop out) voltage regulator could be added to further improve power supply stability.
Check out my completed projects!


pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PCB from schematic
« Reply #69 on: October 17, 2023, 01:59:50 pm »
I think the problem is related to the PCB layout.

Review of the PCB files show nodes J4.5, U1.11, RN1.6, J1.6, U1.1, U3.1, RN3.2 are all connected together.
Clearly this was not the intent.  There should be 2 nets - J4.5, U1.11, RN1.6 and J1.6, U1.1, U3.1, RN3.2.
I think the cause of this is both J1.6 and J4.5 use the label SEL on the schematic.
If the net lister assumes these labels are actual net names then the two net fragments are considered the same net and will be connected together in the net list.
Even though the actual schematic drawing does not have a line drawn between these nets, by having them using the same label/name they are logically connected.
The pcb tool rat's nest will show this connectivity and then routing the pcb from that will make them connected.
A method to correct this is to rename one of the nets.  In the attached schematic the J4.5 signal is renamed to SEL-BTN.  With that the net lister will treat them as different nets.

The attached pcb pdf shows where I think the problem is and make a suggestion about how to resolve the problem.
Would be great if some folks can review the information and verify if I am correct or not.

Cross check me!

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9405
  • Last login:Today at 10:18:34 am
  • Designated spam hunter
Re: PCB from schematic
« Reply #70 on: October 17, 2023, 04:25:27 pm »
Review of the PCB files show nodes J4.5, U1.11, RN1.6, J1.6, U1.1, U3.1, RN3.2 are all connected together.
Clearly this was not the intent.  There should be 2 nets - J4.5, U1.11, RN1.6 and J1.6, U1.1, U3.1, RN3.2.
I think the cause of this is both J1.6 and J4.5 use the label SEL on the schematic.
Nice catch.   :cheers:

Haven't checked if your recommended PCB mod with trace cuts and jumper wires would make the PCB match the schematic, but your explanation makes sense and all seven nodes being connected to one net (SEL) is shown in the schematic PDF outline under Nets - SEL - Pins.


Scott

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #71 on: October 17, 2023, 04:36:35 pm »
Since I've already got two assembled boards and this seemed like a simple enough mod, I went ahead and cut the traces and added the jumper wires.

Only difference in behavior is now it hits the system with a Button I and Select input at the same time when the PCB is plugged in.   SF2 - same deal.  Plays fine but skips the cut scenes and pulls up the input screen before each match.  Strip Fighter everything is fine in the menus, no movement during the game (3 or six button mode).  Everdrive Clone - pulls up the BIOS/Firmware information (same as a Button I input) when initially plugged in but no movement in menus.  CD menu - six button mode - seems to constantly pulse the main menu with Select, which brings up memory management screen.  In 3 button mode it behaves normally.  Rondo, he jumps in the air and does a super attack when plugged in (again, that's select and I at the same time).

So, it's like.... *slightly* different but mostly the same.

Should I throw in a filter cap somewhere?  This is my PCB where I haven't soldered in all those extra filter caps.



Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3255
  • Last login:April 25, 2024, 06:33:53 pm
Re: PCB from schematic
« Reply #72 on: October 17, 2023, 06:47:06 pm »
Should I throw in a filter cap somewhere?  This is my PCB where I haven't soldered in all those extra filter caps.

You need those 100nF/0.1uF/104 ceramic caps to support the four ICs Vcc. They must be physically close to the IC's Vcc pins. Otherwise they might not work right.

Suggest a 100uF cap (or similar) across the 5v and GND landing pads, +'ve to 5v and -'ve to GND. There is a 47uF listed on the schematic, seems to be within appropriate range, give it a go. This is a simple mod so you can just see how it goes and remove/modify the value if needed. Make sure you have the polarity correct.

The caps store and release power. We might call them "filter" caps, and in some ways they are, but in this instance they are more about providing a consistent power supply to the circuit, as needed.

This may or may not solve some/all of your issues, but will help you to eliminate power supply.
Check out my completed projects!


pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PCB from schematic
« Reply #73 on: October 18, 2023, 11:00:58 pm »
Now type slowly for me.  I do not know the jargon.
Have never owned or played these video game consoles.

via google I do now know the difference between Street Fighter and Strip Fighter!

Yes the power bypass capacitors for each IC is important.  The IC data sheets call for them to be used.

Is the assumption correct that a standard, off the shelf controller does not display the same effects when plugged in with the game console power ON?

And commercial controllers still operate the game console OK?

For now lets forget the events when the controller is plugged hot.  I mean plug in the controller and power up the game console.  And only test 2-3 button mode.  No 6 button mode yet.  Initially had all the configuration jumpers between pins 1 & 2 - so basic operating mode.

How does the PCB work under these conditions?

Would it be possible to assemble another PCB without the extra components for the 6 button operation?  Mainly do not populate U3 & U4. 
Just to keep their loads off the J1.6 SEL input.

Also be possible to verify static operation? To start:
   Not connected to the game console.
   Just connect +5V power & ground to J1.1 & J1.8 respectively. 
   All configuration jumpers ( J2, J3, J5, J6 ) pin1 to pin 2. 
   No connection to J4.
   Measure the outputs with a volt meter ( J1.2, J1.3, J1.4, J1.5)
   
Like this would expect all outputs to be near zero volts.
Now connect J1.7 ( CLR ) to ground.  Would expect all outputs to be near 5V.

Actuate button inputs ( tie to ground ) UP, RIGHT, DOWN, LEFT one at a time and measure all 4 outputs each time.
Here would expect measurements to be:
UP  ( J4.7) -  D0 low, all others high
RIGHT ( J4.8) - D1 low, all others high
DOWN ( J4.9) - D2 low, all others high
LEFT ( J4.10) - D3 low, all others high
Connect J1.6 ( SEL ) to ground.
Repeat measurements using button inputs I ( J4.3), II ( J4.4), SEL ( J4.5), RUN ( J4.6).

Have you found the logic probe?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #74 on: October 20, 2023, 07:58:02 pm »
Acknowledging your post, I will make another attempt to find my logic probe.  I have the materials to assemble 10 pcbs, so I will make a stripped down version as you’ve requested.  I may finally break down and buy an official six button controller just to compare behavior…


pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #75 on: October 30, 2023, 01:37:44 pm »
Okay, I assembled a new PCB.  I left off U3 and U4.  I cut the traces as indicated on your revised schematic, and added the jumper wire from pin 1 of U1 to SEL on the output.  J2, J3, J5, and J6 all set to pins 1 and 2 closed.

Everything working perfectly in 2 button mode.  I can control the Everdrive menu and make the morally upstanding women of Strip Fighter move around and fight.

 :applaud: :applaud:

So now what?


EDIT:


WOO HOO!


Installed sockets for U3 and U4, figured what the heck.  First I installed U4 - the SN74HC163N.  Games would recognize that I was toggling between 2 and 6 button mode but obviously weren't getting any six button inputs.  Then I stuck in U3. 

With the cuts to the traces and the jumper wires added, I am happy to report I am 100% working in both 2 and 6 button mode in SF2 and Strip Fighter.  Everdrive navigation working in either mode.  I can boot up to the CD menu and not have it jam select inputs over and over.  Rondo doesn't control correctly in six button mode, but he's not getting slammed with random inputs.  Plays fine in 2 button.  (I doubt very highly that game was programmed to work correctly with a six button controller, many of them aren't)

I will go back and double check my work on the previous 2 PCBs... or just bury them in a lonely field for closure and move on with life.


Many thanks to you both, pdco_arcade and mourix.  If I can make one more ask... would either of you be able to revise the PCB layout with the alteration to the Select / SEL lines so I can get it printed without needing jumper wires and cut traces? (It would also be nice if J2/J3 and J5/J6 were slightly spread further apart, I’m having to shave my JST connectors..)

 :cheers:



« Last Edit: October 30, 2023, 11:23:10 pm by pbj »

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #76 on: October 30, 2023, 06:03:00 pm »
Revisited the previous 2 PCBs.  Issue with one was that the trace running from Select to SEL wasn't fully cut.  It wasn't beeping for continuity but I guess there was juuuuuust enough trace remaining to screw things up.  Dragging a knife across that cut a few more times cleared that up.

The other PCB I had directly soldered the cable to the board because my pins and connectors hadn't arrived yet.  Cleaned all that up, which had been causing intermittent issues, and did the same thing with really gouging out the trace cuts. 

All three are operating correctly now.  Really need to invest in some better lighting and magnification at my work station, obviously.

 :cheers:


Mike A

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5885
  • Last login:Yesterday at 12:18:54 pm
  • This plan is foolproof
Re: PCB from schematic
« Reply #77 on: October 31, 2023, 07:32:03 am »
Nice work.

Way to see it through to the end.

 :applaud:

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #78 on: November 01, 2023, 06:29:50 pm »
So now it's time to finish up the joystick.  The Rocksoul had 5 buttons up top mounted to a PCB that was screwed into the underside of the control panel.  I didn't really want to dick around with cutting traces and adding jumper wires, so I just pulled all that out.

The holes leftover are just slightly too small to fit a 16mm button in.  Mike A suggested using a step bit.  So I very, very slowly spun it around by hand to widen each hole to 5/8".  At that point, the buttons can be jammed in.  The end result was clean enough that you could deconvert this joystick back to factory and I don't think you'd really notice anything was different.

I'm waiting on DPDT switches to arrive, the DPST throw won't work for the toggling we need for this PCB.  But I'll have I turbo off/on, II turbo off/on, Slow Motion off/on, and Mode A / B toggles.  The LEDs always stay on with these buttons, so I figure I'll use the 5 button to toggle the 5V line to all the LEDs.  Or just plug it.  Whatever.

That being said, if you tie together the jumpers for mode B (six button), and then add the jumper for mode A, the system will go back to recognizing it as a 2 button controller.  It's inelegant but will work for while I wait for the proper buttons to arrive.

So here it is with a 16mm DPST switch installed to toggle it between 2 and 6 button mode.




pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #79 on: November 02, 2023, 07:34:27 pm »
And while I’m talking to myself and making feature requests, it would be really really awesome if that 15 pin connector for inputs was split out into two 8 pins.  I cannot find a 15 pin JST plug for the life of me.  Even if the 16th pin did nothing, 8 pin connectors are plentiful and cheap.  As it is, I’m going to have to take a bench grinder to the ones I have to get the edges narrow enough to line them up.

 :cheers:

pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PCB from schematic
« Reply #80 on: November 03, 2023, 04:17:19 pm »
Yes, great job to get all the PCB working OK.
I had been wondering since the schematic(s) had been floating around the 'net so long had anyone actually constructed a PCB and that it really worked.

To make the changes your requested would be easiest if Mourix could do the work with the CAD original files.

For me would need to create the project from scratch.
Or maybe my CAD tools could import the native files from the CAD tool used by Mourix if he could send them.
Available to me are OrCAD Capture and OrCAD / Allegro PCB Editor.
Looks like Mourix possibly uses Altium tools.  Not sure I can import those formats.  Can try though.
Might take a week or so to fit it in.
How long to wait for Mourix to comment?
Ever think about using surface mount components?  All you need is a toaster oven.  And magnifier! And tweezers.

Your customized control looks nice.

Something to consider about the LED's in the buttons - be mindful of the current needed to illuminate them.
I do not know how much current is available however the controller port voltage supply might not have sufficient output to drive all the LED.
Figure 10ma / LED is not crazy.  So 60ma draw on the game controller port might be too much.
The controllers themselves do use CMOS logic components.  Just because is the way it was done or to keep the loading on the controller port supply pin to minimum?

pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PCB from schematic
« Reply #81 on: November 03, 2023, 10:48:31 pm »
Forgot to ask - what is the series of JST connector are you using.  JST manufactures a lot of them.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #82 on: November 03, 2023, 11:13:20 pm »
XH 2.54mm, ordered from here.

https://www.aliexpress.us/item/3256803220110303.html

I’ve private messaged mourix here and found him on LinkedIn…. C’mon, bro.

 :cheers:

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #83 on: November 04, 2023, 02:32:02 pm »
Hey guys, I've been offline for a bit due to some adulting had to deal with. Sorry bout that.

It's amazing that pdco_arcade stepped in and found my net label mistake. And the stick looks so nice too!

I'll fix the bug, add the connector pad and upload the source files for good measure ;)

pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #85 on: November 05, 2023, 08:43:12 am »
Update..I fixed the SEL bug and have attached all the Altium source files for this projects as well.

The JST NH connectors won't fit unless we go beyond the pretty 5x5cm PCB size. Is that something you want, PBJ?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #86 on: November 05, 2023, 03:40:48 pm »
My hands aren’t steady enough to manually pin a tiny 15 pin connector.  It’s current year, let’s do something more accessible.

I’m good with a slight expansion of PCB size for easier soldering.  I’m in so deep at this point that all reason has left the building. 

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #87 on: November 08, 2023, 05:23:29 pm »
I also wanted to point out that the donor joystick I used is down to $21 shipped on Ebay now.  I think it would be impossible to assemble anything cheaper than this.

https://www.ebay.com/itm/385364892973

I ordered some regular size 8 Pin DIN connectors, so now I can make these for TurboGrafx 16 or make PCE -> TG16 adapters. (or I guess go the other way if one is crazy enough)

 :cheers:

 

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #88 on: November 11, 2023, 05:40:26 pm »
Too bad shipping that stick to the Netherlands is like 25 bucks.. But to continue the party, here is a slightly larger rev B that adds JST connectors all over the wazoo:



Is it possible for pdco_arcade to do a quick review? I might have done parts of this project over beers.... :cheers:
« Last Edit: November 11, 2023, 05:50:31 pm by mourix »

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #89 on: November 13, 2023, 06:48:39 pm »
Oh man, that's the stuff.  Nice work. 

I've assembled a couple PC Engine -> TG 16 controller adapters.  Since my after market controller is really TG-16 and came with a PC Engine adapter, I can now daisy chain two adapters to test everything out.

I'm happy to report I actually remembered to put the boot on the cable the second go around.  First one I had to cut the boot, slide it over, tape it back together.

I also found that with my high tech wiring diagram (in background) and a rough idea of which color wire is which, it's easier to just solder 1-4, 8, and then 5-7.  I buzz out continuity on each wire right before I solder it.  Much quicker than trying to label them first.  It's just 8 wires, bro.

Anyway, point being that if anyone is interested in one of these things, I can now assemble it either way.



pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #90 on: November 14, 2023, 06:42:22 pm »
So this is pretty much 100% done.  I'll make some overlays for the artwork to clarify what the buttons do, but this is functionally complete.




Here's the final layout I went with.  Decided to use that fifth toggle switch to control button III - it can be either a III or I.  Might make a few 2 button games more comfortable.  Putting Run and Select as redundant inputs at the bottom means you can more easily play the '3 button' games like Bloody Wolf and Forgotten Worlds.


 


Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14000
  • Last login:Today at 09:19:47 am
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: PCB from schematic
« Reply #91 on: November 20, 2023, 08:10:01 pm »
I can make art, just need templates.  Im better at it than you anyway.
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PCB from schematic
« Reply #92 on: November 21, 2023, 07:11:41 pm »
Sorry, have not been keeping up with the project.  Took a look at REV B from mourix.  Looks OK to me.  Really I just checked what changed from the previous version.  I can a deeper look in the next days.  The real test will be for pbj to get some pcb's fabricated, assembled and tested.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #93 on: November 21, 2023, 09:26:38 pm »
If you take the deeper look, I will have the boards made.

 :cheers:

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PCB from schematic
« Reply #94 on: November 29, 2023, 06:58:09 pm »
I went ahead and ordered 10 pcbs.  Why not?  I’m in so deep it’s beyond any realm of reason.


mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PCB from schematic
« Reply #95 on: November 30, 2023, 02:21:18 pm »
Awesome!
I so badly want to follow your insane footsteps but my gf quit her job this summer so she could finish her studies..:banghead:

pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PCB from schematic
« Reply #96 on: December 01, 2023, 06:47:59 am »
Looked like the PCB should work.  One point is the pin out / pin positions used for the connectors is backwards when compared to the connector datasheet.  I mean the PCB connector pin #1 is at the opposite end of the connector from where the datasheet shows pin #1.  I tried to show this in the attached PDF which is part pf the complete connector datasheet.  Compare the connector orientation shown on the datasheet with the PCB picture mourix posted above.

That is how it looks to me. Other opinions welcome.

The PCB should work OK like this just need to keep the pin position designations  in mind when wiring the connectors.  If the pin positions are used like shown on the schematic ( pin #1, #2, etc. ) then all should be OK however if pin positions are referenced to the connector datasheet then thing will not be wired and function as expected.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PC Engine 6 button controller
« Reply #97 on: December 12, 2023, 09:53:33 pm »
I had the revised PCBs printed up and they’re beautiful.  I’m hoping to get one properly assembled soon.


pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PC Engine 6 button controller
« Reply #98 on: December 13, 2023, 12:46:49 am »
Hopefully is just some optical illusion however to me there does not seem to be any traces on the top ( component ) side.  Traces on the bottom side can easily be seen.  Is the soldermask really thick?

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PC Engine 6 button controller
« Reply #99 on: December 13, 2023, 11:23:40 am »
blue, white, and especially... black pcbs have particularly hard to see traces. makes tracing out circuits a real pain. you have to get the board at just the right angle to see them.

i think it's just cause the picture is taken at a weird angle, with the left set of boards are closer to on axis with the camera with a light reflection shining on them highlighting the traces making it easy to see them, but the right set is really off axis with no light reflections making it appear really flat.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PC Engine 6 button controller
« Reply #100 on: December 13, 2023, 11:52:32 am »
Back... and to the left.

Back.


And to the left.

Yes, the traces are there.  I like the blue PCBs.

 :cheers:

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7400
  • Last login:Today at 10:50:03 am
  • I break stuff...then fix it...sometimes
Re: PC Engine 6 button controller
« Reply #101 on: December 13, 2023, 04:58:43 pm »
oh yeah, don't get me wrong all the fancy colors are certainly better than the stinky ass pressed phenolic boards of yesteryear in their fabulous selection of brown, brown and brown.

i'm certain apple uses that dark blackbrown color for their boards just to make seeing traces and following them impossible.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PC Engine 6 button controller
« Reply #102 on: December 13, 2023, 06:20:12 pm »
Yeah, well, now you're making me feel dumb because these PCBs are gonna be a pain in the ass to troubleshoot if they don't work.   :lol  Here's to hoping!

 :cheers:

mourix

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 303
  • Last login:April 24, 2024, 10:53:16 am
Re: PC Engine 6 button controller
« Reply #103 on: December 14, 2023, 02:38:54 pm »
I tend to order PCBs in black and kick myself every time..


pdco_arcade has done a review of the pcb in the background and found the JST connector pinouts technically are flipped compared to the datasheet pin 1 marking. The PCB footprint site I got it from fixed that literally a week after me downloading it.

This will not be a problem as long as you are aware of the pinout. I have attached an image that shows which signal is present on which pin.

pdco_arcade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:January 09, 2024, 03:24:54 pm
  • Nothing for now.
Re: PC Engine 6 button controller
« Reply #104 on: January 07, 2024, 10:01:50 pm »
Have you been able to assemble & test the latest version from mourix?

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10876
  • Last login:Today at 11:36:37 am
  • Obey.
    • The Chris Burke Band
Re: PC Engine 6 button controller
« Reply #105 on: January 08, 2024, 02:18:34 pm »
Not yet.  I had been hoping to get the proper JST connectors ordered.  Do these look correct?

https://www.aliexpress.us/item/3256805942737164.html