raspberry-pi
Raspberry Pi hardware interfacing: GPIO, I2C, SPI, UART, and Python programming for SBC hardware.
v2026.11.13-21cd5683 installazioni+3 in 7 giorni39 Stellesincronizzato 10 ore fa
Installa
Non hai ancora la CLI di NotHoly? Installala prima.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/raspberry-piScrive in ~/.notholy/skills dopo aver controllato la firma e lo SHA-256.
FirmaFirmato, ed25519
Pacchettocea21ff5…06f1b024
cea21ff5ceec…f29e06f1b0241 file · 1007 BScansioneMedio1 segnalazione
- Nessuna licenza trovata
Sorgentegithub.com/AeonDave/malskill/tree/main/hardware/raspberry-pi@21cd568
Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.
In questa pagina
Goal: Interface hardware peripherals (sensors, actuators, radios) with a Raspberry Pi running a standard Linux OS (Raspberry Pi OS).
1. Pinout & Buses
The 40-pin GPIO header provides multiple buses.
- Levels: GPIO logic is 3.3V. Connecting 5V signals directly will destroy the Pi.
- I2C: Pins 3 (SDA) and 5 (SCL). Requires enabling via
raspi-config. Built-in pull-up resistors (1.8kΩ) exist on these pins. - SPI: Pins 19 (MOSI), 21 (MISO), 23 (SCLK), 24 (CE0), 26 (CE1).
- UART: Pins 8 (TX) and 10 (RX). Usually mapped to
/dev/serial0(disables Bluetooth console on Pi 3/4).
2. Software Interfacing (Python)
Prefer gpiozero for simple UI/sensors and smbus2 or spidev for deep bus control.
I2C Scanner
sudo apt install i2c-tools
i2cdetect -y 1Python I2C Example
from smbus2 import SMBus
with SMBus(1) as bus:
# Read a byte from device 0x48, register 0x00
b = bus.read_byte_data(0x48, 0)3. Production Rules
- Power: The 5V pins bypass the polyfuse. Modulating heavy loads (motors) requires an external relay/MOSFET and separate power supply.
- Real-Time Limits: Linux is not a Real-Time OS. Fast bit-banging (like NeoPixels or strict timing protocols) will jitter unless offloaded to the PWM/DMA controllers or a co-processor (like an Arduino/Pico).
File di questa versione
- SKILL.md1.5 KB
Permessi
| Permesso | Dichiarato | Trovato dalla scansione |
|---|---|---|
| Legge file | No | No |
| Scrive file | No | No |
| Esegue comandi shell | Sì | Sì |
| Usa la rete | No | No |
| Usa i connettori | No | No |
| Controlla un browser | No | No |
Segnalazioni della scansione
Rivisto il 13 nov 2026
- MediaLicenza · Nessuna licenza trovata
Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.
| Versione | Pubblicata | Commit | SHA-256 | Firma | Cambio di permessi |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 nov 2026 | 21cd568 | cea21ff5 | Firmata | – |
Altro da AeonDave
Tutto da questo editoreAltro in Mobile, firmware e hardware
Vai alla categoriaChiedi tutto quello che il tuo perimetro consente.
Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.
- 1/3
Crea l'account
Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.
PrivatoAzienda - 2/3
Aggiungi crediti
Con carta. Paghi a token, senza abbonamento.
$5.00ricarica minima - 3/3
Chiedi
In chat, oppure installa la CLI ed esegui notholy login nel terminale.
$ notholy login