(Amazon affiliate links)
-
OS install:
- Raspberry Pi 5 / 4 / 3 / Zero 2 WH - RaspberryPi OS 64-bit
- Raspberry Pi 5 / 4 / 3 / Zero 2 WH - RaspberryPi OS 64-bit
-
Enable SPI & I2C:
- Open a terminal on your Raspberry Pi.
- Run
sudo raspi-config - Navigate to Interfacing Options -> SPI -> Enable.
- Navigate to Interfacing Options -> I2C -> Enable.
-
Clone the repository:
sudo apt install -y git git clone https://github.com/frogCaller/2.23inch.git cd 2.23inch
-
Connect OLED HAT to Raspberry Pi:
-
Install System and Python Dependencies:
chmod +x setup.sh ./setup.sh
- Drawing and Typing:
-
To draw and type with the OLED screen, you need to use the Raspberry Pi desktop environment.
-
Connect a monitor, keyboard, and mouse to your Raspberry Pi and log in to the Raspberry Pi OS desktop environment.
-
Once logged in, navigate to the project directory and run the python scripts to type or draw:
python3 type.py python3 draw.py
-
- Display Messages or Images:
-
Utilize the fortune command to display random quotes or messages on the screen.
python3 fortune.py -
Display your saved drawings on the screen.
python3 gallery.py
-
- SSH Access:
- You can also access your Raspberry Pi remotely using SSH. Use the following command to connect:
- ssh pi@<your_pi_ip_address>
- VNC Viewer:
- Enable VNC on your Raspberry Pi:
- Open a terminal on your Raspberry Pi.
- Run sudo raspi-config.
- Navigate to Interfacing Options -> VNC -> Enable.
- Connect to your Raspberry Pi:
- Open VNC Viewer on your computer.
- Enter the IP address of your Raspberry Pi and connect.
- Once connected, use the VNC Viewer to interact with the Raspberry Pi UI.
- Enable VNC on your Raspberry Pi:
- Common Issues:
- Ensure SPI & I2C are enabled in the Raspberry Pi configuration.
- Check all connections if the screen does not display anything.
- Verify all required packages are installed correctly.
- More Info

