<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: VGA Experiments 2</title>
	<atom:link href="http://www.vidiotsquad.com/visual-stuff/video-synths/vga-experiments/vga-experiments-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vidiotsquad.com</link>
	<description>stuff about stuff</description>
	<lastBuildDate>Sun, 04 Jul 2010 20:04:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: bod</title>
		<link>http://www.vidiotsquad.com/visual-stuff/video-synths/vga-experiments/vga-experiments-2/comment-page-1/#comment-335</link>
		<dc:creator>bod</dc:creator>
		<pubDate>Mon, 10 Nov 2008 19:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://vidiotsquad.com/?page_id=23#comment-335</guid>
		<description>sweet mate! well done, i can&#039;t wait to try it out!! i do however have a done of projects to finish, but i&#039;ll see if i can give this a shot at the weekend.

yeah, the timer2 function will use 2 pwm outputs making them useless for other operations, but it is a small price to pay for nailing this!

congrats. ;O)</description>
		<content:encoded><![CDATA[<p>sweet mate! well done, i can&#8217;t wait to try it out!! i do however have a done of projects to finish, but i&#8217;ll see if i can give this a shot at the weekend.</p>
<p>yeah, the timer2 function will use 2 pwm outputs making them useless for other operations, but it is a small price to pay for nailing this!</p>
<p>congrats. ;O)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dwan</title>
		<link>http://www.vidiotsquad.com/visual-stuff/video-synths/vga-experiments/vga-experiments-2/comment-page-1/#comment-334</link>
		<dc:creator>dwan</dc:creator>
		<pubDate>Mon, 10 Nov 2008 17:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://vidiotsquad.com/?page_id=23#comment-334</guid>
		<description>Hello bod,

I come back with good news ! I completely re-wrote my program. Now, it outputs very clean sync signals (with a tiny little bit of horizontal jitter, though). Pin 5 is HIGH when you can send video signal, so you can trig some other signal with it. All the sync thing is done in a timer interrupt, so you can put whatever you want in loop() without breaking the timing. On the other hand, I think that using timer2 may have broken the PWM on pins 11 &amp; 3. The code is here : http://olb7.free.fr/arduino/syncInterrupt.pde

Have fun !</description>
		<content:encoded><![CDATA[<p>Hello bod,</p>
<p>I come back with good news ! I completely re-wrote my program. Now, it outputs very clean sync signals (with a tiny little bit of horizontal jitter, though). Pin 5 is HIGH when you can send video signal, so you can trig some other signal with it. All the sync thing is done in a timer interrupt, so you can put whatever you want in loop() without breaking the timing. On the other hand, I think that using timer2 may have broken the PWM on pins 11 &amp; 3. The code is here : <a href="http://olb7.free.fr/arduino/syncInterrupt.pde" rel="nofollow">http://olb7.free.fr/arduino/syncInterrupt.pde</a></p>
<p>Have fun !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bod</title>
		<link>http://www.vidiotsquad.com/visual-stuff/video-synths/vga-experiments/vga-experiments-2/comment-page-1/#comment-330</link>
		<dc:creator>bod</dc:creator>
		<pubDate>Sat, 08 Nov 2008 13:33:17 +0000</pubDate>
		<guid isPermaLink="false">http://vidiotsquad.com/?page_id=23#comment-330</guid>
		<description>Hi Dwan,

i was just looking through your code, and to be honest my coding knowledge even in arduino is a little basic, but based on the timing standards for VGA you appear to be close! I&#039;ve been trying to find the one i wrote, but have a nasty habit of not saving things with proper names, its there somewhere....

there is a russian guy who has VGA sync working with the atmega 168 chips, but he&#039;s not using the arduino IDE. http://www.vga-avr.narod.ru/main.html
From what i understand the arduino system might not be able to handle the timing correctly. I tried to email him but never got a response, but i ended up butchering his code and came up with something that vaugely worked, so a step in the right direction at least.

let me know how you get on, i&#039;d love to try it out with some circuits i have to avoid using the computers vga output.


cheers,


bod.</description>
		<content:encoded><![CDATA[<p>Hi Dwan,</p>
<p>i was just looking through your code, and to be honest my coding knowledge even in arduino is a little basic, but based on the timing standards for VGA you appear to be close! I&#8217;ve been trying to find the one i wrote, but have a nasty habit of not saving things with proper names, its there somewhere&#8230;.</p>
<p>there is a russian guy who has VGA sync working with the atmega 168 chips, but he&#8217;s not using the arduino IDE. <a href="http://www.vga-avr.narod.ru/main.html" rel="nofollow">http://www.vga-avr.narod.ru/main.html</a><br />
From what i understand the arduino system might not be able to handle the timing correctly. I tried to email him but never got a response, but i ended up butchering his code and came up with something that vaugely worked, so a step in the right direction at least.</p>
<p>let me know how you get on, i&#8217;d love to try it out with some circuits i have to avoid using the computers vga output.</p>
<p>cheers,</p>
<p>bod.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dwan</title>
		<link>http://www.vidiotsquad.com/visual-stuff/video-synths/vga-experiments/vga-experiments-2/comment-page-1/#comment-331</link>
		<dc:creator>dwan</dc:creator>
		<pubDate>Sat, 08 Nov 2008 13:08:20 +0000</pubDate>
		<guid isPermaLink="false">http://vidiotsquad.com/?page_id=23#comment-331</guid>
		<description>Hi again !
After some hours of sleep, i &#039;m very close to my goal. Vsync is ok, the screen is slowly drifting upwards in 1 min cycle. Hsync was more tricky to debug, but its almost ok. I think I did not understood vga sync as well as i thought, as my Hsync was not running all the time. Thanks anyway for your great works on videosynths !</description>
		<content:encoded><![CDATA[<p>Hi again !<br />
After some hours of sleep, i &#8216;m very close to my goal. Vsync is ok, the screen is slowly drifting upwards in 1 min cycle. Hsync was more tricky to debug, but its almost ok. I think I did not understood vga sync as well as i thought, as my Hsync was not running all the time. Thanks anyway for your great works on videosynths !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dwan</title>
		<link>http://www.vidiotsquad.com/visual-stuff/video-synths/vga-experiments/vga-experiments-2/comment-page-1/#comment-332</link>
		<dc:creator>dwan</dc:creator>
		<pubDate>Tue, 04 Nov 2008 23:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://vidiotsquad.com/?page_id=23#comment-332</guid>
		<description>Oops, my comment seems too long... You can get my code here : http://olb7.free.fr/arduino/SyncPortManipulation.pde</description>
		<content:encoded><![CDATA[<p>Oops, my comment seems too long&#8230; You can get my code here : <a href="http://olb7.free.fr/arduino/SyncPortManipulation.pde" rel="nofollow">http://olb7.free.fr/arduino/SyncPortManipulation.pde</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dwan</title>
		<link>http://www.vidiotsquad.com/visual-stuff/video-synths/vga-experiments/vga-experiments-2/comment-page-1/#comment-333</link>
		<dc:creator>dwan</dc:creator>
		<pubDate>Tue, 04 Nov 2008 23:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://vidiotsquad.com/?page_id=23#comment-333</guid>
		<description>Hi,
I&#039;ve been reading your VGA experimentations with a lot of attention, since i&#039;m trying to produce really simple graphics with my Arduino (plain colors, actually). I began with borrowing the sync signals from my computer and sending my own RGB signals via 3 PWM outputs. The result was what you described, scrolling lines of pulsing colors. The next try was sending a constant voltage, but it didn&#039;t work : the color would only appear on the voltage&#039;s rising edges. I then started to think about being more respectful of VGA timing, and I plan to dedicate another Arduino only to create sync signals, so below is my attempt. For some reasons, it doesn&#039;t work. I checked my timing with an oscilloscope, and it seems to be pretty accurate. I get some jitter with the Hsync. Since I&#039;ve read that you succeeded in writing a piece of code that works (more or less :) ), can you spot an error in mine, or can you show yours? Thanks !

// 640 * 480 @ 60Hz
// HSync : pin 7
// VSync : pin 6

//Vpulse, pin 6 à 0V
//Hold à 0V :               théorique : 63,55 us
//Fin du Vpulse, pin 6 à 5V
//Front Porch V:             théorique : 317,77 us
        //Hpulse, pin 7 à 0V
        //Hold a 0V :         théorique : 3,81 us
        //Fin du Hpulse, pin 7 à 5V
        //Front Porch H :       théorique : 635 ns
                //Display Time :     théorique : 25,422 us
        //Back Porch H :        théorique : 1,906 us
//Back Porch V :              théorique : 1048 us

int i = 0; // count

void setup()                    // run once, when the sketch starts
{
 DDRD &#124;= B11000000;      // it sets pins 2 to 7 as output without changing the value of pins 0 &amp; 1, which are RX &amp; TX
  //       76543210</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;ve been reading your VGA experimentations with a lot of attention, since i&#8217;m trying to produce really simple graphics with my Arduino (plain colors, actually). I began with borrowing the sync signals from my computer and sending my own RGB signals via 3 PWM outputs. The result was what you described, scrolling lines of pulsing colors. The next try was sending a constant voltage, but it didn&#8217;t work : the color would only appear on the voltage&#8217;s rising edges. I then started to think about being more respectful of VGA timing, and I plan to dedicate another Arduino only to create sync signals, so below is my attempt. For some reasons, it doesn&#8217;t work. I checked my timing with an oscilloscope, and it seems to be pretty accurate. I get some jitter with the Hsync. Since I&#8217;ve read that you succeeded in writing a piece of code that works (more or less <img src='http://www.vidiotsquad.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ), can you spot an error in mine, or can you show yours? Thanks !</p>
<p>// 640 * 480 @ 60Hz<br />
// HSync : pin 7<br />
// VSync : pin 6</p>
<p>//Vpulse, pin 6 à 0V<br />
//Hold à 0V :               théorique : 63,55 us<br />
//Fin du Vpulse, pin 6 à 5V<br />
//Front Porch V:             théorique : 317,77 us<br />
        //Hpulse, pin 7 à 0V<br />
        //Hold a 0V :         théorique : 3,81 us<br />
        //Fin du Hpulse, pin 7 à 5V<br />
        //Front Porch H :       théorique : 635 ns<br />
                //Display Time :     théorique : 25,422 us<br />
        //Back Porch H :        théorique : 1,906 us<br />
//Back Porch V :              théorique : 1048 us</p>
<p>int i = 0; // count</p>
<p>void setup()                    // run once, when the sketch starts<br />
{<br />
 DDRD |= B11000000;      // it sets pins 2 to 7 as output without changing the value of pins 0 &amp; 1, which are RX &amp; TX<br />
  //       76543210</p>
]]></content:encoded>
	</item>
</channel>
</rss>

