Using Arduino for Signal Generation

Robin2:
I wonder if you mean that you want to record the time (the value of millis() ) when the signal goes HIGH and later record the time when it goes LOW so that you can replay the series of HIGHs and LOWs at the correct intervals?

If so, then that is possible. But you will need to give us some idea of how many time intervals you want to record.

I should also warn that, even if you do record those times, you will almost certainly find that a robot will not accurately retrace its path due to small differences in friction and things like that.

It s much easier to help if you explain the project you are trying to implement.

...R

I accept the fact that it wont retrace the path.

The project that I am doing is transportation of kind of , weightless goods and stuff. adding weight would make issues with the path.

I want a UGV to transport my items from once place to another, the path to be followed would be plain ... Minor turns, I have done some work on it already,

The signals to the motors go through the arduino, the arduino just for now, passes it to the motors using a motor driver circuitry. What I want to do is, make 2 modes for it

In one mode, I train the car, it follows a path and as I am training it, it saves the pulses given to the motors,

then i change the mode... now its supposed to use those pulses and make the same movements again.