
-Wie fange ich mit dem Raspberry Pi an?
- Gießen Sie das Bild auf die SD-Karte, schließen Sie es an die Stromversorgung an und gehen Sie in den Laden, um alles zu kaufen, was fehlt.
Der Raspberry Pi ist standardmäßig kein Geschenk. Wenn Sie jemandem für dieses neue Jahr Pi geben möchten, stellen Sie zumindest sicher, dass dem glücklichen Empfänger ein Tastatur-Monitor-Maus-Kit oder zumindest ein USB-UART-Adapter zur Verfügung steht.
, , -? 3 , pyLCI. , pyLCI , .
?Pi. , .
USB-UART
USB-UART ( 3.3V)
(FTDI, )
(composite/HDMI)++
( HDMI), 220
,
- , IP?
Ethernet
DHCP- Pi
IP, ( !)
Ethernet- ()
WiFi wpa_supplicant.conf boot
IP (!)
(, WiFi wlan2 ...)
//?
GUI
VNC
VNC
GUI (Shutdown/Reboot/WiFi/IP/shell commands)
SSH+CLI
WEB
Webmin/Ajenti/whatever
, Raspberry Pi, Linux, Python . , , Raspberry Pi — , /. WiFi - Linux , Raspberry Pi , . , , , .
, . :
- UART Bluetooth (HC-05)
- UART
- SSH
- GPIO
- , IP
. - , , , . ?
— (2015) , Raspberry Pi. , — — Linux LCDProc, - status monitor. , , - - , .
, , 1.0, pyLCI . — pyLCI Raspberry Pi-, , , - pyLCI. — , .
pyLCI?
pyLCI — Raspberry Pi, 2x16 , Python. , .
pyLCI — shield 5$ Pi, pyLCI Pi .
— pyLCI .
pyLCI?
- / Raspberry Pi - .
- Raspberry Pi ( , " Raspberry Pi" )
- Raspberry Pi ( escape-room , — )
- Pi ( Pi, 10 , WiFi)
- Pi ( / , - )
?
— :

5 , .
- ?Adafruit:

, ( — ).
- , !, HD44780, — 16x2, . :

GPIO ( 6 Raspberry Pi) I2C. Starter Kits, - / 2$ .
/
5 . GPIO, I2C-GPIO USB HID — numpad-:

pyLCI — UI-, UI- pyLCI. , , — - RPC- pyLCI-, UI RPC-.
Hello World:
menu_name = "Hello world"
from ui import Printer
callback = None
i = None
o = None
def init_app(input, output):
global callback, i, o
i = input; o = output
callback = lambda: Printer("Hello world!", i, o)
:
menu_name
—i
— , callbacks.o
— , .Printer
— . i o, .init_app
— , pyLCI. i o, UI- .callback
— , . , Printer .
UI ReadTheDocs, .
. , - , (crimier yandex ru) issues , .

Pi Zero, pyLCI SSH