Author Topic: [solved] Looking for an off-the-shelf electronic "counter" to count rotations  (Read 4988 times)

0 Members and 1 Guest are viewing this topic.

Offline K3mHtHTopic starter

  • Regular Contributor
  • *
  • Posts: 96
  • Country: ca
Hey everyone,
I have a little jig set up to test the life-span of something I'm making, it rotates about 1 time per second and I'd like to count up to 10M rotations. The power I have available is 3.3V and I'd like the count to remember and continue when the device is turned off.

I'm wondering if there's something Off The Shelf available that I can use for this. Ideally I'd be counting the rotations without contact, something like a hall effect sensor or ultrasonic, etc.

I'm not exactly sure what it's called I'm looking for or where to search,

thanks for your time!
« Last Edit: January 07, 2024, 12:06:47 am by K3mHtH »
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3249
  • Country: us
 

Offline audiotubes

  • Regular Contributor
  • *
  • Posts: 176
  • Country: cz
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #2 on: December 20, 2023, 08:05:35 am »
Stroboscopes can determine revolution speed, I guess they should also be able to count revolutions.
I have taken apart more gear than many people. But I have put less gear back together than most people. So there is still room for improvement.
 

Offline Dan123456

  • Regular Contributor
  • *
  • Posts: 199
  • Country: au
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #3 on: December 20, 2023, 09:00:57 am »
Would an IR transceiver work?

Put a little reflective tape on the shaft and use that to count the turns via an Aurduino / microcontroller  :)
 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4468
  • Country: nz
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #4 on: December 20, 2023, 10:08:38 am »
Maybe search for "pulse counter", e.g.:

https://www.kuebler.com/us/products/evaluation/displays-and-counters/pulse-counters

Their stuff costs ~$250!

I see on amazon you can get 20 Hall effect sensors for $8, including shipping. If you want a display locally then a small serial (I2C or SPI) LCD display costs a couple of bucks.

That's few enough pins used that an 8 pin MCU such as an ATTiny85 or CH32V003 could do the job. Both run just as well on 3.3 and 5 V with no external components needed. The AVR has EEPROM that can store the count during power-down, and the WCH has flash that can be used for the same purpose. Neither are spec'd for 10 million rewrites, so you probably want to write the count to non-volatile storage only from time to time. Which means you probably want another input pin to tell you when the power has been switched off, and a capacitor to continue to power the MCU for long enough to save the data without risk of corruption.
 
The following users thanked this post: bingo600

Offline BeBuLamar

  • Super Contributor
  • ***
  • Posts: 1354
  • Country: us
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #5 on: December 20, 2023, 11:03:15 am »
Off the shelf mainly for industiral use and they don't have to sell them cheap but I think this would work as it's operated by a built in battery so it stay on.
https://bigbearinstruments.com/Veeder-Root-C342-Series-Counter?gad_source=1&gclid=CjwKCAiAvoqsBhB9EiwA9XTWGW0_o0bcBvqSJ4p32jYQEKvf--_-J0_EQQue9vjvo2ey9WNbwsRF1RoCBW4QAvD_BwE
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3249
  • Country: us
 

Offline YTusername

  • Regular Contributor
  • *
  • Posts: 86
  • Country: 00
    • Atadiat
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #7 on: December 25, 2023, 04:56:39 am »
I am not sure why you want to count the rotations without contact, but if this is because you are worried that the wires can't rotate with the "tested" rotating object, then there is a special type of connector for this case. One side of the connector will rotate with the object and the rotation sensor, and the other side will be fixed, providing the wires to external processing. You may also think of having a rotation sensor attached to the object's body and providing rotation information wirelessly.

Gyroscope can provide that information easily, you can develop such a sensor in a few hours. Also if you have a special reason to be an external sensor, then you can use computer vision that can detect a marker on the rotating object. This computer vision has a limitation based on the Camera FPS.

« Last Edit: December 25, 2023, 04:59:07 am by YTusername »
 

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5432
  • Country: us
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #8 on: December 25, 2023, 07:04:07 am »
Do you need single digit resolution?  Put put the sensor through a divide by eight bit (1024) prescaler and use one of the cheap four digit rotation counters on eBay, Alibaba and everywhere else.  It seems likely that you even gang two of these counters without too much difficulty.
 

Offline K3mHtHTopic starter

  • Regular Contributor
  • *
  • Posts: 96
  • Country: ca
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #9 on: January 07, 2024, 12:06:34 am »
Thanks for the suggestions everyone, although I'm not sure why so many people suggested a complicated DIY approach when I wanted an off-the-shelf solution :)

Anyways, I picked up one of these: https://www.aliexpress.com/item/1005005578547939.html?spm=a2g0o.order_list.order_list_main.30.73c218027XjVNM

Counter goes up by 1 every time the magnet passes the sensor, so also satisfies the contactless requirement. AA powered as well so it remembers the count even after the testing apparatus is turned off. Might be helpful for others looking for something similar.

 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4468
  • Country: nz
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #10 on: January 07, 2024, 12:27:55 am »
Thanks for the suggestions everyone, although I'm not sure why so many people suggested a complicated DIY approach when I wanted an off-the-shelf solution :)

We didn't know any off the shelf solution that met your spec of a 10M count?

Hard to know whether "off the shelf" (wondering) or "10M count" (would like) was the more important requirement and until just now you had not given any clarification.

The item you linked to doesn't meet the count spec.
« Last Edit: January 07, 2024, 12:31:50 am by brucehoult »
 

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5432
  • Country: us
Re: Looking for an off-the-shelf electronic "counter" to count rotations
« Reply #11 on: January 07, 2024, 02:49:54 am »
Thanks for the suggestions everyone, although I'm not sure why so many people suggested a complicated DIY approach when I wanted an off-the-shelf solution :)

Anyways, I picked up one of these: https://www.aliexpress.com/item/1005005578547939.html?spm=a2g0o.order_list.order_list_main.30.73c218027XjVNM

Counter goes up by 1 every time the magnet passes the sensor, so also satisfies the contactless requirement. AA powered as well so it remembers the count even after the testing apparatus is turned off. Might be helpful for others looking for something similar.

You realize that the selected counter at 6 digits doesn't meet your 10 million count requirement don't you?
 

Offline K3mHtHTopic starter

  • Regular Contributor
  • *
  • Posts: 96
  • Country: ca
You realize that the selected counter at 6 digits doesn't meet your 10 million count requirement don't you?

It counts up to 1 million, so marking a piece of paper 10 times as it rolls-over is still a lot easier than DIYing a solution from scratch.
 

Offline brucehoult

  • Super Contributor
  • ***
  • Posts: 4468
  • Country: nz
You realize that the selected counter at 6 digits doesn't meet your 10 million count requirement don't you?

It counts up to 1 million, so marking a piece of paper 10 times as it rolls-over is still a lot easier than DIYing a solution from scratch.

Perhaps that was already the plan with the 10M count. We weren't told the RPM so that could be the difference between checking it for rollover once a day vs having to check it every two hours 24/7.  Or once a week vs once a day. Or once a year vs every month.
 

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5432
  • Country: us
You realize that the selected counter at 6 digits doesn't meet your 10 million count requirement don't you?

It counts up to 1 million, so marking a piece of paper 10 times as it rolls-over is still a lot easier than DIYing a solution from scratch.

I am actually glad you found a solution that you like.  And suggest that you check to see if the counter you purchased has a rollover electrical output (not terribly unlikely).  If so you can plug that into the input of a second counter to add a rather large number of zeros to the total.  Yes, it is DIY, but in the really simple range, and has the advantage that it doesn't require that you not be on vacation or ill or anything else which might screw up your count. 

As a belt and suspenders approach I would recommend recording the counter output at regular intervals so that if something unexpected happens (battery failure, someone disconnects your probe or other catastrophe) you can reasonably estimate what the count was, and hopefully convince whoever you have to convince that there is no need to start over.  The interval will depend on a number of things, the rotation speed, how often you or someone else will be available and how much evidence you think you will need for the post failure sales job.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf