Arduino as PAL video generator, software question
Posted: Tue Apr 07, 2020 11:57 am
Since video consists of sinq pulses, a black level and a white level for white, this can be done with an arduino.
The gate that makes the pulses with a different voltage divider than the gate that makes the white level by means of two resistors. (Bottom sinq: 0V, black 0.3V, white 1V).
The information and the sketch can be found at https://playground.arduino.cc/Main/TVout
With little effort it is possible to find out how, for example, a call or other text can be displayed.
Code:
#include <TVout.h>
TVout TV;
unsigned char x,y;
void setup() {
x=0;
y=0;
TV.start_render(_PAL);
}
void loop() {
TV.print_str(40,16,"PA3CRX");
TV.print_str(50,32,"ATV");
}
However, the characters are relatively small. They are built up in the following way (for example the letter "P"):
Code:
//P
0b11110000,
0b10001000,
0b11110000,
0b10000000,
0b10000000,
0b10000000,
0b00000000,
So it seems a little effort to make large characters for this but I do not know how.
The intention is to equip my portable stations with an Arduino with, for example, the number code that is broadcast during the ATV activities weekends. This code can then be displayed without having to connect (separate) peripherals.
I came across a URL that should make it possible to display a logo, for example. (https://www.open-electronics.org/a-vide ... r-arduino/)
With a tool mentioned herein, for example, in Paint a call or numbers can be converted to Ascii and that could be displayed. This is indeed not a problem. However, I am unable to adjust the sketch in a way that it works.
So my question is whether someone has something like this working (or someone with a knowledgeable interest who is interested in making something like that) and then want to share the information about it.
Thanks in advance,
Chris PA3CRX
The gate that makes the pulses with a different voltage divider than the gate that makes the white level by means of two resistors. (Bottom sinq: 0V, black 0.3V, white 1V).
The information and the sketch can be found at https://playground.arduino.cc/Main/TVout
With little effort it is possible to find out how, for example, a call or other text can be displayed.
Code:
#include <TVout.h>
TVout TV;
unsigned char x,y;
void setup() {
x=0;
y=0;
TV.start_render(_PAL);
}
void loop() {
TV.print_str(40,16,"PA3CRX");
TV.print_str(50,32,"ATV");
}
However, the characters are relatively small. They are built up in the following way (for example the letter "P"):
Code:
//P
0b11110000,
0b10001000,
0b11110000,
0b10000000,
0b10000000,
0b10000000,
0b00000000,
So it seems a little effort to make large characters for this but I do not know how.
The intention is to equip my portable stations with an Arduino with, for example, the number code that is broadcast during the ATV activities weekends. This code can then be displayed without having to connect (separate) peripherals.
I came across a URL that should make it possible to display a logo, for example. (https://www.open-electronics.org/a-vide ... r-arduino/)
With a tool mentioned herein, for example, in Paint a call or numbers can be converted to Ascii and that could be displayed. This is indeed not a problem. However, I am unable to adjust the sketch in a way that it works.
So my question is whether someone has something like this working (or someone with a knowledgeable interest who is interested in making something like that) and then want to share the information about it.
Thanks in advance,
Chris PA3CRX