<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - another LSDJ AB MIDIOUT issue]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/17286/"/>
	<updated>2015-12-11T18:12:25Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/17286/another-lsdj-ab-midiout-issue/</id>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237410/#p237410"/>
			<content type="html"><![CDATA[<p>the resistors idea is interesting, but I&#039;ve pretty much confirmed that the arduinoboy hardware is fine because the MIDI test sketch you sent me worked properly. I&#039;ve looked up crosstalk and it seems arduino&nbsp; occasionally has this problem. why it wold consistently happen to me and no one else I can&#039;t figure out but it seems that these inaccuracies can be solved by going into the sketch and taking multiple samples at Analog In and then averaging them, which I&#039;m gussing the arduino can do even many times while the GB is sending one serial bit. this is going to be Fun, as I have very limited experience programming the arduino. but the plan is simple. find all instances in the sketch of analog reads, and apply some kind of multiple checking and average the results. but if that&#039;s not the problem&nbsp; I&#039;ll have done it for nothing and still not know what the problem is...or why it went wrong for me in the first place</p><br /><p>one thing I did notice is that one of the conductors of the Link cable measures 1~2 ohms while the rest read zero.&nbsp; I want to try this out with a different link cable but I&#039;m hesitant to cut up my only other good one so I&#039;m looking for an F-1 Race Quad splitter to cannibalize for the port. does that port have all the conductors I need?</p><p>also I was thinking what if the analog ins were made #1, #3 and #5 or #1, #4 and #6 so the inputs were more spread apart but they still run pretty close on the PCB so that probably wouldn&#039;t make much o a difference.</p>]]></content>
			<author>
				<name><![CDATA[Roni]]></name>
				<uri>https://chipmusic.org/Roni</uri>
			</author>
			<updated>2015-12-11T18:12:25Z</updated>
			<id>https://chipmusic.org/forums/post/237410/#p237410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237382/#p237382"/>
			<content type="html"><![CDATA[<p>Are you absolutely sure your resistors are the correct values? I recently accidentally used some wrong values and I had erratic behavior. Midi out worked, but it sent nonsense.</p><p>I agree it&#039;s a long shot.</p>]]></content>
			<author>
				<name><![CDATA[catskull]]></name>
				<uri>https://chipmusic.org/catskull</uri>
			</author>
			<updated>2015-12-11T03:15:30Z</updated>
			<id>https://chipmusic.org/forums/post/237382/#p237382</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237379/#p237379"/>
			<content type="html"><![CDATA[<p>The remaining things I could imagine it being:</p><p>-Link cable (even if you tested it with a multi-meter it&#039;s possible there&#039;s enough cross-talk to ruin the signal)<br />-The arduino sketch you&#039;re using (ensure it&#039;s the correct, up-to-date version)<br />-Your Arduino Software (ensure it&#039;s the correct, up-to-date version)<br />-The cartridge itself (drawing too much power or somehow causing some form of crosstalk?)<br />-The MIDI gear (if the MIDI output is slightly out of spec it could explain why it works for many people but not you)</p><p>Those are all sort of long shots, though.</p>]]></content>
			<author>
				<name><![CDATA[jefftheworld]]></name>
				<uri>https://chipmusic.org/jefftheworld</uri>
			</author>
			<updated>2015-12-11T02:51:02Z</updated>
			<id>https://chipmusic.org/forums/post/237379/#p237379</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/237378/#p237378"/>
			<content type="html"><![CDATA[<p>just finished another round of testing. still on the fritz. at this point I&#039;ve tried two different DMGs, three different Arduinos, made sure the Link cable is working, ran the MIDI test sketch with no problems, replaced all my LEDs and resistors, what else could possibly be wrong? running notes in LSDJ on MIDIOUT mode with N command still spits out nonsense. it&#039;s almost as if the bits are being masked or that there&#039;s a sync problem. it&#039;s hard to tell whether this is the case, I guess I could check every byte received and see if they share a set or clear bit in common. it just seems like a huge pain in the ass right now, and I &#039;m not sure what that would accomplish. I&#039;m almost convinced it&#039;s the way the arduino sketch is interpreting the signals from the DMG.</p><p><a class="postimg" href="http://imgur.com/j6PUaP4.jpg" title="just trying to get Note On signals from N command" id="forum_image_27421606"><img src="http://imgur.com/j6PUaP4.jpg" /></a></p><p>and now I have no idea what to try next. somebody. please help.</p>]]></content>
			<author>
				<name><![CDATA[Roni]]></name>
				<uri>https://chipmusic.org/Roni</uri>
			</author>
			<updated>2015-12-11T02:12:16Z</updated>
			<id>https://chipmusic.org/forums/post/237378/#p237378</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236325/#p236325"/>
			<content type="html"><![CDATA[<p>thinking of installing the Aref potentiometer on the freeduino, manual says it can increase analog sensitivity. good/bad idea? only remaining options are trying the DMG with brand spanking new batteries, with a DC adapter, or a different DMG altogether.</p>]]></content>
			<author>
				<name><![CDATA[Roni]]></name>
				<uri>https://chipmusic.org/Roni</uri>
			</author>
			<updated>2015-11-12T08:52:51Z</updated>
			<id>https://chipmusic.org/forums/post/236325/#p236325</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236321/#p236321"/>
			<content type="html"><![CDATA[<p>also using a Pokemon Yellow Link cable, cut in half. Splits to a Y to fit DMG and GBC ports. GBC side has all 6 conductors, Dmg side has conductors at pins 2,3,5 and 6.</p><p>| 6 4 2 |<br />\ 5 3 1/&nbsp; &lt;-----a diagram looking at the link cable</p>]]></content>
			<author>
				<name><![CDATA[Roni]]></name>
				<uri>https://chipmusic.org/Roni</uri>
			</author>
			<updated>2015-11-12T05:05:28Z</updated>
			<id>https://chipmusic.org/forums/post/236321/#p236321</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236320/#p236320"/>
			<content type="html"><![CDATA[<p>Just tried it. Everything seems to check out OK.<br /><a class="postimg" href="http://i.imgur.com/Zzfx6h1.png" title="10 seconds of MIDI_Output_Test" id="forum_image_56926919"><img src="http://i.imgur.com/Zzfx6h1.png" /></a></p>]]></content>
			<author>
				<name><![CDATA[Roni]]></name>
				<uri>https://chipmusic.org/Roni</uri>
			</author>
			<updated>2015-11-12T04:57:29Z</updated>
			<id>https://chipmusic.org/forums/post/236320/#p236320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236317/#p236317"/>
			<content type="html"><![CDATA[<p>Which link cable are you using?</p><p>Did you try the MIDI out link I posted?</p>]]></content>
			<author>
				<name><![CDATA[catskull]]></name>
				<uri>https://chipmusic.org/catskull</uri>
			</author>
			<updated>2015-11-12T04:09:14Z</updated>
			<id>https://chipmusic.org/forums/post/236317/#p236317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236316/#p236316"/>
			<content type="html"><![CDATA[<p>the problem isn&#039;t with the Link cable. I did a continuity test and Link cable pins are as follows:<br /></p><ol class="decimal"><li><p>white - 5v - unused</p></li><li><p>blue - to Arduino analog pin 2</p></li><li><p>green - to Arduino analog pin 1</p></li><li><p>brown - unused</p></li><li><p>orange - to Arduino analog pin 0</p></li><li><p>black - to Ground</p></li></ol><p>I&#039;ve also tried both MIDI Out wirings just to be sure. It&#039;s wired correctly.</p><p>the remaining possibilities: may have used wrong resistors as I&#039;m going by color code and have no ohmmeter at the moment. Also mismatched LEDs may have confused the Arduino. It&#039;s also remotely possible there&#039;s something wrong with the Arduino which was assembled from a kit. <br />Do Arduinos sometimes have trouble reading voltage levels at the analog inputs? <br />Finally, I don&#039;t have a DC adapter for the DMG, although I&#039;ve been working with the relatively fresh AAs (thanks Golden Power!) that came with the Volca unit.</p>]]></content>
			<author>
				<name><![CDATA[Roni]]></name>
				<uri>https://chipmusic.org/Roni</uri>
			</author>
			<updated>2015-11-12T04:02:44Z</updated>
			<id>https://chipmusic.org/forums/post/236316/#p236316</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236272/#p236272"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>catskull wrote:</cite><blockquote><div class="quotebox"><cite>herr_prof wrote:</cite><blockquote><p>the schematic has the midi out pins swapped, did you account for that and fix?</p></blockquote></div><p>The trash80 schematic is wrong?</p></blockquote></div><p>No, but you have to keep in mind that it&#039;s from behind the socket. That is, it&#039;s viewed from the side to which you solder your connections.</p>]]></content>
			<author>
				<name><![CDATA[jefftheworld]]></name>
				<uri>https://chipmusic.org/jefftheworld</uri>
			</author>
			<updated>2015-11-11T02:05:12Z</updated>
			<id>https://chipmusic.org/forums/post/236272/#p236272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236270/#p236270"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>herr_prof wrote:</cite><blockquote><p>the schematic has the midi out pins swapped, did you account for that and fix?</p></blockquote></div><p>The trash80 schematic is wrong?</p>]]></content>
			<author>
				<name><![CDATA[catskull]]></name>
				<uri>https://chipmusic.org/catskull</uri>
			</author>
			<updated>2015-11-11T00:47:17Z</updated>
			<id>https://chipmusic.org/forums/post/236270/#p236270</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236266/#p236266"/>
			<content type="html"><![CDATA[<p>The wiring for the midiout should be similar to this:</p><p><a class="postimg" href="http://www.tigoe.com/pcomp/img/midi-out-simple-ckt.jpg" title="http://www.tigoe.com/pcomp/img/midi-out-simple-ckt.jpg" id="forum_image_42240505"><img src="http://www.tigoe.com/pcomp/img/midi-out-simple-ckt.jpg" /></a></p>]]></content>
			<author>
				<name><![CDATA[jefftheworld]]></name>
				<uri>https://chipmusic.org/jefftheworld</uri>
			</author>
			<updated>2015-11-11T00:08:36Z</updated>
			<id>https://chipmusic.org/forums/post/236266/#p236266</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236261/#p236261"/>
			<content type="html"><![CDATA[<p>the schematic has the midi out pins swapped, did you account for that and fix?</p>]]></content>
			<author>
				<name><![CDATA[herr_prof]]></name>
				<uri>https://chipmusic.org/herr_prof</uri>
			</author>
			<updated>2015-11-10T22:37:09Z</updated>
			<id>https://chipmusic.org/forums/post/236261/#p236261</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236222/#p236222"/>
			<content type="html"><![CDATA[<p>I&#039;ve had only minor issues with MIDIOUT, mostly when I&#039;m pushing CC parameter changes very fast. </p><p>In general my DMG has no issues with it, though.</p><p>All the Volcas in this video are being driven by MIDIOUT from my DMG, for example:</p><p><div class="embed_video"><iframe width="560" height="340" src="https://www.youtube.com/embed/zshieLhp8cw" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></p>]]></content>
			<author>
				<name><![CDATA[jefftheworld]]></name>
				<uri>https://chipmusic.org/jefftheworld</uri>
			</author>
			<updated>2015-11-09T15:42:08Z</updated>
			<id>https://chipmusic.org/forums/post/236222/#p236222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: another LSDJ AB MIDIOUT issue]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/236220/#p236220"/>
			<content type="html"><![CDATA[<p>I think you&#039;re barking up the wrong tree here. The arduinoboy code was developed on a DMG. I would be shocked if your problems had anything to do with your gameboy or cartridge. I had tons of problems with building one by hand which is exactly why I made the PCB&#039;s. In any case, the only problem I had was with my connections, usually either with link cable or the midi jacks.</p><p>Did you look at the arduino midi out tutorial I posted? Like I said before, the schematic is the exact same so build that circuit and upload the code in the tutorial and if that works then you know the problem is on your link cable connection.</p>]]></content>
			<author>
				<name><![CDATA[catskull]]></name>
				<uri>https://chipmusic.org/catskull</uri>
			</author>
			<updated>2015-11-09T15:21:56Z</updated>
			<id>https://chipmusic.org/forums/post/236220/#p236220</id>
		</entry>
</feed>
