Announcement

Collapse
No announcement yet.

i need help please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • hestrada6137
    replied


    Hi everybody,
    I do have a BS2sx, BS2 and BS2px24 controllers from Parallax and a uLCD43-PT(SGC) from 4D systems
    I'm trying to have communication with Lcd but not success,
    LCD respond to Fat controller tool,
    I tried with a lot of SEROUT and SERIN commands, code downloaded from internet and nothing,
    Can someone help me?, thank you.
    I use this code for Baud:
    #SELECT $STAMP
    #CASE BS2, BS2E, BS2PE
    T1200 CON 813
    T2400 CON 396
    T9600 CON 84
    T19K2 CON 32
    T38K4 CON 6
    #CASE BS2SX, BS2P
    T1200 CON 2063
    T2400 CON 1021
    T9600 CON 240
    T19K2 CON 110
    T38K4 CON 45
    #CASE BS2PX
    T1200 CON 3313
    T2400 CON 1646
    T9600 CON 396
    T19K2 CON 188
    T38K4 CON 84
    #ENDSELECT

    Inverted CON $4000
    Open CON $8000
    Baud CON T38K4 '+ Inverted

    rst PIN 4
    is_on CON 0
    is_off CON 1
    OUTPUT rst

    Main:
    DO
    rst = is_off
    PAUSE 200
    'SEROUT 2, Baud,[$59, $03, $01] ' turn on
    SEROUT 2, Baud,[$45] ' autobaud
    'PAUSE 200
    DEBUG "send autobaud",CR
    SEROUT 0, Baud,["s", 3, 1, 0, $FF, $E0, Yellow Text, $00] 'Send text to screen

    rst = is_on
    LOOP
    END
    Thank you for your help.

    Leave a comment:


  • ESPsupport
    replied


    In Vista and Windows7 with UAC turned on you need to run graphics composer as Administrator (right click and click 'run as administrator).

    Note:- being logged on as an administrator is not enough

    Leave a comment:


  • davidsgr
    replied


    My friend you have right 1,1 not needed.
    I have another problem now
    i need to open an jpg image , i have try via Graphic composer and have fail reading on device i have windows 7 and micro sd card 2 gb after some tests the text about serial platform output file gives me those datas,
    0x40, 0x49, 0x00, 0x00, 0x80, 0x80, 0x08, 0x00, 0x10, 0x00
    i think i should send this code for the image

    RSOut $40,$6D

    DelayMS 100

    RSOut 0x40, 0x49, 0x00, 0x00, 0x80, 0x80, 0x10, 0x00, 0x10, 0x00




    is this the right way??

    and about the Graphic composer have you the same problem??

    Leave a comment:


  • kaddrison
    replied


    you dont need the at 1,1 bit in the rsout , also did you try your serial out inverted - 84 i think it is were you have 16468 - or are you going top stick with rsout - if you use hrsout (but you would have to use c6 / c7 ) its the hardware version of rsout

    Leave a comment:


  • davidsgr
    replied


    IT IS WORKING WITH RSOUT THANK YOU MY FRIEND
    DECLARE RSOUT_PIN PORTC.3
    DECLARE RSOUT_MODE = TRUE
    DECLARE SERIAL_BAUD =9600
    DECLARE RSOUT_PACE 0

    RSOUT AT 1,1,"U"
    DELAYMS 100
    RSOUT AT 1,1,$59, $03, $01
    DELAYMS 100
    RSOUT AT 1,1,$59, $04, $01
    DELAYMS 100
    RSOUT AT 1,1,$45
    DELAYMS 100
    RSOUT AT 1,1,"s", 3, 1, 0, $FF, $E0, "HELLO WORLD", $00



    THANKS...!!!!!!!!!!

    Leave a comment:


  • davidsgr
    replied


    DEVICE 18F452
    XTAL 20


    ALL_DIGITAL = TRUE

    SYMBOL rst PORTC.5

    LOW rst


    SYMBOL SERIAL =PORTC.3
    SYMBOL SERIALin =PORTC.1




    powerUp:
    DELAYMS 2000
    SEROUT SERIAL ,16468 ,[$59, $03, $01] 'Power up the screen

    DELAYMS 100


    SEROUT SERIAL ,16468 ,[$55] 'Establish auto-baud

    DELAYMS 100


    SEROUT SERIAL ,16468 ,[$45] 'Clear screen
    DELAYMS 100

    SEROUT SERIAL ,16468 ,[$59, $00, $00] 'Black Backbround
    DELAYMS 100

    SEROUT SERIAL ,16468 ,["s", 3, 1, 0, $FF, $E0, Yellow Text, $00] 'Send text to screen
    DELAYMS 100

    SEROUT SERIAL ,16468 ,["s", 3, 3, 0, $FF, $FF, Font 0 5x7, $00] 'Send text to screen

    DELAYMS 5000

    SEROUT SERIAL ,16468 ,[$45] 'Clear screen
    DELAYMS 100

    SEROUT SERIAL ,16468 ,["s", 3, 1, 1, $F8, $1F, Magenta Text, $00] 'Send text to screen
    DELAYMS 100

    SEROUT SERIAL ,16468 ,["s", 3, 3, 0, $FF, $FF, Font 1 8x8, $00] 'Send text to screen

    DELAYMS 5000
    GOSUB powerUp
    'i am using easy pic 6

    Thanks for the responce

    David

    Leave a comment:


  • kaddrison
    replied


    Hi

    I use Proton Plus - post your code and I will have a look

    rsout "U" should do what you need to set the baud rate

    Leave a comment:


  • davidsgr
    replied


    Thanks for the reply,
    i have adapt this code (basic stamp) with my compiler (proton plus) and nothing is happen .
    I need to see some texts only , i it is needed to buy the adaptors MB5 or CE5 i will do that but until get it please inform me if i can print any text with any way on the lcd .

    Thanks for your informations..!!!

    David

    Leave a comment:


  • Atilla
    replied


    Hi David,1) Do you have one of the USB to Serial-TTL converter modules? MB5 or CE5? If not then it's highly recommended you get one.2) The easiest way to become familiar with the 32PT(SGC) display module and the serial command set is to use the FAT Controller software tool. 3) Once you get your display working with the FAT Controller, take a look at this post and hopefully that will set you in the right direction: http://4d.websitetoolbox.com/post?id=3001819
    Let us know how you go....

    Leave a comment:


  • davidsgr
    started a topic i need help please

    i need help please

    hello,
    i need help for ho i can send comands to ulcd-32Pt
    i am trying to send via serial comands from the pic and i dont have any responce
    if someone can help me i will apriciate it,
    as example ftom the manual says to send 55(hex) or U(ascii) for the baud rate .
    How i can send it like this?
    or is theare any code line to start the lcd reading commands
    as example i need to print a text "hello"
    please if someone has use this way i need some informations

    Thanks a lot

    David
Working...
X