element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog Pi Testcard
  • Blog
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Workshopshed
  • Date Created: 7 Sep 2016 9:56 AM Date Created
  • Views 2084 views
  • Likes 4 likes
  • Comments 3 comments
  • video
  • rpibeginner
  • testcard
  • raspberry_pi_projects
Related
Recommended

Pi Testcard

Workshopshed
Workshopshed
7 Sep 2016

A recent project was delivered to me with a problem with its LCD screen. In the process of testing it I wanted to generate a composite video signal. After looking at some ideas involving Arduino and resistor dividers I came across some examples of raspberry Pi testcards, specifically RPI - ATV

 

I had an original Pi model B which has an RCA socket with composite out so that was ideal for my task.

image

To get the testcard to work I downloaded a suitable picture and added my text to it. I then installed the python script into the /home/pi/atv folder and added my image and a dummy sound file into the /home/pi/atv/images and /home/pi/atv/sounds folders.

I tweaked the python script not to use the internal generator and also to load the first image.

 

#don't always start with internal picture
internalPicture = false
loadimage("1")

 

To get the generator to start up automatically, I had tried using rc.local but that did not seem to work. I had a bit of help from fvan who suggested cron would work.

 

To add the cron job I ran the following which prompted me to pick and editor to edit the file.

 

sudo crontab -e

 

I added in my task to run on reboot.

 

@reboot python /home/pi/atv/atv3.py

 

For testing I plugged in a phono cable from the pi to my TV and booted it up using a USB battery box.

image

  • Sign in to reply

Top Comments

  • DAB
    DAB over 8 years ago +1
    Great job Andy. I like showing how older systems can be used for problem solving. DAB
  • volly
    volly over 8 years ago +1
    Workshopshed . Pretty nifty Andy. YV.
  • Workshopshed
    Workshopshed over 8 years ago in reply to volly +1
    Cheers volly it did the job too testing this little LCD module
  • Workshopshed
    Workshopshed over 8 years ago in reply to volly

    Cheers volly it did the job too testing this little LCD module

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • volly
    volly over 8 years ago

    Workshopshed. Pretty nifty Andy.

    YV.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Great job Andy.

     

    I like showing how older systems can be used for problem solving.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube