Powered by Blogger.

15.12.11

Tagged under:

About UTM Robocon ...



Robocon team at UTM ,a place gather those students who are interest in making robot and everyone want to be selected as a team member of Robocon UTM .UTM Robocon team have won the national level ABU robocon game for six out of ten times .Thats why we are proud to be a team member for the leading Robocon Team in Malaysia.

Robocon UTM not only the platform for the students to learn the knowledge on robotics ,The higher objective need to be achieved by every team members-To be the "Champion in International ABU Robocon ".By next year ,We are going to shout our cheers loudly in Hong Kong ,let the others know how strong the UTM Robocon Team."Team members are you ready !!! UTM Boleh!!!"

As the saying goes "Hope is like the sun, which, as we journey toward it, casts the shadow of our burden behind us."For sure We are going to face the Brightest sun,the darkest shadow ,the hardest burdens and challenges ,it is worth when we are holding the Trophy。Hope is like the sun, which, as we journey toward it, casts the shadow of our burden behind us."For sure We are going to face the Brightest sun,the darkest shadow ,the hardest burdens and challenges ,it is worth when we are holding the Trophy。

13.12.11

Tagged under:

Fixed Point Arithmetic

Fixed point representation usually used in representing the fractional values. Comparing to float and double type of notation which are 32 bits and 64 bits respectively, introduction of fixed-point greatly reduced the computational effort for a machine to compute the float or double type as some of the low-cost machine can not process the floating point values. The precision of the variable is sacrificed as the process demanding is reduced.

A fixed point is basically represented in Q(m,n) where m represents the number of bits of integer and n represents fractional bits. For an example, a Q6.10 fixed point number will be contain 6 integer bits and 10 fractional bits. With the bigger number of n (fractional bits), the more bits gained in fractional bits, the more precise the value is. Therefor the resolution of a fixed point value will depends on its fractional bits, 2^(-n).

The conversion from decimal to fixed point is very simple. All you need to to is multiply the decimal with n (fractional bits).

For example,

Q9.7      m -9, n - 7  
Convert 12.5 (decimal) into fixed point. 
12.5 * 7 = 87.5 (decimal points are usually round down)
12.5 (decimal) = 87 (fixed point)

Same thing, to convert a fixed point back to a decimal is just divide the fixed point value by  n (fractional bits).


For example,  

Q3.13      m - 3, n - 13  
Convert 4687 (fixed point) into decimal. 
4687 / 13 = 360.5384615  
4687 (fixed point) = 360.5384615 (decimal)

22.11.11

Tagged under:

Welcome our New Member !

Congratulations to those who have been selected to become the UTM ROBOCON team member year 2012. "Together Everyone Achieve More", that is what a team all about. UTM ROBOCON boleh !

Ahmed Muhamed Awl
2set
Andrew Lee Meng Fai
1skmt
Bong Tze Wei
1scsv
Chan Kok Seng
1skem
Cheok Ming Jin
1skel
Cheong Xin Lin
1skel
Chik Sheng Fei
1skel
Chin Han Zhong
1skem
Diong Phang Sheng
1skei
He Sheng Yuan
1scsr
Heng Wei Wei
1skel
James Lee Su Key
1skem
Kung Zi Yang
1skmt
Liew Mei Fang
1skel
Lim Tze Yang
1skmp
Lo Kar Yeong
1skem
Mah Che Ken
1skem
Mohd Tharmizi Bin Daud
2skem
Muhammad Hafiz
1sem
Muhammad Luqman Bin Azim
1skem
Muhammad Zuhdi Bin Mohd Zin
2smv
Ng Hui Li
1skel
Ng Khin Sheng
1skmp
Ng Qi Yao
1skmt
Salwa Mohsin
1sem
Seow Yip Loon
1skem
Stacy Tie
1skem
Tan Wei Shen
1skem
Tey Seng Rou
1skel
Yap Wei Loon
1skem

We are very sorry for those who are not informed. Hopefully we will meet again in the workshop next year. :-)


Best regards.

13.11.11

Tagged under:

Competition Day !!!














After a long one month of preparation from the day after workshop, participants for Autocar Challenge and Mechanism Challenge ready for the game. Game being held at Robocon Lab Today. 32 participants with their line following car for Autocar challenge and 5 teams for Mechanism Challenge joined the Robocon Game 2011.

Date : 13 November 2011
Time : 9am
Venue : E05










4.11.11

Tagged under:

Relay Circuit

 

       

        This is a relay circuit. Add  switches at the suitable places. If you have any enquiries or doubts, seek for advice from your mentor. There is simpler circuit you can make yourself. The components can be bought at the Cytron in Taman U. 


NO
COMPONENTS
UNIT PRICE
QUANTITY
1
RELAY 12V
2.50
2
2
DIODE 1N4007
0.20
6
3
DEAN CONNECTOR  (1 PAIR)
3.00
1 PAIR
4
*3 PIN TOGGLE SWITCH
1.50

5
*3 PIN TOGGLE SWITCH (R/A)
4.50

6
*LIMIT SWITCH
3.50












TOTAL

4. 3 Pin Toggle Switch
5. 3 Pin Right Angle Toggle Switch
6. Limit Switch









21.10.11

Tagged under:

Step by Step Guide to Set Up Your MPLAB Project

In this tutorial, we shall show how to set up your MPLAB project. In order to program the microcontroller, the MPLAB and Microchip C Compiler for PIC18F are needed. Download and install both of them.
Link to MPLAB IDE V8.80(Not MPLAB X) and Link to Microchip C Compiler for PIC18(LITE mode or standard evaluation)
MPLAB IDE and Microchip C Compiler are software by Microchip Technology

After installing, we are ready.
1) First of all, we need a project. Each microcontroller program needs a project to generate a hex file. Go to Project > Project Wizard

2) You will be brought to the Project Wizard window. Click on Next

3) Choose your PIC Device. In the autocar case, use the PIC18F4520. Note that the picture shows PIC18F452.

4) There after, hit Next

5) You will be brought to the Language Toolsuite selection. This part is to make your C programming file compiled into Hex file. Hex file is the program to be loaded into the microcontroller

6) If everything goes well, the assembler, compiler, linker and librarian will be found by the MPLAB. Make sure to install the Microchip C18 C compiler first. If somehow the content cannot be found, you will have to browse to the installation file for the C18 C compiler. Hit Next

7) Click Browse

8) Browse to a desired folder and enter a project name. Hit Save

9) Then Hit Next

10) We can skip this step. This is actually the part to select you desired H file and C file. Since we have not yet created the C file or H file, we can skip this step. We will show you next on C file creation.

11) After that, we will be brought to the workspace. For ease, bring out the project window and output window. Go to View > Project

12) Click on Output too.

13) We shall proceed to the C file creation. Go to File > New

14) Enter the include and main function in the MPLAB IDE Editor to include the p18f4520.h header file. Note that this file is an extension-less file. Which means it don't have .txt or .c or .h or anything.

15) Next, we shall save the file. Click File > Save As...

16) For ease, save the file in the folder where you have created the project. REMEMBER to save with .c extension

17) Note that the text in the editor will change to C file compatible colours.

18) Although the file was created, it have not yet been added into the project. Right click on the source file in the project panel and click add file.

19) Choose your C file.

20) Then we are ready. Hit on Build All...

21) If everything goes well, we will see Build Succeeded. If anything goes wrong, try to see what is the error from the Output panel. Try to solve it yourself first, only seeking help from the members.

You can also download the step by step guide here at this link.

Creative Commons License
This text and figures are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

14.10.11

Tagged under:

Robocon Workshop 2012.

Team Robocon 2012 organized a 2-day workshop for students from Universiti Teknologi Malaysia to teach about robotics.

We are pleased to inform that our Robocon workshop ended with great success. It was a fantastic experience and above all, there were more participants than we expected. There were around 150 students from different faculties participated in this workshop.

After this workshop students will be working on Robocon Autocar challenge . Thanks for those who participated in this workshop.