Show Posts
Pages: 1 2 3 [4] 5 6 ... 252
46  Using Arduino / Project Guidance / Re: Servo agitating water? on: September 11, 2014, 04:28:33 pm
Agitating the water how? Waves or some kind of propeller?

You could have the servo move a bobber up and down to create ripples, or you can get a continuous rotating servo to turn a propeller.

You can also have the servo rotate a weight that vibrates the water container.
47  Using Arduino / Project Guidance / Re: Sound Balls on: September 11, 2014, 04:25:51 pm
Does each ball of the same size make the same sound? What about if two different ball sizes collide, do you hear two different sounds or just one based on the combination?
48  Using Arduino / Project Guidance / Re: Sound Balls on: September 11, 2014, 04:08:05 pm
This sounds more like you would need image processing + motion tracking, but an Arduino can't do image processing, so you would need a small computer with image processing software.

Why do you think you need photocells?
49  Using Arduino / Programming Questions / Re: memcmp() on: September 11, 2014, 04:00:25 pm
That code doesn't compile, please post the full code.
50  Using Arduino / Programming Questions / Re: error: No such file or directory on: September 11, 2014, 03:03:36 pm
Where is Serial.begin(115200)?
51  Using Arduino / Displays / Re: interconnect tft to UNO. Dont understand numbering system. on: September 11, 2014, 11:15:13 am
Try this:

//myGLCD(mode,RS, WR, CS, RST);
UTFT myGLCD(SPFD5408A, A1, A2, A0, A3);
52  Using Arduino / Project Guidance / Re: Accelerometer adaptation on: September 11, 2014, 08:21:08 am
Quote
I want to move those lines to say a digital pin. How would I do this?
You can move them, but your sensor won't work if you do. It needs to be on SDA and SCL to read the data from the sensor, they are special pins.
53  Using Arduino / Programming Questions / Re: I got a error message. on: September 11, 2014, 07:50:06 am
You can't have both power(HIGH) and ground(GND) on the same pin.
Quote
#define ONE_WIRE_POWER 9
#define ONE_WIRE_GND 9

Why put it on a digital pin and not on one of the three GND pins or the one on the ICSP header?
54  Using Arduino / Project Guidance / Re: Difference Between Arduino Uno & Arduino Mega 2560 on: September 10, 2014, 06:11:43 pm
Arduino UNO

Arduino Mega

All you need to do is read them.
55  Using Arduino / Programming Questions / Re: Continuous display in 16x2 LCD on: September 10, 2014, 10:47:26 am
He doesn't need the blank spaces and the commas, he can use one or the other to separate them if needed, but not both. I like to use '|' as a separator.

"nos. 1|2|3|4|5|6" full, 16 columns used
"7|8|9|10|11|12"  13 column used
56  Using Arduino / Programming Questions / Re: Continuous display in 16x2 LCD on: September 10, 2014, 09:50:50 am
Why are you manually setting the cursor, let the code do the work.

Set the cursor to display on line 1 and/or line 2, at column 4, and let the code take over.
57  Using Arduino / Programming Questions / Re: Continuous display in 16x2 LCD on: September 10, 2014, 08:06:09 am
Post your full code
58  Development / Other Software Development / Re: Opensource Arduinu menu library on: September 10, 2014, 07:55:27 am
This is really not an advertising website, but you do have the Arduino Playground, which does have a user libraries section and this thread. Plus you do already have 200 views so far, so there is a good change more than 100 people clicked on your LINK(yours is broken).
59  Using Arduino / Programming Questions / Re: Need help with some coding ( 2 servos 2 potentiometers) on: September 09, 2014, 02:03:36 pm
Quote
val = analogRead(potpin0);      // reads the value of the potentiometer (value between 0 and 1023)
  val = analogRead(
  val = map(val, 0, 1023, 0, 179));
myservo.write(val)
  ;delay(15);   
 } 

 {         <------- that thing is highlighted in yellow
 
  val = analogRead(potpin1);      // reads the value of the potentiometer (value between 0 and 1023)
  val = analogRead
  (val = map(val, 0, 1023, 0, 179));
myservo2.write(val)
  ;delay(15);   
No, you already read the value, now just have val = map(val, 0, 1023, 0, 179);. Why is "val = map(val, 0, 1023, 0, 179)" inside analogRead? Also you have two pots, how does your code know which val to put into the map() to then to go to the servos. Hint: val_1, val_2
60  Using Arduino / Programming Questions / Re: Millisecond countdown timer ? on: September 09, 2014, 01:50:25 pm
I'm sorry HazardsMind, but that doesn't keep track of time.
It calls millis() twice, and millis() could be updated in between.

But doesn't it also depend on the complexity of the code too? As long as the code is kept simple (a lot of that code can be taken out), then 1 second should be more than enough time.
Pages: 1 2 3 [4] 5 6 ... 252