Posts

Showing posts from April, 2017

Flow Chart

Image
Flow chart play the role behind the process of line follower robot working and also the sensor and motor. The working system of the robot line follower which follows the path or line has a dark color and bright, because the robot is using an IR sensor when exposed to bright color sensor will give a signal (TX) were swept signal receiver (RX) and when the dark color IR The sensor will not reflect the signal. Following are the program flowchart: After burn the coding into the IC, the program will start after the power supply is on and one of the sensor is triggered or active. The IR sensor will detect the obstacle in front either dark color or bright color. When one of the sensor is working it will triggered the DC motor in two condition. If the sensor is give the signal and swept up the receiver the motor will working in three conditions; 1. The both motor will running 2. The right motor will running 3. The left motor will running But, if the sensor is not giv...

Block Diagram

Image
From the circuit we construct we can come up with the block diagram and flow chart. From it we can follow idea to complete our circuit.We will discuss about working principle based on this block diagram below: INPUT ( IR SENSOR) For the input of this line follower robotic we will use 5 IR Sensor. This input (sensor) will works on by the principle of the Reflection of IR (Infrared Rays) based on incident surface.  By measuring the amount of reflected infrared light, it can detect transitions from light to dark lines or even objects directly in front of it. The sensor has IR light receiver and transmitter. The sensor returns the status of the IR light reflected from a surface as ON or OFF.  The LED shows the status of the sensor. It should be needed be calibrate the sensor to set the threshold between light and dark.  Whenever a reflecting surface for white tape comes in front of the Receiver (photodiode), the rays are reflected back and captured. Whe...

Make instructions for sensor and motor.

Image
for 1 sensor 1 motor for 1 sensor 2 motor For 2 sensor 2 motor For 3 sensor 2 motor

Testing the sensor

Image
For testing the IR sensor, we has created a code that connected with LED as the output. We also test the dc motor. 

IC BURNER

Image
MCU development board A development board is a circuit board which holds the MCU and has other components to test the MCU. The components may be other IC  or discrete ones like LEDs, buttons, relays. For us this is the target board  which also supports programming through serial interface. Keil Uvisison.  The µVision IDE combines project management, run-time environment, build facilities, source code editing, and program debugging in a single powerful environment. µVision is easy-to-use and accelerates your embedded software development. µVision supports multiple screens and allows you to create individual window layouts anywhere on the visual surface. The µVision Debugger provides a single environment in which you may test, verify, and optimize your application code. The debugger includes traditional features like simple and complex breakpoints, watch windows, and execution control and provides full visibility to device peripherals. Progisp ...

IR SENSOR

Image
What is IR Sensor? An IR sensor is an electronic device, that produces in order to detect some parts of the environs. This sensor  can measure the heat of an object and detects the motion. These sensors are used to measure only IR radiation, rather than producing it that is called as a passive infrared sensor.  Generally in the IR spectrum, all the surrounding objects generate different form of thermal radiation.These kinds of radiations are not observable to our eyes, that can be sensed by an IR sensor. The emitter of the sensor is infrared LED and the sensor is an IR photo-diode which is sensitive to infrared light of the same wavelength as that produced by the infrared LED. When infrared light drops on the photo-diode, the resistances and output voltages change in proportion to the received magnitude of the infrared light. Emitter, Infrared LED (Transmitter) IR LED is used to transmit infrared light on our circuit. An infrared light-emitting diode (I...

IC Selection

Image
We have done some reseacrh regarding IC selection on which one should we choose between AT89C52 or AT89S52. During our simulation we used AT89C52 and 8052. We have observed the power consumption and connection port between these IC and other configuration.  AT89S52 The 89S52 has 4 different ports, each one having 8 Input/output lines providing a total of 32 I/O lines. Those ports can be used to output DATA and orders do other devices, or to read the state of a sensor, or a switch. Most of the ports of the 89S52 have 'dual function' meaning that they can be used for two different functions. The first one is to perform input/output operations and the second one is used to implement special features of the micro controller like counting external pulses, interrupting the execution of the program according to external events, performing serial data transfer or connecting the chip to a computer to update the software. Each port has 8 pins, and will be treated from...

Surveying components

Image
We have done some survey at Lelong.com to search and compare price between Jalan Pasar and some website before we buy all the component. 1. https:// www.lelong.com.my /yellow-smart-car-robot-3v-6v-dc-motor-high-quality-wheel-robotedu-180170508-2018-07-Sale-P.htm 2. http:// www.lazada.com.my /c51avr-mcu-development-board-multifunction-test-learning-board-diykits-22650692.html?ff=1 IR Sensor Module Multifunction Test Leaning Board DIY Kits DC Motor with Wheel Atmel AT89C51 We have visited  both website and compared the price if affordable to buy online. Then we decided to go to their shop located at Lot 2.67, Level 2, South City Plaza, Sri Kembangan. The shop only opened on weekdays and Saturday from 11 AM until 6 PM. 

List of components

Here is the list of component that we listed and price. NO Material RM RM Basic 1 Wire 8 x 2 16 2 Battery holder x2 0.90 x 2 1.8 3 Copper board 6 6 4 Robot’s body.  (Acrillyc) 4 4 5 Bolt and nut 5 5 6 Ic base for ic pin 40 13 Heart 1 Capacitor 30upF x2 0.8 x 2 1.2 2 Crystall 11.0592 Mhz x1 0.8 0.8 Reset Module 1 Capacitor 10uF x1 0.8 0.8 2 Resistor 450 ohm x1 0.6 0.6 3 Push button x1 0.6 0.6 Output Module 1 L293D (motor driver) with ic base. 3.80 3.80 2 Motor DC x2 8 x 2 16 3 Castor Wheel x2 5 5 Sensor Module ...