VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

ACT LED intensity

Sun Feb 11, 2018 7:35 pm

:D
Last edited by VooDoO-R on Mon Feb 12, 2018 2:39 am, edited 2 times in total.

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: ACT LED intensity

Sun Feb 11, 2018 7:49 pm

If you have been set an assignment that is beyond you, you should seek advice from those who are there to teach you. That is the only way they realise that their methods are not having the required outcomes.
Quis custodiet ipsos custodes?

VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

Re: ACT LED intensity

Sun Feb 11, 2018 8:15 pm

drgeoff wrote:
Sun Feb 11, 2018 7:49 pm
If you have been set an assignment that is beyond you, you should seek advice from those who are there to teach you. That is the only way they realise that their methods are not having the required outcomes.
Thanks for the answer but it did not help

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:11 pm

VooDoO-R wrote:
Sun Feb 11, 2018 8:15 pm
drgeoff wrote:
Sun Feb 11, 2018 7:49 pm
If you have been set an assignment that is beyond you, you should seek advice from those who are there to teach you. That is the only way they realise that their methods are not having the required outcomes.
Thanks for the answer but it did not help
Apart from asking here, what have you done and how much time have you actually expended in attempting to fulfill your assignment?
Quis custodiet ipsos custodes?

VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:22 pm

[qu
Last edited by VooDoO-R on Mon Feb 12, 2018 2:39 am, edited 1 time in total.

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:27 pm

Ever heard of PWM?
Quis custodiet ipsos custodes?

VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:35 pm

[quo
Last edited by VooDoO-R on Mon Feb 12, 2018 2:40 am, edited 1 time in total.

User avatar
rpdom
Posts: 17275
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: ACT LED intensity

Sun Feb 11, 2018 9:44 pm

How about software controlled PWM?

VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:46 pm

rpdom wrote:
Sun Feb 11, 2018 9:44 pm
How about software controlled PWM?
how ??

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:47 pm

VooDoO-R wrote:
Sun Feb 11, 2018 9:35 pm
drgeoff wrote:
Sun Feb 11, 2018 9:27 pm
Ever heard of PWM?
Yes a Pulse-Width Modulation which you can control the brightness of an LED which is connected using GPIO pins on an external board
You already said you can turn the ACT LED on and off. Either you don't understand the principles of PWM or you are very slow at putting two and two together.
Quis custodiet ipsos custodes?

VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:50 pm

[quote=
Last edited by VooDoO-R on Mon Feb 12, 2018 2:40 am, edited 1 time in total.

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:56 pm

VooDoO-R wrote:
Sun Feb 11, 2018 9:50 pm
drgeoff wrote:
Sun Feb 11, 2018 9:47 pm
VooDoO-R wrote:
Sun Feb 11, 2018 9:35 pm


Yes a Pulse-Width Modulation which you can control the brightness of an LED which is connected using GPIO pins on an external board
You already said you can turn the ACT LED on and off. Either you don't understand the principles of PWM or you are very slow at putting two and two together.
i do understand the principle of PWM but in this case the LED can only take a logical value either "1" or "0"
That statement demonstrates that you do not understand PWM.
Quis custodiet ipsos custodes?

VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

Re: ACT LED intensity

Sun Feb 11, 2018 9:59 pm

[qu
Last edited by VooDoO-R on Mon Feb 12, 2018 2:41 am, edited 1 time in total.

drgeoff
Posts: 10832
Joined: Wed Jan 25, 2012 6:39 pm

Re: ACT LED intensity

Sun Feb 11, 2018 10:22 pm

You have been given enough hints.

Do some reading up on PWM in general (not RPi specific) and when you understand it, the penny should drop. If it does not, perhaps you should consider changing faculty. :(
Quis custodiet ipsos custodes?

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: ACT LED intensity

Sun Feb 11, 2018 10:27 pm

can you explain how to control the LED intensity


Your analysis that the LED can only be On or Off is correct.

A solution, if there is one, will have to accommodate that limitation.

Either you have been set an impossible task, or some thinking 'outside the box' is called for.

VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

Re: ACT LED intensity

Sun Feb 11, 2018 10:54 pm

[quote
Last edited by VooDoO-R on Mon Feb 12, 2018 2:41 am, edited 2 times in total.

jbudd
Posts: 1446
Joined: Mon Dec 16, 2013 10:23 am

Re: ACT LED intensity

Sun Feb 11, 2018 11:24 pm

Matlab lets you turn the LED on and off? How fast? What if you turn it on and off really fast? Do you see an application for pulse width modulation here?
perhaps you can be useful by answering the question right, rather than showing off, i guess i asked to learn and find a solution, i'm not here to brag about myself.
so thanks for nothing drfkoff
How old are you?

User avatar
davidcoton
Posts: 5084
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK
Contact: Website

Re: ACT LED intensity

Sun Feb 11, 2018 11:29 pm

VooDoO-R wrote:
Sun Feb 11, 2018 10:54 pm
perhaps you can be useful by answering the question right, rather than showing off, i guess i asked to learn and find a solution, i'm not here to brag about myself.
so thanks for nothing drfkoff
It is not a good idea to insult those who are trying to help you learn. Giving you a complete answer will not help you learn, and might be getting you undeserved academic awards.

As you have been told, you need to go and research PWM. Then see how it applies to your problem. Come back and ask again (politely) when you get stuck, but don't expect people to do your project for you.
Last edited by davidcoton on Sun Feb 11, 2018 11:30 pm, edited 1 time in total.
Signature retired

VooDoO-R
Posts: 9
Joined: Sun Feb 11, 2018 7:25 pm

Re: ACT LED intensity

Sun Feb 11, 2018 11:38 pm

[quot
Last edited by VooDoO-R on Mon Feb 12, 2018 2:41 am, edited 1 time in total.

jbudd
Posts: 1446
Joined: Mon Dec 16, 2013 10:23 am

Re: ACT LED intensity

Sun Feb 11, 2018 11:46 pm

now that is an answer, thank you very much man, didn't think about it that way
You are welcome
and about the how old am i, maybe he should learn how to answer a question first instead of giving puzzles
I remember being surprised at the change from school teachers giving the answers to university lecturers only giving the questions. It's because they want to develop your problem solving skills.

In my humble opinion it's pretty shabby when someone tries to help you and you respond with insults.

Return to “Troubleshooting”