+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Advanced Member level 3
    Points: 4,101, Level: 15

    Join Date
    Aug 2011
    Posts
    726
    Helped
    18 / 18
    Points
    4,101
    Level
    15
    Blog Entries
    1

    Shift register interfacing with pic micro controller

    Anybody help me with a PIC micro shift register schematic ? ,
    How can we make the PWM in the output from the shift register ?
    I have to interface so many LEDs and sensors to my PIC , so I have to use a multiplexer and the intensity also to be controlled

  2. #2
    Advanced Member level 5
    Points: 12,735, Level: 27
    Achievements:
    7 years registered

    Join Date
    Nov 2008
    Location
    Norwich, UK
    Posts
    2,123
    Helped
    598 / 598
    Points
    12,735
    Level
    27

    Re: Shift register interfacing with pic micro controller

    how many LEDs? had a similar project proposal several years ago with 10000 LEDs
    built a prototype with each LED color and intensity controlled by a PIC16 using PWM - data was shifted into the the PIC16s by a PIC32



    •   AltAdvertisment

        
       

  3. #3
    Advanced Member level 4
    Points: 12,421, Level: 26
    Achievements:
    Created Blog entry 7 years registered
    thannara123's Avatar
    Join Date
    Jan 2010
    Location
    Nedumkandam, India, India
    Posts
    1,428
    Helped
    118 / 118
    Points
    12,421
    Level
    26
    Blog Entries
    2

    Re: Shift register interfacing with pic micro controller

    what you exactly need please tell more
    it will help others to answer in this threads
    I Respect You



    •   AltAdvertisment

        
       

  4. #4
    Advanced Member level 3
    Points: 4,101, Level: 15

    Join Date
    Aug 2011
    Posts
    726
    Helped
    18 / 18
    Points
    4,101
    Level
    15
    Blog Entries
    1

    Re: Shift register interfacing with pic micro controller

    I want to make , PWM controlled light's prototype , which switch on and off after 6pm , when someone is there, it should glow at 100%, otherwise it should be 50%.

    ---------- Post added at 23:49 ---------- Previous post was at 23:47 ----------

    want to interface 15 LEDs .



    •   AltAdvertisment

        
       

  5. #5
    Advanced Member level 5
    Points: 12,735, Level: 27
    Achievements:
    7 years registered

    Join Date
    Nov 2008
    Location
    Norwich, UK
    Posts
    2,123
    Helped
    598 / 598
    Points
    12,735
    Level
    27

    Re: Shift register interfacing with pic micro controller

    if all the LEDs are the same intensity you could use a single microcontroller using PWM with a drive circuit of the required power for the LEDs

    what is the power of the LEDs?



  6. #6
    Advanced Member level 3
    Points: 4,101, Level: 15

    Join Date
    Aug 2011
    Posts
    726
    Helped
    18 / 18
    Points
    4,101
    Level
    15
    Blog Entries
    1

    Re: Shift register interfacing with pic micro controller

    But its like in a street light , if a person comes near it the LED glows its full bright , means i have to control each seperately
    7W LEDs



    •   AltAdvertisment

        
       

  7. #7
    Advanced Member level 5
    Points: 12,735, Level: 27
    Achievements:
    7 years registered

    Join Date
    Nov 2008
    Location
    Norwich, UK
    Posts
    2,123
    Helped
    598 / 598
    Points
    12,735
    Level
    27

    Re: Shift register interfacing with pic micro controller

    sounds like you need 15 boards each with a microcontroller, motion detector, LED, etc. e.g.
    Motion detection alarm using a PIR sensor module with a PIC Microcontroller :Embedded Lab



  8. #8
    Advanced Member level 3
    Points: 4,101, Level: 15

    Join Date
    Aug 2011
    Posts
    726
    Helped
    18 / 18
    Points
    4,101
    Level
    15
    Blog Entries
    1

    Re: Shift register interfacing with pic micro controller

    How many PWM pins , the 16F877a have ?



  9. #9
    Advanced Member level 5
    Points: 12,735, Level: 27
    Achievements:
    7 years registered

    Join Date
    Nov 2008
    Location
    Norwich, UK
    Posts
    2,123
    Helped
    598 / 598
    Points
    12,735
    Level
    27

    Re: Shift register interfacing with pic micro controller

    the 16F877a has 2 PWM, see
    PIC16F877A

    some PIC16s have more, you can see the PIC16 family on
    PIC16 MCU - Product Family - 8-bit Microcontrollers

    click on the device link to see full details

    in addition to using hardware PWM you can drive digital IO pins using a software PWM algorithm (as in the days before microcontrollers had hardware PWM)



  10. #10
    Advanced Member level 3
    Points: 4,101, Level: 15

    Join Date
    Aug 2011
    Posts
    726
    Helped
    18 / 18
    Points
    4,101
    Level
    15
    Blog Entries
    1

    Re: Shift register interfacing with pic micro controller

    can we get a single chip PWMs other than ucs ?



--[[ ]]--