Appropriate driver with encoder support for RB-DFR-439

Hi,

I’m thinking of using your 12V silent DC motor, part number RB-DFR-439. Is this a brushless motor?

Just how much quieter are they than your spur gear line of motors (eg: RB SCT-181)? Are these ones brushless?

Do all motors run quieter when you run them at a lower than rated drive voltage?

If so, I’d like to run these motors at lower voltages than 12V in order to run them as quietly as possible.

Then I would need the torque curves for these motors at various drive voltages? Are the curves available?

I need the torque curves in order to figure out how I to gear them for my application.

I’d also like to know if you carry, or can suggest where to get, a driver board that fully integrates the encoder function of these motors,
and can independently drive two or more of these motors.

Thanks.

Keith.

It’s a normal DC brushed motor. We’ve had this question a few times, but no supplier seems to provide a decibel rating, so it’s just a matter of perspective / opinion. Unfortunately we cannot test it since it’s not currently in stock (we have a decibel meter, though the sound does depend on how far away you are from the motor too).

Really good question - not sure how many people have actually considered sound when operating motors at different voltages. Normally it’s not a significant change.

We’ve listed all the information we could obtain for the motor - we wish there were more available.

The motor has a stall current of 3.6A (which is pretty low). An example:
robotshop.com/en/roboclaw-du … oller.html

Note that in order to use an encoder, you likely need a microcontroller as well, so consider a microcontroller in addition to a motor controller.

I have this same motor , but im having a hard time getting it setup and plugged in correctly .
are there any diagrams I can look at?
I have the motor , and it comes with an encoder board.
I have this motor driver amazon.com/gp/product/B00HHYBW0E?psc=1&redirect=true&ref_=oh_aui_detailpage_o01_s00
and an Arduino Uno micro controller .

thanks in advance

robotshop.com/media/files/im … -large.jpg
The black wire is GND, and the red wire is positive
Pins 3 to 6 are for the hall effect sensor (5V power to pin 3 and GND to pin 4). Output from the sensor is on pins 5 and 6.
The L298 does not have encoder input, so you just plug in the first two pins (motor + and GND) to the L298.
The Hall effect sensor would be connected to the 5V, GND and two digital pins on the Arduino.

ok so I belive I connected the wires correctly. I attached a picture to show what I did.
what is the next step?

Please refer to the image attached for the wiring. There is also sample code below:

[code]
/*
Pay attention to the interrupt pin,please check which microcontroller you use.
http://arduino.cc/en/Reference/AttachInterrupt
*/

//The sample code for driving one way motor encoder
const byte encoder0pinA = 2;//A pin -> the interrupt pin 2
const byte encoder0pinB = 4;//B pin -> the digital pin 4
byte encoder0PinALast;
int duration;//the number of the pulses
boolean Direction;//the rotation direction

void setup()
{
Serial.begin(57600);//Initialize the serial port
EncoderInit();//Initialize the module
}

void loop()
{
Serial.print(“Pulse:”);
Serial.println(duration);
duration = 0;
delay(100);
}

void EncoderInit()
{
Direction = true;//default -> Forward
pinMode(encoder0pinB,INPUT);
attachInterrupt(0, wheelSpeed, CHANGE);//int.0
}

void wheelSpeed()
{
int Lstate = digitalRead(encoder0pinA);
if((encoder0PinALast == LOW) && Lstate==HIGH)
{
int val = digitalRead(encoder0pinB);
if(val == LOW && Direction)
{
Direction = false; //Reverse
}
else if(val == HIGH && !Direction)
{
Direction = true; //Forward
}
}
encoder0PinALast = Lstate;

if(!Direction) duration++;
else duration–;
}[/code]

With the exact setup in shown in the post by CBenson, should I be able to adjust the direction and speed of my motor. If not what additional hardware would I need.

Yes, the code and setup allow you to reverse the direction of rotation and adjust the speed.

So I connected everything as seen in the diagram in this forum, as well as using the sample code here. When I upload the code the motor just spins in one direction continuously. I also noticed that the TX led on the arduino is blinking while the code is uploaded. Should this be expected?

The sample code simply has the motor turn. It is up to you to modify it as needed.
The light is blinking because the microcontroller is sending serial commands to the computer.
You can open the serial terminal window, set the baud rate to 57600 to see the output.