Saturday, 6 October 2012

Manual Robot Competition



Game rules and regulations:

1     Games field and objects.
               Height for the wall:  Blue, Red, Orange(3cm), Basket(3.5cm), Black(4cm)

2.       Game procedure and competition tasks.
§  The robot need to be placed at the starting point provided.
§  Each group will be given 1 min for setting time.
§  the task need to be done by each robot is to collect as many ball as possible and put it back into a basket provided.
§  There are nine balls placed on the field. Three ball in each group’s field and the other 3 in the common zone.
§  Red ball carry 15 points, green balls carry 10 points and purple balls carry 20 points.
§  Point will only be given after the robot put the ball into the basket.
§  The game will be stop after 5 min and the winner will be decided based on the total scores obtained in the game.

3.       Restarting point.
§  In the case of mechanical problem, or failing of a task, the robot can be brought back to its starting point to restart.
§  After putting a ball into the basket, each group is allowed to restart at the starting point.

4.       Game duration.
§  Each match lasts 5 minutes at most.
§  In any of the following cases, the match ends immediately (even before 5 minutes).
o   Disqualification is announced in the knockout.
o   When the referee judges that the game cannot continue.

5.       General restriction.
§  Robot is not allowed to causes damages to the field.
§  Robot is not allowed to enter other robot’s starting point.
§  Robot is not allowed to causes damages to the opponent’s robot.

6.       Deciding the winner.
§  The winner will be determined by the total scores obtained in the game after deduction of marks if there any violation acts done during the game.
§  If both group obtained the same score in the game, the winner will be determined by the time record for the first ball being put into the basket.
7.       Violations.
§  The group with 5 violations in a match will be disqualified. Negative scores may appear in some cases.
§  When violation occurs, the group will be deducted 10 points.
The violations are categorized as follows:
o   Any part of the robot cause obstruction or difficulty too the opposing group.
o   Any part of the robot cause damages to the field and objects on it(ball holder, gate)
o   Any part of the robot enter and disturbing in the opponent starting point.

8.       Disqualification.
§  A group will be disqualified if it commits any of the following action:
o   The group fails to obey instructions or warnings issued by the referees.
o   The group has made five violations in the same match.
o   The group intentionally damages of tries to damage the field, facilities, equipment or opponent’s robots.

9.       Robot specification.
§  Each group must prepare its own power sources.
§  Each robot must have base dimension no larger than 15cm length and 15cm width.





Monday, 10 September 2012

Robocon 2013 Web

Monday, 6 August 2012

Drive Servo using Servo.write

Coding


Arrangement Circuit Board


Sunday, 5 August 2012

Getting Started


Tutorial analogRead


reading analog value


The goal of this example is to read an analog value. Based on the value read, a led will blink faster or slower.

WHAT DO YOU NEED





SCHEMATIC



BOARD


In the schema you need a variable resistor connected to pin 15 and to 5V and GND.SOFTWARE

// test blink with Pinguino

#define PIC18F4550

// pin where the led is connected
#define LED 0

void setup()
{
pinMode(LED,OUTPUT);
}

void loop() T
{
digitalWrite(LED,HIGH);
delay(300+analogRead(15));digitalWrite(LED,LOW);
delay(300+analogRead(15));
}


As this it's not the first pinguino example, we are going to suppose that you know what means the setup and loop functions, and why appears the #define PIC18F4550 directive.In this example of new function we are going to use the analogRead.

analogRead will return a 10 bits value, based on the analog value on the specified pin. If the pin has 0V, the returned value will be 0, if the pin has 5V the returned value will be 1023.

Then in this example, we use the readed analog value to determine the value that we pass to the delay function. If the voltage is 0V, we will execute a delay(300), if the value is 5V, we will execute a delay(300+1023)
DO-IT-YOURSELF

- Instead of blinking the led, change it to dimmer

Saturday, 4 August 2012

Capacitor for voltage regulator


The capacitor is required.

Inside the regulator is a high gain amplifier, always monitoring the difference in output voltage with an internal reference supply. Like most amplifiers, it can become unstable if variations in supply voltage cause a change in output voltage. Given the battery has quite a high internal resistance, it is very likely it's voltage will vary if the load changes.

You should always connect a capacitor of more than 100nF and preferably in the region of 1 to 10uF across the input terminal and ground with the wiring as short as possible. A capacitor on the output is less important but it is preferable to have one close to the output and ground pins as well. If you make the output capacitor too big, it has a detrimental effect on the regulators transient response. Between 1 and 10uF is usually a good choice.

Brian.




Re: Which capacitor to use with 7805 voltage regulator?

I suggest 1 - 10uF because that's what the regulator manufacturers suggest. The value isn't critical but if you make it too small you risk it being inadequate to damp oscillation. If you make it too big, at least with a single capacitor, you run the risk of the high frequency impedance of the capacitor being too high. Most cheap aluminum electrolytic capacitors have a relatively high internal inductance so while fine as reservoirs in power supplies, they become less effective at damping high frequency oscillation. You will find that in 'better' designs, there are two parallel capacitors used, one will be electrolytic to give a high value in a small space and the other will be ceramic to improve HF performance.

Brian.






Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews