Show Posts
Pages: 1 ... 53 54 [55] 56 57 ... 322
811  Using Arduino / General Electronics / Re: Have Arduino uno got enough current for vibration motor ? on: August 01, 2014, 02:30:03 pm
I just want to connect arduino to adapter and use my device. Is it possible ?

Seems you've already had a "no" to that question.
812  Using Arduino / Programming Questions / Re: Stop motor after 3 seconds on: August 01, 2014, 02:27:20 pm
Better?

-jim lee

99/100 since you accidentally wrapped one of your text lines inside the tags...  smiley-razz
813  Using Arduino / Programming Questions / Re: Stop motor after 3 seconds on: August 01, 2014, 02:25:49 pm
That's twice today I've seen " " in includes not <>.

Code:
#include "timeObj.h"

The man page only shows <> so where does this " " come from? The other example I saw earlier didn't compile until I changed to <>.

814  Using Arduino / General Electronics / Re: Have Arduino uno got enough current for vibration motor ? on: August 01, 2014, 02:18:35 pm
What you need to do is power the vibrator externally to the Arduino, but probably control it from the Arduino via a transistor.

Have a look here for example.
815  Using Arduino / Sensors / Re: 2 pin IR LEd on: August 01, 2014, 02:09:29 pm
It's common, when you edit a post like you did when you added the pic, to add a line saying :"edit: pic added"... my response to your original post reads a bit lame in the light of the added pic.

It's still true though...
816  Using Arduino / Sensors / Re: 2 pin IR LEd on: August 01, 2014, 01:59:53 pm
I think, and forgive me if I'm talking cr@p, that a 2-pin IR receiver is just a transistor with an IR sensitive base. edit: as we now know from the OP's added pic....

To read a remote, you need a device that has the ability to read the modulated signal, like a TSOP348xx.
817  Using Arduino / General Electronics / Re: Have Arduino uno got enough current for vibration motor ? on: August 01, 2014, 01:50:02 pm
So? He knows 120 is too much for an i/o pin, but is asking if it's too much for the power supply pins.
818  Using Arduino / General Electronics / Re: Have Arduino uno got enough current for vibration motor ? on: August 01, 2014, 01:35:19 pm
Is 120mA more then 40mA?


Read the OP's question again....

is it [40mA] also valid for 3.3V pin and 5V pin ?
819  Topics / Education and Teaching / Re: Which software do you use for components and page layout design ? on: August 01, 2014, 12:59:56 pm
I think it's possible to create custom components for Fritzing, but I have no idea how.....
820  Using Arduino / LEDs and Multiplexing / Re: Can't get lights to work in a relay on: August 01, 2014, 12:53:21 pm
I think it's because it's actually sending you a character not an integer.

So try declare senal as a char and put the 1, 2 etc in single quotes '1', '2' etc.

edit.... for example I found this in some old code of mine:

Code:
char incomingByte;

followed then by....

Code:
void loop()
{
   if (Serial.available() > 0) {
                // read the incoming byte:
                incomingByte = Serial.read();

                // say what you got:
                Serial.print("I received: ");
                Serial.println(incomingByte);
        }
       
       
       
         if (incomingByte == '8')
        {
          Serial.println("forward");
          goForward();
        }
        else if (incomingByte == '2')
        {
          Serial.println("backward");
          goBackward();
        }
     
821  Topics / Education and Teaching / Re: Which software do you use for components and page layout design ? on: August 01, 2014, 12:32:25 pm
Fritzing is a popular choice for those "photo-like" pictures, and Eagle is often used for good schematics.
822  Using Arduino / Programming Questions / Re: Please Help 16 bit I/O port expander interfacing Arduino - Read Individual pins on: July 31, 2014, 11:32:03 pm
Did you Google "PCA9535 Arduino"? There are many hits, and the first one I got is a library which might help you.
823  General Category / General Discussion / Re: Export and read .cad files to arduino on: July 31, 2014, 10:32:18 pm
First, asking the same question many times all over the forum will not get you better or faster replies: quite the opposite, it just pisses people off.

But to you question: I don't understand what it is you want to do. When you say the Arduino must "see" or "read" the cad files, what does that actually mean? Sounds like you want to show a cad drawing on a display connected to an Arduino?
824  Using Arduino / Project Guidance / Re: Servo motor on: July 31, 2014, 10:13:13 am
When you say run a certain time, do you mean run for a certain number of seconds? It would make more sense to have it move a number of degrees, from a start point to an end point. Your mechanical design would let you know what both of those are, and you would simply code the servo.write(pos) commands to move from one to the other.

Servos typically move at a speed dictated by their design (the datasheets usually give the number of seconds to move 60 degrees) and the load you impose on it. The actual time taken to move is probably not important in your case: you're more concerned with the "flap" or whatever it is being opened properly, I'd guess.
825  Using Arduino / Programming Questions / Re: Demo of merging the code from two sketches on: July 31, 2014, 04:25:29 am
I think this should be a sticky at the top of this forum
Pages: 1 ... 53 54 [55] 56 57 ... 322