Show Posts
Pages: 1 ... 104 105 [106] 107 108 ... 267
1576  Using Arduino / Project Guidance / Re: Just learned about Arduino Figure I will try. on: December 15, 2013, 10:02:20 pm
Hi and Welcome...

I'm not a brewer so I never take much notice, but I do recall seeing  recent threads about brewery controllers. Try a search of the forum, and I'm pretty sure you'll find something.

Cheers,

Jim
1577  Using Arduino / Project Guidance / Re: Motor not responding on: December 15, 2013, 03:46:14 pm
See my edit in my last post, with a link
1578  Using Arduino / Project Guidance / Re: Motor not responding on: December 15, 2013, 03:42:34 pm
Supply 5v from another source to the motor, say where the diode is on the breadboard and lose the red wire from the diode over to the right. Connect the ground from that new power source to the grounds of the existing setup.

EDIT: Then the motor part of your setup will look like this.
1579  Using Arduino / Project Guidance / Re: Motor not responding on: December 15, 2013, 03:31:07 pm
Shit, I should have noticed that the motor was powered off of the Arduino 5v.... I guess that's the problem, well spotted.
1580  Using Arduino / Programming Questions / Re: Help with random blink, etc on: December 15, 2013, 03:18:21 pm
I had never seen this syntax before:

Code:
digitalWrite ((LEDLFML, HIGH),(LEDLVM, HIGH),(LEDRFML, HIGH),(LEDRVM, HIGH),(LEDRRM, HIGH),(LEDRLRM, HIGH),(LEDLRL, HIGH),(LEDRRL, HIGH));

I tried it and, indeed, it compiles with 2 entries but no more.
1581  Using Arduino / Project Guidance / Re: Motor not responding on: December 15, 2013, 03:15:26 pm
How about taking out the motor and replacing it with an LED/resistor to see if the transistor is switching the circuit on?
1582  Using Arduino / Programming Questions / Re: Help with random blink, etc on: December 15, 2013, 03:10:38 pm
Code:
if (digitalRead (BtnRL01) == HIGH)
{
    digitalWrite (LEDLFML, HIGH);
    digitalWrite (LEDLVM, HIGH);
     digitalWrite (LEDRFML, HIGH);
     //etc etc
}
  else
{
        digitalWrite (LEDLFML, LOW);
    digitalWrite (LEDLVM, LOW);
     digitalWrite (LEDRFML, LOW);
     //etc etc
}
1583  Using Arduino / Project Guidance / Re: 4 pin to 2 pin pushbutton on: December 15, 2013, 01:41:06 pm
As long as you're clear what inputs to the switch need to be switched, ie on "opposite" sides so to speak, and which are always connected, on the "same" side, then you just attach more than one wire to each pin.

Those 4 pin buttons are really just 2 pins, in effect, since they connect in pairs. Sometimes it's not obvious which ones are joined and which are switched, but it's easy enough to figure out with an ohmeter.
1584  Using Arduino / General Electronics / Re: Ohms Law Confusion in Arduino on: December 15, 2013, 09:25:14 am
Well the wires aren't perfect conductors, so there's a little resistance in the rest of the circuit apart from the resistor. That'll be where your 0.05V go, I guess.
1585  Using Arduino / Project Guidance / Re: Temperature controlled fan speed using LM35 on: December 15, 2013, 09:10:58 am
Well the LM35's easy: it has a signal wire which you use on an analog pin. The LM35's other 2 wires are just power.

Then for the fan, you'll need a transistor to switch it, and a resistor on the base. The motor itself will need a diode in parallel. This tutorial shows a typical setup to drive a motor. The characteristics of the transistor will depend on the fan.

Use a PWM pin to drive the transistor base, then you can vary the speed of the fan. You could even try without PID- some simple rules might work, eg if deltaT (the diff between set point and actual) is more than 20, go fast, if it's between 10-20 go medium and if it's less than 10, go slow. Bit of trial and error but will be easy to code and reduces complexity for your early project.
1586  Using Arduino / Project Guidance / Re: regarding relay with transistor on: December 15, 2013, 08:22:05 am
I was going to suggest that too, since the prevailing wisdom seems to be to go active low.
1587  Using Arduino / Project Guidance / Re: regarding relay with transistor on: December 15, 2013, 08:11:39 am
Yep.

Only time you would wire up to the NC side of the relay is if you had something that should be running normally. Another solenoid maybe, needing to be in under normal circumstances, then when you push the button and the relay switches, the first solenoid goes out and your original one comes in.
1588  Using Arduino / Project Guidance / Re: regarding relay with transistor on: December 15, 2013, 07:54:36 am
I think that black wire from the top-most NC pin of the relay to ground is dangerous! With the relay switched as it's shown, trace the wires thru the battery: you'll see that in that pos, the battery + is shorted to ground thru no load and boom!

That wire must come out. Rest looks ok to me, with the usual E&OE, YMMV, Ts & Cs apply, disclaimer.

(And assuming the codes good....)
1589  Using Arduino / General Electronics / Re: electrical diagram explanation on: December 15, 2013, 04:23:54 am
I think your decimal places are screwed: I of an led is 20mA, which is 0.02A not the 0.2 you seem to have used.
1590  Using Arduino / General Electronics / Re: Confused about how push buttons work on: December 15, 2013, 12:53:05 am
And with a pullup, think of the physical position of the button as the logic level: button up is "high" through the pullup and button down is "low" to ground.
Pages: 1 ... 104 105 [106] 107 108 ... 267