Cours:NanoPi : Différence entre versions
(→nodeRed) |
(→Installation) |
||
Ligne 10 : | Ligne 10 : | ||
=Installation= | =Installation= | ||
+ | ==image et installation minimum== | ||
+ | * http://download.friendlyarm.com/nanopineo2 | ||
+ | * balena etcher pour créer carte sd | ||
+ | * change mdp root : geii | ||
+ | * apt update / apt dist-upgrade | ||
+ | |||
+ | |||
==cross QT== | ==cross QT== | ||
Ligne 41 : | Ligne 48 : | ||
npm install node-red-contrib-opi-gpio | npm install node-red-contrib-opi-gpio | ||
</source> | </source> | ||
− | |||
=Utilisation= | =Utilisation= |
Version du 22 novembre 2019 à 13:20
- https://www.armbian.com/nanopi-neo-2/
- https://projetsdiy.fr/installer-node-red-orange-pi-armbian/
- https://nodered.org/docs/getting-started/raspberrypi
- https://tech.scargill.net/the-friendlyarm-nanopi-neo/
- http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO2
- http://wiki.friendlyarm.com/wiki/index.php/WiringNP:_NanoPi_NEO/NEO2/Air_GPIO_Programming_with_C
- https://www.balena.io/etcher/ : créer une carte sd à partir d'une image
Sommaire
Installation
image et installation minimum
- http://download.friendlyarm.com/nanopineo2
- balena etcher pour créer carte sd
- change mdp root : geii
- apt update / apt dist-upgrade
cross QT
As usual !
- get Sysroot
- get qtSource
- compilation
- upload
script à venir ... peut-être !
NodeRed
https://discourse.nodered.org/t/trouble-with-tach-interrupt-gpio/7792
- install curl
- install nodejs & nodered
- pas installé "Pi-specific nodes"
- install node-red-contrib-opi-gpio
- npm install node-red-contrib-opi-gpio ?? pas forcément nécessaire !!
- depuis nodeRed
- manage Palette
- install
- node-red-contrib-opi-gpio
apt update
apt install curl
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
npm install node-red-contrib-opi-gpio
Utilisation
Qt
- Configurer QtCreator
nodeRed
- tableau correspondance gpio <=> broche : gpio readall
- choisir "Pi type" : other