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

AntoniaRoons
Fri Apr 19 2024, 09:59 pm
carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am