Show Posts
|
|
Pages: [1] 2
|
|
1
|
Topics / Robotics / Re: RoboCup Junior Soccer Robot
|
on: March 31, 2013, 03:08:42 pm
|
Hi! Hi! I am referring to the two metal pieces next to the compass sensors, which I can see on your picture.  Best Regards There is nothing at the compass. the metal pieces are used as holders for the referees. In our videos you will see it. Tobias Oops, sorry my bad, I didn't see the back side of the holder.  Anyways thanks for all your help, I hope I will be able to meet you guys at Robocup! Best Regards John
|
|
|
|
|
3
|
Topics / Robotics / Re: RoboCup Junior Soccer Robot
|
on: March 30, 2013, 11:29:07 am
|
|
Hi!
One last thing, I saw you used some-sort of metal to shield the compass sensor. What is it? And where can you buy it? I have been experimenting with mu-metal, is it that?
Thanks
Best Regards
|
|
|
|
|
4
|
Topics / Robotics / Re: RoboCup Junior Soccer Robot
|
on: March 28, 2013, 01:07:12 am
|
|
Hi!
Could you send me the sizes of that pipe? I have been trying to use heat-shrink tubing, but it doesn't work that good. I am in the team Jakrobotics, previously we were called Hunrobot. But we didn't attend Robocup2012. So are you guys going with a Small size league team?
Regards
|
|
|
|
|
5
|
Topics / Robotics / Re: RoboCup Junior Soccer Robot
|
on: March 27, 2013, 04:32:00 pm
|
|
Amazing!
I am also a Robocup junior soccer competitor! And I love that the you put up everything to be open source, if only there were more teams like you! I am planning on going to robocup2013 in holland, will you guys be participating this year? Anyways, I hopefully will do the same with my robot once it's done. One question, you said you used the TSOP1140? I am currently experimenting with the TSOP1138, but I am having tons of trouble with the viewing angles. Did you use anything to shield the sensors viewing angle? Also, what kind of components did you use for the light barrier?
Best Regards
|
|
|
|
|
6
|
Using Arduino / Sensors / Robocup Junior soccer ball sensor
|
on: November 30, 2012, 02:58:21 pm
|
Hi! I am a Robocup Junior soccer http://rcj.robocup.org/soccer.html competitor, and I am currently in the process of selecting my ball sensor. Now I found this article : http://rcj.robocup.org/rcj2009/newball/cheapRCJ05sensors-RobotDemos09.pdfAnd I ordered the TSOP1138 and connected it as the circuit in the document says I should with a 100k resistor and a 1uF cap to get an analog reading. The code I used is the Analog Serial Read example code void setup() { Serial.begin(9600); }
void loop() { int sensorValue = analogRead(A0); Serial.println(sensorValue); } And I am not getting any readings back besides 0. So I did some further research and it turns out the ball actually outputs 40 khz instead of 38 which the sensor is set at, but I should get at least some readings right even with the 2khz difference? And also I don't suppose it's an issue but the capacitor I have is 1uf and 16v, would that be an issue? Any advise appreciated, or if any one could suggest a better ball sensor! Best Regards
|
|
|
|
|
8
|
Using Arduino / Sensors / Re: SRF08 sensor not working
|
on: August 05, 2012, 01:51:19 am
|
I think you mean '< 1' or possibly '== 0'.
OK I tired both but I'm not even using that function, all I want is the distance not the light value. What else should I try?
|
|
|
|
|
9
|
Using Arduino / Sensors / SRF08 sensor not working
|
on: August 04, 2012, 02:58:05 pm
|
So yeah, I can't figure out why, but i hooked it up according to this: http://arduino.cc/playground/Main/SonarSrf08and this is the code :
#include <Wire.h>
#define srfAddress 0x70 // Address of the SRF08
#define cmdByte 0x00 // Command byte
#define lightByte 0x01 // Byte to read light sensor
#define rangeByte 0x02 // Byte for start of ranging data
void setup(){
Wire.begin(); // Initialize the I2C bus
Serial.begin(115200); // Initialize the serial connection
delay(100); // Waits to make sure everything is powered up before sending or receiving data
}
void loop(){
//int rangeData = getSoft(); // Calls a function to get software version
int rangeData = getRange(); // Calls a function to get the range data
int lightData = getLight(); // Calls a function to get the light data
Serial.print("Range: ");
Serial.print(rangeData);
Serial.println("cm");
Serial.print("Light: ");
Serial.print(lightData);
Serial.println("");
delay(100); // Wait before looping
}
int getRange(){ // This function gets a ranging from the SRF08
int range = 0;
Wire.beginTransmission(srfAddress); // Start communicating with SRF08
Wire.write((byte)cmdByte); // Send Command Byte
Wire.write(0x51); // Send 0x51 to start a ranging in cm
Wire.endTransmission();
delay(100); // Wait for ranging to be complete
Wire.beginTransmission(srfAddress); // start communicating with SRFmodule
Wire.write(rangeByte); // Call the register for start of ranging data
Wire.endTransmission();
Wire.requestFrom(srfAddress, 2); // Request 2 bytes from SRF module
while(Wire.available() < 2); // Wait for data to arrive
byte highByte = Wire.read(); // Get high byte
byte lowByte = Wire.read(); // Get low byte
range = (highByte << 8) + lowByte; // Put them together
return(range); // Returns Range
}
int getLight() { // Function to get light reading
Wire.beginTransmission(srfAddress);
Wire.write(lightByte); // Call register to get light reading
Wire.endTransmission();
Wire.requestFrom(srfAddress, 1); // Request 1 byte
while(Wire.available() < 0); // While byte available
int lightRead = Wire.read(); // Get light reading
return(lightRead); // Returns lightRead
}
int getSoft(){ // Function to get software revision
Wire.beginTransmission(srfAddress); // Begin communication with the SRF module
Wire.write((byte)cmdByte); // Sends the command bit, when this bit is read it returns the software revision
Wire.endTransmission();
Wire.requestFrom(srfAddress, 1); // Request 1 byte
while(Wire.available() < 0); // While byte available
int software = Wire.read(); // Get byte
return(software);
} It blinks on start up then nothing if I enter the Serial monitor. Any ideas?
|
|
|
|
|
11
|
Using Arduino / Motors, Mechanics, and Power / Re: Controlling 20 DC Motors
|
on: March 17, 2011, 04:04:10 pm
|
well all you need is 9 more h-bridges(motor controllers) and your set  Unless the motors are VERY small and consume very little current, the you need 1 extra h-bridge for each 2 motors you connect, and also make sure you use a power supply that can handle the current. Regards Jak24
|
|
|
|
|
14
|
Using Arduino / Motors, Mechanics, and Power / controling Brushless three phase dc motors
|
on: February 06, 2011, 03:39:03 pm
|
Hi! I am trying to control four Brushless three phase motors. All i need is to control the direction and speed of these motors. The IC that seems to be the most common is the L6235: http://www.datasheetcatalog.org/datasheet2/9/0ol725wx0154d5udifhhd1ugx33y.pdfbut this chip can only handle 2.8 A and even though there is a part were it says: Over current Protection
were it explains how to use it for bigger current, but even if it were to work i don't really think it's a 100% safe and efficient. and also there is an image (Figure 22.) which shows that that it can only handle 10W max while my motor is 15W. So my question is does anyone know of an IC which can control the speed and direction of a Brushless three phase dc motor which is not to expensive, and is not SMT (as my soldering skills are that good) Thanks Regards Jak24
|
|
|
|
|