Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Syntax & Programs / Need help with the programming on: October 26, 2010, 09:32:18 pm

I am working on a project "stopwatch" for a timing system for race.
The stopwatch accuracy required is hundredth of a second (.01 seconds)

example: (2 places for minutes, 4 places for seconds)
The project needs to have start/stop/reset functions that can be user controlled.
Start/stop functions also need to be able to take inputs from the sensors (which is the very important).Everything will run off of 12VDC using batteries
On this project where sensor is broken timer starts, and when the final sensor is broken  timer stop and displays the time and resets the timer for the next lap.

The project requires to store and retrieve lap time for later.

As far for the parts I am using
Micro controller- arduino mini pro 8MHz, 3.3 v
Display:   serial Graphic LCD from spark fun
Xbee: xbee to send data wirelessly from the two sensor
Sensor: IR sensor

2  Forum 2005-2010 (read only) / Bugs & Suggestions / Recommendation for batteries on: October 11, 2010, 09:54:43 pm
hey guys
 I using a load that uses 250mAh current (that includes arduino, sensor and wireless communication) any recommendation for rechargeable batteries that supply 9 to 12V DC power and can last for 8 to 10 hr..
Basically this is outdoor project so there wont be outlet near by, therefore any suggestion for rechargeable batteries..  
3  Forum 2005-2010 (read only) / Interfacing / Re: Serial Question -- TTL for RX and RS232 for TX on: September 22, 2010, 01:49:59 am
Agree with that
4  Forum 2005-2010 (read only) / Interfacing / Need Help communication Xbee on: November 10, 2010, 01:31:16 am
Hello Guys,
 I am working on wireless project where i need to setup push button that can start the program on other micro controller wirelessly.

i am having problem communicating Xbee and arduino wireless. i am sending a serial data like 0 "LOW" or 1 "HIGH"  using TX and RX of arduino connected to Xbee RX and TX respectively. But when i Retrieve serial data from receiving side that has second XBee connected with arduino its just print random number or -1.

 Sending code

int switchPin = 4;              // switch is connected to pin 2
int val;                        // variable for reading the pin status
int buttonState;                // variable to hold the last button state

void setup() {
  pinMode(switchPin, INPUT);    // Set the switch pin as input

  Serial.begin(9600);           // Set up serial communication at 9600bps
  buttonState = digitalRead(switchPin);   // read the initial state

void loop(){
  val = digitalRead(switchPin);      // read input value and store it in val

  if (val != buttonState) {          // the button state has changed!
    if (val == LOW) {                // check if the button is pressed
    } else {                         // the button is -not- pressed...

  buttonState = val;                 // save the new state in our variable

and receiving data

#include <NewSoftSerial.h>
NewSoftSerial mySerial(2,3);

//int incomingdata;

void setup()

void loop()
   incomingdata =;
5  Forum 2005-2010 (read only) / Interfacing / Re: Arduino with Xbee on: November 10, 2010, 03:39:39 am
thank i will look check my pin configuration again
6  Forum 2005-2010 (read only) / Interfacing / Arduino with Xbee on: November 04, 2010, 09:13:19 pm
Hello Guys
I am new to X bee and Micro-controller interfacing,
i working on a project that require wire less button to start the program on arduino.

i brought two X bee and arduino, but had a hard time communicating x bee with arduino wirelessly. so i brought another arduino, that can be programed to generate a digital signal using puss button. But i wasn't able to receive any signal on my second arduino wirelessly.  

Is their any example that u guys know about how to send digital signal through X bee or Receive Digital signal send from x bee at arduino?

7  Forum 2005-2010 (read only) / Interfacing / interfacing serial backpack with arduino mini pro on: October 06, 2010, 08:27:01 pm
hello guys,
I am new on interfacing serial communication. i m trying to change the baud rate of GLCD display which has a factory made baud rate 115200. as going over the GLCD data sheet we can change the baud rate of the GLCD but i am having trouble on writing code. i am using arduino mini pro with FTDI connector to connect arduino with mini USB drive.
Serial Display that i am using comes with serial backpack

8  Forum 2005-2010 (read only) / Interfacing / Re: how to interface relay with arduino on: October 01, 2010, 02:56:03 am
than x for the help guys, I really appreciate your quick response.
9  Forum 2005-2010 (read only) / Interfacing / Re: how to interface relay with arduino on: October 01, 2010, 02:36:58 am
thanx Richard Crowley and westfw

 I mean A) Something else is driving this 12V relay and you want Arduino to detect when the relay is activated.

Sorry for not clarifying the question.
I'm still confused about coding, when we make a condition loop on programming ( lets say trigger is on and we received the signal) what kind of signal do we receive though, is there any way to find what kind of signal we receiving, so that we can specified at condition loop (IF statement) saying IF (INpin ==  ????)

10  Forum 2005-2010 (read only) / Interfacing / Re: how to interface relay with arduino on: October 01, 2010, 01:40:01 am
Thanx guys i really appreciate ur quick reply. I am using 12 V relay here's the website

i need to detect the trigging of the relay when the signal is received.  
11  Forum 2005-2010 (read only) / Interfacing / how to interface relay with arduino on: September 30, 2010, 11:49:12 pm
hello i am new to project, i was trying to interface arduino with relay.
relay has NC, NO, and C outlet which i was trying to connect with arduino. any idea frens how to connect.
12  Forum 2005-2010 (read only) / Interfacing / Re: Serial LCD interface with arduino mini pro on: September 22, 2010, 02:45:41 am
Display do have power but the its not showing any data send to it through arduino. It does show symbol that keeps on changing.. has this happen to any one else or theirs something defect with the display
13  Forum 2005-2010 (read only) / Interfacing / Serial LCD interface with arduino mini pro on: September 22, 2010, 01:50:11 am
Hello guys,
I am new to this interface between LCD and micro controller. I am trying to send code to LCD display through arduino mini pro, Arduino compiler says the code is uploaded but i cant see any thing on my Serial Display.

I am using Serial LCD display with backpack from sparkfun :
And Arduino mini pro micro-controller
with FTDI
connector to connect arduino with computer.

it seem their is something wrong going on cause the screen display wired numbers from right to left.
Pages: [1]