Go Down

Topic: Starting sketch before connection to pc (Read 647 times) previous topic - next topic

mskinder

Hi,

I'm trying to make an arduino uno output times to serial, sort of a external stopwatch,
and I have managed to do this. But I was wondering if it is possible to start the sketch,
and the timing, before I connect the arduino to the pc, so that I can start in one place,
and then move to the "finish line", without having to move the computer also.

Is it possible, and if yes, how?

Thanks

Grumpy_Mike

You need two things.
1) To power the arduino. This can be done by batteries and will start a sketch running.
2) To disable the auto reset that resets the arduino when ever the serial port is enabled. There is a link on the board you can cut to do this.

mskinder

Where can I find the link I would need to cut?

Thank you very much for the reply   :D

Grumpy_Mike

Depends on what you have. This link shows you haw for some versions:-
http://www.arduino.cc/playground/Main/DisablingAutoResetOnSerialConnection

On the uno it is a pad to the left of the resistor pack marked reset close to pin 14 of the ATmega chip, slice the thin wire in between and add a solder blob to reconnect.

mskinder


Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview