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

Python • Poker shotclock

$
0
0
Hello fellow raspberry enthusiasts!

My name is Sven, 37 years old, and I live in Belgium.

I am the owner of a local pokerclub, and we want to introduce a "shot clock" to speed up the poker games.

Since those things easily cost 400-500 euros, I thought of building one myself.

I have a background in IT and electronics but my only programming skills date from my school time in VB.net

I have bought a RP Pico 2, some buttons and a SSD1309 I2C OLED Display to build this.

Idea:

When I turn on the device it should display the name of the pokerclub (and perhaps a logo?)

When button 1 is pressed the counter has to be set to 30 seconds and displayed on screen.

When button 2 is pressed the counter has to start.
When zero is reached the zero should flash a couple of times. If possible we can add a little buzzer/speaker to countdown the last seconds.

When button 1 is pressed again the counter needs to be reset and wait for button 2 to start again

I allready have MicroPython running on the Pico 2 and I am using Thonny to build.

Can anyone help me out to get started with the programming?

Thanks in advance

Statistics: Posted by Svendh — Sun Feb 16, 2025 11:25 am



Viewing all articles
Browse latest Browse all 8037

Trending Articles