<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ChipMusic.org - DMG/Pocket video capture with Arduino or Teensy?]]></title>
		<link>https://chipmusic.org/forums/topic/14029/dmgpocket-video-capture-with-arduino-or-teensy/</link>
		<description><![CDATA[The most recent posts in DMG/Pocket video capture with Arduino or Teensy?.]]></description>
		<lastBuildDate>Thu, 23 Jun 2016 23:02:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/245394/#p245394</link>
			<description><![CDATA[<b><i>BennVenn says:</i></b><p>OK, I just read though the whole thread.</p><p>If you want a non FPGA/CPLD approach, use a maple/maple mini. The STM32F103 has enough processing speed to read the video data and send it straight to its USB FIFO buffer, It is the PC&#039;s responsibility to read the data out fast enough. It even has enough ram to buffer a few frames to make it all go a lot smoother.</p><p>I have clocked the stm32f103 at a reliable 400kbytes/second (There can not be any other peripherals attached to the USB host and best if it is not via a hub) Latency is 1ms on USB high speed which means no handshaking, it&#039;ll be a one way street with CRC incorporated.</p><p>Reconstructing the video in real time on the PC is beyond me. I tried in Python but i cannot do it fast enough with Tkiniter. PyGame library would help but I found converting from 2bit to a RGB value takes too long. </p><p>If capturing is what you want, AV is what you need. a USBCAP chinese thing is only a couple of dollars. A CPLD and buffer to do the frame conversion will be under $10.</p>]]></description>
			<pubDate>Thu, 23 Jun 2016 23:02:55 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/245394/#p245394</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/245393/#p245393</link>
			<description><![CDATA[<b><i>BennVenn says:</i></b><p>Hey,</p><p>Yeah its VGA, wouldn&#039;t be hard to output composite instead (I&#039;ve prototyped it though the consensus was VGA instead). Even easier and more accurate would be pure digital into a PC.</p><p>There isn&#039;t a schematic and it uses a CPLD and lots of ram to buffer/sync the images.</p><p>You would need a fast and reliable method of getting data into your PC. 160x144x2bitsx60 frames a second = 2.764800 million bits per second, that is without any packet overhead. This is not something your arduino can do over a serial connection.</p><p>~350kbytes/sec is quite fast. You can drop frames and get a teensy to send data to the PC pretty easily but how many dropped frames is acceptable?</p><p>I think eBay has VGA video capture boxes, or even VGA to composite adaptors.</p><p>Or use some kind of compression, RLE would compress the data stream failry efficiently. Then how would you go about decompressing and reconstructing the video on the PC side?</p><p>If you want to record, the easiest solution is a hardware GB to AV out module.</p>]]></description>
			<pubDate>Thu, 23 Jun 2016 22:37:12 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/245393/#p245393</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/245383/#p245383</link>
			<description><![CDATA[<b><i>friendofmegaman says:</i></b><div class="quotebox"><cite>uXe wrote:</cite><blockquote><p>Don&#039;t bother...</p><p><a href="http://bennvenn.myshopify.com/products/porchie-the-vga-out-board-for-your-dmg" target="_blank">http://bennvenn.myshopify.com/products/ &#133; r-your-dmg</a></p></blockquote></div><p>1. This is VGA, I&#039;d like video capture into PC and / or AV<br />2. I don&#039;t see the schematic, I&#039;d like to make it myself instead of buying <br />3. I didn&#039;t know if someone&#039;s done something, alternative solutions should not be attempted, but now I know</p>]]></description>
			<pubDate>Thu, 23 Jun 2016 20:29:37 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/245383/#p245383</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/245357/#p245357</link>
			<description><![CDATA[<b><i>uXe says:</i></b><p>Don&#039;t bother...</p><p><a href="http://bennvenn.myshopify.com/products/porchie-the-vga-out-board-for-your-dmg" target="_blank">http://bennvenn.myshopify.com/products/ &#133; r-your-dmg</a></p>]]></description>
			<pubDate>Thu, 23 Jun 2016 12:07:31 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/245357/#p245357</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/245347/#p245347</link>
			<description><![CDATA[<b><i>friendofmegaman says:</i></b><p>Ok, so back to the original idea of video capture / AV without FPGA.</p><p>I was browsing the web for some inspiration and found a couple of threads about NES emulation using Parallax Propeller. I am not very familiar with that uC so I don&#039;t quite buy that a full blown NES emulator could be made. But I don know that it is powerful enough to make almost SNES like games (e.g. <a href="http://www.instructables.com/id/El-Jugador-Retro-DIY-Game-Console/)" target="_blank">http://www.instructables.com/id/El-Juga &#133; -Console/)</a></p><p>From what I understand it can be clocked to 80MHz and SoC among other things has the video signal generator. With this in mind it appears that it could be used for VGA or NTSC / PAL signal generation for the gameboy. And it costs $8.</p><p>Is anyone familiar with Parallax Propeller? <br />How do you estimate the possibility of realizing this project with Propeller?</p><p>PS<br />Propeller datasheet <a href="https://www.parallax.com/sites/default/files/downloads/P8X32A-Propeller-Datasheet-v1.4.0_0.pdf" target="_blank">https://www.parallax.com/sites/default/ &#133; .4.0_0.pdf</a></p>]]></description>
			<pubDate>Thu, 23 Jun 2016 06:58:20 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/245347/#p245347</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/222019/#p222019</link>
			<description><![CDATA[<b><i>Jazzmarazz says:</i></b><p>Yes, I would like to help test that Luftek.</p>]]></description>
			<pubDate>Thu, 27 Nov 2014 18:58:15 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/222019/#p222019</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/222012/#p222012</link>
			<description><![CDATA[<b><i>luftek says:</i></b><p>✪</p>]]></description>
			<pubDate>Thu, 27 Nov 2014 17:43:35 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/222012/#p222012</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/218843/#p218843</link>
			<description><![CDATA[<b><i>rvan says:</i></b><div class="quotebox"><cite>Jazzmarazz wrote:</cite><blockquote><p>When I tried interrupts on the clock trace, I couldn&#039;t get the to work AT ALL. Not once. I tried everything. I tried with an arduino nano, uno and mega but nothing worked with interrupts.</p></blockquote></div><p>Great to hear some progress has been made. I think the problem may be that interrupts on the Arduino (or even interrupts on microcontrollers of this speed in general) are just too slow. Have you tried capturing the clock as data on the same port as the actual data bits to verify that you&#039;re reading the data bits at least once per the Game Boy&#039;s clock cycle?</p>]]></description>
			<pubDate>Sun, 12 Oct 2014 00:25:47 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/218843/#p218843</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/217617/#p217617</link>
			<description><![CDATA[<b><i>Jazzmarazz says:</i></b><p>Well, I gave it a go. A few weeks back I sat down and attempted to read the data bits into my serial monitor. I tried a hundred different sketches using different methods of reading ports, reading pins and using interrupts. </p><p>AF one point I was getting a bunch of 0&#039;s and 3&#039;s which is how a gameboy screen boots when there is no cart inserted (having internal pullup resistors in the data bus) meaning all 1&#039;s or 0&#039;s. Perfect. The only problem I had was that I was not properly utilizing v or hsync. So the monitor was simply reading anything and everything as quickly as possible. </p><p>When I tried interrupts on the clock trace, I couldn&#039;t get the to work AT ALL. Not once. I tried everything. I tried with an arduino nano, uno and mega but nothing worked with interrupts. </p><p>I think the problem may have been that I was using the port as a data port which also contained the interrupt pin. </p><p>In any case, I got data at one point, but nothing useable...yet.</p>]]></description>
			<pubDate>Mon, 22 Sep 2014 17:25:30 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/217617/#p217617</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/215801/#p215801</link>
			<description><![CDATA[<b><i>rvan says:</i></b><p>If you haven&#039;t seen it already, there is some new interesting discussion about NeX&#039;s video out mod here: <a href="http://chipmusic.org/forums/topic/15041/how-is-the-vhs-capture-card-made/" target="_blank">How is the VHS capture card made?</a>.</p>]]></description>
			<pubDate>Thu, 21 Aug 2014 05:08:12 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/215801/#p215801</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/213807/#p213807</link>
			<description><![CDATA[<b><i>TylerBarnes says:</i></b><p><img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> Thats good. Yeah, I happily use Bootcamp paired with Parallels for all my Windows Software/Hardware needs. I even got a 32 bit XP virtual machine for all my really old stuff that require 32 bit windows. Running those in Coherence mode I almost forget I&#039;m even virtualizing cause the mac/win apps run side by side. <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<pubDate>Tue, 22 Jul 2014 05:24:37 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/213807/#p213807</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/213796/#p213796</link>
			<description><![CDATA[<b><i>friendofmegaman says:</i></b><div class="quotebox"><cite>TylerBarnes wrote:</cite><blockquote><div class="quotebox"><cite>friendofmegaman wrote:</cite><blockquote><p>So it appears that FPGA manufacturers tend to discriminate Mac users <img src="https://chipmusic.org/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /></p></blockquote></div><p>Everyone does really. Couldn&#039;t you run something like Parallels on your mac or are you rockin&#039; a PowerPC?</p></blockquote></div><p>I&#039;m just saying. I&#039;m gonna use bootcamp or find a PC. This definitely won&#039;t stop me from doing the project <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<pubDate>Tue, 22 Jul 2014 02:14:17 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/213796/#p213796</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/213793/#p213793</link>
			<description><![CDATA[<b><i>TylerBarnes says:</i></b><div class="quotebox"><cite>friendofmegaman wrote:</cite><blockquote><p>So it appears that FPGA manufacturers tend to discriminate Mac users <img src="https://chipmusic.org/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /></p></blockquote></div><p>Everyone does really. Couldn&#039;t you run something like Parallels on your mac or are you rockin&#039; a PowerPC?</p>]]></description>
			<pubDate>Tue, 22 Jul 2014 02:01:23 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/213793/#p213793</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/213788/#p213788</link>
			<description><![CDATA[<b><i>friendofmegaman says:</i></b><p>So I was wondering which language to use Verilog or VHDL. So for I found a bunch of reading on the former and not so many introductions / tutorials on the latter. Thus for now I&#039;m gonna stick with Verilog...</p>]]></description>
			<pubDate>Tue, 22 Jul 2014 01:40:44 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/213788/#p213788</guid>
		</item>
		<item>
			<title><![CDATA[Re: DMG/Pocket video capture with Arduino or Teensy?]]></title>
			<link>https://chipmusic.org/forums/post/213561/#p213561</link>
			<description><![CDATA[<b><i>friendofmegaman says:</i></b><p>So it appears that FPGA manufacturers tend to discriminate Mac users <img src="https://chipmusic.org/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<pubDate>Fri, 18 Jul 2014 10:00:55 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/213561/#p213561</guid>
		</item>
	</channel>
</rss>
