Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4990

Beginners • Analog voltage pattern matching

$
0
0
Hi all,

I am looking to use a Raspberry Pi to do simple analog pattern matching and switch a output based on results.

I have an early 1990s pinball machine with incandescent/analog lights on the playfield, controlled by the CPU running the game. I'd like to have the Raspberry Pi trigger the output relay at a specific playstate in the game, which can be identified by a specific pattern of voltage variations on the game lighting.

What I'd like to do is monitor two or three analog input voltage levels over a short period of time (say 1 seconds), and look for a specific voltage pattern variation on those inputs. Then, when the pattern matches my preset trigger pattern, I need to trigger an external output (analog relay).

The input pattern of voltages would always be stereotyped, as it is coming from low voltage (12v) analog lighting output driven by a digital backend.

Is this doable with a Raspberry Pi? I posted in the beginners forum as I am a beginner with the Raspberry Pi and wasn't sure what level of complexity something like this is considered to be...

Thanks in advance!

Statistics: Posted by cyanmauve — Thu Sep 12, 2024 4:17 pm — Replies 4 — Views 63



Viewing all articles
Browse latest Browse all 4990

Trending Articles