This system works using a computer controlled system trough which is done using electronic programming. Using camera attached to robot we can view location where the robot is using this video we can wireless control and know location details.
An association of companies working together to develop standards and products for reliable, low- power wireless networking and it is foreseen that ZigBee technology will be embedded in a wide range of products and applications across consumer, commercial, industrial. It defines the network layer specifications, handling star and peer-to-peer network topologies, and provides a framework for application programming in the application layer.
Fun Hu, Reference[2]. Tells about sensors and how the sensors are connected in this project, how the sensors are working. Zheng and M. This paper tells that this spying robot is consumes the low power and also take the low bit rate by using zigbee technology. This paper also explained about the Microcontrollers by using this Microcontroller this robot takes low bit rate. Problems Formulations The main aim of this project is to design a spy robot by using zigbee technology in embedded C, it can imitate the human efforts.
Objective of the thesis The project is designed to develop a robotic vehicle using RF technology for remote operation attached with wireless camera for monitoring purpose.
The robot along with camera can wirelessly transmit real time video with night vision capabilities. This is kind of robot can be helpful for spying purpose in war fields. An series of microcontroller is used for the desired operation. Data larger than 8 bits has to be broken into 8 bits pieces to be processed by the CPU.
There are many versions of with different speeds and amount of on-chip ROM and they are all compatible with the original This means that if you write a program for one it will run on any of them. The is an original member of the family. There are two other Members in the family of Microcontrollers.
They are and All the three Microcontrollers will have the same internal architecture, but they differ in the following aspects. Of the three microcontrollers, is the most preferable. Microcontroller supports both serial and parallel communication.
In the concerned project microcontroller is used. Most applications, which do not need large amount of data and program memory, tended to be costly. The microprocessor system had to satisfy the data and program requirements so, sufficient RAM and ROM are used to satisfy most applications.
The peripheral control equipment also had to be satisfied. Therefore, almost all-peripheral chips were used in the design. Because of these additional peripherals cost will be comparatively high. An example: chip needs: An Address latch for separating address from multiplex address and data. In comparison a typical Micro controller chip has all that the board has except a reduced memory as follows.
Bulky: On comparing a board full of chips Microprocessors with one chip with all components in it Microcontroller. Debugging: Lots of Microprocessor circuitry and program to debug. In Micro controller there is no Microprocessor circuitry to debug. Slower Development time: As we have observed Microprocessors need a lot of debugging at board level and at program level, whereas, Micro controller do not have the excessive circuitry and the built-in peripheral chips are easier to program for operation.
The ROM size was anything from bytes to 32Kb or more. RAM was optimized to minimum of 64 bytes to bytes or more. Microprocessor has following instructions to perform: 1.
Reading instructions or data from program memory ROM. Interpreting the instruction and executing it. Microprocessor Program is a collection of instructions stored in a Nonvolatile memory. Process the input read, as per the instructions read in program memory. Read or write data to Data memory.
Systems using these may be earlier to implement due to large number of internal features. They are also faster and more reliable but, the above application is satisfactorily served by 8-bit micro controller.
Using an inexpensive 8-bit Microcontroller will doom the bit product failure in any competitive market place. The Power Down Mode saves the RAM contents but freezes the oscillator, disabling all other chip functions until the next hardware reset.
By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcomputer which provides a highly flexible and cost effective solution to many embedded control applications. GND: Ground. As an output port, each pin can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as high- impedance inputs.
In this mode, P0 has internal pull-ups Port 0 also receives the code bytes during Flash programming and out put the code bytes during pro gram verification.
When 1s are written to Port 1 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 1 pins that are externally being pulled low will source current IIL because of the internal pull-ups. In addition, P1. Port 1 also receives the low-order address bytes during Flash programming and verification Port Pin Alternate Functions P1. When 1s are written to Port 2 pins, they are pulled high by the internal pull-ups and can be used as inputs.
As inputs, Port 2 pins that are externally being pulled low will source current IIL because of the internal pull-ups. Port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that uses bit addresses MOVX DPTR.
In this application, Port 2 uses strong internal pull-ups when emitting 1s. Port 2 also receives the high-order address bits and some control signals during Flash programming and verification. When 1s are written to Port 3 pins, they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 3 pins that are externally being pulled low will source current IIL because of the pull-ups. Port 3 also serves the functions of various special features of the AT89C51, as shown in the following table.
Port 3 also receives some control signals for Flash programming and verification. Port Pin Alternate Functions P3. A high on this pin for two machine cycles while the oscillator is running resets the device. Otherwise, the pin is weakly pulled high. Setting the ALE-disable bit has no effect if the microcontroller is in external execution mode. Typically a quartz crystal and capacitors are employed. The crystal frequency is the basic internal clock frequency of the microcontroller.
They are on on-chip chip memory, external Code memory and external Ram. On--Chip Chip memory refers to physically existing memory on the micro controller itself.
External code memory is the code memory that resides off chip. External RAM is the Ram that resides off chip. This memory is limited to 64K. Code memory may be found on-chip or off-chip.
It is possible to have 8K of code memory on-chip and 60K off chip memory simultaneously. If only off-chip memory is available then there can be 64K of off chip ROM.
The internal RAM is found on-chip. So it is the fastest Ram available. And also it is most flexible in terms of reading and writing. Internal Ram is volatile, so when is reset, this memory is cleared. The first 32 bytes are divided into 4 register banks.
Each bank contains 8 registers. Internal RAM also contains bits, which are addressed from 20h to 2Fh. These bits are bit addressed i. They are numbered 00h to FFh. Special Function registered memory: Special function registers are the areas of memory that control specific functionality of the micro controller. It can hold 8 bit values. It may hold 8-bit value. In div AB the quotient gets stored in B with the remainder in A. This is used to indicate where the next value to be removed from the stack should be taken from.
When a value is to be pushed onto the stack, the first store the value of SP and then store the value at the resulting memory location. When a value is to be popped from the stack, the returns the value from the memory location indicated by SP and then decrements the value of SP. The data pointer is used in operations regarding external RAM and some instructions code memory.
When the is initialized PC starts at h. And is incremented each time an instruction is executes. It is not addressable SFR. This SFR controls whether each of the two timers is running or stopped and contains a flag to indicate that each timer has overflowed. These bits are used to configure the way in which the external interrupt flags are activated, which are set when an external interrupt occurs.
Using this SFR your program may configure each timer to be a bit timer, or 13 bit timer, 8-bit auto reload timer, or two separate timers. What is configurable is how and when they increment in value. Each bit of this SFR corresponds to one of the pins on a micro controller. Any data to be outputted to port 0 is first written on P0 register. For e. Thus, if the high bit of IE is 0 all interrupts are disabled regardless of whether an individual interrupt is enabled by setting a lower bit.
On , an interrupt maybe either low or high priority. An interrupt may interrupt interrupts. The serial interrupt always interrupts the system, even if another interrupt is currently executing. However, if a serial interrupt is executing no other interrupt will be able to interrupt the serial interrupt routine since the serial interrupt routine has the highest priority.
It is physically two registers. One is writing only and is used to hold data to be transmitted out of via TXD. The other is read only and holds received data from external sources via RXD.
Both mutually exclusive registers use address 99h. The main constraint that limits numerous functions is the number of pins available in the circuit. The DIP had 40 pins and the success of the design depends on the flexibility incorporated into use of these pins. PORT 0 Port 0 pins may serve as inputs, outputs, or, when used together, as a bi directional low- order address and data bus for external memory. To configure a pin as input, 1 must be written into the corresponding port 0 latch by the program.
When used for interfacing with the external memory, the lower byte of address is first sent via PORT0, latched using Address latch enable ALE pulse and then the bus is turned around to become the data bus for external memory.
PORTS 1 pin have no dual function. When a pin is to be configured as input, 1 is to be written into the corresponding Port 1 latch. It may also be used to supply a high —order address byte in conjunction with Port 0 low-order byte to address external memory.
Port 2 pins are momentarily changed by the address control signals when supplying the high byte a bit address. Port 2 latches remain stable when external memory is addressed, as they do not have to be turned around set to 1 for data input as in the case for Port 0. These interrupts are all shown in Figure Each of these interrupt sources can be individually enabled or disabled by setting or clearing a bit in Special Function Register IE.
IE also contains a global disable bit, EA, which disables all interrupts at once. Note that Table 5 shows that bit position IE. User software should not write 1s to these bit positions, since they may be used in future AT89 products.
Neither of these flags is cleared by hardware when the service routine is vectored to. In fact, the service routine may have to determine whether it was TF2 or EXF2 that generated the interrupt, and that bit will have to be cleared in software. The values are then polled by the circuitry in the next cycle. However, the Timer 2 flag, TF2, is set at S2P2 and is polled in the same cycle in which the timer overflows.
A MAX is used for this purpose. It provides 2-channel channel RSC port and requires external 10uF capacitors.
Once the students have created and run their programs, ask them to think about and explain the program and the function of the robot. Use this optional extension task to build on students' prior learning as they investigate additional ways of using the Motion Sensor Block.
Students can record their own sounds by using the Sound Recording tool. Have them choose sound number 0 to play the sound they recorded. Giving timely feedback can help students to further develop their newly-acquired skills.
This can be done in several ways, including:. Introduction 2. Build the model 3. Connect the model to your device 4. Program the model 5. Help Max and Mia further 6. Assessment 7.
Next Steps. WeDo 2. CLOCK min. Introduction 3 minutes. Read the following story aloud or allow your students a few minutes to read it on their own. Words you might need to introduce to your students: device, robot, detect motion. Build the model 7 minutes Students should follow the building instructions to build the model of the Spy Robot.
Connect the model to your device. Program the model 3 minutes This program will make the Motion Sensor wait to detect motion in front of it.
0コメント