Show Posts
Pages: 1 ... 104 105 [106] 107 108 ... 328
1576  Using Arduino / Project Guidance / Re: line follower with obstacle avoiding on: February 24, 2014, 09:44:12 am
So what investigation have you done so far? There are a lot of resources for both line following and obstacle avoiding, which will give you ideas for hardware and code for each.

Then use your own ingenuity to adapt and mix the two together.
1577  Using Arduino / Sensors / Re: RPM Sensors on: February 24, 2014, 09:41:48 am
Could you not fashion the missing teeth somehow, to fill the gap?
1578  Community / Website and Forum / Re: Scum of the earth Spammers on: February 24, 2014, 06:39:01 am
Quote
Yeah, sorry about that, but sometimes I have to eat, sleep, talk to my wife and children, work, do stuff I really enjoy...you know, the usual stuff.

Apart from the sleeping, you should be able to it all at the same time, surely?

I was actually amazed at how close together their threads are in time.... some were 30s or so apart; they must have pretty nimble fingers.
1579  Community / Website and Forum / Re: Scum of the earth Spammers on: February 24, 2014, 06:15:20 am
I'm starting to enjoy this   smiley-twist

...... if it wasn't for the fact that yesterday they filled about three screens and made it impossible to see the real threads.

But, yeah, the content is kind of entertaining, in a Pythonesque way.
1580  Using Arduino / Project Guidance / Re: Temperature based fan control using arduino uno -Circuit diagram required on: February 24, 2014, 02:20:19 am
Thanks bro but  little queries
1) my fan has 3 wires while the fan in picture has two wires. how to connect this 3 wire fan.
2) can i make the darlington transistor myself using combinations of transistor, resistor and diode. If so how?

1) The third wire is probably the speed sensor output from a Hall sensor, if you ever need to know the actual speed.
2) I have no idea.... in fact it might not need a Darlington anyway, I wouldn't know.

PS... You should check if your fan can actually be PWM'd. Some of them have a 4th wire for that specific purpose becasue the speed controller is built into the fan. Not sure if 3 wire ones are PWM'able.... I did run one once off a flat battery and it ran at low speed, but that wasn't PWM.
1581  Using Arduino / Project Guidance / Re: Temperature based fan control using arduino uno -Circuit diagram required on: February 24, 2014, 01:41:30 am
http://www.ecs.umass.edu/ece/m5/tutorials/tip122_transistor_tutorial.html
1582  Using Arduino / Programming Questions / Re: Servo Disconnect Error Check on: February 24, 2014, 01:06:46 am
You might be better off with a screw shield to make more rugged connections.

DFRobots have one, and I think forum member CrossRoads offers one as well.
1583  Using Arduino / Programming Questions / Re: First Code on: February 23, 2014, 10:56:25 pm
Quote
if(currentMillis = previousMillis > interval) {

You need to re-look at this one.... I think you mean the = to be a -, and probably needs an extra set of ().
1584  Using Arduino / LEDs and Multiplexing / Re: LED and Hall Effect Sensor - Inverse Reaction? on: February 23, 2014, 10:09:10 pm
-Maximum reading for a HES, when the magnet is touching it is ~1050.

Where did you get that value from?- Arduino analog inputs are never more than 1023.

how does the Arduino know that '255' is the maximum for a LED?

It's the maximum for an analogWrite- same as using a digitalWrite to set the pin high.
1585  Using Arduino / Programming Questions / Re: Code verification on: February 23, 2014, 12:06:56 pm
Quote
if(12 > 13)

That can never be.... do you mean the values of pins 12 & 13?
1586  Using Arduino / Programming Questions / Re: Codes are making a conflict on: February 23, 2014, 11:09:54 am
How can I use Serial.available ?

http://arduino.cc/en/Serial/Available

Use it to see if there's anything to read (>0 means there is at least one character waiting).
1587  Using Arduino / Motors, Mechanics, and Power / Re: Running a Dc motor.. help!!! on: February 23, 2014, 09:56:47 am
I hv attached the circuit diagram that im using to hook up the motor to the Arduino. plz check.

You need to hook the ground from your pic (the battery -ve) to an Arduino GND pin, else the transistor won't recognise the 5V on its base, since it'll have no 0V to measure against.
1588  Using Arduino / Project Guidance / Re: Lighting up a toolcabin using a PIR on: February 23, 2014, 03:54:08 am
I know this might be a little basic but: can i "just" put in som extra code if i find something i like??

Answer is a "qualified maybe".... Assuming the piece you found implemented the exact logic you need, you would still more than likely have to change variable names and pin assignment. But more likely is that code you find won't implement the exact logic you need, although it might give you a starting point.
1589  Using Arduino / Sensors / Re: Need HELP for coded Rotary Switch !! on: February 23, 2014, 03:29:49 am
Did you search the forum?- reply#1 to this thread explains how they work.

Have a look at the table on the right hand side of the sheet you linked: it shows which pin/s is/are connected for the 16 values 0 to 15. The positions A-F on the switch are 10-15. The diagrams on the sheet shows that the two centre pins are Common, and th 1-2-4-8 pins are indicated.

You might have a problem physically hooking yours up if it's the surface mount version.... they are not "breadboiard-friendly".
1590  Using Arduino / Motors, Mechanics, and Power / Re: Running a Dc motor.. help!!! on: February 23, 2014, 03:00:15 am
Hooking it straight up to an I/O pin will have tried to draw waaaaaaaaaaaaaaaaaaay too much current . (Maybe an amp or more compared to the 10s of mA allowed.)

EDIT: It's not outside the realms of possibility that you've fried your Arduino, especially if you didn't have a flyback diode.

It's impossible to tell why your transistor set-up didn't work without a schematic.

MORE EDIT: Have a look at this tutorial

Pages: 1 ... 104 105 [106] 107 108 ... 328