<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/13608/"/>
	<updated>2014-09-18T05:03:21Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/13608/dmg-main-board-schematic-circuit-arduinoboy/</id>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/217424/#p217424"/>
			<content type="html"><![CDATA[<p>So, the integrated TeensyBoy is already planned, and if there&#039;s enough spare IO I don&#039;t see why DIN MIDI couldn&#039;t be done (I think it would only require 2 pins). Also, people will inevitably still want a Link Port for syncing with an unmodded gameboy or using a PS/2 adapter for keyboards. </p><p>That&#039;s 3 connectors (4 if you seperate the MIDI into 2 seperate connectors), and there&#039;s only room for 1 in an unmodified DMG shell.</p><p>IMO you should just leave unpopulated headers for people to add their own connectors, but that&#039;s just me. There&#039;s probably a better way.</p>]]></content>
			<author>
				<name><![CDATA[loudaslife]]></name>
				<uri>https://chipmusic.org/loudaslife</uri>
			</author>
			<updated>2014-09-18T05:03:21Z</updated>
			<id>https://chipmusic.org/forums/post/217424/#p217424</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/217418/#p217418"/>
			<content type="html"><![CDATA[<p>I *will* throw my voice in here and say that while the Arduino(boy) embedded idea is great, what is even better is the fact that it is possible to have a Teensy 2.0 piggyback on the Arduinoboy&#039;s MIDI connections to offer USB MIDI via <a href="https://www.pjrc.com/teensy/td_libs_MIDI.html" target="_blank">https://www.pjrc.com/teensy/td_libs_MIDI.html</a> this project AS WELL as DIN MIDI. <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>This would allow you to have ALL the features of the Arduinoboy carry over through USB in one unit while overcoming the shortfalls of the Teensyboy being a slightly incomplete port of the Arduinoboy code (I think it&#039;s due to a lack of a certain kind of MIDI library for the Teensy 2.0 iirc).</p>]]></content>
			<author>
				<name><![CDATA[MaxDolensky]]></name>
				<uri>https://chipmusic.org/MaxDolensky</uri>
			</author>
			<updated>2014-09-18T02:54:16Z</updated>
			<id>https://chipmusic.org/forums/post/217418/#p217418</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/217389/#p217389"/>
			<content type="html"><![CDATA[<p>bit 9, I must say, first of all, that I’m impressed by your de-soldering skills. You have been able to cleanly remove all the components without any solder falling here or there. This has been an excellent example of hard work.&nbsp; The 80hours that you have spent on it have been worth it most probably and not only will this help me, this will also help so many other people who were waiting for someone who will do this. Anyways, thank you for your hard work.</p><p><a href="http://www.7pcb.com/pcb-quote-online.php" target="_blank">pcb cost</a></p>]]></content>
			<author>
				<name><![CDATA[wilson77]]></name>
				<uri>https://chipmusic.org/wilson77</uri>
			</author>
			<updated>2014-09-17T15:40:44Z</updated>
			<id>https://chipmusic.org/forums/post/217389/#p217389</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/216306/#p216306"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>loudaslife wrote:</cite><blockquote><p>Allow me to ask the most obvious question here: What about CPUs? The idea of new boards seems a little bit less exciting if you have to scavenge CPUs from old boards. Has anybody discussed reverse engineering the DMG CPU? The Chinese clones and K1 did it, both with more complex chips. It can&#039;t possibly be <em>that</em> impossible.</p><p>Also, the next biggest question: If you&#039;re going balls-to-the-wall to create the ultimate DMG board, what about an internal flash cart akin to that of the K1? Possibly accessible via the teensy&#039;s USB?</p></blockquote></div><p>This. Yes. I know. Oh my. Yes.</p><p>I haven&#039;t found any online chip manufactures that sell the LR35902/8080/Z80/whateveryouwanttocallit CPU. A few claim to be able to fabricate some on demand, but that doesn&#039;t look as promising as it sounds. The emulator community has the instruction set <a href="http://www.pastraiser.com/cpu/gameboy/gameboy_opcodes.html" target="_blank">well documented</a> if full-crazy is the flavor of choice. But I feel like a &#039;first things first&#039; approach -- upgrading the power supply and making sure I didn&#039;t totally faff up somewhere in the schematic -- seems like a more accessible milestone.<br />If an objective is to manipulate the DMG-CPU with the Teensy, stuff could get crazy. You could potentially go beyond a simple flash cart, and slave the DMG down to its core. As in, you could transcend LSDJ and have a computer-run tracker do everything except fabricate the actual sound.</p><p>But my inner evil genius knows well the taste of hubris.</p>]]></content>
			<author>
				<name><![CDATA[bit 9]]></name>
				<uri>https://chipmusic.org/bit+9</uri>
			</author>
			<updated>2014-08-29T02:53:17Z</updated>
			<id>https://chipmusic.org/forums/post/216306/#p216306</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/215994/#p215994"/>
			<content type="html"><![CDATA[<p>Allow me to ask the most obvious question here: What about CPUs? The idea of new boards seems a little bit less exciting if you have to scavenge CPUs from old boards. Has anybody discussed reverse engineering the DMG CPU? The Chinese clones and K1 did it, both with more complex chips. It can&#039;t possibly be <em>that</em> impossible.</p><p>Also, the next biggest question: If you&#039;re going balls-to-the-wall to create the ultimate DMG board, what about an internal flash cart akin to that of the K1? Possibly accessible via the teensy&#039;s USB?</p>]]></content>
			<author>
				<name><![CDATA[loudaslife]]></name>
				<uri>https://chipmusic.org/loudaslife</uri>
			</author>
			<updated>2014-08-25T03:45:00Z</updated>
			<id>https://chipmusic.org/forums/post/215994/#p215994</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/215957/#p215957"/>
			<content type="html"><![CDATA[<p>Hay folks,<br />&lt;<span style="color: #d5267e">tl;dr</span>&gt; I have Eagle schematics of the entire DMG-01 ready for everyone along with a complete CPU board layout &lt;<span style="color: #d5267e">/tl;dr</span>&gt;<br />I recently revisited my work on the original DMG schematics and board layouts, and brought it to a point of completion. I’ve sent the Eagle files over to nitro2k01 to host, so they’ll be available for everyone soon. The completed schematic looks like <a href="http://i.imgur.com/T0AuBIa.png" target="_blank">this</a>:<br /><a class="postimg" href="http://i.imgur.com/T0AuBIa.png" title="http://i.imgur.com/T0AuBIa.png" id="forum_image_32375605"><img src="http://i.imgur.com/T0AuBIa.png" /></a></p><p>Thus goes the story of my adventure: After consulting with xiwi over the construction of his original Arduinoboy kit, and his introduction of the Teensyboy to me, I thought there had to be a better way to hook up a DMG to a computer. I found <a href="http://gbdev.gg8.se/files/schematics/DMG-Rolf/" target="_blank">Rolf’s work in Eagle</a>, and came up with a plan. I Craigslist’d 2 DMGs, decimated one and scanned the bare board. I then imported the images into Eagle as rasters, compared against <a href="http://gbdev.gg8.se/wiki/articles/DMG_Schematics" target="_blank">GB Dev</a>, and traced. Once I got the CPU’s board completed, I made my initial post here. The Screen’s board was completed shortly after. Aggravated by the second board (I’m not ‘happy’ with whoever designed it), I dropped the project for a while to work on others. I came back recently, content to not recreate the second board to the same standard as the first, and mapped out the auxiliary boards. I packaged up everything I made to this point into two easily digestible Eagle projects and sent them to nitro. I then started work on the next leg of my quest.</p><p>But this is where I am now.</p><p>The plan is to do something much like what Rolf was attempting with the Arduinoboy, except with the teensy. Specifically, I want to have a board completely replace everything inside the Gameboy except for the screen’s board, without the need for anything but a tri-wing screwdriver, and run.&nbsp; I want to have the Teensy’s USB accessible from the Link Port’s location, have a Li-ion battery, better power regulation (if such a combination is possible), and a better onboard headphone amp (with jumpers to bypass for prosound). I want to have the unused Teensy IO to be accessible for mods to the Teensy-duino code. And then I want to make it so it gets into the hands of anyone who wants it.</p><p>But that is where my quest will end, and not where I am now.</p><p>While I’m here, I thought I’d publish my scans of the front PCB.<br /><a class="postimg" href="http://i.imgur.com/RWhiJN2.png" title="http://i.imgur.com/RWhiJN2.png" id="forum_image_960304"><img src="http://i.imgur.com/RWhiJN2.png" /></a><a class="postimg" href="http://i.imgur.com/ykkOmFO.png" title="http://i.imgur.com/ykkOmFO.png" id="forum_image_82600561"><img src="http://i.imgur.com/ykkOmFO.png" /></a></p><p><a href="http://i.imgur.com/ASrR6bG.jpg" target="_blank">Back&#039;s full size image</a> | <a href="http://i.imgur.com/UFsV7p3.jpg" target="_blank">Front&#039;s full size image</a></p><p>And while I&#039;m at it, here&#039;s <a href="http://imgur.com/a/X5qKI" target="_blank">all my DMG related plots</a> in a single gallery.</p>]]></content>
			<author>
				<name><![CDATA[bit 9]]></name>
				<uri>https://chipmusic.org/bit+9</uri>
			</author>
			<updated>2014-08-24T02:23:15Z</updated>
			<id>https://chipmusic.org/forums/post/215957/#p215957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/214406/#p214406"/>
			<content type="html"><![CDATA[<p>That’s true you can re –flash the IC many times and it depends upon their cycle and it is close to thousands depends upon the IC and that is good idea to put the IC socket for the safety of IC. If you want to start with ATmega168 then start with the datasheet as it will provide you the complete description of the hardware and the firmware planning.</p><p><a href="http://www.7pcb.co.uk/PCB-manufacturing/" target="_blank">pcb fabrication</a></p>]]></content>
			<author>
				<name><![CDATA[wilson77]]></name>
				<uri>https://chipmusic.org/wilson77</uri>
			</author>
			<updated>2014-08-01T22:49:35Z</updated>
			<id>https://chipmusic.org/forums/post/214406/#p214406</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/206901/#p206901"/>
			<content type="html"><![CDATA[<p>what a scary thought</p>]]></content>
			<author>
				<name><![CDATA[Alpine]]></name>
				<uri>https://chipmusic.org/Alpine</uri>
			</author>
			<updated>2014-04-24T16:28:21Z</updated>
			<id>https://chipmusic.org/forums/post/206901/#p206901</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/206899/#p206899"/>
			<content type="html"><![CDATA[<p>2015 all-new gameboys</p>]]></content>
			<author>
				<name><![CDATA[Xuriik]]></name>
				<uri>https://chipmusic.org/Xuriik</uri>
			</author>
			<updated>2014-04-24T15:43:30Z</updated>
			<id>https://chipmusic.org/forums/post/206899/#p206899</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/206422/#p206422"/>
			<content type="html"><![CDATA[<p><a class="postimg" href="http://i.imgur.com/JUdXJbf.png" title="http://i.imgur.com/JUdXJbf.png" id="forum_image_84792571"><img src="http://i.imgur.com/JUdXJbf.png" /></a><br />Updated progress<br />I&#039;m still zeroing in on the component library; I haven&#039;t found any errors in it for a while, I&#039;m hoping that&#039;s a good sign. Eagle&#039;s free version limits the size of the board, preventing me from making the 81x118mm screen-board, so I&#039;m thinking about where to go from here.<br />I&#039;ll add this to the front page after I add component values and name at least some of the pins.</p>]]></content>
			<author>
				<name><![CDATA[bit 9]]></name>
				<uri>https://chipmusic.org/bit+9</uri>
			</author>
			<updated>2014-04-17T02:00:48Z</updated>
			<id>https://chipmusic.org/forums/post/206422/#p206422</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/203973/#p203973"/>
			<content type="html"><![CDATA[<p>I got this in my inbox today:<br /></p><div class="quotebox"><cite>xiwi wrote:</cite><blockquote><p>Yes, please do WHATEVER you want with the information I&#039;ve posted.</p></blockquote></div><p>I have family who&#039;s worked in intellectual property (patent prosecution), and have heard many &#039;a cautionary tale. One thing I&#039;ve taken away is that everything, <em>everything</em>, can be contested. But things look good from here, especially when he reported a boost in sales <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>I should also mention, the inclusion of the AB is totally separate from the greater project. I&#039;m much more inclined to use a Teensy, than an Arduino.</p><p><a class="postimg" href="http://i.imgur.com/CxVWLPI.png" title="work in progress" id="forum_image_5536884"><img src="http://i.imgur.com/CxVWLPI.png" /></a>And, while I&#039;m posting, I should mention that I&#039;ve started work on the screen&#039;s PCB. And, as it turns out, I messed a few things up in my library (big surprise, right?). The pot the dmg uses is still very widely used today (Radioshack sells them), but I couldn&#039;t find a spec for them (that&#039;s Radioshack for you). It turns out that pins 1&amp;2 are pre-pot, 2&amp;3 are post-pot, and 5 is ground. Not surprising, right? What I didn&#039;t get is that 1&amp;4 are one channel and 2&amp;3 are for the other... There are several other things, this is just the most recent one. I&#039;ll update the plots when a final revision of the CPU PCB is made.</p>]]></content>
			<author>
				<name><![CDATA[bit 9]]></name>
				<uri>https://chipmusic.org/bit+9</uri>
			</author>
			<updated>2014-03-21T18:58:44Z</updated>
			<id>https://chipmusic.org/forums/post/203973/#p203973</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/203836/#p203836"/>
			<content type="html"><![CDATA[<p>Sorry, brainfart on my part regarding the capacitors. In particular because of the terminology &quot;for the clock&quot;, which got me thinking about the clock data line or an external clock source (not a crystal) for the chip.</p><p>Re: programming header. I guess for one thing, I&#039;ve become more size-conscious as of late. Using hole mount instead of surface mount already takes up a lot more space. Add a socket and the chips is now effectively twice as tall. But being able to use an external programmer beats having to extract a chip from a socket every day.</p>]]></content>
			<author>
				<name><![CDATA[nitro2k01]]></name>
				<uri>https://chipmusic.org/nitro2k01</uri>
			</author>
			<updated>2014-03-19T22:13:26Z</updated>
			<id>https://chipmusic.org/forums/post/203836/#p203836</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/203834/#p203834"/>
			<content type="html"><![CDATA[<p>and this isn&#039;t to take away from xiwi&#039;s work at all.&nbsp; i have one of the older pre-built units and love it...</p><p>there is a lot of hard work which goes into making a PCB, a kit, or any product.&nbsp; don&#039;t want to detract from that</p><p>like, if i laid out a kick-ass Aboy kit, i&#039;d not be able to give people a yes or no about whether they could use the Aboy design in their own product.&nbsp; its not my right to answer that question.&nbsp; </p><p>that&#039;s all i mean <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>totally ignore this.&nbsp; i&#039;m just wordy today i think</p>]]></content>
			<author>
				<name><![CDATA[kitsch]]></name>
				<uri>https://chipmusic.org/kitsch</uri>
			</author>
			<updated>2014-03-19T21:55:56Z</updated>
			<id>https://chipmusic.org/forums/post/203834/#p203834</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/203833/#p203833"/>
			<content type="html"><![CDATA[<p>right, i understand that.&nbsp; but unless you are using the eagle library files (assuming xiwi uses custom footprints that are unique in some way to the part datasheet) or xiwi&#039;s project source as your foundation to make the PCB, the work is based entirely off something that is already existing (whether it be in the commons, or whatever).&nbsp; the original creator of that work is the one who gets the citation/etc.&nbsp; like in a literary work.&nbsp; citing a person who cited a person as your primary source is a step back from proper.&nbsp; maybe i&#039;m just over-thinking it though.&nbsp; (or maybe i&#039;ve missed changes xiwi added to the kit, i&#039;m not aware of any features not on the original schematic, but am not looking at the product page atm either)</p><p>i don&#039;t care so much, i mean its great you are bothering to even ask anyone because its shocking how that goes over some peoples heads sometimes, just figured i&#039;d mention it.&nbsp; </p><p>carry on <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" />&nbsp; i&#039;d still run it by trash80 though, even if its just out of some courtesy whether you &#039;have&#039; to do it or not, you feel</p>]]></content>
			<author>
				<name><![CDATA[kitsch]]></name>
				<uri>https://chipmusic.org/kitsch</uri>
			</author>
			<updated>2014-03-19T21:49:46Z</updated>
			<id>https://chipmusic.org/forums/post/203833/#p203833</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DMG Main Board Schematic & Circuit (+Arduinoboy)]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/203827/#p203827"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>kitsch wrote:</cite><blockquote><p>(i&#039;d ask trash80 is you&#039;re seeking permission if you feel you need to do this, its his project)</p><p>edit - i mean, since xiwi&#039;s kit is based of trash80&#039;s work, ask the original creator.&nbsp; someone who did a work derived from the original or copied the original isn&#039;t who should be asked about using the original.&nbsp; the creator is.&nbsp; in this case, trash80.&nbsp; <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>if its a technical question, have at it.&nbsp; its unclear from the words.&nbsp; i&#039;m assuming you mean to ask for the permission.</p></blockquote></div><p>Trash80 released the AB under a GNU license, which I&#039;m pretty sure only covers the software, not the hardware. Xiwi could, if he <em>really</em> wanted to, get after me for using a directive of his hardware, even if it&#039;s based off Trash80&#039;s.<br />It&#039;s just a healthy dose of IP paranoia, and it&#039;s best to have written permission whenever possible.</p>]]></content>
			<author>
				<name><![CDATA[bit 9]]></name>
				<uri>https://chipmusic.org/bit+9</uri>
			</author>
			<updated>2014-03-19T21:21:06Z</updated>
			<id>https://chipmusic.org/forums/post/203827/#p203827</id>
		</entry>
</feed>
