Show Posts
Pages: 1 ... 1182 1183 [1184] 1185 1186 ... 1862
17746  Using Arduino / Programming Questions / Re: Arduino Ethernet Web on: December 02, 2011, 05:45:58 am
but I want to wrtie value to PGM_P
Not possible.
17747  Using Arduino / Programming Questions / Re: Help with relays and proximity sensor. on: December 02, 2011, 05:01:09 am
Ok I think I might know how to do it but not too sure.
The great thing about software, unlike just about any physical technology, is that it is relatively easy, at this level, to build as many prototypes as you need to get it right.
Read the blink without delay example and really understand what it is doing.

Simplify the problem whilst you are working the technique, like one range/relay - after that, it should be relatively simple to expand.
Post your code AND your results if you get stuck.
17748  Using Arduino / Programming Questions / Re: Help with relays and proximity sensor. on: December 02, 2011, 04:53:46 am
yes but wouldnt that just keep on turning the relays on and off not only on when something is within the distance?
No, not if you write it correctly.

Emphasis on you
17749  Using Arduino / Sensors / Re: Parallax PING))) problem coding on: December 02, 2011, 04:13:31 am
What do your debug prints tell you (and us) is happening?

ultrasoundValue = (echo / 58.138) * .39; //convert to CM then to inches
Cutting-out the middle-man could help here.

this is just a part of my code
This is just part of my solution.
17750  Using Arduino / Programming Questions / Re: Arduino rf 433MHz car locker! on: December 02, 2011, 03:40:05 am
if (buf[0] == 'asd') {
Three chars into one char does not go.
Either make it into a string, and use strcmp, or compare one character at a time.
17751  Using Arduino / Programming Questions / Re: Arduino Ethernet Web on: December 02, 2011, 03:06:07 am
Most of the string functions have PROGMEM-specific versions, like strcpy_P.
Google will help.
17752  Using Arduino / Project Guidance / Re: Help with Arduino Tank controlled by i phone on: December 02, 2011, 02:46:24 am
But, do you have any idea on what might have been wrong so that one side keeps turning on and off ?
Bad wiring, supply incapable of sufficient current?
17753  Using Arduino / Programming Questions / Re: Help needed for code!!!! [ASAP] on: December 02, 2011, 02:27:51 am
You gentlemen are all too kind.
I try to tread the centre line between spoon-feeding (waste of everyone's time, IMO) and telling them to RTFM.
Sometimes, in frustration, I do resort to the spoon, just to shut them up.

(Though I do admit that "ASAP" or "URGENT!!" in a thread title is a bit of red rag to this particular bull)
17754  Using Arduino / Project Guidance / Re: Turning a wired remote into a wireless one on: December 01, 2011, 04:48:17 pm
What is the protocol?
17755  Using Arduino / Project Guidance / Re: Arduino as a webcam.... on: December 01, 2011, 04:46:56 pm
I honestly don't know if this is possible or not.
The questions I'd be asking are:
How much data do I have to read/source/generate?
How fast do I have to read/source/generate this data?
How can I read/source/generate this much data this fast?
Is the Arduino capable of such rates?
How do I present this data to the host?

Just for starters.
17756  Using Arduino / Programming Questions / Re: Write a float variable to EEPROM on: December 01, 2011, 03:21:37 pm
What does your debug output look like?
17757  Using Arduino / Programming Questions / Re: Using a potentiometer for measurement on: December 01, 2011, 03:12:30 pm
Read the documentation for 'map', particularly the argument types
17758  Community / Bar Sport / Re: Any idea what this is? on: December 01, 2011, 02:56:18 pm
Armoured Fighting Vehicle, Night Optics?

FV432 was classified as an AFV.
Dunno if it had NVG (in modern parlance) capabilities.
17759  Using Arduino / Programming Questions / Re: Need help with model railway sensors to stop trains crashing on: December 01, 2011, 10:00:51 am
pinMode(analogA0=0, INPUT);
Unusual construct, and an excellent illustration of why constants should be qualified as "const".
17760  Using Arduino / Programming Questions / Re: Reseting in Software on: December 01, 2011, 09:27:23 am
I presume you're referring to this:
All of the chip's registers, settings and RAM will not be properly initialized.
As far as your sketch is concerned, it will appear as though it has just been booted for the first time, because it will have followed the same path through the pre-"main" initialisation of your sketch.
Pages: 1 ... 1182 1183 [1184] 1185 1186 ... 1862