Try to win against this Othello game

Several game levels will allow you to discover the Othello game or to become a champion

Aug 8, 2023

•

1429 views

•

0 respects

•

Components and supplies

2

12 mm pushbutton

1

Breadboard - 830 contacts

1

Voltage translator (4 channels)

4

6mm pushbutton

1

1.3" OLED display I2C white

1

Arduino Nano Every with headers

Apps and platforms

1

Arduino IDE

Project description

Code

Athalie 4.0

cpp

Adapt line #19 to your own OLED display

Downloadable files

Athalie schematics

Athalie drawing 1.jpg

Immagine

Comments

Only logged in users can leave comments

Immagine
Immagine

rafununu

5 months ago

I think you don't really need the voltage converter as the pins can be set as open collector, a resistor to 3.3V is enough to drive the display, 2 in fact SDA & SCL. I'm not 100% sure of that but...

Immagine
Immagine

frenchy22

5 months ago

I'm not sure it is possible to drive a signal in open collector mode. But there are two other solutions to suppress the voltage converter: 1) Some OLED displays support 5V as power supply and signals. 2) I have tried to run this program on a Nano 33 BLE board. The level of the signals is 3.3 V, and the game is 5 times faster !

Immagine
Immagine

frenchy22

a year ago

I must apologize, there is a bug in this project: the push buttons Menu and Enter are swapped between the code and the schematics. You can fix it either by plugging the Menu push button into input 4 and the Enter push button into input 5, or by changing the code lines 34 and 35 (reverse 4 and 5). I am preparing a new version which will have four improvements: this bug will be fixed, it will be faster, there will be an additional level, and it will be possible to adjust the brightness of the display.

Immagine

frenchy22

14 Followers

•

11 Projects

Project of the month

August 2023

winner

3