BasicMicroUK - Forums

www.basicmicro.co.uk
It is currently Sun Nov 18, 2018 12:51 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PWM Control Roboclaw 2×30A
PostPosted: Fri Apr 18, 2014 6:40 am 
Offline
New User

Joined: Tue Apr 08, 2014 12:21 am
Posts: 4
Hi, I've just got my Roboclaw 2×30A today and wanna do some simple test on it. I am wondering if I can use PWM generated from Arduino Due as input signal in the RC mode. So I tried several times then it was weird that I successfully drove my motor in the first two times, but after that the motor just didn't move! It seems everything is okay and the wire connection is good. I used four 1.5V batteries as the logical battery of Roboclaw and connected the +5V and ground pins of S1 to my arduino due board. I generated a simply repeated high and low voltage signal on the I/O pin of aduino and connect that to the control pin of S1. The duration of high voltage is 2ms and low is 1ms. The test was successful for the first two times and then failed. Is there anything I misunderstood? Thanks!


Top
 Profile  
 
 Post subject: Re: PWM Control Roboclaw 2×30A
PostPosted: Thu Apr 24, 2014 5:14 pm 
Offline
Site Admin
User avatar

Joined: Thu Mar 01, 2001 7:00 pm
Posts: 1316
Location: Temecula, CA
The PWM has to be in the RC format(eg 0 to 3ms high pulse with a 20ms period approx).

If you are using the arduino 5v to power the logic on the roboclaw make sure you have removed the LB-MB jumper on the roboclaw. If you are powering the arduino from the robocawl 5v make sure you aren't also powering the arduino separately. If the arduino is powered separately you should not have any 5v connection from the roboclaw to the arduino, just the signal lines and a common ground.

_________________
Tech Support
Basic Micro - Robotic Technology Evolved


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO