Electronics › Electronics › help for project
- This topic has 10 replies, 3 voices, and was last updated 10 years, 9 months ago by
Hassam Aziz.
-
AuthorPosts
-
May 2, 2014 at 1:29 pm #4881
akanksha sharma
Participantsir i am working on a project that is “street light that glows on detecting vehicle movement”.
i m facing problem in writing the source code in c.
basically, the program focusses on conserving the energy. the light glows when the ir sensors detect a vehicle.
it works in two modes- lights are off completely when no vehicle is there. second one is the intensity of light remains low.
here i m providing with the circuit diagram
May 2, 2014 at 5:50 pm #11669Ashutosh Bhatt
Participantits a nice idea.
from your circuit i can say you just have to detect high or low logic input on micro-controller input.
when micro-controller gets all high inputs means no vehicle no activity. when any one sensor detects any activity its output goes low. so it increases intensity by one level. thus you can go on
May 9, 2014 at 12:30 pm #11704akanksha sharma
Participantsir, i m trying to implement this project in proteus also. but i m unable to get the output here.
i m finding problem in making the code of it. the working is clear to me but the code is not supporting.
can u provide me with the code for this project.
May 9, 2014 at 12:34 pm #11705akanksha sharma
Participantactually in proteus, when i m uploading the program, i m not getting any output. what can i use as the photodiode since the photodiode is not available here.
May 12, 2014 at 4:28 pm #11724Ashutosh Bhatt
Participantphoto diode sensor gives just high or low input to micro controller
so to test the circuit in proteus you can give direct high or low input at micro controller pins
May 25, 2014 at 7:50 am #11762akanksha sharma
Participantsir thank u for the idea u gave last tym.
now i m facing one more problem in proteus. after uploading the program in the microcontroller, when i m running it, the led is glowing on its own. according to my circuit and program, the led should glow only when i m pressing the push buton, but instead the led is glowing even when i m not pushing the button. when i used a NAND gate connecting the output and input ports and the led is connected to the output of that nand gate.
i m not getting the reason why is this happening.
here is the snapshot of what i have tried in proteus for four leds. sir if u could tell me why the circuit is not working the way i want it to. the simple logic that i m using is if input is zero then output should go high.
May 25, 2014 at 7:57 am #11763akanksha sharma
ParticipantMay 25, 2014 at 8:01 am #11764akanksha sharma
ParticipantMay 9, 2015 at 7:42 pm #12875Hassam Aziz
Participantsir please send me the code of "street light that glow on detecting vechicle movement" on 8051 microcontroller
May 13, 2015 at 9:41 am #12881Ashutosh Bhatt
Participantmay be the probelm in program.
post your program. is it in assembly or C?
May 13, 2015 at 12:43 pm #12886Hassam Aziz
Participanti have no code
i need in C language
-
AuthorPosts
- You must be logged in to reply to this topic.