What's new

BladeZX

Professional
Joined
Jul 11, 2019
Messages
542
Reaction score
414
Location
Canada
Here is a short demo of the Sega16-Pi multi selector for use with the Sega16B multi kit made by Apocalypse.
It allows you to change games by using your cell phone and connecting to the IP address of the Raspberry Pi used with the selector. It uses the RPi as well as a Atmega328p chip for processing.
You can either have your own hotspot off of the Pi (which is the default in the original image) or you can change it in the wifi configuration to connect to your wifi at home

There is an option to load last game on startup. This will store the last loaded game directly in the memory of the atmega328p and when started it will immediately load that game. To switch to another game you will need to wait for the RPi to load up (which is not too long)

More information will come on the link to the pcb project from Osh Park as well as the parts needed to build the pcb and connections that are required between the RPi, multi selector and sega pcb board itself.

Here is a link to the demo


I welcome any feedback
Cheers
Bob
 

Attachments

  • 6F014306-F368-4198-99B6-476BEB4AEA01.jpeg
    6F014306-F368-4198-99B6-476BEB4AEA01.jpeg
    229 KB · Views: 68
  • A3CB6E21-40C5-4E4D-8DB6-94DE2B0786BD.jpeg
    A3CB6E21-40C5-4E4D-8DB6-94DE2B0786BD.jpeg
    166.3 KB · Views: 66
Last edited:

BladeZX

Professional
Joined
Jul 11, 2019
Messages
542
Reaction score
414
Location
Canada
Here are the parts you will need to build the multi selector pcb:

Here is the link to the Osh Park project for the actual pcb:    Sega16-Pi Multi Selector PCB
NOTE: The minimum boards you have to order is 3 so maybe people can split on orders to get the boards

Here are the parts you need to build the pcb:

DescriptionQuantityPCB LocationDigikey Part No.Comment
Conn Rcpt 4POS 2.54mm2952-2229-NDone connects to sega pcb (5v, GND, reset)
one connects to pin 12, 16 and 18 on RPi
Conn Rcpt 2POS 2.54mm1952-2227-NDconnects to pin 8 and 10 on RPi
Conn Rcpt 3POS 2.54mm3952-2228-NDone connects to 5v, GND, Reset on mult selector
one connects to pin 11, 13 and 15 on RPi
one connects to 3.3V, SDA and SCL on RPi
Conn Rcpt 12POS 2.54mm1952-2034-NDconnects to multi selector (all wires from RPi connect into this)
Cap Cer 0.1uf 25V4C1,C2,C3,C6BC1154CT-ND
Res 10K OHM 1/4W 5%1R110KQBK-ND
Res 220 OHM 1/4W 5%1R4220QBK-ND
Res 1K OHM 1/4W 5%1R21.0KQBK-ND
Res 2K OHM 1/4W 5%1R32.0KQBK-ND
Crystal 16.0000MHZ 20PF1X11923-1400-ND
Cap Cer 22pf 50V2C4,C5445-175522-ND
Switch Tactile SPST-NO 0.05A3EG1829-NDblack switches for up, down and select
Switch Tactile SPST-NO 0.05A1EG1830-NDred switch for reset
CONN IC DIP SOCKET 28POS TIN1A120353-NDsocket for atmega328p
Atmega328p chip1ATMEGA328P-PU-ND
Conn Rcpt USB2.0 TypeR 4POS1UE27AC54100-NDmounts to the bottom side of the pcb
Conn Header R/A 3POS 2.54mm1952-2245-NDmounts to the bottom side of the pcb
Conn Header R/A 12POS 2.54mm12057-PH2RA-12-UA-NDmounts to the bottom side of the pcb
Conn Socket 10POS1SAM12535-NDmounts to the bottom side of the pcb (dip switch)
Conn Socket 22-30AWG Crimp Pin30952-2159-NDcrimp pins for all wire connectors
OLED 128x321Amazon URL:
https://www.amazon.ca/gp/product/B08LQM9PQQ/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1
 
Last edited:

BladeZX

Professional
Joined
Jul 11, 2019
Messages
542
Reaction score
414
Location
Canada
Raspberry Pi Zero W was used for this multi selector.
I bought the RPi Zero W with the pin header already soldered to it

rpi-zero.jpg


This is the case I am using for it:

rpi-zero-case.jpg


You will also need a 8GB microSD card (I recommend Sandisk)

Here is the Raspberry Pi image you will need to load to the RPi. Just unzip it and load the img file using Win32DiskImager

Sega16-Pi Raspberry Pi Image

The pi user is: pi
The pi password is: segamulti

Here are the RPi connections that will be used and connected to the Sega16-Pi mult selector pcb

sega16-rpi-connections.png


Pins 1,3,5 are used for the OLED display
Pins 11,13,15 are used for the UP, DOWN and SELECT buttons
Pins 8 and 10 are used to send and receive data from the Atmega328 chip
Pins 12,16,18 and 32 are used to program the Atmega from the Raspberry Pi

Connect a USB to microUSB cable from the multi selector to your RPi in order to power everything from one place

You also need to make a connection from the Sega16 pcb to the VCC, GND and RST pins on the multi selector
Red is VCC (5v)
Black is GND
White is RST
IMG_20200416_213545.jpg
 
Last edited:

BladeZX

Professional
Joined
Jul 11, 2019
Messages
542
Reaction score
414
Location
Canada
Once you have everything setup and connected to the RPi and the multi selector, turn on the Sega pcb and wait for the RPi to fully load. You will know it is loaded when you see the OLED is lit up

NOTE:
*** All dip switches must be in the OFF position on the multi board by Apocalypse

The first time you load it up, it will default to a hotspot with the name Sega16-Pi
Connect to the hotspot and then go to your browser on your phone and go to any web address (eg: gg.com)
The web interface should appear and you should see the games listed

For first time use ONLY:
Go to Tools and select Set Atmega Fuses
This should come back successful and ask you to reboot the Pi (do not do that yet)
Select Program Atmega
This will program the hex code on the Pi into the Atmega 328p chip
Once successful reboot the RPi or just power cycle the Sega pcb power supply since everything gets its power from it

The game that will load the first time is Excite League. Once the RPi has loaded, you can connect back to the hotspot and change games.

You can also go to the Tools and select Wifi Configuration to join it to your home wifi network instead of using a hotspot.
You will be asked to select your wifi network and enter your password. You then need to click Apply and Reboot
This will reboot the RPi and it will connect to your home wifi if your credentials are correct.
 
Last edited:

Dreamstate

Enthusiast
Joined
Nov 1, 2016
Messages
190
Reaction score
63
Location
Knoxville, TN USA
Just curious, but do you have an estimate of what the whole multi and selector costs? Super nice project. My ST-V is jealous!
 

BladeZX

Professional
Joined
Jul 11, 2019
Messages
542
Reaction score
414
Location
Canada
I will try and work that out
The multi from Apocalypse was about $250 USD
The parts for the selector are cheap - it is the pcb from Oshpark that u have to buy 3 of them so possibly someone in the US can get some made and share them. It might be easier in the US as I am in Canada and things are damn pricey here
OLED screen was about $23 CDN for 4 of them
The RPi Zero W was about $25 CDN or so with the header already soldered

BTW... I plan to make the same thing for the STV multi cart
My cart is on its way from High Score Saves and I just ordered the pcb tonight for it
 

BladeZX

Professional
Joined
Jul 11, 2019
Messages
542
Reaction score
414
Location
Canada
I do have an extra Sega16-Pi multi selector board here that I have built.
Since I am in Canada... If anyone in Canada wants it I could program the atmega for you, test it and send it out to you - u just pay $25 + shipping
You would need to build the harness to connect to the RPi and the Sega16 pcb
Of course u would also need a pi zero W
 
Top