|
Post by mikef522 on May 29, 2016 1:21:02 GMT -7
Just remembered as I was laying in bed that I didn't have the microstepping jumpers on. That would certainly cause some problems too, haha.
|
|
|
Post by mikef522 on May 29, 2016 1:33:17 GMT -7
I couldn't wait to run it with the microstepping jumpers. Worked! Was moving in a cool complex repeating pattern in 3D. Stepper motors were making some cool music! So cool!
|
|
|
Post by Max on May 29, 2016 9:58:40 GMT -7
Right, I completely forgot that my RAMPS board is weird and microstepping pins are shorted in PCB, so microstepping is enabled by default and to disable it I'd have to cut traces on PCB.
Will add microstepping jumpers to the RAMPS instructions. Thanks.
|
|
|
Post by Max on May 29, 2016 14:41:28 GMT -7
|
|
|
Post by schmurfy on May 31, 2016 2:37:56 GMT -7
I have read most of the discussions on the RAMPS but there something I am not sure: what does the RAMPS replaces exactly ? does it replace both the arduino and the fpga ? only the fpga ?
|
|
|
Post by Max on May 31, 2016 9:11:36 GMT -7
Only fpga. You still need Arduino. RAMPS is just another Arduino shield, but allows you to easily connect stuff to Arduino and has beds for five stepper drivers as opposed to fpga where you don't have direct control of stepper drivers and which is not extendable (well, you can connect only that much).
|
|
|
Post by mikef522 on May 31, 2016 21:27:42 GMT -7
Also, the ramps board is a basically just a "fancy" circuit that connects to arduino pins. There's no programmable components or integrated circuits. Its main use is as a stepper motor driver (with pins available for I2C, a few servos, etc...). You can get rid of the ramps board and make your own stepper driver circuit to open up the arduino pins even more if you really want to. Just be sure to change the code to use whatever pins you use or connect your custom circuit to the appropriate pins specified in the code. Basically, the ramps software makes the electronics a lot more flexible. I love it.
|
|
nad
New Member
Posts: 13
|
Post by nad on Jun 6, 2016 0:49:15 GMT -7
Thanks Max and mikef. I can't try your new work becausemy computer is broken. I'm gonna try at the first opportunity. And i need angel sensors,Did I get right ?
|
|
|
Post by Max on Jun 6, 2016 7:22:42 GMT -7
If by "angel sensors" you mean "angle sensors", then yes, kinda You do need GY-521 accelerometer modules if you don't want to bother with setting robot's starting pose every time by hand or know starting pose without accelerometers. If you do know starting pose without them or your robot has some other sensors and you're able to run a calibration procedure (e.g. using limit switches or photointerrupters on all joints) then it is possible to set the pose in software. FYI, photointerrupters is a preferred method as they would give better accuracy than accelerometers.
|
|
nad
New Member
Posts: 13
|
Post by nad on Jun 6, 2016 13:40:24 GMT -7
Yea "angle" sensor and is it working for raspberry? Does it matter which version will be raspberry?
|
|
|
Post by Max on Jun 6, 2016 13:57:33 GMT -7
I tested it on RPi 2 on Raspbian. CquoTahi tested it on RPi Model B, probably also Raspbian github.com/maxosprojects/open-dobot/issues/21Mike has RPi 3 and will probably test it there at some point, but I'm sure it works there too. My guess would be it would work on any version of Pi as long as pyserial works. The rest is just Python. So it should work on any platform where Python and pyserial are installed... and that has a USB port, of course. But if a platform doesn't have a USB port but has a regular serial interface, then that serial interface can be hooked up directly to Arduino, to RX0/TX0 pins (I'm talking about TTL serial, but there are converters from RS232 to TTL too), so pretty much a lot of platform options. At some point (when I get time or someone else contributes to the project) I'm planning to have WebSockets interface to SDK, which will enable remote control even from a browser. An app in a browser covers all platforms (and browsers, except for Opera Mini) caniuse.com/#feat=websockets
|
|
nad
New Member
Posts: 13
|
Post by nad on Jun 6, 2016 14:14:40 GMT -7
Oh, it can work with arduino too. Did i get right? It would be great I'm impatient to try on. "At some point (when I get time or someone else contributes to the project) I'm planning to have a WebSockets interface to SDK, which will enable remote control even from a browser. An app in a browser covers all platforms (and browsers, except for Opera Mini) caniuse.com/#feat=websockets"
|
|
|
Post by Max on Jun 6, 2016 14:50:57 GMT -7
Well, Arduino is the controller. RAMPS is just an Arduino shield to host stepper drivers. And Arduino is controlled from a computer (e.g. RPi) via USB.
|
|
|
Post by louise46 on Jul 7, 2016 2:59:08 GMT -7
If I'm using a 12 - 5V regulator for the servos, do I just connect the 12V input to one of the RAMPS D8-D10 and use the 5V output of the regulator with the signal wire pin on the RAMPS servos pins?
|
|
|
Post by wyzarddoc on Jul 13, 2016 12:33:16 GMT -7
|
|