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

Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm
HumanTak
Sun Apr 21 2024, 12:26 pm
Zacharybus
Sun Apr 21 2024, 02:45 am