I have a rover board with XBEE1 and XBEE2 capabilities, I think it is DFR-130 or DFR 0170. Can you send me schematic and PCB layout, pls.
What is XBEE, can you send any info?
Thanks,
Roger Lower
I have a rover board with XBEE1 and XBEE2 capabilities, I think it is DFR-130 or DFR 0170. Can you send me schematic and PCB layout, pls.
What is XBEE, can you send any info?
Thanks,
Roger Lower
The schematic of the DFRobotShop Rover Robot Controller Board V2 is available here.
The XBEE sockets are intended to be used with XBee Wireless modules.
Thank you, I am new to this format, thought I was asking a customer support site, will word better in the future. I am an old guy who grew up with many different assembler languages ( since 1965), Fortran and Basic. I must say I am having more trouble with this language than any other I have previously experienced, especially the error reporting, which seems to be totally illogical. Do you know of any tutorials which would help ?
Thanks,
Roger Lower
Hi Roger,
Are you asking about the Arduino programming language ? If so, Arduino is a variant of C/C++ programming language. Arduino is very popular due to its open-source community, therefore, you can easily find tutorials and example codes online.
Here is a good source to start from. We also offer this Arduino: A Quick-Start Guide that can be a useful reference to learn about Arduino.
Our Arduino 5 Minute Tutorials will also help you.
If you are experimenting with the DFRobotShop Rover, you will find in its datasheet a lot of example codes.
Hi not used to Forum formats do I reply to you like this, or should it be posted another way. Thanks for the response, I will study what you sent. I am having trouble most with using functions as subroutines, if I try to compile the following it gives me an error ‘forward’ not declared in this scope. I seem to be following all the rules ???
[code]void setup(){
Serial.begin(9600);
pinMode(11, INPUT);
pinMode(10, INPUT);
}
void loop(){
int a = 255; //255 is maximum speed
int b = 255;
int x;
int y;
x = digitalRead(10); // right detect
y = digitalRead(11); //left detect
// lets go !!!
foreward (a, b){
delay (500);
}
// Subroutines
void halt (void){
digitalWrite(6,LOW);
digitalWrite(5,LOW);
}
void reverse (int a, int b){
analogWrite (6, a);
digitalWrite(8,HIGH);
analogWrite (5, b);
digitalWrite(7,HIGH);
}
void foreward (int a,int b){
analogWrite (6, a);
digitalWrite(8,LOW);
analogWrite (5, b);
digitalWrite(7,LOW);
}
void left (int a,int b){
analogWrite (6, a);
digitalWrite(8,HIGH);
analogWrite (5, b);
digitalWrite(7,LOW);
}
void right (int a,int b){
analogWrite (6, a);
digitalWrite(8,LOW);
analogWrite (5, b);
digitalWrite(7,HIGH);
}[/code]
Sorry, playing with variations I think " foreward (a, b){ " should be " foreward (a, b) ; { ", still doesnt work
Please try :
foreward (a, b);
Thank you, my only excuse is age ! If I have more questions do I ask you, or do I go to a wider forum somehow ?
No problem https://www.robotshop.com/forum/images/smilies/icon_smile.gif You are always welcome to ask your questions here. Either we, or someone from the RobotShop community will reply