202620242023202220212020201920182017201620152014
2211152313307215210213462
newer 15 / 31 older

Game Boy Cartridge plus Programmer | Another idea

2017-03-04 12:47:20

I will not persue this :D but having a lot of game boy pockets coming in, that have a broken display... I wonder if there could be a feasible replacement like an fpga / arm controlled display that grabs the input like the fpga vga adapter does. There was a blog post once and it was also integrated into the huge ben heck game boy. Could be interesting to try for someone whos into fpgas and gameboys.

Porygon V2 - but not the evolution of Porygon | Needs another revision or two

2017-03-04 03:06:52

Porygon V2 - but not the evolution of Porygon | This will be enough to work with

2017-03-03 19:46:16

blinking things | 2nd try - this time with SK6812 LEDs

2017-03-03 18:51:37

Definitely mooooaaar white :)

Porygon V2 - but not the evolution of Porygon | dual sided power rail thing

2017-03-03 16:48:43

inspired by Game Boy Pi Zero hackers and the pure need to solder man servos to ground and vcc...

Order from OSH Park

blinking things | Got scammed on aliexpress? meh

2017-03-01 12:40:59

So I thought I've bought the new SK6812 with RGBNW on aliexpress.com, but instead I received some standard RGB WS2812 LEDs - not cool :( but the shield works. Now I've bought half of the LEDs for the same price on eBay, let's see how that will turn out ;) dispute on aliexpress was opened, hoping for at least some refund.


Order from OSH Park


Game Boy Cartridge plus Programmer | Bivert Module

2017-03-01 00:55:05

The bivert module I bought from handheldlengend.com has some design flaws, the unused inverters aren't grounded and there is no decoupling capacitor. So for future mods I will use one of these boards that feature a dual inverter named SN74LVC2G04. It's also smaller and potentially easier to install in the Game Boy Pocket.

UPDATE: there is a smaller version for Game Boy Pockets to buy already at http://store.kitsch-bent.com/product/gb-pocket-lcd-inverter

UPDATE2: a redesign with an dual XOR chip might be interesting, to revert the bivert. Sounds like a dance move :D


Order from OSH Park

Game Boy Cartridge plus Programmer | this is so pleasing!

2017-02-28 22:14:28

I've "biverted" and added a backlight to the not so cheap Game Boy Pocket I own not so long :) This means testing homebrew cartridges with style! This is the yellow backlight of www.handheldlegends.com - the hex inverter module was quite the hassle with a Game Boy pocket. I should have designed it myself, but also wanted to support the website.

Game Boy Cartridge plus Programmer | Just throwing an idea out

2017-02-27 15:24:05

I think it might be possible to have the ESP8266 inside a cartridge, with an Atmega16A faking to be a dual port (SPI + parallel BUS) SRAM and the ESP8266 faking to be a memory bank controller. This way I could grab data from the web, put it into "RAM" and read it out with the game boy. This way I could also get rid of the dongle ESP idea. Some protocols would have to be written and thought out. Feeling very yoda-ish today. Gotta eat sth.


Research update

Game Boy Cartridge plus Programmer | multi bank roms are working too

2017-02-26 21:07:15

I played around with the code and a Game Boy Camera module, but it all was very weird. I was able to read the header once, and only after I unsucessfully read parts of RAM I was able to read the header again. I'm testing cartridges with RAM modules and different memory bank controllers. I should write down everything I learned about the Game Boy at some point.


Game Title: METROID2

Cartridge Type: 3 - MBC1+RAM+BATTERY

ROM Size: 3 - 256KByte (16 banks)

RAM Size: 2 - 8 Kbytes (1 Bank)


Porygon V2 - but not the evolution of Porygon | legs and tail have servo horn mountings

2017-02-26 21:03:36

off to the printer ... so many great projects in the contest and I want that oscilloscope - but I can probably forget about that already :D head is another topic, soonish, we're all on a deadline.

hey my fellow shermans... wanna buy stuff?

2017-02-25 18:15:39

I'm currently selling things on eBay, just throwing out what would collect dust otherwise. There's currently no international shipping planned, but if someone reaaaaally needs stuff from my oh so small list, tell me and we can find a solution. I hope it's not too bold to advertise something like this, but hey - it has to pay the hobby ;) Should I sell something else, while I'm on it? Any PCBs or Kits?


http://www.ebay.de/usr/davedarkocom

Game Boy Cartridge plus Programmer | woot :3 - Tetris is mine!!!!

2017-02-25 01:10:59

[UPDATE] Ha! Nevermind, they are the same, Hex Editor told me that I was missing a "00" - now everything "checks out". Checksum pun.


I've made it! I'm far from sharing anything, but I finally managed to read AND store a full game! Everything is based on the speedtest for the serial interface over USB and another file storing sample for C. I had to fiddle around with buffer sizes and remove a string in a hexfile editor, but it counts, the came works :) I get 4 times the same checksum for 4 cartridges, but somehow I get a different checksum for a downloaded ROM, and the files look very different.

- Anyways, probably best to go to bed now :)

Game Boy Cartridge plus Programmer | Oops, I did it again

2017-02-24 10:55:58

[UPDATE] silkscreen and the upside-down side of things

An after midnight board, how classic [don't] [just] [don't]. I could have breadboarded this as well first, to check if it actually works. Damn. Now I'm hesitant to reorder, I should try it first. - Wait, what am I talking about?


This is a shield for the Wemos D1 mini, that features a TXB104D, a level-shifter with auto detection for direction. The picture seen here is the corrected version, after ordering the failed PCB. By accident I've mirrored the game boy connecter, because I tried to rotate it in my head. This version has numbered pins, to make it more easy to check. Otherwise I'm pretty proud of it. I can still use it as a breakout board for the TXB104D and check if the connector gets a clean cutout, even use the Wemos D1 mini to talk to 5V stuff.


There are "rumours" that the ESP is 5V tolerant and the Game Boy might be happy with 3V3 volts of the ESP, but I'm not eager to try. By rumours I mean, I thought I have read that somewhere.



Here is that ear worm you're trying to get rid off. Gremlins and ear worms, classic Dave.



Game Boy Cartridge plus Programmer | This slowly turns into an everything game boy project

2017-02-23 14:26:20

I just received my Game Boy Pocket in Classic colors, a japan only release - and I'm in love :3 yellow backlight and bivert mod are on its way. The center one is an old silver game boy where I removed the silver, swapped the display and put in shapeway printed purple buttons. The yellow one is my first GBP.

Game Boy Cartridge plus Programmer | muahaha, I cheated :)

2017-02-21 02:07:23

So since the Teensy++ 2.0 bootloader is not available and I'm not feeling comfortable to learn all the bells and whistles of USB communications I was looking for other options. Googling "at90usb1287 arduino" I found this https://github.com/mattairtech/ArduinoCore-avr - I chose the AT90USB1287 deliberately because of the native USB and fast speeds and way too many IOs to work with, and got it to work with my board :)

https://www.mattairtech.com/index.php/development-boards/mt-db-u6.html


I basically had to add the link to the json file to my boards manager library in th Arduino IDE and download the bootloader from their page (burn bootloader from arduino didn't set the fuses right?). I started with turning lights on and off, because as always blink is a good point to start. I noticed that my register setting skills were non existing, because I always mix up port direction and pin setting, but in the end I found the right way to set the ports and blink the lights. Reading the data port was also easy, after testing and finding out that the JTAG on pins F4-F7 weren't deactivated like the mattairtech folks promised.


Anyway... boom. Single ROM bank cartridges, fear me! Here's the verbose header dump of one of my TETRIS cartridges. Bank switching and writing cartridges to be next. It's fast. Off to bed.

100: 0 - 
101: C3 - �
102: 50 - P
103: 1 - 
104: CE - �
105: ED - �
106: 66 - f
107: 66 - f
108: CC - �
109: D - 

10A: 0 - 
10B: B - 
10C: 3 - 
10D: 73 - s
10E: 0 - 
10F: 83 - �
110: 0 - 
111: C - 
112: 0 - 
113: D - 

114: 0 - 
115: 8 - 
116: 11 - 
117: 1F - 
118: 88 - �
119: 89 - �
11A: 0 - 
11B: E - 
11C: DC - �
11D: CC - �
11E: 6E - n
11F: E6 - �
120: DD - �
121: DD - �
122: D9 - �
123: 99 - �
124: BB - �
125: BB - �
126: 67 - g
127: 63 - c
128: 6E - n
129: E - 
12A: EC - �
12B: CC - �
12C: DD - �
12D: DC - �
12E: 99 - �
12F: 9F - �
130: BB - �
131: B9 - �
132: 33 - 3
133: 3E - >
134: 54 - T
135: 45 - E
136: 54 - T
137: 52 - R
138: 49 - I
139: 53 - S
13A: 0 - 
13B: 0 - 
13C: 0 - 
13D: 0 - 
13E: 0 - 
13F: 0 - 
140: 0 - 
141: 0 - 
142: 0 - 
143: 0 - 
144: 0 - 
145: 0 - 
146: 0 - 
147: 0 - 
148: 0 - 
149: 0 - 
14A: 0 - 
14B: 1 - 
14C: 1 - 
14D: A - 

14E: 16 - 
14F: BF - �

PCB word clock | Version One :)

2017-02-17 03:06:21

Update fun fact: analyzing a charlie plexed matrix for bugs is so much easier when the LEDs are upside down - because of the markings :)


I finally got my LEDs and took the time to hand solder a PCB :) it bleeds a bit in the picture, but in real life it's quite good. The code so far is only a mock up, but there is scanning and matrix stuff involved already.

#include <avr/pgmspace.h>

const int leds[]  = {2,3,4,5,6,7,8,9,10,11,12,13};

const int matrix[10][11][2]  = {
  {  {1, 0},  {0, 1},  {0, 2},  {0, 3},  {0, 4},  {0, 5},  {0, 6},  {0, 7},  {0, 8},  {0, 9}, {0, 10} }, // 0
  {  {2, 0},  {2, 1},  {1, 2},  {1, 3},  {1, 4},  {1, 5},  {1, 6},  {1, 7},  {1, 8},  {1, 9}, {1, 10} }, // 1
  {  {3, 0},  {3, 1},  {3, 2},  {2, 3},  {2, 4},  {2, 5},  {2, 6},  {2, 7},  {2, 8},  {2, 9}, {2, 10} }, // 2
  {  {4, 0},  {4, 1},  {4, 2},  {4, 3},  {3, 4},  {3, 5},  {3, 6},  {3, 7},  {3, 8},  {3, 9}, {3, 10} }, // 3
  {  {5, 0},  {5, 1},  {5, 2},  {5, 3},  {5, 4},  {4, 5},  {4, 6},  {4, 7},  {4, 8},  {4, 9}, {4, 10} }, // 4
  {  {6, 0},  {6, 1},  {6, 2},  {6, 3},  {6, 4},  {6, 5},  {5, 6},  {5, 7},  {5, 8},  {5, 9}, {5, 10} }, // 5
  {  {7, 0},  {7, 1},  {7, 2},  {7, 3},  {7, 4},  {7, 5},  {7, 6},  {6, 7},  {6, 8},  {6, 9}, {6, 10} }, // 6
  {  {8, 0},  {8, 1},  {8, 2},  {8, 3},  {8, 4},  {8, 5},  {8, 6},  {8, 7},  {7, 8},  {7, 9}, {7, 10} }, // 7
  {  {9, 0},  {9, 1},  {9, 2},  {9, 3},  {9, 4},  {9, 5},  {9, 6},  {9, 7},  {9, 8},  {8, 9}, {8, 10} }, // 8
  { {10, 0}, {10, 1}, {10, 2}, {10, 3}, {10, 4}, {10, 5}, {10, 6}, {10, 7}, {10, 8}, {10, 9}, {9, 10} } // 9
};

const boolean img [10][11] = {
  { true,  true, false,  true,  true, false,  true,  true,  true,  true, false},
  {false, false, false, false, false, false, false, false, false, false, false},
  {false, false, false, false, false, false, false, false, false, false, false},
  {false, false,  true,  true,  true,  true, false, false, false, false, false},
  {false, false, false, false,  true,  true,  true, false, false, false, false},
  {false, false, false, false, false, false, false, false, false, false, false},
  {false, false, false, false, false, false, false, false, false, false, false},
  {false, false, false, false, false, false, false, false, false, false, false},
  {false, false, false, false, false, false, false, false, false, false, false},
  {false, false, false, false,  true, false,  true,  true,  true,  true,  true},
};

void setup()  { }

void loop() {
    for (int y=0; y<10; y++) 
    {
      for (int x=0; x<11; x++) 
      {
        if (img[y][x]) charlie_matrix (x, y);
    }
  }
}

void charlie_matrix (int x, int y)
{
   int cx = matrix[y][x][0]; 
   int cy = matrix[y][x][1]; 
  
  digitalWrite(leds[cx], LOW);
  pinMode(leds[cx], OUTPUT);
  digitalWrite(leds[cy], HIGH);
  pinMode(leds[cy], OUTPUT);
  delayMicroseconds(65);

  pinMode(leds[cx], INPUT);
  digitalWrite(leds[cx], LOW);
  pinMode(leds[cy], INPUT);
  digitalWrite(leds[cy], LOW);
  
  delayMicroseconds(5);
}

Porygon V2 - but not the evolution of Porygon | head hollowed out, eyes prepared for flux leds

2017-02-16 09:51:13

Porygon V2 - but not the evolution of Porygon | spend more time with the model

2017-02-15 12:15:51

The cavity should be big enough for the electronics. I cut off a bit of the tail. first body print was pretty good. I had to make some adjustments for the servo cables.

I still need to:

Porygon V2 - but not the evolution of Porygon | skeleton work

2017-02-13 22:55:48

I've done some 3D sketching, servos are the classic SG90 servos, I still need to fit LEDs, an Arduino/ESP and a battery pack in there.

newer 15 / 31 older