<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - ArduinoBoy Problem]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/5701/"/>
	<updated>2012-08-01T23:36:38Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/5701/arduinoboy-problem/</id>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123910/#p123910"/>
			<content type="html"><![CDATA[<p>Hey all.</p><p>I just finished to build a Arduino Pro Mini Arduinoboy.<br />It worked on the first try.. so i guess the problems above were all only arduino mega problems, will post pics of my second boy soon <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />lovin it&#039;</p><p><em>Note: Midi Out doesnt work on Arduino Mega 1280 (even with modified code). It works perfect on Arduino Pro Mini, so i will in the future only use Arduino Pro Minis or Nanos.</em></p>]]></content>
			<author>
				<name><![CDATA[RyuX]]></name>
				<uri>https://chipmusic.org/RyuX</uri>
			</author>
			<updated>2012-08-01T23:36:38Z</updated>
			<id>https://chipmusic.org/forums/post/123910/#p123910</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123120/#p123120"/>
			<content type="html"><![CDATA[<p>Ok i did it... it works now... just still freezes randomly.. i will upload the Arduino Mega Version somewhere, maybe it is helpful for others ?<br />I recoded the PORTF PINF Commands, and also corrected the DDRC -&gt; DDRF.<br />in the int assign i used A0,A1,A2.<br />It works now and can be used with your schematic. Finally.. i feel so relieved <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>Thanks Trash!!</p><br /><p>PS: OK I DONT GET IT... NOW ITS ONLY FREEZING and will not work again, i didnt change anything from the working state before.. what the heck is going on</p><p>PS2: Now its working again, i think its some kind of weird undefinable thing, its now AM 2:20 in the morning here.. i think i will catch some sleep, at least its working now (partially) on the next build i will not use a Mega Board anymore <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Here is a short video uploaded: <a href="http://chipmod.blogspot.co.at/2012/07/new-whack-boy.html" target="_blank">http://chipmod.blogspot.co.at/2012/07/n &#133; k-boy.html</a></p>]]></content>
			<author>
				<name><![CDATA[RyuX]]></name>
				<uri>https://chipmusic.org/RyuX</uri>
			</author>
			<updated>2012-07-31T00:04:37Z</updated>
			<id>https://chipmusic.org/forums/post/123120/#p123120</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123115/#p123115"/>
			<content type="html"><![CDATA[<p>yeah but i read 4,83 Volts on the Clock Pin, the Data Input and the Data Output Pin to Ground. Is that normal ?<br />I wired exactly like stated in the shematic. i saw it working once so i am motivated again, just cant figure out why i have 4,83 Volts coming from the gameboy (i checked another gameboy too) to Clock / Data Out / Data In..?!</p>]]></content>
			<author>
				<name><![CDATA[RyuX]]></name>
				<uri>https://chipmusic.org/RyuX</uri>
			</author>
			<updated>2012-07-30T23:46:27Z</updated>
			<id>https://chipmusic.org/forums/post/123115/#p123115</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123112/#p123112"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>RyuX wrote:</cite><blockquote><p>You said that it should be Serial + / Serial - / GB Clock / Ground.<br />But how come i have 4,83 on Serial + / Serial - and GB Clock to ground ?!<br />somethings wrong xD</p></blockquote></div><p>if I recall its in this order: clock, data output to gb, data input from gb, ground to common, and if you have the wire/pin on the gb connector, 5v to 5v.<br />so: clock to 37, data out to gb on 36, and data in from gb on 35.</p>]]></content>
			<author>
				<name><![CDATA[Trash80]]></name>
				<uri>https://chipmusic.org/Trash80</uri>
			</author>
			<updated>2012-07-30T23:37:03Z</updated>
			<id>https://chipmusic.org/forums/post/123112/#p123112</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123110/#p123110"/>
			<content type="html"><![CDATA[<p>Hey.. i had some luck with changing the &quot;int pinGB etc..&quot; port assign to 37,36,35 and reconnecting the wires.<br />the gameboy started with the midi signal and seemed like it was in sync (at least near).<br />The only strange thing is that the Status LED wont flash no more to the beat (it only stays lit)<br />And after one full modeswitch (approx. 6-7 button presses) the arduinoboy will crash.</p><p>I measured the pins on the GB Link Cable.<br />The Pin 0,1,2 all have 4,83 Volts to Ground. Is that common ?<br />I found out that the arduinoboy only crashes when the GB Link cable is connect, also LSDJ crashes and comes up with an error message.<br />You said that it should be Serial + / Serial - / GB Clock / Ground.<br />But how come i have 4,83 on Serial + / Serial - and GB Clock to ground ?!<br />somethings wrong xD</p>]]></content>
			<author>
				<name><![CDATA[RyuX]]></name>
				<uri>https://chipmusic.org/RyuX</uri>
			</author>
			<updated>2012-07-30T23:16:16Z</updated>
			<id>https://chipmusic.org/forums/post/123110/#p123110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123095/#p123095"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>RyuX wrote:</cite><blockquote><p>Thanks Trash for your time,<br />i tried to replace all the PINC/PORTC with PINF/PORTF<br />It didnt quite work out.. do i have to change the int pinGB**** etc.... Stuff also if i switch to 37,36,35 ?<br />I tried to switch the pins but the Arduinoboy went crazy.<br />But the Gameboy started his sync when i pressed the pushbutton once (and never stopped again)<br />Something must be completely wrong.<br />I will build another device with an Arduino Pro Mini and see what this one does...<br />Maybe any other hints ?<br />Thanks again</p></blockquote></div><p>PORTF should of worked I think. I can try testing it here when I go to my shop in the next few days. In the meantime you can try switching the code back and try just moving the wires I suppose.</p>]]></content>
			<author>
				<name><![CDATA[Trash80]]></name>
				<uri>https://chipmusic.org/Trash80</uri>
			</author>
			<updated>2012-07-30T22:19:28Z</updated>
			<id>https://chipmusic.org/forums/post/123095/#p123095</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123086/#p123086"/>
			<content type="html"><![CDATA[<p>Thanks Trash for your time,<br />i tried to replace all the PINC/PORTC with PINF/PORTF<br />It didnt quite work out.. do i have to change the int pinGB**** etc.... Stuff also if i switch to 37,36,35 ?<br />I tried to switch the pins but the Arduinoboy went crazy.<br />But the Gameboy started his sync when i pressed the pushbutton once (and never stopped again)<br />Something must be completely wrong.<br />I will build another device with an Arduino Pro Mini and see what this one does...<br />Maybe any other hints ?<br />Thanks again</p>]]></content>
			<author>
				<name><![CDATA[RyuX]]></name>
				<uri>https://chipmusic.org/RyuX</uri>
			</author>
			<updated>2012-07-30T21:16:26Z</updated>
			<id>https://chipmusic.org/forums/post/123086/#p123086</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123056/#p123056"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>RyuX wrote:</cite><blockquote><p>PS: by the way.. i will build a standard arduinoboy too, and i wonder which mode is currently activated, there seems to be no list that says &quot;if LED1 is on you are in LSDJ Slave mode&quot; etc. I would really love to write it down so i can look it up.. thx</p></blockquote></div><p>Updated the ardunoboy page...</p><div class="quotebox"><cite>arduinoboy page wrote:</cite><blockquote><p>Push Button to select the sync/state mode (7 modes available)<br />1. LSDJ as MIDI Slave Sync with sync effects and midi note transport control. Also Note value to LSDJ song position row offset on Song Start.<br />2. LSDJ as MIDI Master Sync. Send Midi sync with LSDJ, LSDJ also sends a Midi Note on message that corresponds to the song row number<br />3. LSDJ PC Keyboard mode. with the first octave controlling M-U-T-E, Cursor control (LSDJ Live mode only), Table selection and table cue.<br />4. MIDI to Nanoloop sync<br />5. Full MIDI with mGB (Details below)<br />6. LSDJ LIVE MAP ... incoming MIDI notes cue LSDJ row numbers, requires custom LSDJ version on the LSDJ site.<br />7. LSDJ MIDIOUT ... sends MIDI out from LSDJ, requires custom LSDJ version on the LSDJ site.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Trash80]]></name>
				<uri>https://chipmusic.org/Trash80</uri>
			</author>
			<updated>2012-07-30T19:21:11Z</updated>
			<id>https://chipmusic.org/forums/post/123056/#p123056</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123054/#p123054"/>
			<content type="html"><![CDATA[<p>Alternatively you can move the wires from the analog ins 0,1,2 to pins 37,36,35 in that order, that should work.</p><p>PORTC on a arduino uno / 328/ 168 are the analog in pins, and PORTC on a arduino mega / 1280/2560 it refers to pins 30 to 37, backwards.</p>]]></content>
			<author>
				<name><![CDATA[Trash80]]></name>
				<uri>https://chipmusic.org/Trash80</uri>
			</author>
			<updated>2012-07-30T19:11:43Z</updated>
			<id>https://chipmusic.org/forums/post/123054/#p123054</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/123053/#p123053"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>RyuX wrote:</cite><blockquote><p>I wonder if it has something to do with the Analog INs ?! (i dont really get it how Analog Inputs can send the gameboy a signal)</p></blockquote></div><p>It&#039;s using those pins as digital outs (except the input from gameboy, that&#039;d be input <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><br /><div class="quotebox"><cite>RyuX wrote:</cite><blockquote><p>It could also be my Arduino Mega 1280 (chinese copy) ?!<br />Maybe someone has a clue. Thanks guys</p></blockquote></div><p>Yup, the code was made for the atmega 328/168 chip, the 1280 is a different chip so you&#039;vee either have to find out where the pins are located or find/replace all of the arduinoboy code (all tabs in the editor)... &quot;PINC&quot; to &quot;PIN[whatever it is]&quot; and &quot;PORTC&quot; to &quot;PORT[whatever it is]&quot; looking at this thread... <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1241206933" target="_blank">http://www.arduino.cc/cgi-bin/yabb2/YaB &#133; 1241206933</a> ... you can change the code from &quot;PINC&quot; to &quot;PINF&quot; and &quot;PORTC&quot; to &quot;PORTF&quot;</p>]]></content>
			<author>
				<name><![CDATA[Trash80]]></name>
				<uri>https://chipmusic.org/Trash80</uri>
			</author>
			<updated>2012-07-30T19:09:31Z</updated>
			<id>https://chipmusic.org/forums/post/123053/#p123053</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/122981/#p122981"/>
			<content type="html"><![CDATA[<p>Thanks guys, but one question.. i tried to wire up the gameboy to my arduinoboy.<br />in the schematic it says GB Cable and you see the pins. i soldered it that way but in LSDJ it just keeps waiting and doesnt start at all.<br />Has the GB Cable to be wired this way going to the Arduino, or is the pinout going to the Gameboy ?<br />I dont understand why it doesnt work...</p><p>PS: I tried both methods. The Difference from the Cable to the Gameboy / Arduinoboy is just 2 Pins (Analog in PIN2/PIN1 switches around).<br />It seems that nothing works, the Arduinoboy responds to my MidiClock that i send with cubase, but the gameboy doesnt.<br />I wonder if it has something to do with the Analog INs ?! (i dont really get it how Analog Inputs can send the gameboy a signal)<br />It could also be my Arduino Mega 1280 (chinese copy) ?!<br />Maybe someone has a clue. Thanks guys</p>]]></content>
			<author>
				<name><![CDATA[RyuX]]></name>
				<uri>https://chipmusic.org/RyuX</uri>
			</author>
			<updated>2012-07-30T09:16:06Z</updated>
			<id>https://chipmusic.org/forums/post/122981/#p122981</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/122613/#p122613"/>
			<content type="html"><![CDATA[<p>Making me anxious for mine to get here. . . <img src="https://chipmusic.org/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />The heart is a nice touch</p>]]></content>
			<author>
				<name><![CDATA[Auxcide]]></name>
				<uri>https://chipmusic.org/Auxcide</uri>
			</author>
			<updated>2012-07-28T06:42:14Z</updated>
			<id>https://chipmusic.org/forums/post/122613/#p122613</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/122612/#p122612"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>RyuX wrote:</cite><blockquote><p>First test of my arduinoboy #1 <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> ... <a href="http://chipmod.blogspot.co.at/2012/07/arduinoboy-1-first-test.html" target="_blank">http://chipmod.blogspot.co.at/2012/07/a &#133; -test.html</a></p></blockquote></div><p>Looks super rad <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[basspuddle]]></name>
				<uri>https://chipmusic.org/basspuddle</uri>
			</author>
			<updated>2012-07-28T06:31:32Z</updated>
			<id>https://chipmusic.org/forums/post/122612/#p122612</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/122611/#p122611"/>
			<content type="html"><![CDATA[<p>First test of my arduinoboy #1 <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> ... <a href="http://chipmod.blogspot.co.at/2012/07/arduinoboy-1-first-test.html" target="_blank">http://chipmod.blogspot.co.at/2012/07/a &#133; -test.html</a></p>]]></content>
			<author>
				<name><![CDATA[RyuX]]></name>
				<uri>https://chipmusic.org/RyuX</uri>
			</author>
			<updated>2012-07-28T06:26:59Z</updated>
			<id>https://chipmusic.org/forums/post/122611/#p122611</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: ArduinoBoy Problem]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/120935/#p120935"/>
			<content type="html"><![CDATA[<p>Awesome and easy solution ! Will try that as soon as my parts have arrived !!<br />Thanks for all the work you already put into it that is making all that possible <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>Greets from austria</p><p>PS: by the way.. i will build a standard arduinoboy too, and i wonder which mode is currently activated, there seems to be no list that says &quot;if LED1 is on you are in LSDJ Slave mode&quot; etc. I would really love to write it down so i can look it up.. thx</p>]]></content>
			<author>
				<name><![CDATA[RyuX]]></name>
				<uri>https://chipmusic.org/RyuX</uri>
			</author>
			<updated>2012-07-19T22:45:57Z</updated>
			<id>https://chipmusic.org/forums/post/120935/#p120935</id>
		</entry>
</feed>
