Let's Make Robots! | RobotShop

completely lost with rover 5 and dagu comotion shield

hi there,

I'm an app programmer trying to get into the hardware world. 

I bought myself an arduino uno a rover 5 2 motors and 2 encoders  and the comotion shield(https://robosavvy.com/store/dagu-commotion-motor-driver-shield.html)  hoping to be able to follow this tutorial :

https://create.arduino.cc/projecthub/15ashworthh/controlling-the-dagu-rover-5-66c8bf

I still can't figure which wires are for the encoders and which for the motors.

Am i being silly but I don't see it anywhere in the rover 5 manual~ :(

is there any chance there is some detailed wiring diagram out there or if someone could point me in a good direction.

BUT now the most important part. HOW does this now  interface with the arduino 

I see the shield doc talking sbout numbers to be sent based on what function is required but beyond this I'm really unsure. 

Is there a library i need to import into my arduino.

I apologize if this was a too noob question. if instead i could some basic pointer of where to go I could try something. 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Not at all a Noob question - the products you chose are not the easiest to understand. The ComMotion "shield" seems to include two onboard microcontrollers. It's certainly not a shield since the pins don't protrude from underneath. It seems like you don't need a separate Arduino microcontroller - take a look at page 7 in their guide. This is a very different type of product and the documentation is not the easiest to understand. You'll ideally wire the two motors on one side to one of the motor controller ports, ensuring they rotate in the same direction. The two motors from other other side would be wired to another motor controller terminal, again ensuring the motors rotate in the same direction. In this case, you'll really need to read through the guide thoroughly.

hi, thank you for your reply

over 2 years i bought the rover 5 and was able to control it with an adruino and a sparkfun motor controller, i had brain cancer and got a few disabilities and lost memory.

I'm mostly a programmer. I was able to get back to work writing but my heart was always with hardware.

a few friends funded some kits for me to start again. but it seems i'm still out of touch.

Currently i'm stuck at how do i tell which wires from the rover 5 are from the motors or the encoders? This is really the first problem.

i'm afraid of just busting something, unlike software i'll have to buy this stuff again.and i don't have the money.

so (1) how do i deduce which wire is which from the rover 5?. (putting some current in two till the motors move?

(2)i understand from the manual it seems to have a picture ike a shield:

https://www.dropbox.com/s/qjet3bj96llqzgg/ComMotion%20Programming%20Tutorial.pdf?dl=0

i follow the partof using an  arduino as a programmer but then.. what code/ pins do i set to (A) control the motors and (B) get input from the encoders :/  so all the code resides on the comotion? i wanted to use the arduino to add an rf receiver or some other components.. 

yes i see how the setting bytes for motots and angles sort of blow my mind and i guess thats too much for what i know right now. i'll try controlling a led or single motor from an arduino..

but is there a starting i can got to figuring things out... after i figure which wire is ?

so i found out there WAS a CCC ckub where i live.

They helped out a LOT.

and yes, these experts fiddling with all kinds of stuff also mentioned that the data sheets were skippy

turns out the shield connects to the target arduino over i2c and once you connect the motors and encoders you can setup the shield to follow commands. I won't go into here i'm going to try to get it working..

ofc this doesn't tell at all which wires on the chasis is which.. that is really a horrible thing from dagu really diaapointed. I'm going to write to them,

the CCC guys helped me deduce the wires with an oscilloscope :) 

i'll post here when i know more

Regarding knowing which wire is which, you'd need to consult the manual, which should indicate at least a color code. If not, reach out to the manufacturer. You are entirely correct that incorrectly wiring something can easily damage or blow components. As soon as you know which wires are which, you would connect the motor positive and negative to the controller's motor terminal, and wire the encoder according to the manual.