elapsed time between two led flash...


Closed Thread
Results 1 to 4 of 4
  1. #1
    dario's Avatar
    dario Guest

    Default elapsed time between two led flash...

    Hi to all, Im new on the PICBASIC world...
    I need to programming a PIC (if it is possible a 16F84) with a PICBASIC code that:

    -Read by a photoreceiver the flashing of a green ligth (visible) led
    -show on a LCD display the time between a blink (flash) and the next. The led flashing never stop but frequency could change.

    tipical frequency is from 2Hz (2 blink/sec) to 0.05 Hz (20 sec between a flash and another)

    I would like if you could provide me a circuit to do it, also.

    Thanks a lot.

    Dario

  2. #2
    dario's Avatar
    dario Guest


    Did you find this post helpful? Yes | No

    Default

    The schematic only is also appreciated...
    The model of phototransistor (to read the ligth of the led) and the circuit to connect this one on a pin of the PIC.

    Thanks

  3. #3
    dario's Avatar
    dario Guest


    Did you find this post helpful? Yes | No

    Default

    Ooooo a lot of friends..

    Thanks to all!!

  4. #4
    Join Date
    Nov 2004
    Posts
    61


    Did you find this post helpful? Yes | No

    Default

    At the risk of sounding rude...

    This sounds a lot like a homework problem.

    And most of the folks on these boards don't do homework for people.

    * * *

    Google around for optical detector circuits. Check the compiler manual and you'll learn how to connect and program the LCD. Read the datasheet and you'll learn all about timers.

    If you can show us what you've tried so far, we can probably guide you in the right direction. But if you're expecting sourcecode + schematics to be magically plopped in your inbox, you've likely come to the wrong place.


    JEC

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  3. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  4. Need help with write function
    By Christopher4187 in forum General
    Replies: 10
    Last Post: - 12th July 2006, 04:12
  5. can't even flash an LED
    By bruno333 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th April 2005, 13:27

Members who have read this thread : 1

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