Create project Need help?
Show more (1)
bera
  • Labs project

Tambola / Housie on Arduino

Status: Proposal
2216
3
votes
February 22, 2016
tambola_tft_with_oled.jpg

Hi,

Here's a complete project of a gambling game called Tambola (also called housie or Bingo!  game in US & UK) on UNO. It's very popular here in India.

The game requires lots of hardware for creating the random number generation which is replaced by Arduino UNO with a big 4" display (ILI9488).

It has one push button to create the random number generation while one more button is used for resetting the game. For resetting both the buttons to be pressed together.

Two small 256 Byte EEPROM -24LC256 is used on I2C bus for safe storing of data in case of power failure. Operating voltage is 3.3 @ 150 mA.

To make the button press audible I've provided a PWM tone into the software.

For random number generation I've used this way - First it senses the stray induction at one of the analog pin A0 (that's in the range of 0 to 1023 ) it is then used to create the randomSeed generation. After that random(number) is used.

val=analogRead(A0);

randomSeed(val);

rand1 = random(number);

This way it ensures that everytime it gets a new set of random number creation.

The BOM is as follows.

4" ILI9488 display from aliexpress.com = $8

Arduino UNO made on ATMEGA328 on board =$4

2 no 24LC256 = $3

64*128 1.8" OLED= $4

wires, speaker,push buttons,resistors=$5

--------------------------------------------------------------------

Total = $29

--------------------------------------------------------------------

 

The game has several features that we find in the real game only electronically built.
 
01. numbers are all come and go to the 24LC256 memory chip - 02 nos. There is no chance of missing any number any way.
 
02. The board is arranged automatically. So least work of putting them on board.
 
03. The last number and the last count is always visible on the board. Therefore,
no need to keep them in manual memory.
 
04. Audio sound while pressing the play button.
 
05. Bounce free push button action.
 
06. Safety against keeping the button pressed unknowingly (The numbers won't roll if you keep it pressed ! It has to be released to make it enable for the next number )
 
07. Easy & Cheap (not more than $25 )
 
08. 3.3 volt & 150 mA is the input power required.
 
 

The code is complete. Soon I'm going upload the schematic and the Arduino sketch. 

The ILI-9488 (26 pin) connection with Arduino is shown here.

https://drive.google.com/file/d/0B3E3LcSKoM-6dEFGUGNWUHg3eVE/view?usp=sharing

 

The Arduino sketch for Tambola game is here.

https://drive.google.com/file/d/0B3E3LcSKoM-6XzN4SlJyZmhtRUE/view?usp=sharing

 

28/02/16

In the real housie game today the audience wanted to know what is actually happening on the board. Therefore, I've added a second OLED display here which will be facing the audience always, showing the round number and the number. 

 

The Arduino sketch for Tambola with OLED is here.

https://drive.google.com/file/d/0B3E3LcSKoM-6VS1lUWdPTWxsa0k/view?usp=sharing

 

Finally the Tambola schematic is here with OLED connection

https://drive.google.com/file/d/0B3E3LcSKoM-6d3pwN21KdzBmMXc/view?usp=sharing

 

  

Bera S

Vindhyanagar

Read the full post
Show less
Products
Images
open pcb
Game in progress
Other
  • Tambola_links.pdf (216.28 KB )
    See all the links of this project are included here.

Loading comments...