Show Posts
Pages: 1 ... 104 105 [106] 107 108 ... 263
1576  Using Arduino / Project Guidance / Re: helping in coding on: December 10, 2013, 01:37:39 am
i want some body to help me to write the code

Fair enough, and that's what we try to do.

But help means that you need to post what you already tried- both your sketch and circuit. You need to explain what it's not doing (or doing wrong), then we can help.

You're actually asking for a turnkey solution, in my opinion. That goes against many people's ethics, as graduates ourselves, to whom help is one thing, providing a solution is a different thing altogether.

Post your circuit and code, along with links to the hardware datasheets, and I'm pretty sure you'll get some help.
1577  Using Arduino / Programming Questions / Re: Analog read stopped while PWM out on: December 10, 2013, 01:11:58 am
But I can not solve this problem.

You didn't describe a problem, except there's a clue in your thread title. Do you mean that when you output PWM, the analog read is disabled?)

I can't see your code or circuit from here  smiley-cool so please post more detail.
1578  Using Arduino / Sensors / Re: Pir sensor digital output? on: December 10, 2013, 12:49:12 am
As far as I know, you're right about the PIR: my understanding is, and this is why the pir needs time to settle, that it detects disturbance in the heat pattern. So as long as the object is able to disturb the pattern, there's no way of deducing the size of the object: disturbance is disturbance.

Have you trawled the sites like Adafruit and Sparkfun?
1579  Using Arduino / General Electronics / Re: Two voltage levels, two Arduinos, what power supplies? on: December 09, 2013, 09:50:46 pm
I don't think I quite followed the description (proof that a picture is worth 1000 words smiley )

Your concern is that the signal might have no reference ground: well Jack answered that by reminding you to hook all the grounds together. That way, a data signal that the Arduino knows as 5v since it has its ground to measure against, is seen by the strip as 5v also, since it has the same ground.

YMMV, that's the way I picture your setup in my mind and that might answer your question.
1580  Community / Gigs and Collaborations / Re: probably not the right thing to request... on: December 09, 2013, 02:33:27 pm
Yeah you're right, it's not.

How do you reconcile this:

if i can impress him and show that i have some talent in any form of engineering

with this:

is there any kind soul who would create such software
1581  Using Arduino / Project Guidance / Re: New on Arduino need help! on: December 09, 2013, 02:14:28 pm
Or to elaborate on CR's code since you want to check for being between two values, something like this:

int inputSensor = analogRead (A0); // result is reading from 0 to 1023
if (inputSensor>= tripValueLow &&  inputSensor<= tripValueHigh){
digitalWrite(ledPin, HIGH);
digitalWrite (ledPin, LOW);

And you would need to intitialise those trip variables first, remember.
1582  Using Arduino / Project Guidance / Re: Arduino voltage settings? on: December 09, 2013, 01:17:23 am
@Nick, just for my understanding, is this:

output PWM and run it through an RC filter,

because 2.5 "PWMV" isn't really 2.5V, but a "pseudo-voltage" which is actually either 0 or 5 and giving an "illusion" of 2.5V?
1583  Using Arduino / Microcontrollers / Re: which microcontrollers will support on aurdino uno r3 board?? on: December 09, 2013, 01:13:20 am
I have no idea what this means:

which microcontrollers will support on aurdino uno r3 board
1584  Using Arduino / General Electronics / Re: Why do I need a transistor to operate a 5v Relay? on: December 08, 2013, 02:18:56 pm
Yep he means the mA
1585  Using Arduino / Programming Questions / Re: delay function does not appear on oscilloscope on: December 08, 2013, 01:42:44 pm
That delay isn't part of the signal, it's between signals.

The physical movement takes ages, so the delay is to let the servo get there before we give it a new destination. Delay() is just a pause in the program.
1586  Using Arduino / Project Guidance / Re: Pir to to turn simple motor on and off. . on: December 08, 2013, 11:53:33 am
Basically you would use the pin that switches the buzzer to be at the base of a transistor. All that will do is "tickle" the transistor and switch it off and on. That means it will switch the current in the other 2 legs of the transistor off an on: that will be the voltage supply to the motor.

So when the buzzer would make a noise now, instaed the transistor will switch the supply the motor on.
1587  Using Arduino / Project Guidance / Re: Completely new- please steer me in the right direction. on: December 08, 2013, 07:12:37 am
And if you don't already have one, a multi-meter is a must.
1588  Using Arduino / Project Guidance / Re: Arduino Motor Shield... on: December 08, 2013, 03:43:12 am
Btw, be sure to read the datasheet for that shield's L298 chip, which is a voltage "sponge". You'll need to put 3-4 more volts in than you're motors need: check the datasheet for details.
1589  Using Arduino / Project Guidance / Re: Arduino Motor Shield... on: December 08, 2013, 03:21:40 am
I think so yes, but you'll probably want to re-think the 9v battery (if you mean a pp3) since they don't last very long.

You could use a Pololu 2120 or similar to cut the motor supply volts.
1590  Using Arduino / Programming Questions / The power of Serial.print as a debugger on: December 07, 2013, 11:36:01 pm
Just in case anybody doubts the power of Serial.print markers in code requiring debugging, have a look at replies  6 and 7 in this thread. Reply 6 was my question, wit copy / paste from the monitor; Reply 7 was zoomkat's answer.

International collaboration.....
Pages: 1 ... 104 105 [106] 107 108 ... 263