Difference between revisions of "Microduino Video output"
(→RCA Cable) |
(→Video Format) |
||
Line 37: | Line 37: | ||
Video format consists of PAL and NTSC. The former is mainly used in China: | Video format consists of PAL and NTSC. The former is mainly used in China: | ||
− | *PAL is a method of color frequency in the television broadcasting, whose full name is Phase Alternating Line). Most parts of the world are based on the PAL format in addition to North America and parts of the East Asia using the NTSC format, as well as the Middle East and Eastern Europe adopting SECAM format. PAL was firstly proposed by the German, Walter Bruch | + | *PAL is a method of color frequency in the television broadcasting, whose full name is Phase Alternating Line). Most parts of the world are based on the PAL format in addition to North America and parts of the East Asia using the NTSC format, as well as the Middle East and Eastern Europe adopting SECAM format. PAL was firstly proposed by the German, Walter Bruch in 1963, who worked for Telefunken. |
*NTSC is an abbreviation for National Television Standards Committee, which is responsible for developing a United States standard television broadcasting transmitting and receiving protocol. Besides, there are two sets of standards : PAL and SECAM-which are used for other countries in the world. There is no significant change about NTSC standard in addition to adding new parameters of color signal since coming into being. Moreover, NTSC signal can not be directly compatible with computer systems. | *NTSC is an abbreviation for National Television Standards Committee, which is responsible for developing a United States standard television broadcasting transmitting and receiving protocol. Besides, there are two sets of standards : PAL and SECAM-which are used for other countries in the world. There is no significant change about NTSC standard in addition to adding new parameters of color signal since coming into being. Moreover, NTSC signal can not be directly compatible with computer systems. | ||
− | |||
− | |||
==Schematic Diagram== | ==Schematic Diagram== |
Revision as of 09:08, 4 May 2014
ContentsOutline
Bill of Materials
RCA CableBefore we start to build a video signal, we must connect Microduino to a TV. The cheapest and the simplest solution is RCA cable (sometimes called cinch cable) which is used to send audio or video signals. In the chart below, you can a RCA cable with three connectors. These cables typically transmit sound (red and white connectors) and video (yellow connector). In this case, all we need is the cable of the yellow connector.
Video FormatVideo format consists of PAL and NTSC. The former is mainly used in China:
Schematic Diagram
Program
tv.select_font(font4x6);//Set front tv.clear_screen();//Clear tv.draw_line(0, 10, WIDTH - 1, HEIGHT - 1, WHITE);//Draw line tv.draw_rect(0, 10, WIDTH - 11, HEIGHT - 11, WHITE);//Draw Rectangle tv.draw_circle(WIDTH / 2, HEIGHT / 2, 20, WHITE);//Draw circle
DebuggingStep 1:Since Microduino has no RCA jack field, so how to connect Microduino to TV is a problem. Surely, we can add a RCA jack field on Microduino. However, we will use another way to connect cable to pins of Microduino.
The outermost layer is the ground wire. The signal wire is in the middle, which is protected by a layer of insulation.
Step 3:To connect RCA to Microduino, connect 1000 Ω to D9, 470 Ω to D7, and Gnd to GND, as follows: The connector of RCA connecting to the AV connector of your TV is yellow and very easy to recognize. Step 4:A library function will be needed to solve video encoding output problems of PAL and NTSC: http://code.google.com/p/arduino-tvout/ To download the code and compile successfully. Step 5:To run the code and see what happens on the screen of the TV. ResultA line, a circle and “Hello Microduino” will be displayed recurrently on TV. As follows: Notice
Video |