Motor to turn a pot for feedback

Post and discuss new components that you have created.
Post Reply
samwane
Posts: 6
http://meble-kuchenne.info.pl
Joined: Tue Aug 24, 2021 2:22 pm

Motor to turn a pot for feedback

Post by samwane »

Hi,
I'd like to emulate a servo system using a DC motor and potentiometer as feedback.
I have placed these components onto the 3D panel.
Is there a way to link the motor and the pot so as the motor turns it also rotates the pot?
Note:-I have tried linking the motor to the pot through the 'target object' property but this moves the whole pot body around the 3D panel as the motor moves.
Many thanks,
Sam

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Motor to turn a pot for feedback

Post by BenR »

Hi Sam,

You might be better off using an encoder rather than a pot. Pots can be a bit mechanically difficult to turn and will generally have hard end stops whereas an encoder wont.

If you need to use a pot then let me know and I'll see if I can make it work with the motors for you.

samwane
Posts: 6
Joined: Tue Aug 24, 2021 2:22 pm

Re: Motor to turn a pot for feedback

Post by samwane »

Hi Ben,
Yes I can use an encoder instead, the learning outcomes will be the same.
I take it there is a motor-encoder pair set up in Flowcode? (I'm using 8).
Also, is it possible to control the motor speed? I was trying to do this using the PWM output from an Arduino Uno and a motor driver (all in simulation) but didn't manage to see the speed change.

Regards,
Sam

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Motor to turn a pot for feedback

Post by BenR »

Hello Sam,

The motor joining to encoder and varyable motor speed were things that were added for the release of v9 and so are not available in the v8 simulation.

samwane
Posts: 6
Joined: Tue Aug 24, 2021 2:22 pm

Re: Motor to turn a pot for feedback

Post by samwane »

Ok, thank you Ben. I have access to release 9 and will develop from there.
Thanks again,
Sam

steve001
Valued Contributor
Posts: 185
Joined: Wed Jan 13, 2021 7:15 pm
Has thanked: 81 times
Been thanked: 30 times

Re: Motor to turn a pot for feedback

Post by steve001 »

Morning,

In a previous employment we used to used motorised pots extensively

The speed was controlled by gearboxes and the also increases the torque available
The pot had 2 cams fitted to the shaft for the max and min limit switches,
these where not wired it was up to you to wire them in to interrupt the motor supply at the limits of travel

i have attached the data sheet, hope this gives you some idea of how it is assembled

as ben says quite difficult to turn.

Steve
Attachments
MICRONOR_DS_MPP.pdf
(698.67 KiB) Downloaded 163 times

Post Reply