Shop OBEX P1 Docs P2 Docs Learn Events
Adapter 4bit-Bus auf Seriell-LCD-Display? — Parallax Forums

Adapter 4bit-Bus auf Seriell-LCD-Display?

ArchiverArchiver Posts: 46,084
edited 2003-05-09 10:12 in General Discussion
Hallo an alle hier im Forum :-)

Ich habe folgendes Problem und hoffe ihr k

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-05-07 15:24
    Sorry most of use cannot ready German.
    English bitte

    Original Message
    From: luemmel1 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=GQKPeZXXT07xHi3P5qR25TiyxQG7SQjYtVwXtw_DV4btzEC0lMXopC9xpB-pjoPCf4RSg20]dugt2@g...[/url
    Sent: Wednesday, May 07, 2003 9:43 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Adapter 4bit-Bus auf Seriell-LCD-Display?

    Hallo an alle hier im Forum :-)

    Ich habe folgendes Problem und hoffe ihr k
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-07 18:54
    Here you go guy's this should help.

    Hello at everyone here in the forum: -)

    I have following problem and hope can help along myself you:

    I have actuates the OSCAR-MP3-Player of that a 4x20-Zeichen point
    matrix display. The display is actuated over a 4bit-Bus. Because I
    would like to incorporate the Players gladly in the trunk of my car,
    br
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-07 20:23
    Despite my somwhat limited knowledge of German,
    I hope I can help Luemmel.

    "I have the following problem and hope you can help me.
    I have an OSCAR MP3 player that drives a 4x20
    character PointMatrix display .
    The display is connected through a 4-bit bus. As I want to
    install the player in the trunk of my car, I need a circuit
    to connect a serial 4x20 character display with the 4-bit
    bus.
    As a solution I considered simply programming a PIC
    to handle the parallel to serial conversion or a UART.
    However, I don't know how to make a workable circuit.
    It'd be nice if you could help me."

    Marylou
    _________________________________


    --- In basicstamps@yahoogroups.com, "luemmel1" <dugt2@g...> wrote:
    > Hallo an alle hier im Forum :-)
    >
    > Ich habe folgendes Problem und hoffe ihr k
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-08 03:56
    I don't know how well I have the point of the question, but it appears that
    Luemmel1 is attempting to interface a 4x20 display, with an onboard 4 bit
    bus, to an MP3 player in his car, and needs some advice on how to interface
    the two, implementing a parralel to serial converter, using UARTS, with
    BasicStamp control. I don't speak German, but learned a little from my
    Grandparents, when they were still alive. If anyone can elaborate on this,
    or correct my interpretation, please do.

    Mike
    Original Message
    From: Sadler Porter <porter.sadler@s...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, May 07, 2003 10:24 AM
    Subject: RE: [noparse][[/noparse]basicstamps] Adapter 4bit-Bus auf Seriell-LCD-Display?


    Sorry most of use cannot ready German.
    English bitte

    Original Message
    From: luemmel1 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=F2EekQRK8qWxO6D4orJuQFozgGWvAhphy46kk0mfZCPI4a6w_s0yd9mfrfD2L3v3xhKdzw]dugt2@g...[/url
    Sent: Wednesday, May 07, 2003 9:43 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Adapter 4bit-Bus auf Seriell-LCD-Display?

    Hallo an alle hier im Forum :-)

    Ich habe folgendes Problem und hoffe ihr k
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-08 04:00
    Cyminex:

    OTS, but is this the result of one of the translation pages on the web? I
    never bothered to look at one of them before (one of the [noparse][[/noparse]dis?]advantages of
    being a native English speaker is not needing to translate much), and always
    wondered how well they do.

    Mike
    Original Message
    From: cyminex <cyminex@t...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, May 07, 2003 1:54 PM
    Subject: [noparse][[/noparse]basicstamps] Re: Adapter 4bit-Bus auf Seriell-LCD-Display?


    Here you go guy's this should help.

    Hello at everyone here in the forum: -)

    I have following problem and hope can help along myself you:

    I have actuates the OSCAR-MP3-Player of that a 4x20-Zeichen point
    matrix display. The display is actuated over a 4bit-Bus. Because I
    would like to incorporate the Players gladly in the trunk of my car,
    br
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-08 04:03
    Hmmm. Better than my knowledge of German, Marylou. But one question, since
    you probably didn't have a chance to read my sorry post, yet. Is it the
    circuit he needs, or is it the program to control the circuit? And what word
    or phrase in his post corresponds to the circuit/program? My German stinks,
    maybe you can improve it here, on the cheap.

    Thanks

    Mike
    Original Message
    From: astumpf999 <astumpf999@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, May 07, 2003 3:23 PM
    Subject: [noparse][[/noparse]basicstamps] Re: Adapter 4bit-Bus auf Seriell-LCD-Display?


    Despite my somwhat limited knowledge of German,
    I hope I can help Luemmel.

    "I have the following problem and hope you can help me.
    I have an OSCAR MP3 player that drives a 4x20
    character PointMatrix display .
    The display is connected through a 4-bit bus. As I want to
    install the player in the trunk of my car, I need a circuit
    to connect a serial 4x20 character display with the 4-bit
    bus.
    As a solution I considered simply programming a PIC
    to handle the parallel to serial conversion or a UART.
    However, I don't know how to make a workable circuit.
    It'd be nice if you could help me."

    Marylou
    _________________________________


    --- In basicstamps@yahoogroups.com, "luemmel1" <dugt2@g...> wrote:
    > Hallo an alle hier im Forum :-)
    >
    > Ich habe folgendes Problem und hoffe ihr k
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-08 04:53
    The words schaltung/beschalten imply wiring so I assume he needs
    help with a parallel to serial conversion circuit. Maybe Luemmel can
    clarify this - Wir brauchen eine bessere Klarstellung.

    Marylou
    _______________________________


    --- In basicstamps@yahoogroups.com, "Mike Duerksen"
    <michael_duerksen@c...> wrote:
    > Hmmm. Better than my knowledge of German, Marylou. But one
    question, since
    > you probably didn't have a chance to read my sorry post, yet. Is it
    the
    > circuit he needs, or is it the program to control the circuit? And
    what word
    > or phrase in his post corresponds to the circuit/program? My German
    stinks,
    > maybe you can improve it here, on the cheap.
    >
    > Thanks
    >
    > Mike
    >
    Original Message
    > From: astumpf999 <astumpf999@y...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Wednesday, May 07, 2003 3:23 PM
    > Subject: [noparse][[/noparse]basicstamps] Re: Adapter 4bit-Bus auf Seriell-LCD-Display?
    >
    >
    > Despite my somwhat limited knowledge of German,
    > I hope I can help Luemmel.
    >
    > "I have the following problem and hope you can help me.
    > I have an OSCAR MP3 player that drives a 4x20
    > character PointMatrix display .
    > The display is connected through a 4-bit bus. As I want to
    > install the player in the trunk of my car, I need a circuit
    > to connect a serial 4x20 character display with the 4-bit
    > bus.
    > As a solution I considered simply programming a PIC
    > to handle the parallel to serial conversion or a UART.
    > However, I don't know how to make a workable circuit.
    > It'd be nice if you could help me."
    >
    > Marylou
    > _________________________________
    >
    >
    > --- In basicstamps@yahoogroups.com, "luemmel1" <dugt2@g...> wrote:
    > > Hallo an alle hier im Forum :-)
    > >
    > > Ich habe folgendes Problem und hoffe ihr k
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-08 08:16
    Hi everybody

    If I got this right you want to replace your original LCD (which
    is hooked up by a 4bit bus) by a 4x20 serial LCD (the ones we
    all know here). So you need some circuitry and software to convert
    signals and protocol. I think this is feasible with a stamp or
    PIC. But you need to be more specific on that 4bit bus (kind of
    parallel or serial?)

    And in german:

    Wenn ich das recht verstanden habe, willst du das originale LCD
    (angeschlossen
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-08 14:51
    Right.
    See http://lcdproc.sourceforge.net/docs/0.4.4-docs-
    html/drivers.html#HD44780-HOWTO

    Halfway down the page is a simple 74LS164 circuit
    to talk to a LCD with a 2-line interface.

    The LCDProc project was to interface an LCD with
    Linux -- however, the 74LS164 circuit is fine for
    moving the LCD long distances from the BS2.

    I would put an RS485 driver/receiver in the
    channel, though, and use shielded cable.

    --- In basicstamps@yahoogroups.com, "cyminex" <cyminex@t...> wrote:
    > Here you go guy's this should help.
    >
    > Hello at everyone here in the forum: -)
    >
    > I have following problem and hope can help along myself you:
    >
    > I have actuates the OSCAR-MP3-Player of that a 4x20-Zeichen point
    > matrix display. The display is actuated over a 4bit-Bus. Because
    I
    > would like to incorporate the Players gladly in the trunk of my car,
    > br
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-08 17:05
    Hi Adrian :-)

    Your translation is perfect !!!

    The original display is wired as follows:
    _____ ________________
    ! ! ! !
    ! !-D0--->
    RS-! !-Vcc
    ! !-D1--->--R/W(/WR)-! !-Brightnes
    ! !-D2--->----E(/RD)-! !-GND
    ! ! D0-! !
    ! ! D1-! 4x20 Character !
    ! µC ! D2-! Dot Matrix !
    ! ! D3-! Display !
    ! !-D3--->
    D4-! !
    ! !-D4--->
    D5-! !
    ! !-D5--->
    D6-! !
    ! !-D6--->
    D7-! !
    !_____! !________________!


    The serial display wiring diagram:
    ____ ______ _________
    ! ! ! ! ! !
    ! !-D0->
    RS---D0-! PIC !-RXD--->---TXD-! Serial !
    ! !-D1->-R/W(/WR)--D1-! (or !-CTS--->----MB-! VFD !
    ! !-D2->---E(/RD)--D2-! UART)! ! Display !
    ! !-D3->
    D4--D3-! ! ! Module !
    ! !-D4->
    D5--D4-! ! !_________!
    ! µC !-D5->
    D6--D5-! !
    ! !-D6->
    D7--D6-! !
    !____! !______!

    The timing diagrams can found here:
    http://www.noritake-itron.com/EPages/Log.asp?
    PCode=Specs/GU7000/GU140x32F-7806-04&PType=pdf

    In the 4-bit modus the data should be clocked first with the high
    nibble (bits 4-7 (D4-D7)) followed by the low nibble (bits 0-3 (D0-
    D3)).


    Thanx
    luemmel


    --- In basicstamps@yahoogroups.com, "Adrian Schneider"
    <adrian.schneider@t...> wrote:
    > Hi everybody
    >
    > If I got this right you want to replace your original LCD (which
    > is hooked up by a 4bit bus) by a 4x20 serial LCD (the ones we
    > all know here). So you need some circuitry and software to convert
    > signals and protocol. I think this is feasible with a stamp or
    > PIC. But you need to be more specific on that 4bit bus (kind of
    > parallel or serial?)
    >
    > And in german:
    >
    > Wenn ich das recht verstanden habe, willst du das originale LCD
    > (angeschlossen über einen 4bit bus) mit einem seriellen 4x20 LCD
    > (so eins, wie wirs alle kennen) ersetzen. Folglich brauchst du
    > eine Schaltung/Software um vom 4bit protokoll ins serielle zu
    > konvertieren. Ich denke das ist machbar mit einem Stamp oder PIC.
    > Du solltest vielleich diesen 4bit bus genauer beschreiben (ist das
    > eine Art parallele Schnittstelle?).
    > _______
    > ---->! stamp !
    > ---->! or !
    > ---->! PIC !
    >[noparse][[/noparse]serial LCD]
    > ---->!_______!
    >
    > Regards
    > Adrian
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-09 02:23
    Thank you, Marylou. Can you give me an exact translation of each of the
    words schaltung and beschalten. I realize from the structure that they are
    probably declensions of the same root, but what root?

    Mike
    Original Message
    From: astumpf999 <astumpf999@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, May 07, 2003 11:53 PM
    Subject: [noparse][[/noparse]basicstamps] Re: Adapter 4bit-Bus auf Seriell-LCD-Display?


    The words schaltung/beschalten imply wiring so I assume he needs
    help with a parallel to serial conversion circuit. Maybe Luemmel can
    clarify this - Wir brauchen eine bessere Klarstellung.

    Marylou
    _______________________________


    --- In basicstamps@yahoogroups.com, "Mike Duerksen"
    <michael_duerksen@c...> wrote:
    > Hmmm. Better than my knowledge of German, Marylou. But one
    question, since
    > you probably didn't have a chance to read my sorry post, yet. Is it
    the
    > circuit he needs, or is it the program to control the circuit? And
    what word
    > or phrase in his post corresponds to the circuit/program? My German
    stinks,
    > maybe you can improve it here, on the cheap.
    >
    > Thanks
    >
    > Mike
    >
    Original Message
    > From: astumpf999 <astumpf999@y...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Wednesday, May 07, 2003 3:23 PM
    > Subject: [noparse][[/noparse]basicstamps] Re: Adapter 4bit-Bus auf Seriell-LCD-Display?
    >
    >
    > Despite my somwhat limited knowledge of German,
    > I hope I can help Luemmel.
    >
    > "I have the following problem and hope you can help me.
    > I have an OSCAR MP3 player that drives a 4x20
    > character PointMatrix display .
    > The display is connected through a 4-bit bus. As I want to
    > install the player in the trunk of my car, I need a circuit
    > to connect a serial 4x20 character display with the 4-bit
    > bus.
    > As a solution I considered simply programming a PIC
    > to handle the parallel to serial conversion or a UART.
    > However, I don't know how to make a workable circuit.
    > It'd be nice if you could help me."
    >
    > Marylou
    > _________________________________
    >
    >
    > --- In basicstamps@yahoogroups.com, "luemmel1" <dugt2@g...> wrote:
    > > Hallo an alle hier im Forum :-)
    > >
    > > Ich habe folgendes Problem und hoffe ihr k
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-09 05:34
    Mike, Maybe Adrian can answer this. My knowledge of German grammer
    isn't that good.

    Marylou
    _________________________________________

    --- In basicstamps@yahoogroups.com, "Mike Duerksen"
    <michael_duerksen@c...> wrote:
    > Thank you, Marylou. Can you give me an exact translation of each of
    the
    > words schaltung and beschalten. I realize from the structure that
    they are
    > probably declensions of the same root, but what root?
    >
    > Mike
    >
    Original Message
    > From: astumpf999 <astumpf999@y...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Wednesday, May 07, 2003 11:53 PM
    > Subject: [noparse][[/noparse]basicstamps] Re: Adapter 4bit-Bus auf Seriell-LCD-Display?
    >
    >
    > The words schaltung/beschalten imply wiring so I assume he needs
    > help with a parallel to serial conversion circuit. Maybe Luemmel can
    > clarify this - Wir brauchen eine bessere Klarstellung.
    >
    > Marylou
    > _______________________________
    >
    >
    > --- In basicstamps@yahoogroups.com, "Mike Duerksen"
    > <michael_duerksen@c...> wrote:
    > > Hmmm. Better than my knowledge of German, Marylou. But one
    > question, since
    > > you probably didn't have a chance to read my sorry post, yet. Is
    it
    > the
    > > circuit he needs, or is it the program to control the circuit? And
    > what word
    > > or phrase in his post corresponds to the circuit/program? My
    German
    > stinks,
    > > maybe you can improve it here, on the cheap.
    > >
    > > Thanks
    > >
    > > Mike
    > >
    Original Message
    > > From: astumpf999 <astumpf999@y...>
    > > To: <basicstamps@yahoogroups.com>
    > > Sent: Wednesday, May 07, 2003 3:23 PM
    > > Subject: [noparse][[/noparse]basicstamps] Re: Adapter 4bit-Bus auf Seriell-LCD-
    Display?
    > >
    > >
    > > Despite my somwhat limited knowledge of German,
    > > I hope I can help Luemmel.
    > >
    > > "I have the following problem and hope you can help me.
    > > I have an OSCAR MP3 player that drives a 4x20
    > > character PointMatrix display .
    > > The display is connected through a 4-bit bus. As I want to
    > > install the player in the trunk of my car, I need a circuit
    > > to connect a serial 4x20 character display with the 4-bit
    > > bus.
    > > As a solution I considered simply programming a PIC
    > > to handle the parallel to serial conversion or a UART.
    > > However, I don't know how to make a workable circuit.
    > > It'd be nice if you could help me."
    > >
    > > Marylou
    > > _________________________________
    > >
    > >
    > > --- In basicstamps@yahoogroups.com, "luemmel1" <dugt2@g...> wrote:
    > > > Hallo an alle hier im Forum :-)
    > > >
    > > > Ich habe folgendes Problem und hoffe ihr k
  • ArchiverArchiver Posts: 46,084
    edited 2003-05-09 10:12
    For being understood by wider audience I do this in english.
    I think the wiring of the LCD for asynchronous serial communication
    should be simple. HP and MB can be wired together as there may be
    no need for handshakeing. Then you just need GND and RxD of your
    LCD (I assume it is not required for the display to talk to the
    stamp using TxD - but its up to you). An UART is probably not
    needed as the LCDs are satisfied with TTL levels. Try your
    LCD with a long (shielded) cable to verify that it works over the
    required distance. I recommend to have your interface (stamp) near
    the player and run the long cable between the interface and the LCD.

    If you want to build an interface using a stamp I suggest to do some
    experimentation first to find whether the stamp can handle the 4bit
    protocol from the uC and how to work with the display (my experience
    is limited virtually to the pure serial LCDs by SEETRON which are
    really easy to use. I think your display is not all to different).

    See the basic structure of an interface program below

    LOOP:

    clock_for_1st_nib
    character.NIB1 = INP(D3..D6)

    clock_for_2nd_nib
    character.NIB0 = INP(D3..D6)

    optional_further_conversion

    send_LCD(character)

    goto LOOP:

    Hook up you LCD to the stamp and write a simple program to see whether
    the minimal wiring (TxD and GND) works. Your display is pretty rich on
    features and needs to be configured properly.

    Then write another test program to implement the 4bit protocol. See
    whether you are able to receive the characters from the uC which you
    expect. In place of the LCD use just a few DEBUG statements first.

    Then try to connect the two together. You may find that the interface
    is not fast enough (which means that you may have to do it with a PIC)
    or you might need some conversion e.g. for special symbols or control
    characters (optional_further_conversion).

    Regards
    Adrian
Sign In or Register to comment.