V5 Motor Questions

I was wondering if the V5 Motors could detect a force on them. For example, if I used a claw would the motor know when something was being held in it by it not being able to close the whole way?

Can it be done by coding or is it just not possible. Let me know what you all think.

I know that the brain can detect voltage differences from the motor and if its holding something then it will have more power usage but I am not sure how to utilize that. You can view it by going to devices, then tapping on the motor and it will veiw some info on the motor. Although I’m not sure if trying to program this will work as well as using something like a bump sensor or an ultrasonic sensor.

Unfortunately, I’m rather limited on material and don’t have any type of sensors. and with a claw, it’s not the easiest to put a bumper sensor on that.

monitor the torque or current of the motor.

5 Likes

So for like a claw, i would just monitor if there is a spick in voltage from the motor wanting to move but not being able too?

Like this? With the ā€œ50ā€ being adjested by what ever numbers it needs to be.

Yes that is essentially how it should work. Now you need to get accurate current levels so you can get it to work. Also I would suggest making the current level set that it will detect at a slightly lower current because I doubt that it will be consistent. Just high enough that it doesnt detect without that. The biggest concern is consistency so if you get that then you should be good. (Oh and im not our coder so I cant say the code is exactly right but it looks right to me

1 Like

cool, all good tho, I’m not the coder either. My coder is just super lazy :laughing:

1 Like

That code will work for the question asked… but it will make the motor/claw unstoppable… when the button is pressed the claw will move to either full open or full closed… and you can’t stop it in the middle.

For reference… 2.5 amps is maximum before motor’s internal protection kicks in.

1 Like

Oof I feel ya 20 char


So would this let it stop in the middle or when it maxes out?

Yeah… assuming that ā€˜claw’ and ā€˜left’ are the same thing.

ope, good catch. Thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.