Discussion in "Software" started by    sm00thk1ll3r    Dec 15, 2013.
Sun Dec 15 2013, 11:49 pm
#1
Hey Experts!
Could you give me some insight on to implement this problem, pls.

>> i need the LED to blink ever time the uC detect the angle of the tilt sensor, and the angle increments every time it being searched.

e.i.
at first the uC search for 0 degree angle and the LED blink.
then 1 min later, the uC search for 10 degree angle and the LED blink.
and again 1 min later, the uC search for 20 degree angle and the LED blink.
and so on...

thx!

P.S. Much Highly Appreciated if its in C language.
Mon Dec 16 2013, 03:15 am
#2
Sure we can guide you through the problem. But to do that we need to know about your hardware. what kind of tilt sensor being used. It would be great if you can post schematic or link to board you're using.
 sm00thk1ll3r like this.
Tue Dec 17 2013, 09:05 am
#3
wow! thx, that a big help. i'm a newbie in this kind of stuff.

the a schematic and hardware are not yet ready, they are still in conceptual stage (i mean, in my mind).
i've search the net and found some ways how to use a tilt sensor but all of that didn't answer my problem. they only detect a single fix angle in the tilt sensor, so the reasonable solution is to program the uC itself.

all i know for now is that i'm gonna use 3 major components; a five pin tilt sensor (input), AT89C2051 and a LED (output).


[ Edited Tue Dec 17 2013, 10:03 am ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

xzvCar
Thu Sep 12 2024, 08:00 pm
Sazrpho
Thu Sep 12 2024, 01:27 pm
Malvebria
Thu Sep 12 2024, 01:24 pm
Sazrpig
Thu Sep 12 2024, 01:23 pm
ScottPease
Thu Sep 12 2024, 10:22 am
FeDerHaine
Thu Sep 12 2024, 10:08 am
Mulacrodesia
Thu Sep 12 2024, 12:42 am
Ubrat_qwmr
Wed Sep 11 2024, 04:50 am