Show Posts
Pages: 1 ... 1295 1296 [1297] 1298 1299 ... 1738
19441  Using Arduino / LEDs and Multiplexing / Re: How fast and stable can arduno trigger digital IOs? on: May 16, 2011, 05:37:10 am
Quote
can't find the post anymore, but I am sure I have read somewhere that he has a cycle of 2ns
Memory can play funny tricks on you, can't it?

Quote
I just tried direct port manipulation and it goes down to ns range completely stable
Tens of nanoseconds, I could believe. Getting towards the hundreds.
19442  Using Arduino / Audio / Android + Arduino on: May 16, 2011, 05:30:16 am
http://createdigitalmusic.com/2011/05/android-adds-usb-host-mode-open-hardware-development-with-arduino/
19443  Using Arduino / Programming Questions / Re: big array occures freeze on: May 16, 2011, 05:29:24 am
Quote
I dont think its the memory because its datatype is boolean which means that the whole array takes
16*4*10*32= 20480 Bits or 2,56kByte
I think know it is a memory problem - you don't have that much RAM.

Each boolean takes up a whole byte.
Time for a rethink.
Maybe bits?

Quote
and fill it with 0s in the setup() function
I assume it is a global, in which case, it is filled with zeroes before "setup".
19444  Using Arduino / Project Guidance / Re: bouton poussoir on: May 16, 2011, 04:47:12 am
Google "floating pin" or "floating input"
19445  Topics / Robotics / Re: Perplexed about Ultrasonic range finders, particularly Maxsonar EZ1 on: May 16, 2011, 04:40:44 am
I have seen people attempt to narrow beams using foam surrounds, but I have no idea how successful or repeatable this is.
19446  Topics / Robotics / Re: Controlling ESC with Arduino on: May 16, 2011, 04:35:07 am
Quote
I know what PWM values are sent from the original receiver, however I dont seem to be able to use this to make the motor work.
If this is an R/C ESC, you should be sending PPM, not PWM.
Try using the Servo library.
19447  Using Arduino / Project Guidance / Re: bouton poussoir on: May 16, 2011, 04:11:26 am
Quote
mais mon code ne marche pas
Et, il fait...quoi?
19448  Using Arduino / Motors, Mechanics, and Power / Re: my servos are doing weird things on: May 16, 2011, 02:02:14 am
Code:
  for(pos = 0; pos < 180; pos += 1)  // goes from 0 degrees to 180 degrees
  for(pos = 180; pos>=1; pos-=1)     // goes from 180 degrees to 0 degrees

Lord! How I hate those comments.   smiley-mad
19449  Using Arduino / Project Guidance / Re: Wireless motor control using PWM on: May 16, 2011, 01:59:53 am
Quote
atoi( ):i have never use this function, can i have a demo?
Have you tried google?
19450  Using Arduino / Programming Questions / Re: Digital toggle question - very basic question on: May 16, 2011, 01:58:39 am
Just to expand on what dsacmul wrote, at 9600 bits per second, one character takes 1 / 960 of a second to transmit, or a little over one millisecond.
This:
Code:
Serial.print( "clickCounter is now " );
      Serial.println( clickCounter );
would take over 20ms to print out, limiting your output rate (and therefore you input rate) to less than 50Hz.
19451  Using Arduino / Project Guidance / Re: Would I need multiple Arduinos for this project on: May 16, 2011, 01:42:34 am
Quote
Not sure where I said RPM is the same as hz, sorry if I was not clear...

Right here:
Quote
and an 8000 RPM rev limit, the maximum frequency the input should see is ~32,000 (4 ignitor pulses per engine revolution).  When I set the output to 32000hz

RPM is cycles per minute, Hz is cycles per second.

If it helps you, an engine at 8000RPM is running at 133.33 Hz.
Your 32kHz output should be running at just 533.33Hz.

Now see if your interrupts can keep up.
19452  Using Arduino / Programming Questions / Re: Code for sensing the pulses sent out a Sony TV Remote? on: May 15, 2011, 03:31:04 pm
Do you have google?
Google "Sony Arduino RC5".
19453  Using Arduino / Programming Questions / Re: Code for sensing the pulses sent out a Sony TV Remote? on: May 15, 2011, 03:26:21 pm
Google really works well for this; the only search term you're missing is "RC5"
19454  Using Arduino / Project Guidance / Re: Would I need multiple Arduinos for this project on: May 15, 2011, 03:05:48 pm
Quote
and an 8000 RPM rev limit, the maximum frequency the input should see is ~32,000 (4 ignitor pulses per engine revolution).  When I set the output to 32000hz
I wish I had a pound for every noob who mistook Hz for RPM.
19455  Using Arduino / Sensors / Re: Stability of Infrared sensors in analog input on: May 15, 2011, 02:34:05 pm
Your maximum per-sensor sample rate is going to be around 1500 or 1600 Hz.
Is this adequate for purpose?
Pages: 1 ... 1295 1296 [1297] 1298 1299 ... 1738