Re: schematic problem
hiyan said:
iam little bit confused this schematic like 7805 circuit connected with micro controller of which part ?2nd when we apply required voltages will it work or will it connected to computer then it work?
That line-following robot does look like a fun project.
I really don't want to dampen your enthusiasm for building it, but if you are confused by what you see there do you really think it's a good project for you and your friend? I see the designer's email address is attached to the schematic so if you are determined to go ahead perhaps you can get help directly from him.
I'm not sure I fully understand what confuses you so I'll just try to describe what I see there. The schematic is broken up into three distinct sections: 1) the microcontroller and motor-driver chip; 2) the power supply based on some NiCd batteries and a 7805 voltage regulator; 3) a set of four IR sensor circuits.
The NiCd supply is connected directly to the motor chip and the 7805 is used to provide a regulated 5V supply to the microcontroller and the op-amps used by the sensor circuits - just think of everywhere marked "+5V" as being connected together.
All the parts are fairly standard. The microcontroller used is an Atmel flash memory chip based on the 80C31 architecture:
http://www.atmel.com/dyn/products/product_card.asp?part_id=1938
The motor driver chip datasheet is here:
http://www.st.com/stonline/products/literature/ds/1330/l293d.pdf
and the op-amps are described here:
**broken link removed**
There are only two problems with the electronics for me (the mechanical details are another story!). One is that the author has not specified part numbers for the infra-red emitter/photo-transistor pairs; not much of a difficulty really, but it would slow me up a bit as I would need to experiment with different choices for these parts. The other bigger problem, for me at least, is his choice of microcontroller. If I wanted to replicate this circuit exactly I would have to expend a lot of effort in getting all the software and hardware needed to program this device. That wouldn't be an issue if pre-programmed chips were available but it is not clear that this is the case here. Actually, it would not be too difficult to use a different type of microcontroller (PIC or AVR say) because the author has written the main program in C rather than chip-specific assembler. If I did that though I would write a new program from scratch.
In answer to the second part of your question, once built, the robot does not need to be connected to a computer as all the intelligence is in the microcontroller. You would only need a PC to download the compiled version of the author's program (robot1.hex) to the microcontroller. You wouldn't need a computer at all if you could get hold of a pre-programmed AT89C2051 or could get someone to program the chip for you. However, I think you would miss a lot if you were unable to program the chip yourself - being able to modify the program is half the fun of a robot project.
Before I finish, I'd like to show you another, superficially similar but actually more sophisticated line-following robot; it's tiny and really very sweet:
**broken link removed**
Please don't take this the wrong way as I have no idea what your experience level really is, but maybe you and your friend would be better off starting out with a robot kit where all the parts are supplied. One of the members of this forum (blueroomelectronics) has a company making stuff like that:
**broken link removed**
I hope this info helps you a bit.
David