How to calculate the operating time of electo mechanical relay

How to calculate the operating time of electo mechanical relay

Plz guide programing for above problem.

Plz go through as per sketch.

When push button (PB1) pressed rly 1 get ON and same time operating time of electo mechanical relay from NO to NC should be counted in milli second.

When push button 2 (PB2) pressed the counted timer in display should get reset.

Plz up load the code

Hi, I can move your post to a section of the forum where you can offer payment for this service, if you want?

Welcome to the forum

The forum is not a code writing service unless you are prepared to pay for it

What code have you written so far ?

How to calculate the operating time of electo mechanical relay

Plz guide programing for above problem.

Plz go through as per sketch.

When push button (PB1) pressed rly 1 get ON and same time operating time of electo mechanical relay from NO to NC should be counted in milli second.

When push button 2 (PB2) pressed the counted timer in display should get reset.

Plz up load the code

What will be the cost

What will be the price

That is for you to negotiate.

Please take care about who you trust. Do not pay the whole amount until you have working code.

Do you want this topic moved to the forum category where you can ask for paid help ?

Does the schematic have to be exactly the same as the one you posted? It would be simpler to wire up to the Arduino if the switches connected digital pins to ground rather than 5V. Also there doesn't really need to be a time reset button, the Arduino could work this out. The Arduino could have 1 button:

  • First press of button sends power to relay and starts the timer
  • Arduino keeps checking relay contact until it closes and stops timer when closed.
  • Arduino displays time in ms on serial monitor of Arduino IDE, or if you prefer it could display it on a simple display like 16x2 LCD.
  • Next press of button turns off power to relay.
  • Then Arduino goes back to the top of this list and waits for the next press of the switch to start the process over again.
1 Like

Yes sir, correct
Can i get for code as per your post

One more thing sir i ll use external push button

See my previous reply

1 Like

@santhoshr53 Your duplicate topic has been deleted

Please clarify whether you are prepared to pay for the code to be written or not

1 Like

Thanks sir
If possible share code

I will use external push button

Should this be a operation hour counter with reset? Operating hours counter (this has no reset, but just to illustrate)

1 Like

I don't have any code to share, I'd have to write it, and I don't really want to do that at the moment.
Do you have any experience in writing simple Arduino code, e.g. just to turn a relay on?
Did you drawn the schematic? I'm just asking to check if you know how to do the wiring for the button and the relay.

1 Like

Ah, good question. I unconsciously assumed "How to calculate the operating time of electo mechanical relay" meant how long it took to turn on.

No sir its takes around 16 milli seconds

I am new to this programing area

O knowledge in this area i will try to learn

@santhoshr53 Please answer this question

sir its takes around 16 milli seconds

I am new to this programing area

O knowledge in this area i will try to learn