Show Posts
Pages: [1] 2 3 ... 340
1  Using Arduino / Project Guidance / Re: Beginner question: stuck with a problem on: Today at 01:38:34 pm
Can you do a drawing of your circuit and take a photo to post? Very difficult to see the details from your photo.
2  Using Arduino / Project Guidance / Re: Beginner question: stuck with a problem on: Today at 01:05:28 pm
The other thing to check is that the 4-pin button is correctly oriented: it may need a 90degree turn. See attached for how the pins connect internally.
3  Using Arduino / Project Guidance / Re: Beginner question: stuck with a problem on: Today at 12:21:07 pm
Can't really tell how it's wired from that photo: but the obvious thing to check is that the LED is the right way round? The wire on the flat side of the red blob must be to negative. (Alternatively, check the LED wires: the longer one must go to positive.)
4  Using Arduino / Programming Questions / Re: laser speed detector/calculator on: Today at 10:45:53 am
Well I set that up and tested it: worked as advertised.

I haven't had a chance yet to look through the code, though.
5  Using Arduino / Motors, Mechanics, and Power / Re: L293D chip not working as expected on Arduino Uno R3 on: Today at 10:13:44 am
Thanks for the diagram, really helpful. I will order a new chip and try again.

Alex

You're welcome, but why bother? L293 is old inefficient technology, rather have a look at something better here, for example.
6  Using Arduino / Motors, Mechanics, and Power / Re: L293D chip not working as expected on Arduino Uno R3 on: Today at 07:35:02 am
Those Fritzings are well-nigh impossible to follow. So let me swing it back on you. The attached is a circuit which afaik is good: you compare your circuit to this (the Arduino i/o pins will probably be different).

Your pins 1 and 9, the ENable pins, might not be on i/o pins like I have it; they can be straight to 5V. And of course the motor battery voltage might not be 9 like I show.
7  Using Arduino / General Electronics / Re: Resistor required for PN2222A transistor base? Diode also? on: Today at 04:43:28 am
I am intrigued to find out how this.....

Quote
To avoid servo "twitch" I've added a PN2222A NPN transistor so that I can set the servo position before powering up the servo.

.... works. Can someone enlighten me please?
8  Using Arduino / Programming Questions / Re: laser speed detector/calculator on: Today at 01:29:35 am
Easiest way to do schematic is to draw it on a piece of paper, take a photo with phone, go to Additional Options below the box where you type a post, and click Attach: Choose File.

Just be cautious of the size.... resize it so it doesn't need huge amounts of scrolling to view.

9  Using Arduino / Project Guidance / Re: Guys Can you Help me about my project.using ULTRASONIC SENSOR US-100 on: Today at 01:26:37 am
Why are you looking at that Ping code: you already have demo code for your sensor.

rogerClark already gave you a snippet that puts an LED on if the distance is less than 0.5 (which he just used as an example).

You need to apply your mind here: work through the examples and get a feel for how these things work. Don't expect to be able to Google and find a ready-made answer. And especially, don't expect project help (this is school stuff I assume?) wihout your going first. Folks here are only too willing to help, but not going to do the work for you.

Apart from that, you need to be able to write down the process you would follow without any code. You talk of an object "incoming".... so how would you monitor that manually assuming you had a ruler and a clock? Get that clear, before coding.

10  Using Arduino / Project Guidance / Re: Guys Can you Help me about my project.using ULTRASONIC SENSOR US-100 on: Today at 12:55:26 am
there is a code for that ?
 

Pretty sure there is... but it's really up to you to go first, try to get it to work, then get help here if and when you get stuck.

If you're new to Arduino, you need to work through some of the examples in the IDE (File > examples) or here.
11  Using Arduino / General Electronics / Re: Noob Question about Transistors on: Today at 12:43:53 am
The voltage certainly doesn't have to match: that's what makes them useful as switches. You can switch your 12V or whatever motor with the 5V of the controller.

And the currents don't match either: the gain is the ratio of the two and that's what makes a transistor an amplifier when it's not saturated as they call it.
12  Using Arduino / General Electronics / Re: motor and L293DNE problems on: Today at 12:38:19 am
Did you miss the dark blue connection on the diagram?

Clearly I did, yeah.
13  Using Arduino / Programming Questions / Re: Problem with tacho on: September 29, 2014, 11:32:31 pm
If you're going to post code, at least make sure it compiles: that code doesn't have an include for the LCd library, nor does it declare a couple of variables.

And stick it in code tags: the # above the  smiley-wink smiley-sweat smilies.
14  Using Arduino / Programming Questions / Re: laser speed detector/calculator on: September 29, 2014, 10:02:57 pm
Glad you have it working as you want it.

Go ahead and upload- you don't need permission for that  smiley-razz . You'll have to wait and see if anyone can duplicate your rig- that depends on the time people have free, and of course if the have the components handy. You need to attach a schematic btw, so folks can see what your rig actually is.

edit.... I think I have suitable components, so yeah if I get a chance I'll see if I can hook it up and set it. I don't have RC cars though, so I'd just have the two lines maybe 50cm apart on my desk and test with my hand.
15  Using Arduino / Motors, Mechanics, and Power / Re: L293D chip not working as expected on Arduino Uno R3 on: September 29, 2014, 01:06:50 pm
First check the diagram: I hope all the things wrong are just wrong in the pic, not real life. (Like grounds and live from the chip to the wrong rails on the breadboard.)

So either fix all that in real life, or in the pic.
Pages: [1] 2 3 ... 340