Show Posts
Pages: [1] 2 3 ... 6
1  Using Arduino / Programming Questions / Re: Serial.println("Hello " + worldvarible + "\t" + VARIABLE2); how do I output mult on: January 25, 2012, 01:54:39 pm
I do not understand why I need to include a libary for just printing some text to a serial window.

Ok so if I have to how do I go about adding the libary and using it?
2  Using Arduino / Programming Questions / Re: Serial.println("Hello " + worldvarible + "\t" + VARIABLE2); how do I output mult on: January 25, 2012, 01:39:15 pm
  Serial.println("hahahaha I WIN : %i", banana);

and it dosen't work :-(

Error:

sketch_jan25a:10: error: call of overloaded 'println(const char [20], int&)' is ambiguous
Print::println(long unsigned int, int) <near match>
3  Using Arduino / Programming Questions / Re: Serial.println("Hello " + worldvarible + "\t" + VARIABLE2); how do I output mult on: January 25, 2012, 01:32:16 pm
THATS THE ONE !

Thanks :-) Forgot that you had to put place holders in!
4  Using Arduino / Programming Questions / Re: Serial.println("Hello " + worldvarible + "\t" + VARIABLE2); how do I output mult on: January 25, 2012, 01:25:37 pm
there must be a way of doing it without a lib its a standard C operator I just can't remeber how

I want it to say

"Your input is : 25"
"Your input is : 55"
Code would be something liek
Serial.println("Your input is : " + variable);
5  Using Arduino / Programming Questions / Serial.println("Hello " + worldvarible + "\t" + VARIABLE2); how do I output mult on: January 25, 2012, 01:19:55 pm
Hi all,

I'm trying to output a table of data I'm happy to manually format it using "/t" but I cant make the arduino output a Serial.print with text, then a variable.

Thanks for any help.
I know its a simple piece of code like && or + or ++ or something but I can't find a reference anywhere! Anyone have any ideas?

Thanks R
6  Using Arduino / Project Guidance / Re: Why aren't my LEDs turning completely off? on: June 28, 2011, 02:47:25 am
Hi,
i know this isn't helpful, but i had the same problem and i can't rember what sorted it i think its in the code somewhere like you need to have a == or <= someone will be able to point it out to you good luck.
7  Using Arduino / Project Guidance / Re: Launch Control for Formula Car on: June 28, 2011, 02:41:57 am
Quote
As for having a good driver I agree with mellink completely but the problem is this... picture a bunch of 22 year old "boys" with minimal driving experience trying to get 12000RPM to hook up quickly, while managing a clutch, when none of us (including myself) are fantastic at driving standards.  Unfortunately our school does not found driver training so I am going for the fool proof method for this car and cars in the future.  However, I agree wholly that a computer will never defeat a good driver.

Its unlucky you dont have anyone who has any karting expereience etc. I normally see people fighting to be the driver at our place. 12000rpm sounds bad but theres minimal torque, so its not the worst engine in the world :-)

I think that a very good computer in the car can flatter a good driver and annoy a excellent one, but you don't want to have to be concentrating to get aounrd a corner in a normal road car imagine how triering that would be! But saying that the electronics in the new BMW I have to say are bloody amazing its like sitting in a laptop. If your really gunning around corners the car seems to planted and if its going to let go all the car settles down veyr quickly. UBER IMPRESSED with it.

Good luck and keep us posted on what you do. Do you have a blog about the build i'd love to read as i'm hoping to do the student race car in a year or 2 its a final year project so far i've just been sneaking into the work shop to talk to the guys.
Do a few caterham day that would help you alot similar sort of idea, less weight more power sort of car.
8  Using Arduino / Project Guidance / Re: How fast can stepper motor turn? on: June 25, 2011, 10:57:55 am
why?

"because i need higher RPM"...
9  Using Arduino / Project Guidance / Re: How fast can stepper motor turn? on: June 25, 2011, 07:31:18 am
But with a DC motor how can i know what rpm im setting?
Will it respond in a linear manor if i use PWM
is bushless bifferent? (i have little idea baout this i thought it was a stepper too but for higher rpm.)
10  Using Arduino / Project Guidance / Re: How fast can stepper motor turn? on: June 25, 2011, 04:56:38 am
Just had an idea. What about hard drive motors? THey spin up to 7200rpm and are 4 pole stepper (I think) I have one in a box of parts.
Is there any reason that wont work? Are they non-standard steppers?
11  Using Arduino / Project Guidance / Re: How fast can stepper motor turn? on: June 24, 2011, 01:12:09 pm
It has to be the speedo. Its just easy to read.

So a stepper motor isnt going to work and a normal normal motor isnt going to be controll able?
12  Using Arduino / Project Guidance / Re: How fast can stepper motor turn? on: June 24, 2011, 12:31:49 pm
Im replacing the cable that usally drives the speedo.

Doing this for several reasons. At the moment I do data logging on the car using the arduino, but the speedo has always been slightly incorrect and i've had enough of it. its about 10% too optimistic because tyre size has changed so hoping to correct that with a small bit of code and a motor

Ie the motor will be connected to the speedo to drive it from data im collecting from the car.
13  Using Arduino / Project Guidance / Re: How fast can stepper motor turn? on: June 24, 2011, 12:23:53 pm
Hi,
all the DC motors ive ever used havnt been use to know what rpm they are turning at.
I dont want to have a 2 curcit like signal conditioning. Wher ei use another hall effect sensor to check what speed the motor is doing. I thought that using  a stepping motor was a easy way of being able to set a rpm.

Can i do this with a DC motor easily?
14  Using Arduino / Project Guidance / Re: How fast can stepper motor turn? on: June 24, 2011, 12:04:33 pm
Hi when i put 50rpm i menat 50rps

so 3000rpm.

which is too high then. So how would i do this then? At low rpm it needs to be quite acruate to stop needle jumping ont eh speedo.
15  Using Arduino / Project Guidance / Re: How fast can stepper motor turn? on: June 24, 2011, 11:52:23 am
sorry rps.
rev per second. MAssive mistake again there.

Pages: [1] 2 3 ... 6