Skip to main content
Version: ACS CC

Pico-Wordle

Wordle game build with Pico and programed in Rust

info

Author: Iudenco Ianos
GitHub Project Link: https://github.com/UPB-PMRust-Students/proiect-iragut

Description

Pico-Wordle is a simple word guessing game inspired by the popular game Wordle. The game is designed to be played on a Pico device, and it is implemented in Rust. The objective of the game is to guess a secret word within a limited number of attempts. The brain is the Raspberry Pi Pico 2W, the word apear to 1602LCD with I2C Interface display, the feedback is given by MAX7219LED 8x8 Matrix Module and the input is given by the PC keyboard via wi-fi.

Motivation

I like to play logics games, so I decided to create a simple game who can easly kill some time.

Arhitecture

diagram

Raspberry Pi Pico 2W
  • Conect all componets
1602LCD with I2C Interface
  • Interface: I2C
  • Pin connections SDA(GP20), SCL(GP21)
  • Display the word
MAX7219LED 8x8 Matrix Module
  • Pin connections: DIN(GP19), CS(GP5), CLK(GP18), VBUS(VCC)
  • Display the feedback

Log

  • 21 - 27 april: Finish documentation
  • 28 - 04 april: Finish hardware and update documentation

Hardware

Using the Raspberry Pi Pico 2W, it will communicate with other components so when, someone give a input by keyboard(Wi-fi), the letter will be displayed on the LCD and after all 5 letters appear on the LCD, the player can press the Enter key to send the word. On the Matrix LED, the player will see the feedback of the word.

Schematic

schematic img

Bill of Materials

DeviceUsagePrice
MAX7219 LED Dot Matrix ModuleLED Display17.49 lei
2.54 mm Pitch 40P Pin Header - YellowConnector2.56 lei
2.54 mm Pitch 40P Pin Header - GreenConnector2.56 lei
Micro USB Blue Cable 50 cmUSB Cable3.03 lei
Raspberry Pi Pico 2WMicrocontroller39.66 lei
Breadboard Kit HQ 830 PBreadboard22.00 lei
1602 LCD with I2C Interface and Blue BacklightLCD Display16.34 lei

Software

LibraryDescriptionUsage
lcd1602-driverDisplay driverDisplay driver for lcd1602 using I2C interface
embassy-rsEmbeded frameworkLibary what give me the tools to operate
embassy-netDriver for wi-fiLibrary using to operate via wi-fi