Show Posts
Pages: [1]
1  Using Arduino / LEDs and Multiplexing / Re: How can i send data to led banner? on: March 01, 2011, 08:01:02 am
i use 18f452 series microchip on display. its working 19200 and send data with 19200 but i think maybe its not same.
2  Using Arduino / LEDs and Multiplexing / Re: How can i send data to led banner? on: March 01, 2011, 04:56:22 am
i dont understand!
3  Using Arduino / LEDs and Multiplexing / Re: I have a led display banner. I need Send ascii data with rs232 to displ banner. on: March 01, 2011, 04:54:15 am
i didnt see any character in led banner.
4  Using Arduino / LEDs and Multiplexing / How can i send data to led banner? on: February 28, 2011, 05:50:35 pm
Hi! its my second question.

i have a led banner. i send data to it with vb6 or python its working.

my python code:
# -*- coding: utf-8-*-
import serial, time
ser = serial.Serial('COM1',19200)
ser.parity = 'N'
ser.bytesize = 8
ser.stopbits = 1
ser.timeout = 1
beklemesuresi = 0.2

try:
 #yazmaya başla
    message = raw_input("Mesaj girin: ")
    databasla = [255,254,0,100,200,95,1,1,200,43,10,1]
    print "Datalar gonderiliyor"
    for x in databasla:
        ser.write(chr(x))
        time.sleep(beklemesuresi)
#yazmaya başla
#Mesaj
   
    for ch in message:
        mesaj = chr(ord(ch),)
        ser.write(mesaj)
        time.sleep(beklemesuresi)
#Mesaj
#yazmayı bitir
    databitir = [200,253]
    for x in databitir:
        ser.write(chr(x))
        time.sleep(beklemesuresi)
#yazmayı bitir
    ser.close()
# Hata oluşursa
except IOError:
    print "Hata olustu"

my arduino code:
int data[] = {255, 254, 0, 100, 200, 95, 1, 1, 200, 43, 10, 1, 77, 117, 115, 108, 117, 32, 89, 252, 107, 115, 101, 107, 116, 101, 112, 101, 200, 253};

void  setup(){Serial.begin(19200);}


void loop()
{
for (int i = 0; i < 30; i++){
   Serial.print(data);
   delay(30);
   }


  Serial.end();

}


How can i send data with arduino like python?
Do i have use max232 or other chip?
smiley-roll
5  Using Arduino / LEDs and Multiplexing / Re: I have a led display banner. I need Send ascii data with rs232 to displ banner. on: February 28, 2011, 05:34:52 pm
i tested it. i want to tell you. i am not sending data to pc. i am sending to led banner. do i must to use max232 or other chip? when i send data with pc serial port its working but when i sen data with Arduino its doesnt work.
6  Using Arduino / LEDs and Multiplexing / Re: I have a led display banner. I need Send ascii data with rs232 to displ banner. on: February 28, 2011, 10:29:23 am
i use this code. i am sending data but not changing my led banner. i showed vb code when i send code with vb its working.



char sounds[] = {255, 254, 0, 100, 200, 95, 1, 1, 200, 43, 10, 1, 77, 117, 115, 108, 117, 32, 89, 252, 107, 115, 101, 107, 116, 101, 112, 101, 200, 253};
void setup()  {
  Serial.begin(19200);



for(int i = 0; i <=30;i++)
{
Serial.print(sounds,BYTE);
}
}

void loop() {

   }
7  Using Arduino / LEDs and Multiplexing / Re: I have a led display banner. I need Send ascii data with rs232 to displ banner. on: February 28, 2011, 10:12:44 am
Please answer me? i need to send ascii code with arduino to rs232 like this.

VB6 code:
    Sleep ComDelay: MSComm.Output = Chr$(255)
    Sleep ComDelay: MSComm.Output = Chr$(254)
    Sleep ComDelay: MSComm.Output = Chr$(0) 
8  Using Arduino / LEDs and Multiplexing / Re: I have a led display banner. I need Send ascii data with rs232 to displ banner. on: February 23, 2011, 05:32:57 pm
i programmed with vb6. its working but when isend this ascii code its not working.

VB6 code:

    ComPort = 1
    ComDelay = 20
    ComTimeOut = 3
    ComBaud = "19200"
    ComParity = "N"
    ComDataBits = "8"
    ComStopBits = "1"

    '-/- Open ComPort
    If Open_Port = False Then GoTo End_Send
    '-/- Check ID
    Sleep ComDelay: MSComm.Output = Chr$(255)               'Uyandırma İşareti
    Sleep ComDelay: MSComm.Output = Chr$(254)               'Hazır Komutu
    Sleep ComDelay: MSComm.Output = Chr$(0)                 'Device ID
    '-/- Writing Animation
    Sleep ComDelay: MSComm.Output = Chr$(100)               'Animasyon Transfer Komutu
    'Font Size
    Sleep ComDelay: MSComm.Output = Chr$(200)               'Komut İşareti
    If xSize = 5 Then
        Sleep ComDelay: MSComm.Output = Chr$(95)            'Efekt  (5x7 Pixel Yazı Boyutu)
    ElseIf xSize = 7 Then
        Sleep ComDelay: MSComm.Output = Chr$(97)            'Efekt  (7x7 Pixel Yazı Boyutu)
    End If
    Sleep ComDelay: MSComm.Output = Chr$(1)                 'Süre/Hız
    Sleep ComDelay: MSComm.Output = Chr$(1)                 'Tekrar
    'Shift Left
    Sleep ComDelay: MSComm.Output = Chr$(200)               'Komut İşareti
    Sleep ComDelay: MSComm.Output = Chr$(43)                'Efekt
    Sleep ComDelay: MSComm.Output = Chr$(10)                'Süre/Hız
    Sleep ComDelay: MSComm.Output = Chr$(1)                 'Tekrar
    'İçerik (Numara)
    For i = 1 To Len(xText)
        Sleep ComDelay: MSComm.Output = Mid$(xText, i, 1)   'Her Karakter İçin 1 Byte Veri
    Next
    'Animasyon Sonu
    Sleep ComDelay: MSComm.Output = Chr$(200)               'Komut İşareti
    Sleep ComDelay: MSComm.Output = Chr$(253)               'Veri Gönderimi Sonu
    '-/-
    Close_Port


i wanna send data with ethernet shiled. i can read data on net and send to rs232 but not working..
9  Using Arduino / LEDs and Multiplexing / Re: I have a led display banner. I need Send ascii data with rs232 to displ banner. on: February 22, 2011, 08:01:54 am
ok will try tonight
10  Using Arduino / LEDs and Multiplexing / I have a led display banner. I need Send ascii data with rs232 to displ banner. on: February 16, 2011, 05:54:58 pm
Hi!

i have a led display banner. I used windows software and i write some letter but i wanna edit it with arduino...

How can i send ascii data with TX pin to display banner?

I have to send 255, 254, 0, 100, 200, 95, 1, 1, 200, 43, 10, 1, 77, 117, 115, 108, 117, 32, 89, 252, 107, 115, 101, 107, 116, 101, 112, 101, 200, 253 code to banner.

I write:

#include <SoftwareSerial.h>
#define rxPin 0
#define txPin 1


SoftwareSerial swSerial =  SoftwareSerial(rxPin, txPin);

void setup()  {
  pinMode(rxPin, INPUT);
  pinMode(txPin, OUTPUT);

  swSerial.begin(19200);
  char sounds[] = {255, 254, 0, 100, 200, 95, 1, 1, 200, 43, 10, 1, 77, 117, 115, 108, 117, 32, 89, 252, 107, 115, 101, 107, 116, 101, 112, 101, 200, 253};
  Serial.print(sounds);
  delay(10);
}

void loop() {

   }
 


its accepted this code but never changed...
11  Forum 2005-2010 (read only) / Exhibition / Re:  I made a home automation on net. u must see it on: December 01, 2010, 02:58:28 pm
i cant write my code. i dont know why site doesnt permission me. but i can send by mail who wanna need my code.
12  Forum 2005-2010 (read only) / Exhibition / Re:  I made a home automation on net. u must see it on: December 01, 2010, 01:42:16 pm
@Nadir:
Hocam sa[ch287]olun arduino ile u[ch287]ra[ch351][ch305]yorsan[ch305]z sizle her konuda bilgi payla[ch351]abilirim.

Kodlar[ch305] gönderemiyorum hata veriyor düzeltip göndermeyi denerim

musluyuksektepe@gmail.com
13  Forum 2005-2010 (read only) / Exhibition / I made a home automation on net. u must see it on: November 29, 2010, 03:50:30 pm
Hi my name is Muslu Yüksektepe, from Türkiye (Turkey).
This is my second project. I made a home automation with ethernet shield.
You can control 2 output.

I use 220v and convert 9v DC.
I use 2 output. Lamb and dismisses the fly.  smiley-wink

If u wanna see my code i can send mail to u.



----------------------------------------------------

Veeeeeeee son bombaaam.. [ch304]nternet üzerinden ev otomasyonu. [ch304]stedi[ch287]iniz kadar elektrikli araç ve gereçleri internet ile istedi[ch287]iniz yerden kontrolünü yapabilirsiniz.. [Muslu YÜKSEKTEPE]
Pages: [1]