Show Posts
Pages: 1 [2] 3 4 ... 106
16  Using Arduino / General Electronics / Re: Need Suggestions for Extending Approximately 40 Wires within 1 larger Wire on: September 18, 2014, 10:43:40 pm
Remember that you'll need it to be fairly flexible so as not to stop you turning or tilting your head. I think wrapping the cable will make it too stiff. You want something like this:
It's very flexible. They also sell 15 core cable. A metre is approx. 39", just 3" short of your 3.5 feet.
That cable is screened, so you get an extra 'core' you can use as a ground connection.
You haven't said where you are smiley-mad so you may have to look for local suppliers.
17  Using Arduino / Programming Questions / Re: Converting a SubString to Word on: September 18, 2014, 09:55:23 pm
Is switch/case/break "more readable" than few if/else enough to be worth increasing the length of the code ? I don't think so

True, it's a matter of choice. Your code is shorter (1380 bytes) than mine (1396), but I always find a switch easier to read.  I wouldn't expect everyone to agree.
I'm with you on this. Suppose you have several (hundred?) cases. I'd get lost after the first 10 if/else/if statements.
18  Using Arduino / Programming Questions / Re: Avoiding Delay (blinkwithoutdelay) help on: September 18, 2014, 09:29:02 pm
How about if you don't reset previousMillis until after the the second interval and use:
if (currentMillis - previousMillis > (pingDelay *2)){
for the second one (assuming the intervals are equal).
19  Using Arduino / Project Guidance / Re: To Arduino or not to Arduino - Model Railways on: September 18, 2014, 09:17:09 pm
There's code there, but no schematic. Schematic = circuit diagram.


Will photo do?

Sure, if it's clear what components you're using.
20  Using Arduino / Project Guidance / Re: AlarmLibrary or selfbaked? on: September 18, 2014, 08:41:25 pm
Look at the 'blink without delay' example. Study it, absorb the principle and use it.
Use it to regularly (say every minute) check the time. If the time is after 7:59 PM, turn on the lights.
Even if there's been a power cut, the lights will come on as soon as there's power available.
21  Using Arduino / Project Guidance / Re: Transformers on: September 18, 2014, 08:23:52 pm
What do you need 15kv for?
22  Community / Bar Sport / Re: Scotland Reveals Currency Plan on: September 17, 2014, 08:57:16 pm
Looks like a good one.
"Do not pass Gretna. Do not collect 200 Numptie!"
23  Community / Bar Sport / Re: 60 capacitors? on: September 17, 2014, 08:49:26 pm
See the attached photo...

This to me looks like a way of selling unused stock, anyone happen to know if there's any benefit to using this method ie 60 small caps vs several large capacitors instead? Except less soldering that is...
I see 68 capacitors on it. But, maybe larger caps would be too tall for the space it is to fit in.
24  Using Arduino / Programming Questions / Re: <insert tech term here> Does this really matter which way I use this? on: September 17, 2014, 08:24:04 pm
If I recall correctly, the \ on the end is a continuation character and means the next line is part of this line. So since this line is a comment, the next line which is actually code, becomes part of the comment and is thus "mysteriously" ignored.
25  Using Arduino / Programming Questions / Re: Code error on: September 17, 2014, 08:19:42 pm
That's where the LNIT comes in to arbitrate.....
Better would be to use the author's name and D.O.B.*, but how many would be willing to divulge that personal information?
* 365.25 times about 70 years = ~25,567.5 different possible combinations.
26  Using Arduino / Programming Questions / Re: I have an error "serial_mem_test:48: error: 'unit16_t' does not name a type". on: September 17, 2014, 07:18:16 pm
Check again smiley

And use code tags (the # button above the smileys) when posting code, to avoid the unwanted smileys.
27  Community / Bar Sport / Re: Who hasn't accidentally touched a mains voltage once or twice? on: September 16, 2014, 11:17:48 pm
The other thousand people are not posting because they're dead smiley

The reason I asked is because this has happened to me several times and frankly, I am underwhelmed.  Now, I was never drenched in salt water and standing in a puddle when this happened, but still.  I do wonder about the people in 240V countries.  I have to imagine that the voltage is substantially more dangerous there.
Yep. About twice as dangerous...
28  Using Arduino / General Electronics / Re: Soldering problem on: September 16, 2014, 11:09:13 pm
Hi Henry,
                    Your in the UK like me, so we only use C? don't we? Yes I used F in the 1960's, but then I also use Feet and inches, and gallons. Now I've changed with the times.


Likewise, but our American cousins still use oF and, without giving units, it can be confusing.
29  Using Arduino / Programming Questions / Re: Problem Inserting Small Sketch into Large Sketch on: September 16, 2014, 10:59:15 pm
just ensure the cake TASTES good
At the last wedding I went to, there was a beautiful cake. Fancy decorations, on discs of styrofoam. Obviously, it was a prop only, and they didn't even serve cake.
I hear that styrofoam doesn't taste too good.
30  Using Arduino / Programming Questions / Re: Code error on: September 16, 2014, 10:51:22 pm
It would be nice if there was a "library name issuing authority" so that names aren't duplicated. Or at least a naming convention eg to use author's initials or name so that we would know button_jim.h is not the same as button_fred.h.
But what happens when two Jims each write a library called button.h ?  smiley-roll-blue
Pages: 1 [2] 3 4 ... 106