Show Posts
Pages: 1 [2] 3 4 ... 17
16  Forum 2005-2010 (read only) / Syntax & Programs / 120 khz with arduino on: March 04, 2009, 08:41:17 pm
How do i generate a 120 khz square wave frequency using arduino. Please help i know that there is someway to do this in software.
17  Forum 2005-2010 (read only) / Interfacing / Digital Output as an Input Pin on: December 02, 2010, 04:58:04 pm
Hello,

I am working on a project that requires more than 6 input pins. I remember reading somewhere, about how you could use a digital output pin as an analog input pin. I have searched, but somehow it has escaped me.

Thanks!
18  Forum 2005-2010 (read only) / Interfacing / Re: Counting Button Presses on: December 19, 2009, 07:24:33 pm
The first time the button is pressed is when the five seconds starts, and then when the five seconds is over, it will stop. then repeat...
19  Forum 2005-2010 (read only) / Interfacing / Counting Button Presses on: December 19, 2009, 04:21:39 pm
I know that this is probably very easy code.. but I want to be able to print how many times a button has best pressed within 5 seconds. For example, if i press a button 7 times within a 5 seconds time frame, it will print, "the button has been pressed 7 times....
20  Forum 2005-2010 (read only) / Interfacing / Measuring High's and Low's of an Analog input? on: December 18, 2009, 10:21:04 pm
Hello, I am wondering....
I have an input that is fluctuating, on and off, almost like the blink code. That signal is connected to an analog input, i was wondering, how i can measure and print the highest of the voltages, and the lowest of the voltage connected to the analog input. For instance, in the serial port it would print:
Highest measured= 267;
Lowest measured = 3;

Thanks!
21  Forum 2005-2010 (read only) / Interfacing / 2 Arduino Morse Code Communication with Laser on: December 16, 2009, 10:48:23 am
Hello, I am thinking about doing a project, where I can transmit morse code from one arduino, with the output a laser, and across the room, have another arduino with a photoresistor. The second arduino can read the delays and print in the serial port, Dash; Dot; Dot; Dash; according to what it is sensing.
I have got the tranmitting code, but I am having some trouble with the recieving code, and thought that you could help me out. i am thinking that the recieving code would use the button library, to read the morse code, but I am not sure, so can you please help me??

Here is the transmitting code:
Quote

int pin = 13;

void setup()
{
  pinMode(pin, OUTPUT);
}

void loop()
{
  dot(); dot(); dot();
  dash(); dash(); dash();
  dot(); dot(); dot();
  delay(3000);
}

void dot()
{
  digitalWrite(pin, HIGH);
  delay(250);
  digitalWrite(pin, LOW);
  delay(250);
}

void dash()
{
  digitalWrite(pin, HIGH);
  delay(1000);
  digitalWrite(pin, LOW);
  delay(250);
}


22  Forum 2005-2010 (read only) / Interfacing / Duty Cycle Measurement on: December 08, 2009, 06:46:37 pm
Is there a way to measure the percent of duty cycle of a voltage signal, like 25%, 50%, on an analog input pin? Thanks!!!
http://www.arduino.cc/en/Tutorial/PWM
23  Forum 2005-2010 (read only) / Interfacing / Arduino + IR = Infrared Coordinates on: November 23, 2009, 10:14:30 pm
Hello, I am wondering about how to track ir led's through Arduino, or something. I am thinking about using a webcam or a wiimote, and be able to get the Coordinates, like X and Y of the leds. Can I do this with Arduino? Please Thanks?!
24  Forum 2005-2010 (read only) / Interfacing / Re: What is the difference? on: July 06, 2009, 08:57:11 pm
I meant to put this in the hardware interfacing section sorry!
25  Forum 2005-2010 (read only) / Interfacing / What is the difference? on: July 06, 2009, 07:45:55 pm
I know that there is a tutorial on these accelerometers from sparkfun, but what is the difference between the three?
http://www.sparkfun.com/commerce/product_info.php?products_id=847
http://www.sparkfun.com/commerce/product_info.php?products_id=848
http://www.sparkfun.com/commerce/product_info.php?products_id=849
Thanks!
26  Forum 2005-2010 (read only) / Interfacing / TTl laser on: June 07, 2009, 08:38:28 pm
I found this, http://forums.trossenrobotics.com/tutorials/how-to-diy-128/connect-an-arduino-to-the-trossensparkfun-ttl-laser-2064/
(there are multiple pages)

I know that i put an ldr on the receiving arduino to read the blinks of the laser, but what code do i put on the receiving arduino.
27  Forum 2005-2010 (read only) / Interfacing / Binary Converter on: June 04, 2009, 04:37:24 pm
Does anyone have a program that works with the serial port to do something like this website?
http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_To_Text.asp
28  Forum 2005-2010 (read only) / Interfacing / ASCIITable? on: June 03, 2009, 09:07:52 pm
I am using this program for a project, http://www.arduino.cc/en/Tutorial/ASCIITable

For now it only prints integers, but i want it to be able to print words.

I would like to do something like this in my program but obviously I cant do that.

int number = "hello"; // first visible character '!' is #33
29  Forum 2005-2010 (read only) / Interfacing / Re: Stop-Print on: May 31, 2009, 05:15:45 pm
Yes, okay. I am not a prgraming genious : ) Can someone post a complete program of what i am trying to accomplish. THat would be awesome!
30  Forum 2005-2010 (read only) / Interfacing / Re: Stop-Print on: May 31, 2009, 02:52:18 pm
Do you have a code example i can see?
Pages: 1 [2] 3 4 ... 17