Show Posts
Pages: [1] 2 3 ... 126
1  Using Arduino / Project Guidance / Re: throttle on: April 13, 2014, 03:08:25 pm
You problem is in the software or may be the hardware. How can we tell from your post.

Mark
2  Using Arduino / Programming Questions / Re: Arduino Uno: Problems with Serial.print() on: April 13, 2014, 02:55:49 pm
Quote
The power comes from my computer via USB.

Yes you (at best) 500mA for every thing (Uno included). Try disconnecting the transistors from the uno and then run the code.

Mark
3  Using Arduino / Programming Questions / Re: Arduino Continuous Rotation Servo on: April 13, 2014, 12:12:28 pm
Ignore the code read the post. This is what the op wants.
Quote
I am trying my best to get it rotating for a set amount of time.
. theres just no point in trying to "fix" the mess of code the OP had.

Mark
4  Using Arduino / Programming Questions / Re: Arduino Uno: Problems with Serial.print() on: April 13, 2014, 12:03:35 pm
Quote
I will try resetting the Arduino as soon as the problem occurs again.

No I mean that you should try it and tell is what you get.

Where is you power coming from? You are not powering the relays from the transistors you are controlling the power to the relays with the transistors.

Mark
5  Using Arduino / Programming Questions / Re: Arduino Uno: Problems with Serial.print() on: April 13, 2014, 07:49:41 am
Try this - with the serial monitor open press the reset button on your uno. Do you get "Betriebsbereit.".

My uno's packed away for a house move, and I can't remember if the serial monitor still works after a reset.

How are you powering the relays if its from the Uno then you are (most likely) causeing it to reset.

Mark
6  Using Arduino / Programming Questions / Re: Arduino Continuous Rotation Servo on: April 13, 2014, 07:07:32 am
The op wants to have the servo do one thing and then after a given amount of time do something else. This is exactly what blink and blink without delay do.

That is a servo and not a Led is not relevant to anything.

Mark
7  Using Arduino / Programming Questions / Re: Arduino Continuous Rotation Servo on: April 13, 2014, 06:11:49 am
Once a servo is told to output a pulse it keeps outputing that pulse over and over until told to do something  else.

So all you need is to look at blink without delay.

Mark
8  Using Arduino / Programming Questions / Re: About analogWrite on: April 13, 2014, 05:58:44 am
Always post your code in code tags NEVER quotes.

Each time you complete the switch loop is called again and these two lines are executed.
Code:
analogWrite (MOTORA, 100);
  analogWrite (MOTORB, 100);
 

Get rid of them and all the delay()'s.

Mark
9  Using Arduino / Programming Questions / Re: Convert Arduino (AVR) float to Microchip float on: April 11, 2014, 06:11:34 pm
AVR floats are 4 bytes

Mark
10  Using Arduino / Programming Questions / Re: How do I find a text file created by a website to generate output on: April 11, 2014, 06:10:29 pm
Where does the website create a txt file?.

Mark
11  Using Arduino / Programming Questions / Re: looping question on: April 11, 2014, 06:09:16 pm
Tell us what you are really trying to do!. Your code makes no sense at all!

Mark
12  Using Arduino / Project Guidance / Re: SP2-P-DC5V relay hook up to arduino on: April 11, 2014, 05:53:02 pm
If you don't already know how to use a relay (and just how stupid it is) THEN DO NOT PLAY AROUND WITH 120V AC  if you are lucky you will only kill yourself and not anyone else!

Mark
13  Using Arduino / Programming Questions / Re: How to solve this problem ?Libraries that i download wont compile . on: April 10, 2014, 09:23:10 am
Don't post screen captures - there almost unreadable Use copy and paste ffor both the code and the error message. Code in code tags of course.

Mark
14  Using Arduino / Programming Questions / Re: missing compiler directive __AVR_ATtinyX5__ on: April 10, 2014, 09:11:42 am
The easy way is to just edit the offending file to give you the code you want. Ot you could add the line
#define __AVR_AT etc to the file.

Its not by the the way a compiler directive.

Mark
15  Using Arduino / Programming Questions / Re: Parsing large strings on: April 10, 2014, 08:40:19 am
You have more than enough processing power to deal with the string on the fly, more so as you will just throw most of it away.

Mark
Pages: [1] 2 3 ... 126