VNH2SP30 + Arduino UNO + RC Receiver---????

hi friends....

i know this might be a very basic question to ask.... but i need all the help i can get.

i have to integrate a VNH2SP30 + Arduino UNO + RC Receiver to drive 4 DC Motors with skid steering feature.

checked high and low on internet but could not find anything to help me out. finally i have come to this forum asking for help if anyone knows it or has done it.

i thank you all in advance for this help.... and really appreciate your time too in helping me.

-sid

i have to integrate a VNH2SP30

What is that? A link to non-standard hardware is going to be essential.

The VNH2SP30 is a really nice motor control chip. I have used a lot of them. But one chip can only control one motor. Do you plan to use 4 chips? The. You will run out of pins on the Uno to control the chips. You may be able to drive the motors in pairs however, which might make this idea feasible.

The Sparkfun Monster Moto shield has two of these chips. There are some issues with the shield but it mostly works well.

the motor controller breakout board he is using is a duel hbridge version.

zhomeslice:
the motor controller breakout board he is using is a duel hbridge version.

They fight each other?

i am referring to the SparkFun Monster Moto Shield and this is the link to the product from Sparkfun ( https://www.sparkfun.com/products/10182 ). Their monster motor controller.

they have given a sample Arduino program on that page which just refuses to work.

i am not a programmer hence it is difficult for me to debug that sample code they have provided.

my objective is to take the inputs from 2 channels of a RC receiver ( Frsky ) for Steering (Skid Steering) and Drive (Forward & Reverse) and move the motors accordingly.

the RC receiver will feed the inputs to the UNO board which will then forward it to the monster motor controller and those signals will then turn the motors.

i tried the code available here http://www.instructables.com/id/Rc-Controller-for-Better-Control-Over-Arduino-Proj/ but it was for the L293D type motor driver. this code worked beautifully with RC control but when i tried porting it to the the Sparkfun Monster Moto Shield it just refuses to do anything.

i tried the PIN layout as per the official schematic and all other possible permutation-combinations but still no luck. :frowning: :frowning:

any help will be highly appreciable.

I am surprised to hear that the Sparkfun example code doesn't work. Can you try it again? Strip everything off except the Sparkfun shield and upload their code.

Then start adding things back, until it stops working.

hello morgan,

i did that couple of times.... but still no luck.

ironically the code situated here Arduino-Robot/libraries/Vnh2sp30 at master · OliviliK/Arduino-Robot · GitHub works right out of the box. atleast it does move the motors... meaning my board is not dead nor faulty.

i uploaded the Sparkfun example again and it did nothing. i am totally shocked now.

i want to control the motors with RC Radio using the PWM and just simple HIGH and LOW commands to the motors for movement and skid steering.

i tried using the L298N code which i was working on earlier but it seems it does not work with the Monster Motor Driver.

i am clueless and directionless now... can anything be done?

:frowning: SAD

Ok, so you do have one example which does move the motors. Great! Now start modifying that to add back in your extra functions.

that example which i used has one CPP and one H file which are customized to work with that specific arduino code.

i am no programmer making it difficult to understand and debug that program.

reference code : Arduino-Robot/libraries/Vnh2sp30 at master · OliviliK/Arduino-Robot · GitHub

Please edit your post to wrap [ url ] tags around that link. I'm reading this on a tablet which makes it difficult to copy-paste links.