UNO + G15 driver + G15 motor

Talk about Arduino board, sheilds. Sharing Arduino projects, program, problems, solutions, suggestions..... many more, all are welcome.

UNO + G15 driver + G15 motor

Postby whatsap45 » Tue Apr 08, 2014 11:52 pm

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.
whatsap45
Novice
 
Posts: 25
Joined: Sun Feb 02, 2014 4:17 pm

Re: UNO + G15 driver + G15 motor

Postby ober » Wed Apr 09, 2014 10:32 am

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.
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: UNO + G15 driver + G15 motor

Postby whatsap45 » Wed Apr 09, 2014 12:16 pm

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??
whatsap45
Novice
 
Posts: 25
Joined: Sun Feb 02, 2014 4:17 pm

Re: UNO + G15 driver + G15 motor

Postby ober » Thu Apr 10, 2014 8:55 am

In that case, try it!
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: UNO + G15 driver + G15 motor

Postby whatsap45 » Thu Apr 10, 2014 10:27 am

Yup, it worked ... thanks...=)
whatsap45
Novice
 
Posts: 25
Joined: Sun Feb 02, 2014 4:17 pm


Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 34 guests