Show Posts
Pages: [1]
1  Using Arduino / Motors, Mechanics, and Power / Re: Suggestions for driving Applied Motion Products 44A515128-001 on: January 25, 2013, 01:46:12 am
I have figured out a way to find the leads, you need to have a bi-polar driver available. Detail instructions here: (Or visit my website for more info http://www.dreamationworks.com/?p=770)

Set up your driver with a reasonable current (say 50% of rated value on motor) (Or if you don’t have that setting, use a low voltage) Set the driver to spinning (You may need a controller to give the driver a pluse, in my case I use my Arduino, you can use a signal generator too)

An 8 wire stepper commonly has 4 separate coils. You can identify them using a simple ohm meter, this you can sort out four pairs of cables.
If you do not have a ohm meter, use one of your driver’s output (If your driver has A1 A2 B1 B2, use A1 A2). Randomly plug two out of the eight leads into your driver until the motor shaft vibrates, that two lead belongs together.
Now suppose you have found your 4 coils, you need to figure out which two belongs to the same pole, and the polarity of the leads. assuming that the coils are named P Q R S. Where P Q is on one phase, R S on opposite phase.

First pick one coil and name the leads P1 P2, this will be connected to you driver’s A1 A2.
Pick another coil and plug it to the driver’s B1 B2, if motor vibrates but not rotate, that coil is on the same phase as coil P, ignore that coil now, try another coil. If the motor rotates, it is the coil on the other phase. If that configuration spin in clockwise, name the leads in B1 as R1, B2 as R2, if it spins in counter clockwise, reverse two leads in B1 B2 and that should make the motor spin clockwise, name them.
Repeat that on the other opposite coil, name the leads S1 S2, make sure the motor spins the same way.
Next, keep S1 in B1 and S2 in B2 and plug in the remaining unknown coil to driver A1 A2. If motor spins clockwise, name the lead in A1 as Q1, A2 as Q2, otherwise, swap the two unknown wire, that should make the motor spin clockwise, name them.
Now you have all 8 leads named, wire them as you wish in a 8 wire, 4 wire (parallel), 4 wire (series) or 6 wire configurations.
2  Using Arduino / Programming Questions / <Help> Using internal timer as counter by feeding external clock on: May 29, 2011, 02:55:42 pm
Hi all,

As the topic: I'm bridging a ICL7135 AD Converter to Arduino. It is a 4 1/2 bi-polar Voltmeter, some people may be familiar with this IC if they have built a digital voltmeter.
I need the internal 16 bit counter to count a stream of pulse when a certain input is HIGH for a period.

The input frequency is about 100KHz - 300KHz (Which I can choose)

I'm new to Arduino system and microcontrollers especially when dealing with registers. I've read some writings about modifying the registers to control the timer 1 (or 3 etc.) in ATMEGA 1280
I'm using a Arduino Mega with ATMEGA1280.

I think I can change and read the value TCNT1 by saying:
TCNT1 = 0
i = TCNT1

However, I could not figure out how to set the control registers: TCCR1A and TCCR1B
and, Which input pin will I have to use to supply the clock?
and, How to start and stop and reset the counter?

I read some of the Frequency Counter Library, which is similar.
http://interface.khm.de/index.php/lab/experiments/arduino-frequency-counter-library/
But I could not understand all of it.

Thanks in advance.

Victor
Pages: [1]