Show Posts
Pages: 1 ... 383 384 [385] 386 387 ... 812
5761  Using Arduino / General Electronics / Re: Excessive current draw by strike lock on: May 01, 2013, 12:56:04 pm
I wonder if there isn't a back emf diode in each striker solenoid and that they are reversed. An inductor can be expected to draw a heavy current for several hundred uS but not continually as Op's explanation would seem to indicate. OTOH a reversed diode would do just exactly that and with any appreciable length of wire attached could well draw the currents mentioned by the OP.

Doc

Inductors resist change in current, so you would not expect current spikes at all.  Voltage spikes yes, but not current.

Actually the striker solenoids are possibly rated for AC, not DC?   In that case the DC current flow could be higher
than expected.

The original description says that data lines are sharing a cable with the heavy current wires - this could
explain the resets perhaps.  Never wise to put delicate signal wires alongside high power wiring.
5762  Using Arduino / General Electronics / Re: Controlling a High Voltage/Amp Load with a Transistor on: May 01, 2013, 12:51:14 pm
It would help to know which DC motor, power source, and transistor.
5763  Using Arduino / Displays / Re: Adafruit ST7565 Display TG12864H3-05A + ST7565 library = problems on: April 29, 2013, 02:42:07 pm
I'm sure you could report this on their forum and link to this thread for the details - they are generally
pro-active in sorting out issues...
5764  Using Arduino / General Electronics / Re: sharing 2 relays = double the current? on: April 29, 2013, 02:36:29 pm
good question!

um... yeah, not such a good idea, unless the load could be controlled until both were switched on fully....

Its a very good question - probably depends on whether AC or DC, high voltage or high current.  The
contacts have to cope with switching events, which as pointed out won't share equally between the relays
due to mechanical differences in the timing, but also contacts have to handle the on-current without
getting too hot, and sharing here is going to work well.

I suspect you need to be conservative and say 2 relays = 1.5 times the current (if lucky).  Finding a bigger
relay is probably best.
5765  Using Arduino / General Electronics / Re: Logic level P-Channel FET recommendation on: April 29, 2013, 02:29:59 pm
Search at farnell's site only popped up one TO220 p-channel logic level:
http://uk.farnell.com/fairchild-semiconductor/ndp6020p/mosfet-p-to-220/dp/1017724
5766  Using Arduino / General Electronics / Re: Reading rotary encoder on: April 29, 2013, 11:19:07 am
Then in your loop() function you can implement de-bouncing on the value of phase using your moving
average if you wish.

Rotary encoders use grey-code to make debouncing unnecessary. It's what those codes are for. Only one switch can be in transition at any time.

If both went high then both went low again, that's a click. All you need to know is which one went high first - that gives you the direction.



Debouncing is sometimes desired, since the cheap rotary switches often transition very close to the centre of
a detent, causing the value to oscillate as the spring settles into a detent - the user interface behaves most
intuitively if such rapid variations are hidden from the business-logic of a sketch.  Rotary switches usually have
4 transitions per detent, so the chance of such false pulses is high as the distance from an arbitrary stopping
point and the nearest detent is 0 to 2 transistions, average of 1...

[ and its Gray code, not grey code. http://en.wikipedia.org/wiki/Frank_Gray_%28researcher%29 ]
5767  Using Arduino / Motors, Mechanics, and Power / Re: Servo Problem... on: April 29, 2013, 11:12:16 am
Not to be rude but when responding to an OP, it's best that you actually read what they wrote, "listen", and not make assumptions.


Yes, I read that you tried a 9V battery, and saw that you had connected a servo supply to the 5V pin in the first photo - both of
these are common issues that crop up all the time here - which suggested a lack of research, causing me to re-iterate
the posting guidelines on these forums.

I didn't say anything about the LM317 case since you didn't show that part of the circuit, nor did I say anything about
common grounds.
5768  Using Arduino / Motors, Mechanics, and Power / Re: Need advice to control intensity in electromagnet for ferrofluid sculpture on: April 29, 2013, 10:53:49 am
Yes, the IRF520 is not logic-level, not suitable for driving from 5V.  You're alternative is logic-level (and much lower on
resistance - the 520 is a truly ancient device I believe).
5769  Using Arduino / General Electronics / Re: arduino and MOSFET IRL540 on: April 29, 2013, 10:50:14 am
You should include a 150 -- 1k ohm resistor inbetween the Arduino pin and the MOSFET gate to limit the
maximum current taken from the Arduino pin during switching - otherwise the momentary gate currents
will exceed the 40mA maximum for the Arduino.  If you connect directly you may cause issues even if
it appears to work happily now.

If you want the valve to definitely be off when the Arduino is starting up, add a 10k resistor directly between
MOSFET gate and source - this will discharge the gate whenever the Arduino is not driving the gate pin.  MOSFET
gates behave like capacitors and can retain charge / state for long periods otherwise.
5770  Using Arduino / Sensors / Re: BMP085 the apocalypse has come on: April 29, 2013, 07:51:57 am
You are using the 5V version of the breakout board??
5771  Using Arduino / Sensors / Re: Can't get a MMA7660FC work ? (Accelerometer) on: April 29, 2013, 07:48:00 am
This thread sounds useful about I2C on Due: http://arduino.cc/forum/index.php/topic,132981.0.html
5772  Using Arduino / Sensors / Re: Conversion units from mg/L to ppm on: April 29, 2013, 07:43:48 am
mg/l is not a dimensionless ratio.  However if we are talking water as the solvent then it is basically the same
as mg/kg which is ppm.  If we are talking air as the solvent, then air is 1.2g/l, so the conversion factor is
833ppm (by mass) and 525ppm (by molarity).

The google value matches the parts-per-million by molarity in air closely enough.

[ btw:  molar mass of ethanol = 46g, of air ~= 29g ]
5773  Using Arduino / Programming Questions / Re: Can the Arduino Uno rev 3 handle 2 sensors? on: April 29, 2013, 07:38:45 am
The first two appear to use a serial wire pair, and they suggest using SoftwareSerial library which can use any two
pins - so each sensor kit can run on your choice of pins.

The last combo board seems to use USB connectors for analog inputs and for I2C bus, for obscure reasons, but
basically packages several options in one shield - it will have fixed pin assignments since its a shield, but might well
do all you need (although it might use more pins than you have spare, always check out the pin usage before
purchase).
5774  Using Arduino / Motors, Mechanics, and Power / Re: Stepper Motor Basics on: April 29, 2013, 07:31:54 am
You need AccelStepper to get to the full speed (steppers are both velocity and acceleration limited).

Vibration can also be a symptom of one phase being unconnected.
5775  Using Arduino / Motors, Mechanics, and Power / Re: Servo Problem... on: April 29, 2013, 07:28:49 am
This is a very common problem - its best to search first, ask questions later.

Small 9V batteries have no chance of powering a servo, which can take an amp or so peak.  PP3-sized
9V batteries barely handle 100mA.

You probably will have problems running the servo and Arduino from the same 5V rail - worst case
you could damage the Arduino, but random resets are highly likely.
Pages: 1 ... 383 384 [385] 386 387 ... 812