Giter Club home page Giter Club logo

Comments (17)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
I really worked as follows:

GND ----------------------- party outside of the connector
Pin 11 ---------- ------------ ------ 1k Resistance inside the connector
Pin 27 ---------- ------------ 470 ohms resistance --- inside the connector 

La solución es conectar el pin de video a la patilla 27 en vez de conectarlo 
al pin A7

Sorry for my bad English but I translate from Spanish with the google translator

Original comment by [email protected] on 11 May 2012 at 10:03

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Hola¡

gracias antes de todo jeje

Ya hice el cambio pero sigue igual, todo negro aunque percibe que hay una 
señal. 
Lo he probado en varios televisores, tanto antiguos como nuevos, pero nada.
¿para que funcionase cambiaste la librería para que lo pasase por el pin 27?
Gracias¡
un Salu2¡

Original comment by [email protected] on 13 May 2012 at 10:12

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
P. "¿para que funcionase cambiaste la librería para que lo pasase por el pin 
27?"
R. "No, a mí no me funcionaba y decidí probar pines hasta dar con el correcto"

¿Me pasas la sketch que usas?
¿Que modos soporta tu TV (PAL NTSC etc.)?
Si en la sketch inicia con NTSC puedes probar a cambiarlo a PAL (a ver si va 
bién)
¿No estará mal el conector RCA?

Comprueba todo esto y mira a ver si funciona.

Saludos.

PD: Estoy haciendo una interfaz gráfica con la librería: 
http://www.youtube.com/watch?v=nIfmB9VJe70
PD1: El led del pin 13 se enciende al hacer "click" en encender led y se apaga 
al hacer "click" en apagar led.
Message for English speakers: please use google translator

Original comment by [email protected] on 13 May 2012 at 2:49

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
[deleted comment]

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Hola¡ 
El conector esta bien porque lo probé con un DVD portátil y va bien.
El sketch es el ejemplo de pal de la librería y no cambie nada de la librería 
en cuanto a pines , solo una importación que da error (Wprogram.h por 
Arduino.h)y compila bien sin fallos pero luego al conectarlo se detecta una 
señal , por que no sale "no hay señal", pero no se muestra nada.

Y a ver si mañana tengo un momento y te pongo una foto del montaje pero vamos 
es el mismo que el de la página jeje, aunque añadí unos diodos pero igual.

De todos modos voy a quitarla y volverla a poner para probar lo que hiciste tú.

Gracias por la ayuda :)

Salu2¡

Original comment by [email protected] on 13 May 2012 at 8:16

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Mi sketch:

#include <SoftwareSerial.h>
#include <TVout.h>
#include <fontALL.h>

int menum=1;
int acercade=0;
TVout TV;
void setup()  {
  pinMode(13,OUTPUT);
  pinMode(7,INPUT);
  pinMode(6,INPUT);
  Serial.begin(9600);
  TV.begin(_PAL,640,480);
  TV.select_font(font6x8);
  ventana("Panel de control");
  menux("Encender led");
  menu1("Apagar led");
  menu2("Acerca de...");
  TV.println(55,125,"LED");
  TV.draw_rect(15,120,610,45,WHITE);
  TV.draw_circle(60,120,5,WHITE,WHITE);

}

void loop() {

   switch (digitalRead(7)) {
    case 0:
      delay(100);
      if(digitalRead(7)) {
       if(!acercade){
         if(menum>2) {menum=0;}
         while(!digitalRead(7)) {}
         select(menum);
         menum=menum+1;
       }
      }
      break;
    case 1:
      break;
  }



   switch (digitalRead(6)) {
    case 0:
       delay(100);
       if(digitalRead(6)) {
         if(!acercade){
           while(!digitalRead(6)) {}
           sel(menum);
         } else {
           acercade=0;
           tapat();
           ventana("Panel de control");
           menux("Encender led");
           menu1("Apagar led");
           menu2("Acerca de...");
         }
       }
       break;
    case 1:
      break;
  }



  //if (Serial.available()) {
  //  TV.print((char)Serial.read());
  //}
}

void ventana(const char* titulo) {
  TV.println(15,5,titulo);
   TV.draw_rect(0,0,639,478,WHITE);
   TV.draw_rect(0,0,639,15,WHITE);
}

void menu(const char* texto) {
  TV.println(20,25,texto);
  TV.draw_rect(15,20,610,15,WHITE);
}

void menu1(const char* texto) {
  TV.println(20,45,texto);
  TV.draw_rect(15,40,610,15,WHITE);
}

void menu2(const char* texto) {
  TV.println(20,65,texto);
  TV.draw_rect(15,60,610,15,WHITE);
}

void menux(const char* texto) {
  TV.println(20,25,texto);
  TV.draw_rect(15,20,610,15,WHITE,INVERT);
}

void menu1x(const char* texto) {
  TV.println(20,45,texto);
  TV.draw_rect(15,40,610,15,WHITE,INVERT);
}

void menu2x(const char* texto) {
  TV.println(20,65,texto);
  TV.draw_rect(15,60,610,15,WHITE,INVERT);
}

void tapar() {
  TV.draw_rect(15,20,610,15,BLACK,BLACK);
}

void tapar1() {
  TV.draw_rect(15,40,610,15,BLACK,BLACK);
}

void tapar2() {
  TV.draw_rect(15,60,610,15,BLACK,BLACK);
}

void tapat() {
   TV.draw_rect(5,20,630,420,BLACK,BLACK);
}

void texto(const char* text) {
  TV.println(15,20,text);
}
void texto1(const char* text) {
  TV.println(15,40,text);
}
void texto2(const char* text) {
  TV.println(15,60,text);
}
void texto3(const char* text) {
  TV.println(15,80,text);
}
void texto4(const char* text) {
  TV.println(15,100,text);
}

void textosalir(const char* text) {
  TV.println(30,160,text);
  TV.draw_rect(15,155,610,15,WHITE,INVERT);
}

void select(int menus) {
  switch (menus) {
    case 0:
      tapar();
      menux("Encender led");
      tapar1();
      menu1("Apagar led");
      tapar2();
      menu2("Acerca de...");
      break;
    case 1:
      tapar();
      menu("Encender led");
      tapar1();
      menu1x("Apagar led");
      tapar2();
      menu2("Acerca de...");
      break;
    case 2: 
      tapar();
      menu("Encender led");
      tapar1();
      menu1("Apagar led");
      tapar2();
      menu2x("Acerca de...");
  }
}

void sel(int menu) {
  switch (menu-1) {
    case 0:

      digitalWrite(13,HIGH);
      break;
    case 1:
      digitalWrite(13,LOW);
      break;
    case 2:
    acercade=1;
    ventana("Acerca de...    ");
    tapat();
    texto("Hecho por:");
    texto1("TUX Infosystems.");
    texto2("");
    texto3("Sobre la placa:");
    texto4("Arduino");
    textosalir("Salir: [OK]");
    menum=1;
      break;
  }
}

A ver si te funciona:

Original comment by [email protected] on 14 May 2012 at 6:56

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
PD: ¿Cual es el valor de las resistencias?

Original comment by [email protected] on 14 May 2012 at 6:57

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Siento mucho la tardanza y gracias por la ayuda pero no he tenido tiempo y 
ahora tengo un rato lo pruebo y te lo comento
el valor de las resistencias es 470h y 1k, es lo que pone en la pagina inicial

Gracias¡

Original comment by [email protected] on 29 May 2012 at 7:24

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Ya lo he probado y queda la pantalla en blanco, nose he probado todos los pines 
pero alguna combinación se me habrá escapado jeje
Me parece extraño ya que son las mismas cosas e igual, arduino mega 2560, dos 
resistencias de sus valores, el cable que funciona, los botones (probado sin 
pantalla enciende el led) y el mismo sketch nose si la librería tiene algo que 
ver.

Voy a seguir probando si se te ocurre algo dímelo, y si no lo consigo buscare 
mas exhaustivamente el problema :)

Gracias y un Saludo¡¡

Original comment by [email protected] on 29 May 2012 at 8:28

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
¿Puede ser que esté seleccionada otra entrada de vídeo en el 
televisor/pantalla?
¿Utilizas cable Euroconector --> RCA Video?
¿Que salida tienes seleccionada en la configuración de tu televisor/pantalla?
¿Has probado a cambiarla?
¿Has probado a bajar el valor de las resistencias?
¿El arduino se alimenta con 5vDC?


Mira a ver si el fallo consiste en algo de eso.

Saludos.

Original comment by [email protected] on 2 Jun 2012 at 3:00

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Olá a todos.
Estou falando português porque não sei falar espanhol, mas consegui entender 
a conversa.
O meu problema era exatamente o mesmo, Arduino Mega 2560,TvoutBeta1,Arduino 
1.0.1, com imagem preta.
Consegui resolver o problema ligando o cabo de video(resistor de 470h) no pino 
29.

Iria tentar botar no pino 27 como disseram anteriormente mas felizmente acabei 
botando errado no pino 29 e funcionou!

Obrigado por terem me ajudado a resolver o problema, espero ter ajudado também!

Original comment by flaviorbayer on 10 Sep 2012 at 12:33

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Muchas gracias!!!! Al final puede hacerlo funcionar con el pin 27, solo que 
tengo un problema, que el texto salen como codigos QR jajaaja pero buneno a ver 
si lo soluciono ;) 

Original comment by [email protected] on 6 Jan 2014 at 4:34

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Hi I wonder if I can help with a library and a circuit to have images using VGA 
with Arduino MEGA 2560 already and tried some and not e able to either.

Original comment by [email protected] on 30 Mar 2015 at 5:33

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
hola, yo tengo el mismo problema que  [email protected] pero al intentar probar 
con el código que metiste en el mensaje #6 me da un error:
Sketch uses 12.374 bytes (4%) of program storage space. Maximum is 253.952 
bytes.
Global variables use 441 bytes (5%) of dynamic memory, leaving 7.751 bytes for 
local variables. Maximum is 8.192 bytes.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

Sabeis que puede ser?

Original comment by [email protected] on 5 Jun 2015 at 12:24

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
[deleted comment]

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Después de mucho revisar y leer he descartado que sea cosa de controladores ya 
que aunque se trate de una placa china, he conseguido el driver y el problema 
persiste, estoy casi seguro de que se trata de un problema en el bootloader de 
la placa que es una mega2560 china, aunque al no tener la estructura de la 
standard estoy teniendo problemas para encontrar la forma de Flashearla. Se 
bien como funcionan estas cosas, pero en arduino soy un poco nuevo, cualquier 
ayuda que me podáis dar os lo agradezco, la placa que tengo es esta:

http://www.dx.com/es/p/improved-2014-mega2560-r3-development-board-module-w-usb-
cable-for-arduino-blue-368279#.VXHqmkYenBY

Muchas gracias

Original comment by [email protected] on 5 Jun 2015 at 6:31

from arduino-tvout.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 29, 2024
Hola, nunca he utilizado una placa china. Creo que tienes que usar otro arduino 
para programarla. 
https://www.arduino.cc/en/Hacking/Bootloader?from=Tutorial.Bootloader

Original comment by [email protected] on 20 Aug 2015 at 12:08

from arduino-tvout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.