pic16f684

Discussion in 'The Projects Forum' started by kennedy12, May 28, 2013.

  1. kennedy12

    Thread Starter New Member

    May 28, 2013
    5
    0
    hi everyone

    last porject at university 2days to finishing. and i have to build a bike light based around pic16f684, with an high powered led and batteries. then programm in pic using GCB

    kit of components

    strip-bord
    pic16f684
    tip122 power transistir
    battery holder for 3 aa betteries
    standerd green led

    this is my 1st time working with microcontrollers this year so i would really appreiciate some help from the experts. thanks. ive got a small very rough layout of how i think i should begin. stuck from here tbh?:confused:? need help with the circuit lay out mainly, need a perfect drawing. and help to get a good understanding.

    IMG-20130515-00374.jpg

    Thank u and appreciate it x50 :):D
     
    Last edited: May 28, 2013
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    To me it looks like you are on the correct track. You use a transistor to control the high power LED and have also included a resistor in series for the latter LED. The the low power green LED is connected to the port via a series resistor, also the correct method. I am not sure about the rest of your draft.
     
    kennedy12 likes this.
  3. Dodgydave

    Distinguished Member

    Jun 22, 2012
    4,986
    745
    Why do you need to use a PIC to make a Led work, is it to pulse the led on/off or vary the brightness?
     
Loading...