Difference between revisions of "BATC Video Source"
(Created page with "The BATC Video Source, based on a Raspberry Pi Zero or later models (but not the Raspberry Pi 4), was published in CQ-TV 270. It was based on an earlier (now unsupported) ver...") |
|||
Line 1: | Line 1: | ||
The BATC Video Source, based on a Raspberry Pi Zero or later models (but not the Raspberry Pi 4), was published in CQ-TV 270. | The BATC Video Source, based on a Raspberry Pi Zero or later models (but not the Raspberry Pi 4), was published in CQ-TV 270. | ||
− | It was based on an earlier (now unsupported) version by G4EWJ described here [[RPi Test Card]]. | + | It was based on an earlier (now unsupported) version by G4EWJ described here: [[RPi Test Card]]. |
+ | |||
+ | The information below is provided to help advanced users to customise their VideoSource. Please refer to the orriginal CQ-TV article for construction details. | ||
+ | |||
+ | ===General=== | ||
+ | |||
+ | All the files used to customise the display are in the folder /boot/testcard. This folder can be accessed directly on the card if you log in by SSH on a network-connected Raspberry Pi (not a Pi Zero on its own), or as the boot volume if you read the card on a Windows PC. The files are owned by root, so the use of sudo is required to edit them by ssh. | ||
+ | |||
+ | Additional image files without a banner should be 720x576 .jpg files, and those for use with a banner should be 640x480. | ||
+ | |||
+ | After boot, if the previous banner text on the second and third slides included the text "BATC" or "IO90LU", the callsign.txt and locator.txt files are read and the banners are changed to "''callsign at locator''". This enables all the callsigns on the card to be initialised simply by setting the callsign.txt file correctly. | ||
+ | |||
+ | ===Inserting New Images=== | ||
+ | |||
+ | Each image needs to be accompanied by a text file named in sequence like tcdata10.txt and containing: | ||
+ | |||
+ | tcprog | ||
+ | testcard640 | ||
+ | 40 | ||
+ | 52 | ||
+ | CQ | ||
+ | G8GKQ in IO91CC | ||
+ | |||
+ | The number in the filename determines the sequence that the card is displayed in; for example the card specified in tcdata10.txt will be displayed in the 10th button push after the first card. | ||
+ | |||
+ | The first line must be tcprog. | ||
+ | |||
+ | The second line is the filename of the .pjg image to be displayed, without the .jpg extension. | ||
+ | |||
+ | The third line is the x displacement of the bottom left of the card. This should be 40 for cards with a banner and 0 for cards filling the screen. | ||
+ | |||
+ | The fourth line is the y displacement of the bottom left of the card. This should be 52 for cards with a banner and 0 for cards filling the screen. | ||
+ | |||
+ | The sixth line is the text for the "bubbles". A maximum of 5 characters. Some special characters such as "-/P-" can be displayed (try it). | ||
+ | |||
+ | The seventh line is the text for the scrolling banner. | ||
+ | |||
+ | Be careful to edit the file in a true text editor. Microsoft Word and Wordpad introduce special characters that will cause the file to not work. Use Notepad, or Notepad++. |
Revision as of 13:35, 16 December 2020
The BATC Video Source, based on a Raspberry Pi Zero or later models (but not the Raspberry Pi 4), was published in CQ-TV 270.
It was based on an earlier (now unsupported) version by G4EWJ described here: RPi Test Card.
The information below is provided to help advanced users to customise their VideoSource. Please refer to the orriginal CQ-TV article for construction details.
General
All the files used to customise the display are in the folder /boot/testcard. This folder can be accessed directly on the card if you log in by SSH on a network-connected Raspberry Pi (not a Pi Zero on its own), or as the boot volume if you read the card on a Windows PC. The files are owned by root, so the use of sudo is required to edit them by ssh.
Additional image files without a banner should be 720x576 .jpg files, and those for use with a banner should be 640x480.
After boot, if the previous banner text on the second and third slides included the text "BATC" or "IO90LU", the callsign.txt and locator.txt files are read and the banners are changed to "callsign at locator". This enables all the callsigns on the card to be initialised simply by setting the callsign.txt file correctly.
Inserting New Images
Each image needs to be accompanied by a text file named in sequence like tcdata10.txt and containing:
tcprog testcard640 40 52 CQ G8GKQ in IO91CC
The number in the filename determines the sequence that the card is displayed in; for example the card specified in tcdata10.txt will be displayed in the 10th button push after the first card.
The first line must be tcprog.
The second line is the filename of the .pjg image to be displayed, without the .jpg extension.
The third line is the x displacement of the bottom left of the card. This should be 40 for cards with a banner and 0 for cards filling the screen.
The fourth line is the y displacement of the bottom left of the card. This should be 52 for cards with a banner and 0 for cards filling the screen.
The sixth line is the text for the "bubbles". A maximum of 5 characters. Some special characters such as "-/P-" can be displayed (try it).
The seventh line is the text for the scrolling banner.
Be careful to edit the file in a true text editor. Microsoft Word and Wordpad introduce special characters that will cause the file to not work. Use Notepad, or Notepad++.