Multitasking?


Closed Thread
Results 1 to 2 of 2

Thread: Multitasking?

Hybrid View

  1. #1
    Join Date
    May 2004
    Posts
    81

    Default Multitasking?

    Hi everyone

    Here is my question/problem. I have an old design that would display a message on a 10 character 16 segment (14 + dp and com) VFD Display. In a nut shell, my little pic had a custom font loaded into eprom memory, and there were set messages I would send out to a 32 bit shift register for controling the VFD (I used 14 bits for the segment data, and 10 bits for the grid data, the rest were ignored).

    Anyway, At the time if I recall correctly, It took just about every ounce of speed for the pic to display the data without the display looking too dim. What I want to do is re-write my program so that it no longer gets data from pre-writen code but can be sent a serial string from another pic and display it. My only concern is with the amount of time it would take to grab the incoming data from the serial input, it would mess up the display timming. With the other two obvious solutions asside (one being use a chip similar to MAX6850, which is kind of complicated or the second being write code in assembly which is just a little over my head for the moment), is there any other way to make sure I can eat up serial data as fast as I can puke it back out? dont need a full blown solution, just a few ideas. The best solution would be to simply find the correct VFD display with all the hardware already built in and comunicate with it serially, but I cant seem to find the display. If anyone knows of one, I need one almost physicaly identical to a noritake AH1081B. Its a 14 segment (plus decimal and comma so actually 16 segment), 10 characters, one line. I beleive .35" high.
    Last edited by bearpawz; - 9th December 2007 at 07:27.

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    I recently did something similar that used Darrel's Instant Interrupt routines and 3 LED displays.

    Displays were controlled in a tight loop, staying on for 6 msec each digit.

    Data are comming in packets of 3 bytes but on the RS-485 bus are 1 tx device and 3 rx, so really the data are 9 bytes at random times.

    Each display gets its own data rejecting the others. Interrupts work great and there is no loss of LED scanning.

    Sorry that cannot post the whole code but if you have troubles please post you schematic and may be I can help you more.

    Please note that is a must to use a PIC with hardware USART.

    Ioannis

Similar Threads

  1. Multitasking Ideas
    By HYETİK in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 15th April 2009, 07:50
  2. Need help with Counter/Timer application
    By RussMartin in forum mel PIC BASIC Pro
    Replies: 21
    Last Post: - 6th September 2006, 05:48
  3. Hserout, multitasking?
    By toalan in forum Off Topic
    Replies: 4
    Last Post: - 25th February 2005, 16:07
  4. Multitasking
    By Tomexx in forum General
    Replies: 1
    Last Post: - 14th November 2004, 14:11
  5. Multitasking 12F675 I/O
    By jpeakall in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th November 2003, 00:57

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts