Wednesday, 24 October 2012

Schematic diagram

Below shows 3 types of schematic diagram for DC motor driver, relay_Xbee wireless, mainboard controller.

Tuesday, 23 October 2012

Problem solving

As per discussion with my ex lecture Mr. faisal about the problem in interfacing my servos and my Microcontroller. He come with an idea, why don't we try using Arduinio Microcontroller?. Arduino Microcontroller also one of the Atmel AVR family and cost quite expensive but reliable.


Figure 1

Figure 2
Basically, arduino easy to control and interfacing the components this is because Arduino is a bootloader and have a high-level library. Also uses C/C++ and the GCC compiler. The command to begin program are slightly different with High-Tech.

This are the recommendation (ATMega 168 / ATMega8). I hope i have enough time to study and understand the characteristic and behavior so that my problem can be solve.

Interfacing components

Our next goal is to try and error components used in the project. The main component that will be test are IR sensor and servo motor  We try to interface with our microcontroller, PIC. From this experiment,i understand how to interface the component with the microcontroller. As for IR sensor, not much problem in order to set distance. Besides that, i have a major problem in controlling the speed and angular movement. I still searching on how to solve this problem before install it into my structure.

Figure 1 : Interfacing Servo Motor

Figure 2 : Interfacing IR Sensor


Sunday, 14 October 2012

Installing water container

This week is the week that i focusing on the water container installation.Firstly,I build the base using L bracket and arcylic.After that the water container put inside the base to make sure conntainer in a good stand and no shaking.There is no much problems in installation and after this Ijust need to focusing on the installatiom on wiring sensor.

Tuesday, 9 October 2012

Installing DC Motor

This week we do installed 2 DC motor at back of the based and attach with the wheels. Motor also been tested. There is no major issue occured. Below is the motor specification :

•DC12V
•Output Power: 1.1 Watt
•Rated Speed: 185RPM
•Rated Current: 410mA
•Rated Torque: 78.4mN

Monday, 8 October 2012

Finalizing part component

DC Motor
Mechanical Assembly / Robot body and frame
Sealed Battery
Motor Driver
Water Pump
IR Sharp Sensor
Motor Wheel
Mainboard controller
Flame Sensor
Relay Mainboard
Screw Mainboard
LCD display
Castor wheel
DC Motor Bracket
IR Sensor Bracket
PCB Stand
DC Jack Converter
Rainbow cable
M-F Jumper
F-F Jumper

Saturday, 6 October 2012

Auto CAD design

Attached picture below is mechanical design of fire fighting robot. The robot using 2 wheel and 1 castor wheel on the front to make the movement smooth and reduce the used of motor. Thick acrylic used as robot based in term of stabilisation and thin acrylic used at body to cover Electronic parts. Water container is put at the back of the based. Basically this is only prototype robot.

Thursday, 26 April 2012

Presentation day (week 12)

Alhamdulillah, the slide finished according to plan. Mr Suhairi and Madam Lily will be my assessor on that day. Day before presentation, i already seen both  assessor to get their requirements. Basically, the presentation achieved my goals to present all the research that we have done so far. I have explain the basic component on the robot, the layout of the track, and give the assessor idea about how the robot is going to look like by showing her the prototype design. But the are some argument on the extinguisher. I decided to use fan as extinguisher but Mr Suhairi claim that it's not suitable. So I'll note on that and take action. Overall the assessor satisfy with all the explanation except the sensor part. The assessor did ask me the limitation of the IR Sensor. I guess I have to research and study more on that. I hope I get the best marks from the assessor and more guidance from Mr Syamsul on the next level in building this Final Year project. Work planing chart attach as below:

 FYP Semester 1/2012
Work planing chart
Blue - Actual
Red - Planned

Working on slide presentation ( week 11 )

From the report on weekly 12th, I have basically done with the Flow Chart and the Block Diagram where I  can know what is the exactly function of the parts.I also added the comprising 3 type of motor and this is my finding;

  • Servo Motor (SELECTED)  - Least expensive non-surplus source for gear motors. Can be used for precise angular control, or for continuous rotation.
  •  Stepper Motor  - Consumes high current. Needs special driving circuit to provide stepping rotation. Cannot support heavy structure due to low torque.
  • Continuous DC motor  - Requires gear reduction to provide torques needed for most robotic applications. Poor standards in sizing and mounting arrangements.

 I'm also doing  a comparison between Microcontrollers between PIC (Peripheral Interface Controller), Atmel AVR (8-bit microcotroller), and Intel 8051 (8-bit microcontroller). Function of this Sensor is to detect the obstacles while the robot is on the run.Below is the result of the comparison.


  • IR sensor (Infra-Red) - Low power requirements with simple circuitry. There is no special or proprietary hardware is required, can be incorporated into the most integrated product
  • Ultrasonic Sensor - The readings from an ultrasonic sensor can be distorted by Density, Consistency, Material
  • Triangular-Based Sensor - High input is required. The sensing is very   sensitive and a lots of noise. The sensor is very sensitive and must always      kept clean otherwise it effect the accuracy of sensing. The operating     temperature is very limited and required external cooling system.
I have decided to choose  the IR Sensor because itt is simple and easy to operate. It is also  the most suitable for this project.  

Tuesday, 24 April 2012

10th week - Meeting and Discussion

For this week, I concentrating to get the slides to be done for week 12, i had further discussion more about the element to be in the slides. So Mr Syamsul told me, the most important things in the presentation is the Block Diagram and Flow Chart of the hardware. And to add some comparison to the parts and component that i choose.

To study more on the robot for the presentation, i have asked from my senior last semester on the robotic project. So, i able study and explain more details on the system for the Fire Fighting robot project. I'm very thankful to Mr Syamsul providing me such a useful exposure.

Monday, 23 April 2012

9th week - Components survey

In bustling to get the presentation slides in progress, i heard rumors that in Jalan Pasar the component sells in cheap price so i steal some time to survey the component in Jalan Pasar in order to test the parts that we going to use. Basically, the main parts that we survey such as Microcontroller (PIC), Servo Motor, IR sensor and IRPD infra red proximity detector.

As shown below, price of the components :




NO
 ITEM
UNIT
PRICE (RM)
1
Microcontroller (PIC 16F877A)
1
RM 50
2
Servo Motor
2
RM200
3
IR infrared sensor
1
RM70
4
IRPD infrared proximity detector
1
RM90


TOTAL : RM 410

This is the basic parts and component that we going to use at the time being. As for my budget is below RM500 in building the circuitry not including the cost for the structure. There will be some added component and parts in the future testing.

Sunday, 22 April 2012

8th week - IR sensor (infra red)

 figure 1 ; Hardware

 figure 2 : IR schematic
       On this 8th week, I will discuss about how the IR sensor is working and what is the component that I use. By refer the above pictures, it shows basic component and how the sensor functioning. Why I'm choosing this sensor?
  •  Low power requirements with  simple circuitry. 
  • There is no special or proprietary hardware is required
  • Can be incorporated into the most integrated product.

 

Saturday, 21 April 2012

7th week - Understanding microcontroller

Week 7 is our phase test week. We are not able to meet our advisor since we are busy with our exam. Thus, we still doing our research for this project. We start to understand the microcontroller interfacing. We will use PIC 16F877A for our project. There's a little brief about microcontroller and simple circuit.



Figure 1 : Basic setting of PIC 16F877A


Figure 2 : Basic Wiring Servo Motor and Microcontroller

We are using Proteus to do wiring of the project and MPlab software to write the program. We have started to write our source code and still in learning process.

Monday, 2 April 2012

6th week - Fire detection


Fire detection scheme


To detect the flame from the candle the team thought about implementing a motion detector to detect the wavelength of the flame. I have decided on using an IRPD (infrared proximity detector). With this the robot would be a ble to sense an object in the front left, front center, and front right. in order to detect the flame we will need to calibrate it to detect the flame of a candle. Another way, which we just recently found out about, is to use a silicon photodetector wi th a long-pass filter and calibrate it to detect candlelight.
                                                          IRPD (infrared proximity detector)
I
                                                   Signal spread of the detector

When the candle flame is spotted in the range of this detector it the robot will be able to come in on the position of the flame, come closer, and put it out.


Differentation between servo and stepper motor

After a few observations and research, i still can't decide weather to choose either servo motor or Stepper motor. Both of this motor suits well in this project.

Stepper motors:

A stepper motor's shaft has permanent magnets attached to it. Around the body of the motor is a series of coils that create a magnetic field that interacts with the permanent magnets. When these coils are turned on and off the magnetic field causes the rotor to move. As the coils are turned on and off in sequence the motor will rotate forward or reverse. This sequence is called the phase pattern and there are several types of patterns that will cause the motor to turn. Common types are full-double phase, full-single phase, and half step.
To make a stepper motor rotate, you must constantly turn on and off the coils. If you simply energize one coil the motor will just jump to that position and stay there resisting change. This energized coil pulls full current even though the motor is not turning. The stepper motor will generate a lot of heat at standstill. The ability to stay put at one position rigidly is often an advantage of stepper motors. The torque at standstill is called the holding torque.
Because steppers can be controlled by turning coils on and off, they are easy to control using digital circuitry and microcontroller chips. The controller simply energizes the coils in a certain pattern and the motor will move accordingly. At any given time the computer will know the position of the motor since the number of steps given can be tracked. This is true only if some outside force of greater strength than the motor has not interfered with the motion.
An optical encoder could be attached to the motor to verify its position but steppers are usually used open-loop (without feedback). Most stepper motor control systems will have a home switch associated with each motor that will allow the software to determine the starting or reference "home" position.
Servo motors:

There are several types of servo motors but I'll just deal with a simple DC type here. If you take a normal DC motor that can be bought at Radio Shack it has one coil (2 wires). If you attach a battery to those wires the motor will spin. See, very different from a stepper already!. Reversing the polarity will reverse the direction. Attach that motor to the wheel of a robot and watch the robot move noting the speed. Now add a heavier payload to the robot, what happens? The robot will slow down due to the increased load. The computer inside of the robot would not know this happened unless there was an encoder on the motor keeping track of its position.
So, in a DC motor, the speed and current draw is a affected by the load. For applications that the exact position of the motor must be known, a feedback device like an encoder MUST be used (not optional like a stepper).
The control circuitry to perform good serving of a DC motor is MUCH more complex than the circuitry that controls a stepper motor.

Servo motor and stepper motor

 Servo motor

Stepper motor

5th week - Circuit discussion

Its been a while after my last post. On week 5, another meeting with my advisor, we discussed about circuit. After doing a few research, we have found one suitable circuit that compatible with our robot. We have to change some component in that circuit such as water extinguisher since our mission is to build small and lighter robot. 

Furthermore, Mr Syamsul advice me to concentrate on structure first. From structure, we can determine of placing the component such as Infra Red Sensor(IR), Photo-resistor(IR) Servo Motor and circuit itself.
Next week,we will discuss about the main structure, proposal and circuit

4th week - Submission of final year project proposal


Alhamdulillah, i have submitted my proposal this week. Mr Syamsul was satisfied with the proposal. As discussed, i had decided to build a fire fighting robot using fan as extinguisher and moving using two wheel at back and sungle roller wheel infront. Mr Syamsul advise me to built a small size robot because the smaller the size of the robot, the less cost produce. Next week, we will discuss more on the robot structure and designs. I will proceed more for the research on stability, structure, circuit and programming.

Monday, 19 March 2012

3rd week - Discussion on Final Year Project Proposal

Mr Syamsul told to follow FYP guidelines for project proposal at RPS. The proposal must include :-
  • Tittle page
  • Abstract
  • Table of content
  • Introduction
  • Problem statement
  • Literature review
  • Methodology
  • Objective
  • Benefit
  • Work plan
  • Budget
  • Conclusion
  • References
I have to submit the proposal on the 4rd week. Next week,we will be discussion and make a final decision on what kind of robot that we will built.

2nd week - blog making

Final Year Project in UniKL BMI has move to different version.We,Semester 1 Final Year Project student have to create blog instead of using book as a logged book. The blog must be updated the progress of every meeting as our reference in the future.Its a good start for me and all my mates in learning process and make us toward excellence future.

In other words,there's a pro and contra by using blog as our logged book,but the benefit is we can learn a new things and I'm kind of love it.We have to submit our blog address to RPS bmi for lecturer viewing.

1st week (Selecting Advisor)

As a one of the candidate for Final Year Project for Semester 1,we have to choose one lecturer to advise and supervise student.Student have to consult with the advisor time to time and report to them the progress of the project.
I have decided to chose Mr Syamsul Adlan Bin Mahrim to monitor and give some brilliant idea to me in the making of the project.After make a trustful decision,i met him and about the suitable project to do

After a lot of discussion and deep understanding about the robot,the suitable name that was given by Mr Syamsul is 'Fire fighting robot'.