Show Posts
Pages: [1] 2 3 ... 1918
1  Using Arduino / Programming Questions / Re: How to change / select timer in Servo library? on: Today at 02:46:51 pm
Quote
So what PWM and analog  write has to do with servo operation?
An R/C servo signal is very low duty cycle PWM.
2  Using Arduino / Project Guidance / MOVED: Powering by Solar Panel Help - New to this on: Today at 09:31:37 am
This topic has been moved to General Electronics.

http://forum.arduino.cc/index.php?topic=270092.0
3  Using Arduino / Installation & Troubleshooting / Re: Maximum nput voltage on USB on: Today at 08:15:49 am
Quote
The power isn't coming from a USB source. It has a USB plug on the end though.
So, it isn't a USB connection.
Have a look at the schematic - see how much protection there is between USBVCC and the porcessor.
4  Using Arduino / Installation & Troubleshooting / Re: Maximum nput voltage on USB on: Today at 07:22:40 am
Quote
That sounds like the maximum a USB will put out
That's right - any more than that, and it isn't USB, QED.
5  Using Arduino / Installation & Troubleshooting / Re: Maximum nput voltage on USB on: Today at 06:44:26 am
I think the USB spec says 5.25V
6  Using Arduino / Programming Questions / Re: How to assign a number (read from sd card) to a BigNumber variable! on: Today at 06:23:06 am
From the original post:
Code:
  char c;
  byte i;
  char temp_arr[22];
 
  myFile = SD.open("valori.txt");
  if (myFile) {
    while (myFile.available()) {
                 
       while(c != -1) {
          c = myFile.read();
          i++;
Where is "i" initialised?
7  Using Arduino / Project Guidance / MOVED: Fun with a scavenged LCD on: Today at 01:47:52 am
This topic has been moved to Displays.

http://forum.arduino.cc/index.php?topic=270027.0
8  Using Arduino / Programming Questions / Re: How to assign a number (read from sd card) to a BigNumber variable! on: Today at 01:47:06 am
passing snide remarks is not helpful when a beginner is obviously struggling.
One person's "snide comment" might be another person's forehead-smacking "OMG, how could I have been so stupid?" comment.

We can't always tell whether a user really is a struggling noob, or an old-hand crossing-over from another language or architecture.
Sometimes, you've got to smoke 'em out.
9  Using Arduino / Programming Questions / Re: Servo motor with push button on: September 30, 2014, 02:29:50 pm
So, what pulse length do you use to send it to 0 degrees?
What pulse length do you use to send it to 359 degrees?

Divide that range by 36, and you've got a 10 degree increment.
10  Using Arduino / Programming Questions / Re: Problem with resetting led state after countdown on: September 30, 2014, 02:16:10 pm
You're absolutely correct - it doesn't.
11  Using Arduino / Programming Questions / Re: Problem with resetting led state after countdown on: September 30, 2014, 02:12:27 pm
Tell me what you think the comma does in your while
Then tell me about the semicolon
12  Using Arduino / Programming Questions / Re: Problem with resetting led state after countdown on: September 30, 2014, 02:01:59 pm
Code:
void ledOn () {
    while(val == HIGH, delayPeriodOff <= 0);
      digitalWrite (ledPin, HIGH);
      delay (INFINITY);
}
Take a really close look at the "while"
13  Using Arduino / Programming Questions / Re: Controlling Arduino from C#: trouble reading int with serialread & loop on: September 30, 2014, 01:36:37 pm
Code:
readval = Serial.Read();
"read" should be lower-case
Code:
void setup()
{
  Serial.begin(9600);
  ...
I don't think the compiler likes ellipsis
14  Using Arduino / Programming Questions / Re: Digital Hourglass will not execute at 600 000 ms (10mins) on: September 30, 2014, 08:14:20 am
Quote
the serial monitors showed ziltch - thus no execution.
You can be pretty much certain that the processor is executing, and executing what you told it to . . . which you need to post for us to see.
15  Using Arduino / Project Guidance / Re: Guys Can you Help me about my project.using ULTRASONIC SENSOR US-100 on: September 30, 2014, 06:37:03 am
i have a question.
there is possible to connect these 3 devices ??
Yes, but normally you have to reduce the polling rate of each to give echoes from other sensors time to die away, before initiating a new measurement.

Pages: [1] 2 3 ... 1918