Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] Dimming of led using PIC controller

Status
Not open for further replies.

RONY11

Newbie level 4
Joined
Jun 3, 2016
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
40
Dimming control of led

HI friends pls help me.....
i want to take data from tsop,which is ir nec protocol receiver...and adjust duty cycle of pwm at ccp pin of pic mcu......help me which pic mcu i use for this.....pls send me code for ir decoder and vary duty cycle of pwm.
 

Re: Dimming control of led

Seems from your question you are new to embedded. Go for Arduino. There are lot of sample codes which you can refer and modify .
It is easy you can do it in a day go for arduino UNO
 

Re: Dimming control of led

Arduino != PIC

Almost any PIC can be used although one with a hardware PWM module makes life easier. If that's all it has to do, I suggest using PIC12F683 which has the necessary timers to decode the IR signal and has a PWM module. It only has 8 pins and has it's own internal clock generator so the hardware around it can be very simple.

Brian.
 
  • Like
Reactions: RONY11

    RONY11

    Points: 2
    Helpful Answer Positive Rating
Re: Dimming control of led

sir.....thanks for your valuable guidance....can you give me code of this project.....or guide me how to decode ir signal using pic12f683...and use it for changing duty cycle of pwm at ccp pin.......
 

Re: Dimming control of led

I can't give you the code because as far as I'm aware, you will be the first person to use it and I'm not prepared to spend hours writing it for you. I will help you to write your own program though.

You need to make decisions:
What PWM rate do you want to use?
How much current does the LED need?
TSOP devices will decode any IR protocol, are you sure you want to use NEC ?
What IR codes are to be decoded?
What language are you going to write the program in?
Which compiler or assembler do you have ?

Brian.
 
  • Like
Reactions: RONY11

    RONY11

    Points: 2
    Helpful Answer Positive Rating
How can i achive dimming of led using pic controller
 

Re: Dimming control of led

Can any one help me.......
I want to change brightness(dimming) of led using pic16f887.......and control brightness through rf remote.......
 

Hi,

do you have access to google? Then do a serach "LED dimming PIC".

Loads of schematics, descriptions, programs...

Klaus
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top