Grove - I2C Motor Driver - information and source code
Moderators: lily.li, violet, salmanfarisvp, jeremy882, crail.lyu969
-
- Pre-kindergarten
- Posts: 12
- Joined: Sat Dec 04, 2010 8:30 am
- Contact:
Grove - I2C Motor Driver - information and source code
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.
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.
Spanner888
http://usabledevices.com
http://usabledevices.com
Re: Grove - I2C Motor Driver - information and source code
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
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
I also need the firmware!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?
Best regards from Vienna/Austria
Rony
Rony
-
- Pre-kindergarten
- Posts: 6
- Joined: Mon Feb 27, 2012 4:24 am
- Are you a staff member of seeedstudio?: no
- Which products/projects are your favorite?: Grove - I2C Motor Driver
- Contact:
Re: Grove - I2C Motor Driver - information and source code
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_Driverschmron wrote:I also need the firmware!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?
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
Yes we got a mail with this file. Thank you for notice.
Thread can be marked as closed.
Thread can be marked as closed.
Best regards from Vienna/Austria
Rony
Rony
-
- Pre-kindergarten
- Posts: 12
- Joined: Sat Dec 04, 2010 8:30 am
- Contact:
Re: Grove - I2C Motor Driver - information and source code
.. 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
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

Spanner888
http://usabledevices.com
http://usabledevices.com
Re: Grove - I2C Motor Driver - information and source code
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
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
-
- Pre-kindergarten
- Posts: 6
- Joined: Mon Feb 27, 2012 4:24 am
- Are you a staff member of seeedstudio?: no
- Which products/projects are your favorite?: Grove - I2C Motor Driver
- Contact:
Re: Grove - I2C Motor Driver - information and source code
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
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
Thanks
Re: Grove - I2C Motor Driver - information and source code
Upps, Yes, i'm using the board with arduino