Show Posts
Pages: 1 ... 63 64 [65] 66 67 ... 165
961  Using Arduino / Programming Questions / Re: Updating data displayed only if it changes? on: June 30, 2013, 07:28:39 pm
Isn't it a matter of
Code:
if (new_data != old_data)
{
  // print new_data
  // old_data = new_data
}
? ? ?
962  Using Arduino / Project Guidance / Re: Feasibility of a temperature controlled power outlet? on: June 30, 2013, 06:57:28 pm
... that seems to be a relay that sits between the wall outlet and the A/C's plug that can be switched based on input to control the flow. Not sure where I'd find one for this type of outlet (it looks like this.)
Yes, you're right.
Suitable plugs and jacks, and cable, can be bought at many hardware stores.
Depending on the current, a contactor may be in order
https://www.appliancezone.com/ShowProduct.aspx?ID=64162&gclid=CIaF2fH8jLgCFUThQgodlQEA-w
Repeated high-current surges through relay contacts could result in a "weld".

Also as of yet I am without a voltmeter and am unsure of the voltage this plug has. I do plan on getting the proper equipment before attempting this if it is possible as my paychecks come in.
It's 220.
Either do get the right equipment or don't proceed.
963  Using Arduino / Project Guidance / Re: Feasibility of a temperature controlled power outlet? on: June 30, 2013, 03:51:46 pm
Is it 220 or 120?
Either way,
See attached drawing
964  Using Arduino / Project Guidance / Re: Creating my own TV remote control on: June 30, 2013, 01:38:11 pm
http://www.yourwarrantyisvoid.com/2012/07/10/hardware-remote-control-your-arduino/

> > >
http://learn.adafruit.com/ir-sensor
http://www.righto.com/2009/08/multi-protocol-infrared-remote-library.html
965  Using Arduino / Programming Questions / Re: Is it possible??? on: June 30, 2013, 01:33:01 pm
"knowledge of" and "familiarity with" are barely qualified expressions not equal to "expertise in".
True, but they are points along the curve from "never heard of it" to "I wrote it!" True, they are closer to the "never heard of it" end of the scale.

"Knowledge" of a subject may connote ambiguity, but "familiarity" means that you know the material intimately.  Nowadays, somehow, "familiarity" gets translated as having, at least, superficial exposure to the subject.


966  Using Arduino / Programming Questions / Re: changing blink without delay from switches on: June 30, 2013, 01:15:22 pm
For that, just use one switch:
Code:
  if (sw1State == HIGH)
  {
    intervalx = 5000;
    intervalO = 1000;
  }
  else
  {
    intervalx = 1000;
    intervalO = 500;
  }
967  Using Arduino / Programming Questions / Re: Is it possible??? on: June 29, 2013, 01:16:38 pm
As a person who has never programmed in their life, if they use nothing else except Arduino's IDE and an Arduino Board, can they claim
to be a C++ programmer?

Would a guy who's only done Arduino, and he's really good at it, be honest to thereby claim "knowledge of C++" or "familiarity with C++" on his resume/C.V. ?
968  Using Arduino / General Electronics / Re: powering ckt through ac mains. on: June 29, 2013, 01:05:00 pm

what details should i have mentioned pancake ?
Component choices, a schematic.
You provided a rough diagram of which I did roughly "approve".

where would you suggest fuses ?
I would have one fuse for the transformer (primary) and another for the SSR (input), to have a better idea of "What just happened?" should anything go sideways as you proceed.

I'm not sure what to say about a block labelled "Dimmer".
I don't know how, or how well, a "dimmer", a "ballast", a "CFL light", and PWM will get along.

The power supply is one matter and the CFL-etc. circuit is another and I anticipate this subject going in many directions as a result.
969  Using Arduino / Installation & Troubleshooting / Re: Broke my arduino duo r3 within hours of ownership :( Anything I can salvage? on: June 29, 2013, 11:58:52 am
Troubleshoot it.
Are the 5V and 3V3 still good?
It seems like the FTDI/comms IC is still OK.
You can't/shouldn't pull/place the microcontroller with the Arduino powered.
If you put it in backward that'd biff it.
It's probably OK, but you need a bootloaded 328 or an ICSP programmer to bootload it with.
970  International / Español / Re: ayuda con leds parpadeantes on: June 29, 2013, 11:47:13 am
I want to Reply, but since you didn't use "code tags", Google translate won't kick in.
971  Using Arduino / General Electronics / Re: powering ckt through ac mains. on: June 29, 2013, 11:45:08 am
Your proposal is sound in general if short on detail.

Don't forget about fuses.
Test as you go, get everything as you go along.
972  Using Arduino / General Electronics / Re: why does a red led take less amps to work? on: June 29, 2013, 11:41:08 am
but if i was creating a project and was afraid to kill my battery i would choose...

Please explain (re-phrase).
973  Using Arduino / General Electronics / Re: Controlling a 5v relay, only getting 2.4v? on: June 28, 2013, 09:00:42 pm
Yep. And it had nothing to do with the problem whatsoever. Turns out I forgot to set pinMode(dirPin, OUTPUT).   smiley-razz

Oops.

All is well now. I guess the lesson is, don't give a pin a name that sounds like derpin'  smiley-wink

Carumba.
974  Using Arduino / General Electronics / Re: Controlling a 5v relay, only getting 2.4v? on: June 28, 2013, 08:29:32 pm
4.3/0.7 = OK

The resistor, 560Ω, is green-blue-brown, verified with ohmmeter?
975  Using Arduino / General Electronics / Re: Controlling a 5v relay, only getting 2.4v? on: June 28, 2013, 08:23:13 pm
Have you measured the coil resistance (out of circuit) with an ohmmeter?
Pages: 1 ... 63 64 [65] 66 67 ... 165