[Solved] How to launch OLED display with "Now playing"

Hi!

Recently connected display lcd 1602a to its raspberry + volumio 1.5 for instructions AndyPi user step by step.

andypi.co.uk/?p=334

I thank him. Everything works fine.

But this display I do not like and was purchased by another - ER-OLEDM1602-4.

Changed SMD jumpers to i2c and connected according to instructions.

buydisplay.com/download/manu … Manual.pdf
buydisplay.com/download/inte … facing.pdf
buydisplay.com/download/demo … moCode.txt

Initialization is successful, the manual to user 0xFF.

But then the process stopped, so ka I’m not very good at programming and Python. Understand Linux and sometimes doing something in the tech. Much to ask me to help run this display with volumio. Whether it is possible to combine work from AndyPi with drivers from 0xFF? I would like detailed instructions.

P.S. Dear moderators of this forum, you can create a FAQ to connect different types of displays with photos, diagrams and scripts, step by step. It is not military secrets ?..)))

P.S.2. I apologize for the my bad english. I hope to help. Thank U.

RaspberryPi B rev.2, Volumio v.1.51, DAC i2c PCM5102

We have a guides section on this forum where everyone is free to post an guide on how to do stuff, like installing a screen. guides-f28.html

It is fairly impossible to make a guide on how to connect different types of displays. For this the screens should be bought and tested and a guide should be written and scrips should be made and a whole lot more. If you look at the time you needed to setup your screen, and multiply this by the amount of screens that are available AND time to test different setups AND troubleshoot time AND add time to write a guide. And don’t forget the cost in money to buy all the different screens. Besides that, Volumio isn’t made to do that, Volumio is purely focused on delivering the best audio quality. All the extra stuff you can do with it is great, but you’ll rely on your own skills and support from the community.

Andypi’s scripts are made for specific type of screens, but if your able to read and understand what they do you should be able to adopt it for your screen to show the lines you want.

So, if you get it working, make a guide with photos diagrams and scripts all step by step so others can follow it and post it in the guides section :slight_smile:

Solaar,

You have installed Lcdproc with the tutorial from www.andyPi.co.uk --> “AndyPi LCD with Volumio” and now you have changed LCD-screens.

The driver and LCDd.conf for your OLED screen are here: https://github.com/0xFACE/RPi-OLED-Display-SSD1311

1 Copy LCDd.conf --> /etc/LCDd.conf

2 /etc/LCDd.conf --> replace DriverPath=/usr/lib/lcdproc/ with DriverPath=/home/pi/lcdproc/

3 Copy hd44780-i2c.c to /home/pi/lcdproc/

Restart LCDd and …

Ik don’t own this lcd so I can’t test it but theoretical this are the things you must change…

Goodluck

Harry

Buckler,

Yes, I have already done that, but there is no result.
Started in terminal: sudo i2cdetect-1
I have: address my display is 0x3C
Change the address of the display in LCDd.conf
Started in terminal:
sudo /etc/init.d/LCDd restart
sudo mpdlcd --no-syslog &

Don’t work ! :frowning:((((

But should work! What’s the deal? Where incompatibility? Where to dig?

Maybe need something edit in /home/pi/lcdproc/hd44780-i2c.h ?

I had a similiar problem, can you adjust the brightness with a pot. ?
try strating it and change the brightness.

brightness is adjusted by software. when initializing the display brightness normal (this is seen in the photo above)

… And so… The problem is solved. Thanks to the great work and great assistance from the users 0xFF and AndyPi. You can write a FAQ …

Then how did you solve it?

Sorry:-) I still write a little later, after 3-4 hours …

RaspberryPi B rev.2, Volumio v.1.51, DAC i2c PCM5102
By factory interfacing manual

to connect wires like this:
OLED (pin)<==================(pin) P1

VDD (2)<----------------------------------------(1) +3,3V

VSS (1)<-----------------------------------------(6) GND
DB7 (3)<-----------------------------------------(6) GND
DB6 (4)<-----------------------------------------(6) GND
DB5 (5)<-----------------------------------------(6) GND
DB4 (6)<-----------------------------------------(6) GND
DB3 (7)<-----------------------------------------(6) GND
RD/E (11)<-------------------------------------(6) GND
WR,R/W (12)<--------------------------------(6) GND
D/C,SA0 (13)<--------------------------------(6) GND
CS (15)<-----------------------------------------(6) GND

DB2 (8)<----------------------------------------(3) GPIO2 (SDA1_I2C)
DB1 (9)<----------------------------------------(3) GPIO2 (SDA1_I2C)
DB0 (10)<--------------------------------------(5) GPIO3 (SCL1_I2C)

RESET (14)<---------------------------------(26) GPIO7 (SPI0_CE1_N) ???

Without capacitors & resistors.
SMD jumpers BS2-BS1-BS0 (0-1-0) in I2C :

Install this:

sudo apt-get install python-smbus i2c-tools -y

Edit /etc/modules:

sudo nano /etc/modules

Add 2 lines:

i2c-bcm2708 i2c-dev
Install lcdproc from here:
andypi.co.uk/?p=334
Replaced the files:
/home/pi/lcdproc/hd44780-i2c.c
/home/pi/lcdproc/hd44780.so (GREAT THANK for this file user 0xFF :slight_smile: )
/etc/LCDd.conf
to the new files from here:
github.com/0xFACE/RPi-OLED-Display-SSD1311

Edit /etc/LCDd.conf :

sudo nano /etc/LCDd.conf

# NOTE: Always place a slash as last character ! DriverPath=/home/pi/lcdproc/
Edit /home/pi/lcdproc/hd44780-i2c.c :

sudo nano /home/pi/lcdproc/hd44780-i2c.c
#define I2C_SLAVE 0x3C /* Change slave address */

Restart lcdproc:

sudo /etc/init.d/LCDd restart

Launch mpdlcd:

sudo mpdlcd --no-syslog & 

Got the result:

Use the OLED-display ER-OLEDM1602-4 with chip US2066 ,
but you can use ER-OLEDM2002-1, the same chip with:
raspberrypi.org/forums/viewt … 28&t=86794

Are this andypi.co.uk/?p=334 information correct for this time?

[Instructions to set-up AndyPi LCD (Using Volumio v1.55 – was updated 06 April 2015)]

I installed…on Volumio 2 & rpi B…

sudo apt-get update
sudo apt-get install python-smbus i2c-tools -y
sudo apt-get install lcdproc zip python-mpd python-pip
sudo pip install mpdlcd
sudo wget -O /etc/mpdlcd.conf https://raw.githubusercontent.com/rbarrois/mpdlcd/master/mpdlcd.conf
mkdir /volumio/oled
cd /volumio/oled
wget -O /volumio/oled/master.zip https://github.com/0xFACE/RPi-OLED-Display-SSD1311/archive/master.zip
unzip -j master.zip
sudo cp /etc/LCDd.conf /etc/LCDd.old
sudo rm /etc/LCDd.conf
sudo cp /volumio/oled/LCDd.conf /etc/LCDd.conf
sudo nano /etc/LCDd.conf

change ‘‘DriverPath’’ line:

# NOTE: Always place a slash as last character ! DriverPath=/volumio/oled/

sudo nano /etc/init.d/mpdlcd

inserted this text into the file and save:

#! /bin/sh case "$1" in start) /usr/local/bin/mpdlcd --no-syslog & ;; stop) killall mpdlcd ;; *) echo "Usage: /etc/init.d/mpdlcd {start|stop}" exit 1 ;; esac exit 0 #

sudo chmod a+x /etc/init.d/mpdlcd
sudo update-rc.d mpdlcd defaults
sudo update-rc.d LCDd defaults
sudo shutdown -r now

…this all.

…more simply solution…

nw-electric.way-nifty.com/blog/2 … mpd-o.html

doxycycline-cheapbuy.site.ankor onlinebuycytotec.site.ankor

doxycycline-cheapbuy.site.ankor onlinebuycytotec.site.ankor