Raspberry pi 3B Скачать руководство пользователя страница 6

 

SalesIdeasUniverse@gmail.com

 

 

OLED Software 

The software to setup the OLED and run it each time the pi is started can be a little tricky is your 
new to pi.  Following the steps below should get you started. 

 

Before you start, command inputs are case sensitive so make sure you are aware of any case 
changes.  Also pay attention to 

-

 (dashes) and 

- - 

 (double dashes) and 

_

 (underlines).  This 

will save you some headache time!! 

Update Operating System & Install Python3 

 

sudo apt -get update 

 

sudo apt -get full -upgrade 

 

sudo reboot 

 
When system rebooted: 
 
 

sudo apt -get install python3-pip 

 

sudo pip3 install 

upgrade setuptools 

 

Install / update Dependency Libraries 

The following libraries may already be installed but run these commands anyway to make sure : 

 

cd ~ 

 

sudo pip3 install --upgrade adafruit-python-shell 

wget 

https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-

Scripts/master/raspi-blinka.py

 

sudo python3 raspi-blinka.py 

 

 

Hit yes to any prompts which may come up to reboot at the end. 

The above script will have enabled the I2C communications interface which is needed for the 
display.  To see if its connected type: 

 

sudo i2cdetect -y 1 

Содержание pi 3B

Страница 1: ...the panels are not the same on one side the slot hole is lower than the other It should be high slot on the left side and low slot on the right side This is so the slots align with the pi s header pi...

Страница 2: ...o sets of wires 3 wires for the RGB 5v fan and 4 wires for the standard SSD 1306 OLED display Wiring RGB Fan Firstly connect the 5v RGB Fan There are three wires from the fan only two are used the red...

Страница 3: ...e any colour we choose that is available to us when your case is assembled so colour does not matter What is important is the connection of the appropriate pins from the OLED to the pi header If you l...

Страница 4: ...m Take the VCC wire and insert into the left column 1st pin down 3 3v in the diagram Take the GND wire and insert into the right column 7th pin down Ground in the diagram Note that the OLED uses 3 3v...

Страница 5: ...n GPIO 3 Serial Clock I2C in the diagram Take the GND wire and insert into the right column 7th pin down Ground in the diagram Take the VCC wire and insert into the left column 1st pin down 3 3v in th...

Страница 6: ...update sudo apt get full upgrade sudo reboot When system rebooted sudo apt get install python3 pip sudo pip3 install upgrade setuptools Install update Dependency Libraries The following libraries may...

Страница 7: ...so the most likely issue is wiring Install OLED Python Library To install the library sudo pip3 install adafruit circuitpython ssd1306 sudo apt get install python3 pil Python Stats Script From you pi...

Страница 8: ...pi s SD card after your pi is installed the front panel is removable It is held into place by a bracket that is fitted to the top bolts of the fan on the inside of the case To remove the front cover...

Страница 9: ...ty of the SD Card sudo raspi config There will be a resulting menu where you should click on the expand filesystem option When you confirm the choice and wait you will receive a notification that the...

Отзывы: