Hello sir...
sir i m making a project on OBSTACLE DETECTION & FIREFIGHTING ROBOT USING 89c2051 MICROCONTROLLER.....i have everything with me including circuit,flowchart,block diagram,component layout,pcb layout,& microcontroller programs also....i m stuck because m havin problem with program understanding.....if u say i can giv u d program having with me....if u cannot help me out in programming then plz suggest some person or online site....
Who writes assembly code and doesn't comment it. Put comments in your code else nobody's going to bother trying to decipher it. Also use the code tags and learning how proper capitalization works would be a bonus.
sir i m making a project on OBSTACLE DETECTION & FIREFIGHTING ROBOT USING 89c2051 MICROCONTROLLER.....i have everything with me including circuit,flowchart,block diagram,component layout,pcb layout,& microcontroller programs also....
literally saying i am confused with your statement. You said building project and then have everything. So the code writing should have been under you and you have written it after some calculation. So this line makes clear that your project is complete unless you have copied from some where else.
Who writes assembly code and doesn't comment it. Put comments in your code else nobody's going to bother trying to decipher it. Also use the code tags and learning how proper capitalization works would be a bonus.
Yeah, I don't use comments either... But I do use useful names for variables, and routines. I'm not doing university projects, and seldom have people looking at my programs either. Guess it's kind of a sloppy habit, that I picked up many years ago, with the 6502 I learned on. The assembler didn't have labels, comments, or much of any convenience...
Since we can't able to see your imagae,i can think that your ckt would be working as
For the obstacle detection, the most and common practice is to send the IR waves in the path in the moving robot. When these ir waves hit some obstacle they will reflect back and will be captured by the IR recevier. This singal from the IR receiver is processed further to get the distance of the object and accordingly will change the rotation of the motor attached to deflect your robot path so that i will escape or hit the obstacle. This can see be seen in your code by refering to functions of Move Left, Move Right and so on.(For futher, see the proximity sensor).
About fire fighting no idea which you have no idea unless you post your block diagram or the circuit.
thnku sir 4 ur help...
about fire fighting i woiuld like to tell you that v hav used a flame sensor & a motor with fan because it's used for demonstration purpose...when flame is detected by the flame sensor then it wil automatically start the high speed fan & blow it off....since this is used for only demonstration we have used a fan....else if same kind of big project is made den it could b chngd to fire extinguisher or water pump,etc
sir wil post u circuit & block diagram asap....plz let me understand the circuit & block diagram simply as u explained above d working principle...
your's faithfully
salman
Their is no particular ckt for the obstacle detection. You can refer to any of the proxomity sensor. Also if possible take the IR transmitter and reciver pair, provide the supply to them and check the voltage at the collector at the ir receiver by keeping some object so that the ir reflects and keeping away the object. You would surely find the result.
For the flame sensor go through its datasheet and study how it works and generate the signal when the flame is detected and not detected.