Announcement

Collapse
No announcement yet.

Creating your own serial emulator?

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

  • Creating your own serial emulator?

    Is it possible to create your own serial emulator program in 4DGL to allow the uOLED-32024-P1 and uOLED-128-GMD1 to accept serial commands from a picmicro or basic stamp?
    Bradley Gibson

  • #2
    A Serial Platform Emulator for the PICASO displays already exists and is packaged with the 4DGL Workshop (see Workshop folder: \Projects\Picaso - SPE).

    For the GOLDELOX displays, forum user "sonic" has posted a serial emulator http://www.websitetoolbox.com/tool/post/4d/vpost?id=3133099. However, the GOLDELOX displays (-GMD! & -G1) have serial PmmCs available that provide a native serial command platform.

    Lots of choices. Have fun,

    Steve
    Any technology, sufficiently developed, is indistinguishable from magic. A.C. Clark(RIP)

    NEW! Lower prices on all 4D Systems products for 2009 and continuing into 2010!
    http://shop.littlepcbsolutions.com

    Comment


    • #3


      Thank you, the reason why I was asking if its possible to create a serial emulator for the uOLED-32024-P1 display is because I can get my uOLED-32024-P1 to accept serial commands from my PICmicro. By the way, is the module supposed to be connected this way:

      uOLED-32024-P1 PIC18F2550

      TX RX
      RX TX
      +5V +5V
      GND GND

      Also, I had to take out some touch commands when I tried to compile the 4DSPE program. Do you know what I must do in order to work properly?

      This maybe the reason why the uOLED-32024-P1 is not accepting any serial commands from my PIC18F2550 is because I might have took something out of the 4DSPE program.
      Bradley Gibson

      Comment


      • #4


        To verify that you have modified the SPE program properly when removing the "touch" code, use the Serial Commander utility program to send simple graphics serial commands to the display running the SPE program. If the Serial Commander works and your PIC doesn't, then look to your PIC program for the problem.

        Yes, the Tx and Rx lines are crossed when connected properly. If your PIC micro is using 0-5V logic for serial comms, be sure to put a series current limiting resistor (1K is a good choice) in the display's Rx line. Also, it's good practice to use a pullup resistor (10K will work) on the Rx line to reduce the noise that the display sees on it's Rx line during host powerup.

        Steve
        Any technology, sufficiently developed, is indistinguishable from magic. A.C. Clark(RIP)

        NEW! Lower prices on all 4D Systems products for 2009 and continuing into 2010!
        http://shop.littlepcbsolutions.com

        Comment


        • #5


          The original Serial Picaso Emulator source code has been posted in the Code Base http://www.4dsystems.com.au/code/index.php?node=26&id=51
          Regards,
          Dave

          Comment

          Working...
          X