Thread: please help...urgent case!!

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    3

    please help...urgent case!!

    Hey guys, nice to know you all. im learning the embedded system and have the project below which i don't know how to start and do it. could someone help me on it?

    Overall objective of the project: To design and develop a data acquisition system.

    Specification
    Using the features of the PIC18f452/4520 micro-controller and the associated Input/Output board available develop a system to sample and log analogue voltage readings at a specified frequency (in this case - 8 analogue inputs). For example very second.

    the system MUST use timer interrupts to ensure accurate and periodic sampling of the analogue voltage. If any of the input voltage exceeds 3.5V, the buzzer should be activated. The sampled data should be stored in memory for later download via RS232 to a PC.

    Additionally the data sampling could be made flexible and under user control. For example the sampling rate could be variable rather than fixed, or maybe selectable from a range of values.

    The sampling rate must be selectable and under user control.
    Design and show how the acquired data can be transferred to a PC and then made available on the screen display. E.g.dumb terminal display.

    ** Please help me...i'm interested with embedded system, and i wanna do further learning on it. with the help of you sir to help me produce the system, i would greatly appreciate it.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    It would help you formed a more specific question. Right now, it seems like you want us to describe how to solve the entire task - if you have no idea how to do ANY of the project, then you probably need to talk to your tutor or whoever set the task.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    3
    thx for replying...the fact is my tutor is not giving any helping hand, since u could form a more specific question, could you just tell i should do on the first step..should i do the LCD display first or what?could you state the steps for me?? because i really need it urgently thx...ur help is greatly appreciated....

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Your project description doesn't even mention a LCD display, so how should I know if that's something you should do early on or later?

    It's generally a good idea to start with one part of the functionality, and not trying to solve all of the problems at once.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    May 2008
    Posts
    3
    i want to display the voltage values of channel 1 to 8 in the LCD by tunning the variable on the board...

  6. #6
    Wanabe Laser Engineer chico1st's Avatar
    Join Date
    Jul 2007
    Posts
    168
    go look up assembly programming

    i dont know anything about c embedded but its what assembly is made to do and all sites on teh topic are very straightforward

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Start with a few basic library type functions which will prove useful later on.

    Eg.
    - sound a buzzer for a period of time
    - send and receive characters over the serial line.


    http://www.catb.org/~esr/faqs/smart-...ns.html#urgent
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Segmentation fault!?!?!?
    By Viper187 in forum Windows Programming
    Replies: 57
    Last Post: 10-02-2008, 09:40 PM
  2. Format Precision & Scale
    By mattnewtoc in forum C Programming
    Replies: 1
    Last Post: 09-16-2008, 10:34 AM
  3. get keyboard and mouse events
    By ratte in forum Linux Programming
    Replies: 10
    Last Post: 11-17-2007, 05:42 PM
  4. Intel syntax on MinGW ?
    By TmX in forum Tech Board
    Replies: 2
    Last Post: 01-06-2007, 09:44 AM
  5. Reducing Code size from ridiculous length
    By DanFraser in forum C# Programming
    Replies: 10
    Last Post: 01-18-2005, 05:50 PM