Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to generate a blue video screen?

Status
Not open for further replies.

DrWhoF

Advanced Member level 1
Joined
May 6, 2005
Messages
402
Helped
24
Reputation
48
Reaction score
11
Trophy points
1,298
Activity points
4,388
bue at90s2313

I need to generate blue video screen.
When something goes wrong with a video camera this signal will be fed to the security system.
I know how to generate black&white video signal with 8051 and D/A R-ladder.
Can similar concept be used to generate color video signal?
DrWho
 

90s2313 pal

Yes ofcourse

But i think you need a faster controller

there are projects to generate patterns and colours in tv using AVR

best of luck

Nandhu
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

hello
you can use the geratore of signe.
regards.
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

I am not familiar with 89S2313 and I don' have 89S2313 assembler and programmer. That is the problem.
DrWho
 

Re: Blue screen

AVR Studio Version 4 includes AT90S2313 assembler and is free from Atmel web site ..
You can downloaded it from:
http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2725

As far as programmer is concerned, the AT89S2313 can be programmed by the same ISP programmer as the AT89S51/2/3 ..
**broken link removed**
(software included) ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

Yeah, I already have ISPPGM programmer and I know the 90S2313 option is there but I am not sure how to use it.
DrWho :D:D:D
 

Re: Blue screen

Make an adaptor that accomodates the AT90S2313 and fits into 40-pin AT89S52 socket .. see attached picture ..
Required connections are as follows:
RST, SCK, MOSI, MISO, XTAL1, XTAL2, GND and +5V ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

Picture is out of focus but I understand what you mean.Good idea.

I downloaded AVR studio and tried to generate hex file but got some warnings and errors:

C:\~colour_bar.asm(43) : warning: Register r26 already defined by the .DEF directive
C:\~\colour_bar.asm(44 ): warning: Register r27 already defined by the .DEF directive
C:\~\colour_bar.asm(45 ): warning: Register r30 already defined by the .DEF directive
C:\~\colour_bar.asm(46 ): warning: Register r28 already defined by the .DEF directive
C:\~\colour_bar.asm(30 8): error: Illegal use of register 'delay' as label
C:\~\colour_bar.asm(38 ): info: previous definition of 'delay'

Assembly failed, 1 errors, 4 warnings

As I said I am not familiar with AT90S2313 so I am stuck with this.
HELP :!::!::!:
DrWho
 

Re: Blue screen

Which source code file did you try to compile?

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

Sorry, here it is.
colour_bar_gen.asm
 

Re: Blue screen

Don't worry about warnings .. they just re-named registers, that's all ..

Also, they used the same name for label and variable - "delay" ..
So, to eliminate error goto -Delay- and change from -delay:- to delay1: ..
Then, in -Start2:- and in the end of -color_burst:- replace *rcall delay* with *rcall delay1* ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

Yeah, it is working now. Thanks.
Before I go any further with software modifications I have to build adaptor and buy some 90S2313.
I'LL BE BACK :D:D:D
DrWho
 

Re: Blue screen

O.K.
I have two 90S2313 but when I connect my adaptor to 89S52 ISP programmer and run ISP software it says something about wrong signature ?!?!?!
What's that?
 

Re: Blue screen

This may mean that your programmer is not connected, your adaptor is wrongly wired or that the PC can not synchronize with the AT90S2313 ..
First, double-check connections and make sure that all pins required for read/write operations are correctly wired ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

What do you mean by "can not synchronize"?
90S2313 usesthe same 4MHz crystal from 89S52 progammer and I don't have problems with 89S52.
DrWho
 

Re: Blue screen

Assuming that your 89S52 programmer is from here:
**broken link removed**
and your AT90S2313 adaptor is wired correctly, run the ISP software, click on READ and for a short period of time (attempt to establish communication) you should "see" oscillations (≈2.5Vpp) on pins XTAL1 and XTAL2 ..
Can you confirm the above ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

Well, I can see something that looks like 50mV sine-wave but it is not 2.5Vpp.
 

Re: Blue screen

Do you have load caps on pins XTAL1 and XTAL2 as shown on the attached picture ..

Regards,
IanP
 

    DrWhoF

    Points: 2
    Helpful Answer Positive Rating
Re: Blue screen

I have none.
ISP progammer uses only 4MHz crystal and it is working fine with 89S52.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top