|
Post by Max on Mar 13, 2018 0:39:26 GMT -7
The confusing part is about the registers. I can't figure out what you mean by that. Heat sinks on motor drivers?
First thing Sdk does is read accelerometers to establish frame of reference, otherwise commands like moveTo(x,y,z) make no sense as it doesn't know where end effector starts. And that is the part that hangs firmware when accelerometers are nowhere to find. If you look at Sdk implementation you can see how to set initial arm angles statically so that it can skip requesting accelerometers.
If the driver example moves motors infinitely until you stop the script then everything except accelerometers works as expected.
Don't forget to buy ferrite beads, you'll need them to make GY-521 work. Otherwise there is too much interference from motors.
|
|
heung
New Member
Posts: 12
|
Post by heung on Mar 13, 2018 1:52:37 GMT -7
I see, MAx. What I meant about registers(resistor 4.7k; It's my mistake of typing..) comes from the file named "interference-fix" in what I downloaded. And you're right. I found that there is infinite process of motors until I stop the script Lastly, to make sense to buy other things, Is it right to purchase one GY-521, four or five ferrite beads for a doobt? Thank you
|
|
yoo
New Member
Posts: 2
|
Post by yoo on Mar 13, 2018 21:54:32 GMT -7
Hello! I'm Korean Too
Actually, you need to buy two GY-521, one for rear arm, the other for forearm. Why don't you visit 디바이스마트?
|
|
|
Post by Max on Mar 13, 2018 21:58:37 GMT -7
One accelerometer won't help you much with hanging firmware. Either buy two accelerometers or none, in which case just make Sdk not request them. You can try with fewer number of ferrite beads. If it works consistently well then you don't need more in your configuration. I used one on each end of each motor wires and one on each end of the I2C wire = 8 overall see this pictureTo check if your accelerometers are working just don't power motors to eliminate possible interference. Once they work without motors, power motors up and play with ferrite beads until you get system stable.
|
|
heung
New Member
Posts: 12
|
Post by heung on Mar 15, 2018 1:58:45 GMT -7
|
|
yoo
New Member
Posts: 2
|
Post by yoo on Mar 15, 2018 23:20:07 GMT -7
To heung Actually I have original Dobot ver 1.2 in my lab. And I am doing with ramps, gy-521 and hardware, motor driver from original dobot.
I think you are in trouble with connecting two gy-521s. And I2C is a one of communication method between board and sensor. It's not an easy task to explain something more in this post in English haaha
Plz email me. yoossun21@gmail.com
Let's talk in Korean
|
|
heung
New Member
Posts: 12
|
Post by heung on Mar 15, 2018 23:59:48 GMT -7
To yoo Many thanks, yoo. I am glad to have connect with you via email I emailed you right away to find a solution to what problem I faced.. Take care !
|
|