Forum >Romeo All in one - PLL +encoders
Romeo All in one - PLL +encoders

Hi,
I don't understand how to do the jumper setting and the wiring for PLL motor control on the Romeo All in One controller. [url=http://www.dfrobot.com/index.php?route=product/product&product_id=656]http://www.dfrobot.com/index.php?route=product/product&product_id=656[/url]
Do I realy need to cross wire the Pins or what does the x on the Jumpers mean? (this would then not be possible with jumpers, only with cables?) I assume so, based on this post: [url=http://www.dfrobot.com/forum/index.php?topic=72.0]http://www.dfrobot.com/forum/index.php?topic=72.0[/url]
Where do I connect the four signal cables of the two encoders? And how do I use them to control rotation speed?
I thougt that PLL means that the encoders are used to control the rotation speed?
Thanks
Robert
I don't understand how to do the jumper setting and the wiring for PLL motor control on the Romeo All in One controller. [url=http://www.dfrobot.com/index.php?route=product/product&product_id=656]http://www.dfrobot.com/index.php?route=product/product&product_id=656[/url]
Do I realy need to cross wire the Pins or what does the x on the Jumpers mean? (this would then not be possible with jumpers, only with cables?) I assume so, based on this post: [url=http://www.dfrobot.com/forum/index.php?topic=72.0]http://www.dfrobot.com/forum/index.php?topic=72.0[/url]
Where do I connect the four signal cables of the two encoders? And how do I use them to control rotation speed?
I thougt that PLL means that the encoders are used to control the rotation speed?
Thanks
Robert
2012-06-06 23:01:37 Yes, saw this. But am am afraid to somehow fry the board or the encoder by hooking something up without exactly knowing what I do :-)
I could try hooking the encoders to digital pins 4 and 7 and see what happens. But how do I need to change the jumper config for this - if at all?
robvoi
I could try hooking the encoders to digital pins 4 and 7 and see what happens. But how do I need to change the jumper config for this - if at all?

2012-06-06 22:33:44 Robvoi,
I think the pins that provide feedback are pins 4 and 7 on a new romeo, on an old one 6 and 9.
In the sample code provided they are marked as "speed control" pins.
Hector
I think the pins that provide feedback are pins 4 and 7 on a new romeo, on an old one 6 and 9.
In the sample code provided they are marked as "speed control" pins.

2012-06-06 21:49:14 Thanks for the feedback.
The main question is: where does the feedback signal come from for the PLL?
Have a good working PID with endcoders and PWD now. I will try PLL later. So much elso to work on for my robot .. :-)
robvoi
The main question is: where does the feedback signal come from for the PLL?
Have a good working PID with endcoders and PWD now. I will try PLL later. So much elso to work on for my robot .. :-)

2012-06-06 20:17:27 Hi Robert,
I'm not sure how you would go about doing this, or even if the Romeo and motor encoders have this capability... You might want to give it a try, but I don't know what the wiring would look like.
Hector
I'm not sure how you would go about doing this, or even if the Romeo and motor encoders have this capability... You might want to give it a try, but I don't know what the wiring would look like.

2012-06-06 04:11:11 Hi,
again a question on the PLL + encoder topic.
As far as I understood it:
[url=http://www.scribd.com/doc/52414546/12/Phase-Locked-Loop-PLL-Control]http://www.scribd.com/doc/52414546/12/Phase-Locked-Loop-PLL-Control[/url]
the encoder should directly be hooked up to the PLL control.
With PWM I need to do the control via the code. But with PLL the electronics should do it by using the encoder as speed feedback signal.
How do I set this up?
Thanks
Robert
robvoi
again a question on the PLL + encoder topic.
As far as I understood it:
[url=http://www.scribd.com/doc/52414546/12/Phase-Locked-Loop-PLL-Control]http://www.scribd.com/doc/52414546/12/Phase-Locked-Loop-PLL-Control[/url]
the encoder should directly be hooked up to the PLL control.
With PWM I need to do the control via the code. But with PLL the electronics should do it by using the encoder as speed feedback signal.
How do I set this up?
Thanks
Robert

2012-06-01 00:56:22 Hi I found this information about this type of encoder.
[url=http://www.pjrc.com/teensy/td_libs_Encoder.html]http://www.pjrc.com/teensy/td_libs_Encoder.html[/url]
and
[url=http://arduino.cc/playground/Main/RotaryEncoders]http://arduino.cc/playground/Main/RotaryEncoders[/url]
you just need to use 2 pins for data. These sites provide libraries, example codes, and some explanation as to how they work.
Hector
[url=http://www.pjrc.com/teensy/td_libs_Encoder.html]http://www.pjrc.com/teensy/td_libs_Encoder.html[/url]
and
[url=http://arduino.cc/playground/Main/RotaryEncoders]http://arduino.cc/playground/Main/RotaryEncoders[/url]
you just need to use 2 pins for data. These sites provide libraries, example codes, and some explanation as to how they work.

2012-05-31 23:47:46 Hi Hector,
I use the encoders used in the Rover 5 Tank Kit (Powered by Arduino and Bluetooth).
[url=https://www.dfrobot.com/index.php?route=product/product&product_id=390]https://www.dfrobot.com/index.php?route=product/product&product_id=390[/url]
There was no specification on which encoders are used.
It has 4 cables per encoder. Which encoder is this? And how do I connect the sig lines (assuming that the both lines beside power are sig lines)?
Simply to a digital pin?
Thanks
Robert
robvoi
I use the encoders used in the Rover 5 Tank Kit (Powered by Arduino and Bluetooth).
[url=https://www.dfrobot.com/index.php?route=product/product&product_id=390]https://www.dfrobot.com/index.php?route=product/product&product_id=390[/url]
There was no specification on which encoders are used.
It has 4 cables per encoder. Which encoder is this? And how do I connect the sig lines (assuming that the both lines beside power are sig lines)?
Simply to a digital pin?
Thanks
Robert

2012-05-31 21:41:30 Hi for the PLL connection you would need to cross the pins, so yes, you would need to use wire rather than jumpers.
Which type of encoders are you using?
The standard encoders we provide only use 1 digital pin and 2 power pins.
[url=https://www.dfrobot.com/wiki/index.php?title=Wheel_Encoders_for_DFRobot_3PA_and_4WD_Rovers_(SKU:SEN0038)]https://www.dfrobot.com/wiki/index.php?title=Wheel_Encoders_for_DFRobot_3PA_and_4WD_Rovers_(SKU:SEN0038)[/url]
Hector
Which type of encoders are you using?
The standard encoders we provide only use 1 digital pin and 2 power pins.
[url=https://www.dfrobot.com/wiki/index.php?title=Wheel_Encoders_for_DFRobot_3PA_and_4WD_Rovers_(SKU:SEN0038)]https://www.dfrobot.com/wiki/index.php?title=Wheel_Encoders_for_DFRobot_3PA_and_4WD_Rovers_(SKU:SEN0038)[/url]
