Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
project:atari_asteroids_autoplay [2013/03/17 04:33] – [3/16/2013 @ 9:07pm] smarkproject:atari_asteroids_autoplay [2013/03/17 05:09] – [Resources Used] smark
Line 75: Line 75:
  
  
-^ DACY#* | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | +^ DACY#* |  10                    
-^ B11 Pin | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | +^ B11 Pin |  13   12   11   10              | 
-^ Sample Value | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | +^ Logic Channel |  0  |  1  |  2  |  3  |  4  |  5  |  6  |  7  | | 
-^ Digit Weight | 512 | 256 | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | +^ Sample Value |                     
-^ Value | 512 | 0 | 128 | 0 | 64 | 32 | 0 | 16 | 0 | 0 | +^ Digit Weight |  512   256   128   64   32   16          
-^ Total | 692 |+^ Value |  512     128     64   32     16      
 +^ Total |  692  |||||||||| 
 + 
 +Now whats important to note is that the DAC does not have an internal register so it doesn't load it into a register then "pull the trigger" to change the value for the output. As bits come streaming down DACY* they change the voltage. This means the voltage will jump around a little bit (therefore making the beam jump around). Luckily this happens rarely and is accounted for by BVLD... I think.\\ 
 +\\ 
 +Anyway, I hooked the logic analyzer up to B11 Pins 13 thru 6, which leaves off pins 5 and 4, which means you lose the last two bits of accuracy. I'm not sure if it is important at this point or not. That means the last two bits are always considered 0. The Saleae Logic software is pretty cool. You end up getting data that looks like this:\\ 
 +\\ 
 +{{:project:130316_b11_saleae_logic.png?direct&600}}\\ 
 +\\ 
 +Well thats interesting but not really visually useful is it? If you take a vertical slice at any point in that output and assign each channel a 0 or 1 you will get the binary representation just like above. I've compiled the output for each slice (all 336,000 of them) and uploaded them here: {{:project:130316_b11_saleae_logic_export.zip|}}\\ 
 +\\ 
 +Now that I have 336,000 height values (Y-Axis 0-1023) I was able to compile this charge with gnuplot:\\ 
 +\\ 
 +{{:project:130316_b11_composite_output.png?direct&600}}\\ 
 +\\ 
 +Well HMM that looks a little bit like the horizontal output for the test pattern! Don't quite see it? Heres a labeled version:\\ 
 +\\ 
 +{{:project:130316_b11_composite_output_labeled.png?direct&600}}
  
  
-  DACY  10 9  8  7  6  5  4  3  2  1 * 
-        |  |  |  |  |  |  |  |  |  | 
-   BIT  1  1  0  1  0  1  1  0  1  0 
-        |  |  |  |  |  |  |  |  |  | 
-   BIN 512 |  |  |  |  |  |  |  |  | 
-          128 |  |  |  |  |  |  |  | 
-              64 |  |  |  |  |  |  | 
-                 32 |  |  |  |  |  | 
-                    16 |  |  |  |  | 
-                        |  |  |  | 
-                          4  |  |  | 
-                              |  | 
-                                1  | 
-                                   ? 
-   TOT              16 8  4  0  1  0 
  
 ===== Major Challenges ===== ===== Major Challenges =====
Line 108: Line 110:
 {{:project:130312_atari_asteroids_digital_vector_generator_schematic.pdf|Atari Asteroids - Digital Vector Generator Schematic}}\\ {{:project:130312_atari_asteroids_digital_vector_generator_schematic.pdf|Atari Asteroids - Digital Vector Generator Schematic}}\\
 {{:project:130312_atari_asteroids_drawing_package_supplement.zip|Atari Asteroids - Drawing Package Supplement (Schematics) - Contains All 4 Sheets, In High Resolution}}\\ {{:project:130312_atari_asteroids_drawing_package_supplement.zip|Atari Asteroids - Drawing Package Supplement (Schematics) - Contains All 4 Sheets, In High Resolution}}\\
-[[http://www.jmargolin.com/vgens/vgens.htm|The Secret Life of Vector Generators (Jed's Website)]] {{:project:130313_the_secret_life_of_vector_generators.pdf|(Local PDF Copy)}}+[[http://www.jmargolin.com/vgens/vgens.htm|The Secret Life of Vector Generators (Jed's Website)]] {{:project:130313_the_secret_life_of_vector_generators.pdf|(Local PDF Copy)}}\\ 
 +[[http://www.analog.com/static/imported-files/data_sheets/AD561.pdf|Low Cost 10-Bit Monolithic D/A Converter (AD561) DataSheet (B11/D11 Vector DACs)]]
project/atari_asteroids_autoplay.txt · Last modified: 2013/03/17 05:31 by smark
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0