Sensor to detect length who can survive 24/7

sorry for my bad english,
i have seen this video for a while :

Arduino Controlled Pneumatic Servo - YouTube,

based that video, i like to make some machinery using that concept,
that machine will work for 24/7,
(note: the frequency of linear is about 2 seconds per cycle, first second forward, another second is backward)

i don't know is that "sensor" that he/she using in that video,
is that potentiometer or rotary encoder?
i know both of them is cheap, about 1 USD,
but i don't like to replace it every day or so
any guide so it will durable if i using it for 24/7?

A potentiometer is appropriate because it has a know beginning and ending stop points.

I am sure you saw the spring return for returning the piston. I guess you need to determine how much force is needed in both directions. Then you can decide on how to make the air cylinder and return spring.

Paul

Paul_KD7HB:
A potentiometer is appropriate because it has a know beginning and ending stop points.

I am sure you saw the spring return for returning the piston. I guess you need to determine how much force is needed in both directions. Then you can decide on how to make the air cylinder and return spring.

Paul

sorry if my english misunderstood you,
i am asked in the title is: "Sensor to detect length who can survive 24/7",
i know the potentiometer or rotary encoder is able to do that you mention,
but will it survive if i using it 24/7?,

just note, it will be 1 second to move forward, and another second to backward,
that means, every 1 minute it will move forward about 30 times, and backward 30 times too,
total movement = 30 + 30 per minutes, = 60 movement per minutes,
or 3600 a hour, or 86400 movements per day,
(just imagine you turn the volume min and max in an 'old sound system' every 1 second for days)
at that point, i am not sure if "potentiometer or rotary encoder" will survive with that many movements,
is there any device who can replace standard "potentiometer or rotary encoder" with better endurance,
so i don't need to replace it every day?

another note: it will do for 24/7 every second, in that condition, it will generate heat so the device will not last long,
(if it will survive for 24 hours, i assume it was a miracle),

again, sorry for my bad english, and thanks for reply

All depends on how many days you want to run this thing. Nothing that slides will last for ever. Even with lubrication.

A rotary encoder is electronic and has no sliding parts. The only parts that may fail will do so if the rest of the circuit is wrong.

By the same reasoning, the sliding piston driven by air will need lubrication of some sort, depending on the sealing material. Of course, it will fail slowly.

Please state the life you expect to get from this device. You have to design for that life.

Paul

Paul_KD7HB:
All depends on how many days you want to run this thing. Nothing that slides will last for ever. Even with lubrication.

A rotary encoder is electronic and has no sliding parts. The only parts that may fail will do so if the rest of the circuit is wrong.

By the same reasoning, the sliding piston driven by air will need lubrication of some sort, depending on the sealing material. Of course, it will fail slowly.

Please state the life you expect to get from this device. You have to design for that life.

Paul

thank for reply,
this is i got from the internet, just for reference,
Potentiometer 50K 3590S Wirewound Adjustable Variable Resistor ak83

Operating temperature: +1 s/d +125 C
Rotational Life: 1,000,000 rotations
Load Life: 1000 hours
Shaft Diameter: 6.35mm

it said it will survive for 1000/24 = 41 day,
but it will work nonstop for 24/7.
based my logic, it will not survive even 1 month,

is there any device that design for this job? what it called?
even if it more expensive like above 100 USD,
it better than worried for unexpected time when the sensor will broke

Maybe an absolute encoder would work for you.

Or a cylinder position sensor.

The point of that video was the piston had variable positioning on its stroke via positional feedback.

Your described purpose lacks the intent of that setup.
Do you need need positional data on how far the piston can go 30x a minute.
Do you need a variable stroke length 30x a minute?
Do you just need it to go back and forth?

Since it’s using compressed air to run, a simple small automotive oil cooler or salvaged evaporator coil out of the compressor will keep the air temp lower going in and that same air will stabilize the temperature of the piston so it won’t likely overheat.

Install so outlet connection on the piston is downwards so water does not collect inside it and hydro lock it.

dougp:
Maybe an absolute encoder would work for you.

Or a cylinder position sensor.

the absolute encoder , i google this, it shapes like an electric motor, and it like some motorbike parts, i will ask my eletrician and mechanic if this device can be implemented in the machine,
and thanks for reply

Slumpert:
The point of that video was the piston had variable positioning on its stroke via positional feedback.

Your described purpose lacks the intent of that setup.
Do you need need positional data on how far the piston can go 30x a minute.
Do you need a variable stroke length 30x a minute?
Do you just need it to go back and forth?

Since it’s using compressed air to run, a simple small automotive oil cooler or salvaged evaporator coil out of the compressor will keep the air temp lower going in and that same air will stabilize the temperature of the piston so it won’t likely overheat.

Install so outlet connection on the piston is downwards so water does not collect inside it and hydro lock it.

the machine itself will be using linear movement like the piston from a locomotive steam engine, but the power from the wheel and it will make a linear movement, and it will not use any pneumatic,
i just need the "sensor" when the stamp by solenoid will stamp the product

This is like getting a straight story from a teenager!

The video shows the wheel only returning the piston to it's original position with a cable or string. How does your modification extend the piston????

Paul

Paul_KD7HB:
This is like getting a straight story from a teenager!

The video shows the wheel only returning the piston to it's original position with a cable or string. How does your modification extend the piston????

Paul

i just like to know is there any sensor device can survive for 24/7(just like the title i write),
that prototype on youtube video just to show how the sensor will do in the project,
i never write i will use pneumatic in my post(s)

Kucingmiow:
i just need the "sensor" when the stamp by solenoid will stamp the product

Looks like x-y has reared its head. Possibly your solution is as simple as a limit switch.

What *exactly * is the purpose of the mechanism?

dougp:
Looks like x-y has reared its head. Possibly your solution is as simple as a limit switch.

What *exactly * is the purpose of the mechanism?

some item need to stamp about 10cm, another item need 20, but it require manually(or electrically) set the limit switch, but if i using this "length sensor" it just press how target range and it will do automatically, it even can stamp 10 or 20 or 50+ cm without change limit switch sensor

Kucingmiow:
some item need to stamp about 10cm, another item need 20, but it require manually(or electrically) set the limit switch, but if i using this "length sensor" it just press how target range and it will do automatically, it even can stamp 10 or 20 or 50+ cm without change limit switch sensor

Ah. Have you considered whether acceleration of the stamper will affect the sensor?

Kucingmiow:
i just like to know is there any sensor device can survive for 24/7(just like the title i write),
that prototype on youtube video just to show how the sensor will do in the project,
i never write i will use pneumatic in my post(s)

If you DID use pneumatic, it would sure simplify what you are trying to do!!!

Paul

dougp:
Ah. Have you considered whether acceleration of the stamper will affect the sensor?

the acceleration is constant because it using ac motor straight to the electric source (220 volt)

Paul_KD7HB:
If you DID use pneumatic, it would sure simplify what you are trying to do!!!

Paul

sorry if my post title and my post content miss guide you all