- This topic has 10 replies, 3 voices, and was last updated 8 years, 11 months ago by .
Viewing 11 posts - 1 through 11 (of 11 total)
Viewing 11 posts - 1 through 11 (of 11 total)
- You must be logged in to reply to this topic.
|
Electronics › Electronics › help for project
sir 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
its 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
sir, 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.
actually 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.
photo 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
sir 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.
sir please send me the code of "street light that glow on detecting vechicle movement" on 8051 microcontroller
may be the probelm in program.
post your program. is it in assembly or C?
i have no code
i need in C language