Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 19th March 2008, 01:39 AM   (permalink)
Question Some Questions Which Confused Me =/

Hi everyone, i was asked by few questions which confused me for quite some time,

We all know that in order to control the LED brightness, we can use a resistor in order to control the brightness,
but i was told that this isnt a good idea because it dissipate some power.
and i was told there is a better way which is to use the motor to control the LED brightness and it is perfered because it doesnt dissipate power.
If anyone know know what it the method and how is it be done?

my 2nd question is in order to use PIC to detect light source, i planning to use a LDR(Light Dependant Resistor) on it. But the problem is LDR detect light by varying the resistance and PIC detect the signal by voltage, the problem is how do i convert the change in resistance to voltage signal in order to be detected by the PIC?
westkid85 is offline  
Old 19th March 2008, 02:39 AM   (permalink)
Default

Quote:
Originally Posted by westkid85
Hi everyone, i was asked by few questions which confused me for quite some time,

We all know that in order to control the LED brightness, we can use a resistor in order to control the brightness,
but i was told that this isnt a good idea because it dissipate some power.
Only if you need to save power, as in battery operated.
and i was told there is a better way which is to use the motor to control the LED brightness and it is perfered because it doesnt dissipate power.
If anyone know know what it the method and how is it be done?
It is called PWM or Pulse Width Modulation. You generate a square wave and use it to control the power to the LED. As the ratio of hi to low increases the LED gets brighter. Wikipedia will have good info on this.
my 2nd question is in order to use PIC to detect light source, i planning to use a LDR(Light Dependant Resistor) on it. But the problem is LDR detect light by varying the resistance and PIC detect the signal by voltage, the problem is how do i convert the change in resistance to voltage signal in order to be detected by the PIC?
Use the LDR as one half of a voltage divider.
.....................
3v0 is offline  
Old 19th March 2008, 03:44 AM   (permalink)
Default

Quote:
Originally Posted by westkid85

We all know that in order to control the LED brightness, we can use a resistor in order to control the brightness,
but i was told that this isnt a good idea because it dissipate some power.
and i was told there is a better way which is to use the motor to control the LED brightness and it is perfered because it doesnt dissipate power.
If anyone know know what it the method and how is it be done?
:
I wouldn't say that it doesn't dissipate power. The device that you're using to modulate the pulse (in this case a motor) is dissipating the power instead of the resistor. Theres no free lunch, energy is still conserved. However, it may be more efficient, but in the end we're talking about the power dissipated by an LED. I think using a PWM to control the brightness of a LED is like using a bazooka where a BB gun will do. Unless of course you're already using the PWM for something else and have the signal available.
3iMaJ is offline  
Old 20th March 2008, 03:30 AM   (permalink)
Default

hmmm...anyone know how to solve my 2nd problem?
what is the meaning of one half of a voltage devider and how could this be done?
westkid85 is offline  
Old 20th March 2008, 03:34 AM   (permalink)
Default

If you have your LDR from the pic pin to 5V and a 20k resistor from the same pin to ground then when the LDR is illuminated the pic will see a high on it's input.

Mike.
Pommie is online now  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Questions leading to small project (Laser Vortex) Norritt Electronic Projects Design/Ideas/Reviews 0 17th October 2007 06:48 PM
Pull PGM to GND and assorted uC questions! Palmiro Micro Controllers 7 2nd October 2006 01:04 AM
Beginner Questions: AC, Impedence, Transistors, and Salving budidharma General Electronics Chat 5 9th December 2004 09:43 PM
Electronics Pre-Test questions Mike_07 General Electronics Chat 0 13th November 2003 03:22 AM
Questions on a max710 5v dc-dc converters PaulC General Electronics Chat 6 8th April 2003 09:10 PM



All times are GMT. The time now is 05:30 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker