Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Enable spi0 on Orange Pi PC with Armbian 5.75

Featured Replies

Requirements:

https://github.com/lthiery/SPI-Py

https://github.com/mxgxw/MFRC522-python (for Raspberry Pi)

https://github.com/kwanxian/OrangePiPC/tree/master/SPI/RC522 (for Orange Pi PC)

 

sudo armbian-config System --> Hardware --> select "spi-spidev" --> Confirm --> reboot

when reboot finish:

sudo vim /boot/armbianEnv.txt under "overlays=spi-spidev",add this:

"param_spidev_spi_bus=0" save & reboot again.

then you can see spi enable in "/dev/spidev0.0".

 

cd ./SPI_Python

sudo python3 setup.py install

 

cd ../RC522

sudo python3 Read.py

 

you can test IC card like this:

Welcome to the MFRC522 data read example

Press Ctrl-C to stop.

Card detected

Card read UID: 53,101,232,169

Size: 8

Sector 8 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Card detected

Card read UID: 53,101,232,169

Size: 8

Sector 8 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.