Page 1 of 4

Grove - I2C Motor Driver - information and source code

Posted: Wed Jan 11, 2012 10:19 am
by spanner888
Hi

I just bought one of these and I am looking for:

1. more info on API and advanced motor control, for example:
- best PWM frequency to use
- what is & how to use the advanced "Channel set, set IN1-IN4 of H-bridge chip, only for advanced users"
- what are all the parameters SETPWMAB, spda/b, SETFREQ, pres
It is possible to wok out most of what these do from the schematic, but this leaves missing information about what the firmware does!

2. I want to use the spare ATMEGA IO pins, so does anyone know where the source code and binaries for the Atmega 8 firmware are? ... or a similar project by someone else that has the source available?

I had to make changes to the example code for it to compile under Arduino 1.0 GUI, will post these changes once I have finished testing.

Re: Grove - I2C Motor Driver - information and source code

Posted: Thu Jan 19, 2012 6:17 am
by Fueda
I have the same questions... =(

And i'd like to know what is the maximum frequency of i2C port communication? Can I use the both standards data rate (100kbit/s or 400kbit/s)?

Best regards,

Fueda

Re: Grove - I2C Motor Driver - information and source code

Posted: Tue Jan 24, 2012 9:52 pm
by schmron
spanner888 wrote: 2. I want to use the spare ATMEGA IO pins, so does anyone know where the source code and binaries for the Atmega 8 firmware are? ... or a similar project by someone else that has the source available?
I also need the firmware!

Re: Grove - I2C Motor Driver - information and source code

Posted: Tue Mar 06, 2012 4:03 am
by Gunther
schmron wrote:
spanner888 wrote: 2. I want to use the spare ATMEGA IO pins, so does anyone know where the source code and binaries for the Atmega 8 firmware are? ... or a similar project by someone else that has the source available?
I also need the firmware!
I don't know anout the IO pins but there is a download link for firmware on the wiki at: http://www.seeedstudio.com/wiki/index.p ... tor_Driver

These are the links it gives (just check under the section that says 'Resources'):

Resources

L298 dual full bridge driver - http://www.st.com/stonline/books/pdf/docs/1773.pdf
AMS 1117CD 5v voltage regulator - http://www.advanced-monolithic.com/pdf/ds1117.pdf
Eagle files of I2C motor_driver - http://garden.seeedstudio.com/images/7/ ... v0.92b.zip
File:Grove-I2C Motor Driver firmware.zip - http://garden.seeedstudio.com/images/7/ ... v0.92b.zip

Re: Grove - I2C Motor Driver - information and source code

Posted: Wed Mar 07, 2012 12:34 am
by schmron
Yes we got a mail with this file. Thank you for notice.

Thread can be marked as closed.

Re: Grove - I2C Motor Driver - information and source code

Posted: Wed Mar 07, 2012 9:56 am
by spanner888
.. looking at the firmware zip file mentioned above, shows that is only contains the hex firmware, not the acutal source code.

Seeed seem to have mailed the source to Schmron, but it would be really nice if they could publicly release it :)

.. come on, please - you do say you are open source :)

Re: Grove - I2C Motor Driver - information and source code

Posted: Thu Jul 05, 2012 5:26 pm
by solis568
Hi,

My i2c motor driver does not work, I want to change the firmware but I have not enough information, I downloaded the .hex file but not as upload it to the board.
Can you help?
thanks

Re: Grove - I2C Motor Driver - information and source code

Posted: Thu Jul 05, 2012 11:41 pm
by Gunther
Hello, When I did this I never used the firmware because for me the board worked fine without it. Are you using the board with an Arduino?
solis568 wrote:Hi,

My i2c motor driver does not work, I want to change the firmware but I have not enough information, I downloaded the .hex file but not as upload it to the board.
Can you help?
thanks

Re: Grove - I2C Motor Driver - information and source code

Posted: Fri Jul 06, 2012 12:00 am
by solis568
It worked fine at first but it seems that is locked, now all LEDs remain lit and does not work, I have no other i2c device to test the i2c bus, the motor driver may be blocking the bus i2c. I have to buy a grove rtc to try. I dont know if there is a way to know if the motor driver works, to make it respond messages

Thanks

Re: Grove - I2C Motor Driver - information and source code

Posted: Fri Jul 06, 2012 12:01 am
by solis568
Upps, Yes, i'm using the board with arduino