- This topic has 5 replies, 2 voices, and was last updated 8 years, 9 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › LED ON OFF STATUS ON 16X2 lcd WITH 8051
Please guide me how i can get On / Off status of 8 led on 16 x 2 LCD Display with 8051
Hey Vinodkumar,
First tell me how to make led ON-OFF means by programming or any another interface? and explain your application so i can suggest the solution to you in batter way.
thank you dear friend,
I will make led on or off by ir based transmmiter and reciver when obstacle between ir tr and rx led get on state, otherwise it is ledoff state,
Also i want to display on 16 x 2 lcd on lower line, by presenting 1 as On and 0 as off,
hi ,
waiting for ans
Hey vinodkumar,
As my understanding your IR receiver's output pin connect with controller and led also connected with another pin of controller.When obstacle detect output of IR receiver is high or low.Suppose if not obstacle present, output is low and when obstacle detect, output is high.Read the status of output pin and based on high or low , turn on or off led and same time display on LCD.
for example, like this algorithm:
– Read the status of IR receiver pin
– If Low then led OFF and display on LCD
– else led ON and display on LCD
NOTE: if you don't know how to interfacing LCD with controller and how to display on LCD, first refer the LCD tutorials in engineersgarage.
dear freind,
you r absolute right same way you thougth
need sample code for it