English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i seriously need a 8051 microprocessor program to do the following task.. it should run a garage door opener by sensing a car approaching n the door screen should roll up allow the car to pass through. When it rolls up, it triggers 2 switches (one on each end), and stops when it reaches the top.
The car must be sensed with a photoelectric device..
im really trying my best to get the program but its hard.. because it is not my field of expertise..
will anyone be kind enough to help me..

2007-04-15 06:02:34 · 6 answers · asked by brandon 1 in Computers & Internet Programming & Design

6 answers

without the circuit schematic its impossible for anyone to write it for you. basically, you need to monitor the photoelectric device, and switches, and be able to control the door opener (up and down, start and stop).

2007-04-16 02:07:16 · answer #1 · answered by justme 7 · 1 0

Do you already have you 8051 uC built into a circuit with all of these sensors? Why did you pick the 8051?

Do you have to build this circuit or can you use off the shelf components to bolt together the functionality. If so you can use a PLC or another simpler microcontroller like a BASIC stamp. The BASIC stamp is designed as an educational entry point for microcontrollers

2007-04-15 06:23:24 · answer #2 · answered by MarkG 7 · 1 1

Its perfectly possible for someone to write a program without knowing the schematic, but the end user would have to adapt their hardware to work with the program.

My feeling is that this is another question by a lazy person who doesn't want to answer questions on their homework...its a little too vague to be a non-homework question.

2007-04-19 04:41:49 · answer #3 · answered by The Great Nateholio 3 · 0 0

attempt Emily52's assessment version as a simulator of easy courses. i assume that's for academic objective... I believe previous solutions. you may develope in C in case you elect it to be speedy, yet to get absolute administration over what happens interior the bit point, you may desire to apply some assembly. Many software that permit you to apply C as a programming language will remodel your code into assmebly code and then allow you to alter the assembly code.

2016-11-24 20:16:04 · answer #4 · answered by calderon 4 · 0 0

Um, think you're either going to have to write the program yourself or hire a programmer to write it for you.

2007-04-15 06:15:35 · answer #5 · answered by Christopher J 4 · 0 0

here is the program>>

org 0000H
OO great 8051
please open the gate when we say 'domodomdomo'
and close when we say '**** u *****'
and please enable self earth destruct mode if we say 'raj is a slut'

end

2007-04-15 06:20:50 · answer #6 · answered by tj 1 · 0 1

fedest.com, questions and answers