RX8Club.com

RX8Club.com (https://www.rx8club.com/)
-   Series I Do It Yourself Forum (https://www.rx8club.com/series-i-do-yourself-forum-73/)
-   -   DIY: Build your own computer-based compression tester for $68 (or $100). (https://www.rx8club.com/series-i-do-yourself-forum-73/diy-build-your-own-computer-based-compression-tester-%2468-%24100-261310/)

NotAPreppie 02-19-2019 11:37 AM


Originally Posted by Loki (Post 4881345)
Hah yeah Arduino memory is hilarious. I was going to say take a raspberry pi, if you have no power constraints. Then you can run whatever you want. You can even put it in a gameboy case. Or an Arduino Méga, that should give you the 0-5v inputs you want and 256k?

As far a sample frequency, I think you need to sample far faster. 5hz works if you catch the peak exactly. The peak duration is tiny, like 5ms, so you need to sample at 200hz+ to confidently catch the max of each one.

You can use the old derivative method to find peaks. Anywhere where the slope is 0 is either a min or a max. Throw away the mins and you're set.

As for when to start recording, record the last x samples continuously, so the problem becomes detecting stops. This should be easier, you're just looking where X time has passed without peaks. The first few peaks are garbage anyway, the starter doesn't reach full speed until after a few revolutions.

Yah, I've got an RPi 3B running RetroPi for all my nostalgia gaming needs. I even built a portable unit with batteries and LCD panel for my nephew.

I wasn't saying that I was going to sample at 5Hz, just that it was roughly the frequency of the peaks. I'm hoping the 48 MHz processor will be fast enough for our desired sample rate.

It's looking like the derivative method might be the conceptually easiest way. I think I can calculate the slope for X number of samples and watch for it to change from positive to negative.

Adding in a watchdog function to see if the pulses start/stop shouldn't be too hard. (famous last words)


Originally Posted by wannawankel (Post 4881371)
This has taught me one thing - boy do I need to brush up on my electronics skills. Not since Radio Shack days....

Yah, the Arduino has kind of been a revolution in user-accessible programmable microcontrollers.*

I was never really an electronics or programming guy but I seem to be drifting that direction more and more.

NotAPreppie 02-20-2019 02:06 PM

Okay, I got some help brainstorming on /r/arduino and have a plan. Now I just need the time to actually write the code...

I'm playing around with CircuitMaker and will probably use that to host the project. I'm going to start a new thread when I get further along since this is a distinct project from what came before.

Loki 07-07-2019 10:07 PM

1 Attachment(s)
I realized I never posted the excel sheet I use with this tool to handle conversions, rpm, etc.

Here it is!

I did have to replace the pressure transducer because the original stopped transducing.

wannawankel 07-08-2019 12:57 PM

is that xls file there? (I get page/file not found)

Loki 07-08-2019 02:53 PM


Originally Posted by wannawankel (Post 4892703)
is that xls file there? (I get page/file not found)

I'm able to download it from the attachment. It's just attached to the post, nothing fancy :/
Does it not show up?

wannawankel 07-09-2019 12:12 PM


Originally Posted by Loki (Post 4892727)
I'm able to download it from the attachment. It's just attached to the post, nothing fancy :/
Does it not show up?

It works today - I was too fast to download it after you posted..


All times are GMT -5. The time now is 09:46 PM.


© 2024 MH Sub I, LLC dba Internet Brands