hi some questions

New member? Introduce yourself here!

Re: hi some questions

Postby ef696 » Wed 9. Jan 2013, 20:04

ef696 wrote:Hello

I have got my one Pololu JRk 12v12

Is there anyway i can do a test to see wiper motor move without hooking up feedback pot? I have to wait until tommrow to get pot.
BobBuilt wrote:
Is there anyway i can do a test to see wiper motor move without hooking up feedback pot? I have to wait until tommrow to get pot.


Ah i wouldnt what will happen is that the jrk will not read the position and motor will spin out of control. Please wait for you pot and connect it correctly soo that you can use the position control part of the software. Even a cheap pot will do as a test, but recommend you eventully fork out for some nice pots as this will improve the smoothness and quality of motion achievable with the jrk.

But getting closer, how about you start a proper post where we can guide you on your way to build your new sim.


Hi there :)

Ok I am on my way to electronics store to buy some pots

4.7 or 5k 1 turn linear pot yes?

I will start new topic soon as i can
ef696
 
Posts: 14
Joined: Tue 1. Jan 2013, 02:06
Has thanked: 0 time
Been thanked: 0 time

Re: hi some questions

Postby prodigy » Wed 9. Jan 2013, 22:06

5K linear pots are recommended by Pololu. I have also tried 10K pots and haven't noticed a lot of difference.

If you use lever system for pots than 1 turn is fine, because it won't break your potentiometer if the motor starts spinning.
254

If you are doing gears system for pots, than multiturn pots would be better idea, cause 1 turn could broke if motor spins.
http://postimage.org/image/xrfvenucv/
User avatar
prodigy
X-Sim Supporter
 
Posts: 274
Images: 42
Joined: Tue 16. Oct 2012, 12:32
Location: Pula, Croatia
Has thanked: 20 times
Been thanked: 22 times

Re: hi some questions

Postby sirnoname » Wed 9. Jan 2013, 22:52

Normally you open the pot and remove the stop pin so the 1 turn pot can move around.
Also you cannot use the feedback scaling of the pololu because this will reduce the resolution of the positioning. This would be a very bad idea, you need to make a fitting mechanical solution.
You can silver paint (metallic lacquer for automotive equipent to repair the back window heating) your internal pot to the needed angle you need or use gears.
The pot resistor value should be 20kOhm to 100kOhm.
I=U/R, 10kOhm means there is a power of 0.5mA only for heating the pot.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: hi some questions

Postby ef696 » Thu 10. Jan 2013, 23:02

Hi Above you say 20k - 100

but above it says 5k

I bought 5 k lol...it's ok?

I am just making test fitting, I am more concerened how software works and I understand it than how rig is made right * I am more worried abotu understanding software because I don't understand that at all right now

So I have one board, I have soldered connecters on board, I wired connecters for pot, I have wired wiper motor, it is old Honda wiper motor , very small.

My 12 v will be car battery...it's ok?
So now I will fix down wiper motor and join pot with lever. Then you can show me how to use software, after I figure out software i will be more brave to continue project :lol:
ef696
 
Posts: 14
Joined: Tue 1. Jan 2013, 02:06
Has thanked: 0 time
Been thanked: 0 time

Re: hi some questions

Postby motiondave » Fri 11. Jan 2013, 00:57

Hello, a 5k ohm pot is fine.
As for the software, read through the manual section http://www.hobbydev.com/software.php?lang=eng
But for starters set up , heres some video I have done.
There is a JRK plugin viewtopic.php?f=39&t=673 , no video yet done.
Or you can use the USO commands to start you http://www.youtube.com/watch?v=rb5tK4oMQy8
starting the extractor program to play games http://www.youtube.com/watch?v=x3_WsBRmgqM
Video of how to make a profile http://www.youtube.com/watch?v=PQaKTaKEvCo
To get an idea on setting a lever on a pot to the motor, heres a video I did ages ago, http://www.youtube.com/watch?v=Kr2QqH55byc , although these days I now use a single lever.
a 12v car battery is fine to start you getting set up, just put a charger on it for continuous use and move to power supplies later.
with your wiper motor, make sure you earth isolate it or you will blow the jrk
Attachments
User avatar
motiondave
 
Posts: 997
Images: 1
Joined: Tue 20. Mar 2012, 16:36
Location: Sydney Australia
Has thanked: 11 times
Been thanked: 13 times

Re: hi some questions

Postby ef696 » Fri 11. Jan 2013, 01:50

hello thanks for links!

there was an earth on the body i removed it and now ran the wires through the +/- wires straight to the motor

One thing i notice is your wiper motor spin 360

my wiper motor move back and forth and very slow connected to battery. Have you seen this before?

Is it possible to still use this motor for test?


thanks again
ef696
 
Posts: 14
Joined: Tue 1. Jan 2013, 02:06
Has thanked: 0 time
Been thanked: 0 time

Re: hi some questions

Postby ef696 » Fri 11. Jan 2013, 07:32

Ok I made test rig today, I didn't understand exact placement of pot, but tried one position and it was pushing instead of turning, mounted it closer and it is ok.

Now I tried the JRK Configuration Utility like in motiondaves video and i had to adjust pid setting to make it move. I didn't know what exactly I am doing in there :lol:

Now to figure out how to do x-sim, i followed motiondaves video up until entering USO commands then I got lost :lol: will try again

here is the setup




Image

Image
Last edited by ef696 on Fri 11. Jan 2013, 09:53, edited 1 time in total.
ef696
 
Posts: 14
Joined: Tue 1. Jan 2013, 02:06
Has thanked: 0 time
Been thanked: 0 time

Re: hi some questions

Postby ef696 » Fri 11. Jan 2013, 09:40

BobBuilt wrote:ok not looking too bad mate. Most people strip off the extra bits of wiper as a straight rotation is needed but what you have could work.

With everything set right you should be able to move the slider in the jrk configuration software and the motor should match the same position ie if slider is all the way to zero, motor should move all the way to the bottom, and if its all the way near 4096 it should be all the way up the top, depending on how your wire your motor this can be opposite, and doesnt matter if it is.

With your motor going backward and forwards by just settin one position then theres an issue.
With Pid Floriske refererenced the way i tune the pid control. And this should be done with the test tablet running to give a constant change of direction. Adjust P up until it begins to occilate back and forth instead of smoothly moving to a position, right thats as fast as P can go with that particular motor. Now throttle back P by about 1/2 and continue test with I and D = 0. Now if it seems to be undershoot and over shooting we can slowly increase d until we are happy its holding positions nice and sharply. But be aware too much causes occilation. If you can find a suitable D value adjust P up or down till you do, normally up alittle from halfway I found has worked nicely on most machines I have help out with.
PID is fiddly and time consuming but once set brings the motor driver to life and no two setups are exactly the same all motors have a slight difference which occurs in manufacture.

Please use the plugin supplied it works better than uso and isnt too hard to setup like uso.

Another note please adjust pot position so you can get close to 180 deg of pot movement the more pot movement you have the better the resolution of movement you will gain from xsim. I have not used a slotted lever like that before motionDaves done a few like that so take a closer look at his pics.

Any questions ?



is this what you mean?



Image

Image

i will try plugin
ef696
 
Posts: 14
Joined: Tue 1. Jan 2013, 02:06
Has thanked: 0 time
Been thanked: 0 time

Re: hi some questions

Postby motiondave » Fri 11. Jan 2013, 10:46

wiper PID
p 2/2
I 0/3
D 1/1
This is a BASE setting for wipers (thanks bob).
it took me a while to figure out the pot lever thingy as well.
But you are getting the hang on it. Try moving the pot a bit further away
Image
have a look at this pic, it may help you get a better idea.
User avatar
motiondave
 
Posts: 997
Images: 1
Joined: Tue 20. Mar 2012, 16:36
Location: Sydney Australia
Has thanked: 11 times
Been thanked: 13 times

Re: hi some questions

Postby prodigy » Fri 11. Jan 2013, 11:53

ef696 wrote:One thing i notice is your wiper motor spin 360.
my wiper motor move back and forth and very slow connected to battery. Have you seen this before?


Hmmm, if you connect a motor directly to a battery or power supply it should spin 360° in one direction, and when you switch +/- wires it will spin in other direction. If your motor doesn't spin 360°then maybe it is the problem with motor first. Your motor looks like a rear glass wiper motor? Normally the turn 180°back and forth, and front shield motors do 360°.

After that take a look how motiondave made levers for potentiometers and try to do something similar, because if your motor starts spinning 360°it will break your pot.

Also try the base PID settings from Dave and adjust them slowly like BobBuilt explained to you. Right now your P = 20.000 which seems to high.

There is no express setup, but slowly you will have your machine rockin' :D
User avatar
prodigy
X-Sim Supporter
 
Posts: 274
Images: 42
Joined: Tue 16. Oct 2012, 12:32
Location: Pula, Croatia
Has thanked: 20 times
Been thanked: 22 times

PreviousNext

Return to New users start here - FAQ

Who is online

Users browsing this forum: No registered users and 4 guests