-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Servo Support #13
Comments
At this moment, no timers are used, just delays. Something like this can be added of course, but probably not copy-paste. On Wed, Oct 22, 2014 at 1:32 PM, Twitch notifications@github.com wrote:
|
This is for the tool mount defs. Marlin makes use of the servo library that ships with arduino. There is no need to copy-paste code as it is so simple. |
Servo library uses timer1, so be mindful not to use that one if you plan on using timers. |
Ok. Just create a new issue for this so it's on the list. I'm still busy with the emergency stop first. Probably I'll have to order a On Wed, Oct 22, 2014 at 2:30 PM, Twitch notifications@github.com wrote:
|
This is an issue. My RAMPS board is in the mail. If it gets here before you have got around to it, ill PR. |
What servo motors are you planning to use? I was looking into it and only found 6 volt or 7.4. But on the ramps board On Wed, Oct 22, 2014 at 2:45 PM, Twitch notifications@github.com wrote:
|
IIRC there are servo headers on the ramps board, and with a jumper they can 5V is just enough to power most servos. On Sun, Oct 26, 2014 at 9:24 AM, Tim Evers notifications@github.com wrote:
|
Indeed, there is a separate 5 volt circuit. An additional power supply is needed or a voltage converter chip. Op 26-okt.-2014 om 02:32 heeft Twitch notifications@github.com het volgende geschreven:
|
It doesnt have a 7805 on the board? On Sun, Oct 26, 2014 at 6:03 PM, Tim Evers notifications@github.com wrote:
|
Ah, it seems it does have one. That should work for testing. I'll borrow a servo from a RC enthusiast. Op 26-okt.-2014 om 08:04 heeft Twitch notifications@github.com het volgende geschreven:
|
Two bucks on ebay for a 9g one. But yeah, either works. Servo intensive applications should use their own power regulator though On Sun, Oct 26, 2014 at 7:21 PM, Tim Evers notifications@github.com wrote:
|
Well, it's moving. I had to add an extra power supply for this one. It On Sun Oct 26 2014 at 9:23:30 AM Twitch notifications@github.com wrote:
|
Awesome, I got my new Pi B+ setup yesterday and was able to turn on my Can you make the video public? On Thu, Nov 6, 2014 at 12:57 PM, Tim Evers notifications@github.com wrote:
Rory Landon Aronson http://www.roryaronson.com |
Video access changed. That endstop is strange. I tested it here again and it works correctly. On Thu, Nov 6, 2014 at 10:31 PM, Rory Aronson notifications@github.com
|
Nice, looks good! What do you think is a good first use case for it? On Thu, Nov 6, 2014 at 2:05 PM, Tim Evers notifications@github.com wrote:
Rory Landon Aronson http://www.roryaronson.com |
Don't know. You can use it to aim a sensor to left/right/forward/backward and aiming a sprayer nozzle. Also for speed controlled servo motor with a valve for distributing solid fertilizer (pellets dropping on spinning disc). The simplest is just raking leaves (just a spinning brush) with controlled speed. Op 6-nov.-2014 om 23:21 heeft Rory Aronson notifications@github.com het volgende geschreven:
|
Everything. Grabbers, sensor orientations, cutters, 4dof, etc.
|
Hi,
Did some research after our discussion in the comments last night.
Turns out that analogWrite cannot be used for servos, as the pulse widths and duty cycles are incompatible.
http://forum.arduino.cc/index.php/topic,5701.0.html
So I had a look around at how the merlin 3d printer firmware does it. They simply use the arduino servo library:
https://github.com/ErikZalm/Marlin/blob/Marlin_v1/Marlin/Marlin_main.cpp#L495
The Gcode they use is:
Do you reckon we can add this?
PS: What timers on the arduino are already used?
The text was updated successfully, but these errors were encountered: