Project tutorial
Arduino TV Out - Importing Picture

Arduino TV Out - Importing Picture

How to display an image on an analog TV.

  • 881 views
  • 0 comments
  • 7 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)

About this project

In this tutorial I will show you how to print an image on an analogue TV. For that we will need an "TVout" library, but it is only able to print black and white shapes.

1. You need to have the image you are going to print on your TV2. You must reduce it to a size of 128x64 or smaller3. Go to http://marlinfw.org/tools/u8glib/converter.html and there uploud the picture4. Copy the code

CODE

CODE .h:

#include <avr/pgmspace.h>

#ifndef CAR_H

#define CAR_H

extern const unsigned char car[];

#endif

CODE

#include "car.h"

PROGMEM const unsigned char car[] = {

30, 10, //pictureresolution

0x03,0xFF,0xC0,0x00, //copied code

0x0F,0x04,0x30,0x00,

0x7F,0xC6,0x1C,0x00,

0x7F,0xFF,0xFF,0xF0,

0xFF,0xFF,0xFF,0xF8,

0xFF,0xFF,0xFF,0xFC,

0xFD,0xFF,0xFE,0x7C,

0xFC,0xFF,0xFE,0x3C,

0x1C,0xFF,0xFE,0x70,

0x07,0x80,0x03,0xC0

};

CODE: .ino

#include <TVout.h>

#include "car.h"

TVout TV;

void setup() {

TV.begin(_PAL, 128, 96); //PAL or NTSC

}

void loop() {

TV.clear_screen();

TV.bitmap(10, 10, car);

delay(60);}

CONNECT

Now upload your code☺

Code

CAR.inoArduino
#include <TVout.h>
#include "car.h"


TVout TV;

void setup() {
  // put your setup code here, to run once:
TV.begin(_PAL, 128, 96);

}

void loop() {
  // put your main code here, to run repeatedly:
TV.clear_screen();
TV.bitmap(10, 10, car);
delay(60);
}

Schematics

Arduino TVout shematic
Schematic bb hf7voqfpoa

Comments

Similar projects you might like

Picture The Weather

Project tutorial by Team Windows IoT

  • 33,536 views
  • 24 comments
  • 94 respects

E-Paper Picture Frame

Project tutorial by Gyro1

  • 1,921 views
  • 0 comments
  • 12 respects

Arduino TV out cable

Project tutorial by Paul Scott

  • 30,157 views
  • 4 comments
  • 44 respects

Make an Autonomous "Follow Me" Cooler

Project tutorial by Hacker Shack

  • 104,301 views
  • 204 comments
  • 404 respects

Use the Force... Or your Brainwaves?

Project tutorial by Tamas Imets

  • 31,682 views
  • 19 comments
  • 107 respects

Personal Home Assistant

Project tutorial by 3 developers

  • 4,304 views
  • 0 comments
  • 29 respects
Add projectSign up / Login