semaphore pic12f629


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1

    Default Traffic light pic12f629

    Hello,
    Someone can guide me to do a semaphore using a pic12f629 with which one can vary the speed of lighting of the LEDs.

    Thanks for any suggestions
    Attached Images Attached Images  
    Last edited by Leonardo; - 3rd November 2008 at 02:34.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    By Semaphore you mean?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    By Semaphore you mean?

    I refer to traffic light

    Thanks
    Attached Images Attached Images  
    Last edited by Leonardo; - 3rd November 2008 at 02:35.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    What do you want to control the speed with? A pot or have a set of pre determined speeds selected by button pushes or some other manner?
    Dave
    Always wear safety glasses while programming.

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    What do you want to control the speed with? A pot or have a set of pre determined speeds selected by button pushes or some other manner?
    Hello,

    Determined speeds selected by button pushes.

    Thanks

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    First we need to work on the schematic. The way it is drawn the red and green leds will never light up. Yellow is OK.

    You will also want it rigged so if a green is on the corresponding red at the other fixture will be off.

    Take a look here and see if you want to use a configuration something like the drawing with three pins (with a little tweaking)
    http://www.mackrackit.com/mac/www/dave/LED/LEDs.html
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. pic12f629 EEPROM problem in MPLABSIM
    By nicholastyc in forum General
    Replies: 1
    Last Post: - 16th May 2008, 18:10
  2. PIC12F629 - OSCCAL LOST in combat
    By ewandeur in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th March 2007, 21:06
  3. Ultrasound with PIC12F629
    By ewandeur in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th February 2007, 16:22
  4. PIC12F629, useing all I/O pins
    By Jcee324 in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 7th December 2004, 11:05
  5. PIC12F629 or 8pin
    By andyf in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 27th October 2004, 18:11

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