Shop OBEX P1 Docs P2 Docs Learn Events
Using AD5220 with SX28 (Assembly) — Parallax Forums

Using AD5220 with SX28 (Assembly)

YanirYanir Posts: 11
edited 2005-02-23 19:06 in General Discussion
Hi, I'm having some trouble using the digital potentiometer AD5220 (came with a basic stamp kit) with the sx28.
The ultimate goal to generate some analog signal for tv output (NTSC), so if you have better ideas i'm open. I thought i'd try this first. I wired it up properly and tested it with my basic stamp (works) and I then just used RB.0 and RB.1 to send the sweep pattern and to set the direction. I set my sx to 40mhz to produce a 25ns instruction time (did i calc that right?) I used 25ns becuase i read the tech notes on the ad5220 and thats the time unit it uses for the sweep signal.
I'm getting some output from it but not what i expect, has anyone done this successfully? Thanks in advance.
Yanir

Comments

  • SteveWSteveW Posts: 246
    edited 2005-02-22 21:59
    Since the absolute maximum bandewidth you'll get out of the device is 650KHz (P2, Dynamic characteristics) you'll not get very good video at all out of it. (5MHz or so gets you the bandwidth necessary for colour, 2MHz will get you adequate monochrome)
    However, you're really making things hard for yourself - it'll take you a lot of cycles to get the edges you need for sync pulses.
    There's lots of good fun to be had with video on teh SX. http://www.sxlist.com/techref/ubicom/contest/video.htm has a bunch of items, and there are others.

    Steve
  • YanirYanir Posts: 11
    edited 2005-02-22 22:02
    Thanks for the help
    yanir
  • BeanBean Posts: 8,129
    edited 2005-02-22 22:18
    yanir,
    Are you trying to do color or black and white ?
    I have a black and white output device (see my sig below), that only uses two pins and two resistors.
    I can provide details if you are interested.
    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Check out· the "SX-Video Display Module"

    www.sxvm.com
    ·
  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-02-23 16:32
    Poke around http://www.rickard.gunee.com/projects/video/sx/tetris.php
    he talks about how to do this, follow the links at the bottom for other methods (like BW with min resistors), http://www.stanford.edu/class/ee281/handouts/lab4.pdf·is one of the more consise references I've found regarding the format of NTSC.
  • YanirYanir Posts: 11
    edited 2005-02-23 19:06
    Thanks everyone for your help, i hope to get something working tonight! Now to track down a cheap oscilloscope...

    yanir
Sign In or Register to comment.