Show Posts
Pages: 1 ... 15 16 [17] 18 19 ... 188
241  Using Arduino / Project Guidance / Re: Word lookup table on: August 11, 2014, 10:38:45 pm
May show us some code that you are currently using for this.
242  Using Arduino / Microcontrollers / Re: Voltage Regulators Being Used on: August 11, 2014, 10:36:22 pm
I don't have one but the schematic does show a 3.3 reg.
243  Using Arduino / General Electronics / Re: Help in Understanding Relay on: August 11, 2014, 10:31:24 pm
Show us a link to the relay data sheet.
My first thought would be this has a 12 volt coil with contacts rated at 5 amps each.
You could put the contacts in parallel.
But we need to see the data sheet to see what voltage the manufacturer gives to the contacts rated at 5 amps,
This could be 12 volts at 5 amps or 120VAC at 5amps etc.
244  Using Arduino / General Electronics / Re: Confussing Loading Computation on: August 11, 2014, 10:25:10 pm
To get the exact wattage you need to measure the exact current and voltage involved.
245  Using Arduino / Programming Questions / Re: Void loop() makes confuse me.. on: August 11, 2014, 09:26:40 pm
Quote
compiler doesnot goto second function
How do you know?
246  Using Arduino / Project Guidance / Re: Word lookup table on: August 11, 2014, 09:24:59 pm
Sure
Or
get a Atmega1284 with lots of memory. (Bobuino2)
247  Using Arduino / Programming Questions / Re: switch statment changes for no reason? on: August 11, 2014, 06:11:48 pm
Quote
t also seems to reset every now and then...
What resets?
248  Using Arduino / Programming Questions / Re: can or should this sketch be converted into an array on: August 11, 2014, 05:28:10 pm
If it works and you don't need the memory space leave it as is.
Should you, it's up to you.

Sometimes it's faster if you omit a loop and do as you have.
For practice, I would use arrays for learning purposes if nothing else.
For readability arrays and a loop can make sense.

This is a good read, may not answer your question though (see page 13)
http://www.atmel.ca/Images/doc8453.pdf
249  Using Arduino / Programming Questions / Re: The difference between while and if statements. on: August 11, 2014, 02:17:58 pm
They do the same thing in this case.
Quote
The while statement would run until it was not true.
With this line, it makes it not true immediately.
lastTime += DELAY;
250  Using Arduino / Programming Questions / Re: The difference between while and if statements. on: August 11, 2014, 02:06:57 pm
Quote
What is bad about goto and labels.
Have you heard of spaghetti code?
251  Using Arduino / Programming Questions / Re: The difference between while and if statements. on: August 11, 2014, 01:58:47 pm
Quote
those if and while statements would not be the same there.
They do the same thing in this case.
252  Using Arduino / General Electronics / Re: what's this phenomenon called? on: August 11, 2014, 01:55:11 pm
Quote
Can you cure those with lithium batteries?
I needed that!
253  Using Arduino / Programming Questions / Re: The difference between while and if statements. on: August 11, 2014, 01:37:33 pm
2 bytes different here.
These are sort of equivalent:
Code:
 while(millis() - lastTime >= DELAY)
  {
    lastTime += DELAY;
    digitalWrite(led,!digitalRead(led));
  }
//==========================================
    if (millis() - lastTime >= DELAY)
  {
    lastTime += DELAY;
    digitalWrite(led,!digitalRead(led));
  }  
254  Using Arduino / Project Guidance / Re: Hand Tools Guidance on: August 11, 2014, 10:58:00 am
Butane irons are the way to go, however, 120VAC is found most everywhere now. 
Suggest long 2 wire 16 gauge extension cord.
255  Using Arduino / General Electronics / Re: 12v POE into arduino nano, and coin acceptor. (Jukeboxes) on: August 10, 2014, 05:43:00 pm
Maybe consider a Bobuino2 larger physically, but much more there for you to use. includes RS232, RTC etc.
Scroll down about 1/4
http://www.crossroadsfencing.com/BobuinoRev17/

Mine are great!
Pages: 1 ... 15 16 [17] 18 19 ... 188