Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - Mega drive 2 switchless mod with Arduino

Reply to topic
Author Message
  • Joined: 03 Aug 2019
  • Posts: 7
Reply with quote
Mega drive 2 switchless mod with Arduino
Post Posted: Fri Aug 16, 2019 2:28 pm
Last edited by zeus074 on Sat Aug 17, 2019 8:28 am; edited 4 times in total
Hi, i'm pleased to share with you this mod made with Arduino !!.
I have several Arduino models at home and I thought, why not use this micro instead of buying a PIC :-).
Clones are found for less than 2€ and do not require programmers to be programmed.
If you use a clone you have to write the bootloader to program it via serial.

These are the pins used on Arduino:

Pin 6: Input from reset button
Pin 7: Output to console reset
Pin 8: Selection 50 / 60hz (PAL/NTSC)
Pin 9: Language selection EN / JP
Pin 10,11,12: Led R,G,B



Now just remove the LED and replace it with an RGB: (Click to see the tracks to be cut and the pins to use)


The reset input can be taken more easily on pin C33 under the reset button



This is how it works:
If you press the Reset button for less than 400ms;
the console resets

Holding the reset over 400ms but less than 1sec.; (the rgb led turns off)
You change the frequency 50/60hz (PAL/NTSC)

Holding the reset for more than 1sec.; (the rgb led shows the color of region)
Change region:
Green = EU (EN / 50hz)
Blue = US (EN / 60hz)
Red = JP (JP / 60hz)

When the system starts, the LED will flash once if you are in PAL mode and twice if is in NTSC mode.

I'm attaching the program for Arduino, you can use micro or nano version :-)

Asper's console just signed up for testing.[url][/url]
arduino_mod.jpg (275.31 KB)
Arduino pin
arduino_mod.jpg
md_pic1EN.jpg (1.68 MB)
Mod_image
md_pic1EN.jpg
md_pic3.jpg (333.97 KB)
Mod_complete
md_pic3.jpg
MDrive_SW.zip (2.47 KB)
Arduinio source code

  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8652
  • Location: Paris, France
Reply with quote
Post Posted: Fri Aug 16, 2019 3:54 pm
[ Hello, Please do not use external image link (see http://www.smspower.org/forums/17232 to understand why). Could you replace your images with proper attachment? Thank you! ]
  View user's profile Send private message Visit poster's website
  • Joined: 03 Aug 2019
  • Posts: 7
Reply with quote
Post Posted: Fri Aug 16, 2019 4:18 pm
Bock wrote
[ Hello, Please do not use external image link (see http://www.smspower.org/forums/17232 to understand why). Could you replace your images with proper attachment? Thank you! ]

OK, changed!.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8652
  • Location: Paris, France
Reply with quote
Post Posted: Fri Aug 16, 2019 5:13 pm
Thank you so much, sorry for the trouble! You can use img tags to then embed images. It's a little more work but it ensure the useful data will be avail for the lifetime of smspower :)
[img]http://www.smspower.org/forums/files/arduino_mod_301.jpg[/img]
  View user's profile Send private message Visit poster's website
  • Joined: 03 Aug 2019
  • Posts: 7
Reply with quote
Post Posted: Sat Aug 17, 2019 8:33 am
Bock wrote
Thank you so much, sorry for the trouble! You can use img tags to then embed images. It's a little more work but it ensure the useful data will be avail for the lifetime of smspower :)
[img]http://www.smspower.org/forums/files/arduino_mod_301.jpg[/img]


Thanks, you're right I didn't know you could link the attached image.
The system renames the inserted file and the correct link must be taken from the image
EG: http://www.smspower.org/forums/files/md_pic1en_131.jpg
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!