Si estas buscando el mas compacto lcd para tus proyectos en Raspberry (mas digido a Pi
Zero) este puede ser tu mejor opcion.
PiOLED es su pequeño compañero OLED, listo para conectarse a cualquiera y todas las
computadoras Raspberry Pi, para darle un pequeño monitor. El PiOLED viene con un OLED
monocromático de 128×32, con píxeles blancos nítidos. El OLED usa solo los pines del I2C
para que tenga muchas conexiones GPIO disponibles para botones, LED, sensores, etc.
También es agradable y compacto, por lo que cabe en cualquier proyecto.
DESCRIPTION
In this tutorial I’ll explain how I setup my 0.91″ OLED display module using the Pi’s I2C interface. Once setup it is easy to use Python to place text, draw shapes or even display simple images and animations.
Hardware
1.Any Raspberry pi you have
2.I2C Pi OLED
Hardware connection
Just plug your IIC Pi OLED on your pi will ok.
usage
Update Your Pi and Python
sudo apt-get update
sudo apt-get upgrade
and
sudo pip3 install --upgrade setuptools
If above doesn’t work try
sudo apt-get install python3-pip
Enable I2C Interface
You can refer here.
Install OLED Python Library
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
cd Adafruit_Python_SSD1306
sudo python setup.py install
Example Python Scripts
cd examples
In there you should find a number of example scripts such as :
- animate.py
- buttons.py
- image.py
- shapes.py
- stats.py
Valoraciones
No hay valoraciones aún.