Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 10
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Vaxian (17)


Next birthdays
05/21 Dalus (34)
05/21 Kizmo (37)
05/22 Skynet (32)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

Run a PIC as a video A-D?

Move Thread LAN_403
Conundrum
Tue Nov 25 2008, 08:25AM Print
Conundrum Registered Member #96 Joined: Thu Feb 09 2006, 05:37PM
Location: CI, Earth
Posts: 4059
Hi all.
I am looking into the possibility of using an overclocked PIC 12F675 as a basic video A-D to generate false colour video.

The plan so far is to have it encode everything during the 5uS vertical pulse and "play it back" during the 52us video waveform., having generated the colour burst, h sync, vsync and suchlike on separate pins with a 17.734 MHz clock (/4=4.433618)

Using basic encoding techniques I can get as many as 498 horizontal pixels if I clock it right, however I can't possibly encode that many in realtime.

I am setting the luminance at 100% as encoding both at once is very tricky so it will be saturated colours only (which limits me to RGB, yellow, purple and violet, same as a TEA2000)

Any ideas? I was looking into encoding the video during the waveform but it will mess up the timing.

The other plan is to encode the output directly to feed to an MC1377 which somewhat frees me from timing constraints as i don't need the LM1881 or to generate syncs (and I can also delay the luminance signal in software)

regards, -A
Back to top
Steve Conner
Tue Nov 25 2008, 10:27AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
I looked into the possibility of using a potato as a quantum supercomputer once. It's about as well suited to the purpose as a low-end PIC is to generating video.

Nevertheless, there are people out there who have nothing better to do than code Pong and Space Invaders on PICs with output on a TV set. A Google search will turn up more info and example code.
Back to top
Tom540
Tue Nov 25 2008, 06:10PM
Tom540 Banned on 3/17/2009.
Registered Member #487 Joined: Sun Jul 09 2006, 01:22AM
Location:
Posts: 617
Well it could work I once overclocked a 20 MHz PIC to 49MHz. 50Mhz wouldn't work. I'd like to see if anyone can beat that frequency.
Back to top
uzzors2k
Wed Nov 26 2008, 12:03PM
uzzors2k Registered Member #95 Joined: Thu Feb 09 2006, 04:57PM
Location: Norway
Posts: 1308
I don't know how relevant these proects are, but they seem to have made some good video games with a single AVR chip.

AVGA

Fuzebox
Back to top
LithiumLord
Fri Dec 05 2008, 12:44AM
LithiumLord Registered Member #1739 Joined: Fri Oct 03 2008, 10:05AM
Location: Moscow, Russia
Posts: 261
On a bit of offtopic, but I don't want a new thread on this, also doubt anyone else wants - had anyone tried an MP3-decoding on an AVR chip? I mean not forwarding it onto some external decoder, but actual MP3 software decoding. If that's possible, you can make a player twice smaller then commercial devices!
Back to top
Steve Conner
Fri Dec 05 2008, 10:53AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
I don't know of anything smaller than ColdFire or ARM sized that can decode MP3. If it was possible to make an MP3 player "twice as smaller", I'm sure some Chinese company would have done it already, and twice as smaller would just be normal sized, if you see what I mean.

My old iRiver (with a 140MHz ColdFire) can do mp3 and ogg fine, but used to struggle with AAC. I think Rockbox optimized the AAC decoder more, but I don't have any AACs to test it with.

The dsPIC can just about do low-quality MP3: Link2
Back to top
Conundrum
Fri Apr 09 2010, 07:29AM
Conundrum Registered Member #96 Joined: Thu Feb 09 2006, 05:37PM
Location: CI, Earth
Posts: 4059
koff parallel processing /koff
:)

an array of 12F devices with the same clock could work, have each one process part of the datastream and combine it at the end.
Back to top
Dalus
Fri Apr 09 2010, 08:58AM
Dalus Registered Member #639 Joined: Wed Apr 11 2007, 09:09PM
Location: The Netherlands, Herkenbosch
Posts: 512
Why not use a single more powerful uC then. Or do it as I did use a few pixels 32*16 vga should be easy for a pic tongue
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.