Chip show in Sac... and I didn't find my way to this thread years past the show date!!! This doesn't sound like my usual luck, haha. Mailed!

2

(20 replies, posted in Nintendo Handhelds)

If i'm using shielded cable, where do I solder the shield to? Or should I just use stranded wire?

Slumpy wrote:

I have a quick question as well and didn't want to make a new thread when it's so closely related to this one.

I'm following low-gain's pro sound tutorial in which i'll install a separate 1/8" jack for line out and I want to make sure that I get this right. I don't cut any wires, I solder the new 1/8" jack to pre-left and right and ground solder points and cut out the speaker. By doing this I will have a pro sound mod in which the headphone jack works fine and the line out is always max volume for recording, right?

Tutorial: http://lowgain-audio.com/GBclassicmod.htm

Bumping for some quick reassurance, the sooner I get some the sooner I can finish this mod.

4

(20 replies, posted in Nintendo Handhelds)

I have a quick question as well and didn't want to make a new thread when it's so closely related to this one.

I'm following low-gain's pro sound tutorial in which i'll install a separate 1/8" jack for line out and I want to make sure that I get this right. I don't cut any wires, I solder the new 1/8" jack to pre-left and right and ground solder points and cut out the speaker. By doing this I will have a pro sound mod in which the headphone jack works fine and the line out is always max volume for recording, right?

Tutorial: http://lowgain-audio.com/GBclassicmod.htm

Holy crap, this is sooo awesome!!!!!!!!!!

What are the songs?

Update, I accidentally had it on channel 2, not the whole time, just when the mpk25 native program is up it automatically goes to channel 2. (I never use the program, in fact, trouble shooting this arduinoboy was the first time I used it) With cubase open and proper midi routing IT FINALLY WORKS!!!!! 3 DAYS AND IT WAS ALL BECAUSE I HAD THE WRONG SWITCH!!!!! YESSSSSSSSSSSSSSSS!!! I'M GETTING DRUNK TONIGHT TO CELEBRATE AND JAM!!!!!! Not like i'm an alcoholic or anything, just looking for any reason to get drunk off wine...wait a second...


FUCK YES!


That's seriously just my luck though, the wrong damn switch, haha.

Cheers Syn and Trash80

LAST UPDATE: Just for those who stumble onto this thread with the same problem.

The proper switch makes all the difference! Make sure you have an Open SPST Momentary Pushbutton Switch. My earlier MIDI problems when I was trying to force start mGB was due to a defunt optoisolator. There was no continuity between pins 2 and 3. There were only 2 optoisolators at the store, one was in nice packaging and the other was in fucked up packaging. I obviously got the nicely packed one first, but you should never judge a component by its packaging because it ended up being broken!

THE SWITCH WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! You guys were right; I bought an open position momentary SPST pushbutton switch. Now i'm getting somewhere, still no sound from mGB. I'm going to eat something and then start troubleshooting this midi in.

Damn, progress feels good though smile

trash80 wrote:

The button you are using... is it a momentary push button or a switch?
It should be a momentary push button ie: it doesn't lock to on and lock to off, only on when held down.

Thaank you, i'm off to get a momentary push button!

Also, can you tell me what the right code is for force starting mGB?

Thank you for acknowledging my existence and the fact that I am, in fact, having problems with this straightforward and relatively simple project. I'm starting to question my sanity here. Anyways, I re-uploaded the code and I've reversed the connections on my switch and it still cycles through. Unless it says somewhere that you need a certain special switch I got just a regular SPST push-on/off switch.

Hmmmm, as I was writing this it started doing something I have not seen before, it cycles through the LEDs in a seemingly random order, and then remains on LED 2 (Mode1) for awhile before doing it again....I may be on to something. Even when I switch it seems to always come back to LED2

Sweet, i'll try the code and update you

Edit: Tried the code and it's back to cycling through. I'll try and video the random order and LED2 re occurance and upload it though

Edit: Also just noticed that you talked about the sparkfun midi shield thread. No i'm not using that, just didn't want to make a new thread because we had the same problems, just he decided to never update his thread and I still can't figure it out. I'll check to see what kind of push button I have.

I've thought up some elaborate experiments to make sure all the parts work on their own. They do. Every hardware part works. The problem must be the code. I am clueless in this department. Please help!

I can visibly see my computer sending midi data; if I unplug the cord and plug it in my keyboard, my keyboard receives the data and plays the notes. I'm not sure how to use the serial monitor in the arduino program, but when I open the box it has nothing so I'm assuming it isn't receiving data. This is my second optoisolator and the last one the store had. I'm sure it works on its own due to continuity testing between relevant pins. There are no shorts and the pins are all securely held into the arduino. I'm now assuming "0x04, //mode" is mGB because LED 6 lights up when I restart the board and 0 counts as a mode, which would make 4 - mode 5.

Please help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Alright, this has been troubling me so much i've decided to make my own thread. First, video and pictures, then i'll explain myself more.

Video Update:  http://youtu.be/mQkDFxm7DW0

Pictures:



I'm not entirely sure how to force start into mGB. Is this what the code should look like?

code wrote:

boolean alwaysUseDefaultSettings = true; //set to true to always use the settings below, else they are pulled from memory for the software editor


boolean usbMode                  = false; //to use usb for serial communication as oppose to MIDI - sets baud rate to 38400


byte defaultMemoryMap[MEM_MAX] = {
  0x7F,0x01,0x02,0x7F, //memory init check
  0x01, //force mode (forces lsdj to be sl)
  0x05, //mode

I've also tried:

code wrote:

0x05, //force mode (forces lsdj to be sl)
  0x05, //mode

Anyways, i'm fairly certain it has to be with the code, i've literally switched out every major part and have built the arduinoboy from "scratch" 3 times. I know it may seem like i've been spamming because this board is relatively slow, so sorry for that. This thread will be the last of it unless I get advice and/or figure it out.

And what do I do with Pin 3 if I take the switching circuit out to force start mGB?? I've tried every conceivable option and none worked.

*Previous troubleshooting posts: http://chipmusic.org/forums/post/111433/#p111433

Alright, I know double posting is usually frowned upon in forums (in this case quadruple posting), but this board moves slow enough that I figure it's OK.

Anyways, the video I posted is really worthless, so hopefully these pics will help.

http://www.imagebanana.com/view/zc0zznk2/DSCN1876.JPG

http://www.imagebanana.com/code/ehpbw3va/DSCN1872.JPG

http://www.imagebanana.com/view/zf4gk4be/DSCN1873.JPG

Won't let me embed the pics with the  tags sad

So this morning I took everything apart and put it back together again. No mode cycling this time, but still no button response. I've tried wiring pin 3 straight to the SPST button and the SPST button to ground, taking out the 2k resistor, and the button will then shut off/on the gameboy itself; don't know if that's useful information.

And here I thought that the hardest part to get going would be the midi connections themselves, unless it still is the hardest part, in which case it's not very reassuring!

UPDATE: I've tried bypassing the whole button select mode and force start the arduinoboy into mGB mode. I set forcemode to 4 and put alwaysUseDefaultSettings = true. My akai mpk25 is outputting midi but no sound from mGB....

UPDATE2: I've checked the actual DIN plug with my continuity option on my volt-ohmeter along with all the pins of the optoisolator. Everything checks out. I've made sure my akaiMPK25 is outputting midi data on channel 1. Still nothing.

I've tried force starting mode 4 and 5 because i'm not sure which one is mGB. In mode 4, the 6th LED lights up. In mode 5, the first 3 LEDs light up. In all cases the LEDs don't stay lit up.

I don't know what I should do with pin 3 since i'm force starting to mGB. I've tried taking out the switch but leaving the rest of the connections in tact. I've tried putting pin 3 straight to ground; and through the 2k resistor to ground. I've also tried taking off pin 3 completely. Still nothing.

I guess my only option is to buy a new 6n138 and hope to god that works. Any help appreciated, or at least any acknowledgment that I exist in this thread will help too. In retrospect I probably should have just started my own thread. Actually, if a new 6n138 doesn't work I may just start my own thread.

Also: It's not shown in the picture, but i've added the 4.7k resistor suggested by nitro2k01

http://www.youtube.com/watch?v=GPBGsFAa … e=youtu.be

Video up. Pictures soon to come...probably tomorrow though.

PS: Sorry for completely butchering your name Nitro2k01; if it's any consolation i'm kind of drunk and frustrated.

Also: wtf casper, If you solved this problem i'm going to be pissed that you didn't update this thread.

PSS: I'm drunk and bad with words

Alright, I know it must be something with the switch, upon further research that is usually to blame. I tinned the DMG-07 wires just in case, although I know it wasn't a problem because the arduino would still remain on after pulling the USB out. The LEDs flicker on upon restart and "re-flashing", so no problem there. I've checked everything a million times against trash's schematic and 2 player's schematic. (
http://2playermusic.tumblr.com/post/703 … arduinoboy) No connections where there shouldn't be.

Anyways, the arduino no longer cycles modes, but the button doesn't have any affect. I've tried 2 other SPST switches, although they were both toggle switches and not push buttons. I've also tried the suggested code change from up above. Nothing. This is getting a bit frustrating, any help appreciated! I already bought my bottle of 2 buck chuck expecting to jam out tonight! I'll keep troubleshooting. Do you guys want photos or videos? I can do either...In fact, i'll upload photos and make a video if requested.

Also: Should I ground the shield from the DMG-07 or something. Right now i've just twisted it off to the side and have done nothing with it.

Hey, Having the same problem. I breadboarded mine out and all the connections seem to be fine; although if the switch is the problem maybe I got the wrong type. I'm using a SPST push-on/off switch. I'm a noob at arduino as well...so confused.

Also, i'm using a DMG-07 cable, right now it's all alligator clipped up, but the wire is stranded; do you think I should tin them for the prototyping?

Last question: With the midi out, will I be able to play music and trigger midi at the same time. As in use one channel (preferably the noise channel) just to trigger samples on my sp-303 and use the other 3 channels as I like?