I search for info about how can use Arduino as VGA tester or video card. First credible article is Simple VGA/Video adapter who can use 8-bit AVR MCU like ATmega8, 328, etc:
Article is writted by Maxx Ibragmov and a their montage is:
On TV, resolution is 20 rows with 38 character each:
and on VGA monotor, resolution is 20 rows with 20 characters each:
I wanted fast result and try other adapter montage (without diodes):
First is a black/white VGA video card for 30 rows with 20 alphanumerical characters each. Schematic is simple:
This VGA video card use i2c protocol for comunicate with other Arduino board, but results are very poor on transmision data (author say: unfortunately incoming data (can) make the display "glitch"). I made a movie (explanations are in Romanian language, but you may can understund what I want to say):
Next test was with moving colour test image on VGA display, using this schematic:
and a image is:
I made a movie with image on VGA (saame, with explanations are in Romanian language):
Next step was to test VGAX library writted by Sandro Maffioda after Nick Gammon info.. on display resolution is 120x60px with 4 colours.
After I translate name of variables and study original sketch, I made some changes:
Note: I use internal led from Arduino board instead buzzer. My sketch is alarm_system_1a.ino and I have next states: - switch is open, blue led is on, alarm is deactivate;
- switch is close (D2 at GND), green led is blinking, alarm is in stand-by
- after 20 seconds, green led in on, alarm is waitting - if PIR sensor detect a movement, red led is blinking, alarm countdown
- after 10 seconds, if switch is still close, red led is on, buzzer is active
- after 10 seconds, alarm return to waitting, if is movement, alarm countdown and repeat the cycle - if switch is open, system in off. You can see a movie named Arduino system alarm with delay with all states: