UNO + G15 driver + G15 motor

Posted:
Tue Apr 08, 2014 11:52 pm
by whatsap45
Hi, I have used arduino uno, g15 driver and g15 motor as part of my project. However, I was not able to upload the G15 positioning sample program into Arduino Uno as I keep getting this error:-
"avrdude: stk500_getsync(): not in sync: resp=0x00"
May I know what is the problem? Oh, i didnt use the G15 shield for the implementation, is it ok? If so, does "G15ShieldInit(19200,3,8)" still be able to use for the program?
Thanks in advance.
Re: UNO + G15 driver + G15 motor

Posted:
Wed Apr 09, 2014 10:32 am
by ober
GD02 uses the UART line of UNO which is being used for loading program too. G15 shield uses similar method but have minor modification as it is designed for Arduino.
One way is to clear pin 0 and 1 when you load program to Arduino UNO.
BTW, the library for G15 shield is not compatible with GD02 because of the control pin logic.
Re: UNO + G15 driver + G15 motor

Posted:
Wed Apr 09, 2014 12:16 pm
by whatsap45
Oh i see, then I just have to clear RX and TX at the beginning of the program right?
BTW, the library for G15 shield is not compatible with GD02 because of the control pin logic.
In response to your reply, i took the GD02 Arduino library v1.0 from
http://www.cytron.com.my/viewProduct.php?pcode=GD02&name=G15%20Driver. How come it doesn't work? In the programming code, it has "G15ShieldInit(19200,3,8)" too ... ?
Then, what should I do to control the G15 motor with Arduino UNO and G15 driver without G15 shield??
Re: UNO + G15 driver + G15 motor

Posted:
Thu Apr 10, 2014 10:27 am
by whatsap45
Yup, it worked ... thanks...=)