Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: True "continuous rotation servo" on: July 21, 2014, 04:17:44 pm
Okay, I found what I need.  (Thanks, Robin -- you were really close!) Pololu sells gearmotors with built-in encoders, the Arduino should be able to take care of the PID and such.
2  Using Arduino / Project Guidance / True "continuous rotation servo" on: July 21, 2014, 02:34:06 pm
Standard servo motors have limited range, but can be sent to any position and correct themselves.  Continuous rotation "servos" interpret input as speed rather than location, but can turn repeatedly.  Are there any servos out there that can turn repeatedly but can be controlled by location? 

One example I know of is the LEGO NXT motors.  They use optical encoders to be able to rotate fixed amounts without distance limits.  Are there any other servos out there that can do this?
3  Using Arduino / Project Guidance / Re: Driving stepper drivers on: July 17, 2014, 09:11:15 pm
The project is a little difficult to explain, but basically I'm moving a pump with a belt off a stepper.
4  Using Arduino / Project Guidance / Re: Driving stepper drivers on: July 10, 2014, 06:15:23 pm
Okay, I think I have it solved -- I precalculate how long to wait each 'step.'  The problem was that I was calculating a sine every time.
5  Products / Arduino Due / Re: Unable to use programming port, only native ist working on: July 09, 2014, 07:50:18 pm
Sounds like damage to the ATMEGA16U2 chip which is connected to the programming port.
6  Products / Arduino Due / Re: got short circuit between 5V and GND of my DUE, tipps for repair? on: July 09, 2014, 07:47:51 pm
I shorted my Mega and blew the regulator.  Take a close look at it and see if you see any signs of damage.
7  Using Arduino / Project Guidance / Driving stepper drivers on: July 09, 2014, 07:25:27 pm
My current project involves driving a stepper motor with a DRV8825-based Pololu stepper driver.  using the driver is simple, just pulse the relevant pin each step.  The trouble is that I have to move the driver pretty fast, while doing a couple other things, and I just can't get it to turn fast enough.  That is, I can if my entire program is just pulsing the pin, but any sort of math slows it down too much.

I'm using an Arduino Due.  I have a 3D printer with a Mega that runs four of these drivers far faster than I can get mine to go, so I know it's possible.  How is this done?
8  Using Arduino / Microcontrollers / Re: Arduino firmware on AT90USB82 on: April 17, 2013, 05:23:28 pm
Coding Badly:  The dev board actually has all of the pins in use, I would have to modify it a bit -- It should have all of the pins broken out.

Hiduino:  That would be assembly code, correct?  I could do that, but writing the code I have in mind in assembler would proabaly be harder than just building a Leonardo-compatible.
9  Using Arduino / Microcontrollers / Arduino firmware on AT90USB82 on: April 17, 2013, 04:04:30 pm
Sorry if this is the wrong place...  Anyways, I have a development board with an AT90USB82 chip.  IS there any way to flash the Arduino bootloader and firmware onto it?
10  Using Arduino / Interfacing w/ Software on the Computer / Re: Processing input emulation on: October 05, 2012, 09:06:12 pm
I have the hardware side totally working at this point, the only problem is mouse emulation.
I am pulling both pins up, then hooking the two leads from the DC motor to them. When I spin the motor, which I am using as a makeshift encoder (kludgy, yeah, but I don't have an optical encoder, and it fits perfectly), one pin gets pulled down, and the serial output is (pin1 - pin2), so it outputs the difference between them. Pulling them up is to keep them from floating and randomly scrolling tiny amounts.
A "linear webpage scroller" is like http://www.instructables.com/id/Spinner-Jog-Wheel-Inside-of-a-VCR-Head/, but linear instead of circular. You know, for ebooks and long webpages.
11  Using Arduino / Interfacing w/ Software on the Computer / Re: Processing input emulation on: October 05, 2012, 08:25:46 pm
I was planning on using the built-in pin-by-pin control. However, I decided to simplify this and just transmit the motion over serial.
void setup()
The Arduino code:
Code:
void setup()
{
  Serial.begin(9600);
  pinMode(A0, INPUT);
  pinMode(A1, INPUT);
  digitalWrite(A0, HIGH);
  digitalWrite(A1, HIGH);
}

void loop()
{
  int voltin0 = analogRead(A0);
  int voltin1 = analogRead(A1);
  Serial.println(voltin0 - voltin1);
  delay(5);
}
I haven't written the Processing code yet.
12  Using Arduino / Interfacing w/ Software on the Computer / Processing input emulation on: October 05, 2012, 12:09:18 am
As one of my first Arduino projects, I plan to turn the carriage (Is that what it is called? the slidey thing) from an old CD drive I got hold of into a linear webpage scroller. The motor that used to control it seems to be a simple DC motor, and is geared to the carriage. I plan to use Firmata and Processing to get the voltage from the two leads from the motor, and use Processing to emulate a hardware scroll wheel. ANy advice?
Pages: [1]