Jetson Nano 使用笔记

没有板载 wifi

默认ssh开启

没有vnc支持

相比于树莓派 开箱可用性更差, 需要更多Linux知识

Python 环境

统一使用 sudo (tensorflow在虚拟环境会出错)

1
2
3
4
sudo apt install python3-dev
sudo apt install python3-pip
sudo pip3 install virtualenv
# virtualenv -p /usr/bin/python3 --system-site-packages ~/pyenv3

jupyterlab 协作环境

1
2
3
4
5
6
# source ~/pyenv3/bin/activate
# sudo 安装 jupyterlab
sudo pip3 install jupyterlab
sudo pip3 install install jedi==0.17.2 # https://github.com/ipython/ipython/issues/12740
# 在sudo中启动 jupyterlab, 否则tensorflow/pandas都不能用,是因为硬件加速需要权限
sudo jupyter lab --collaborative --ip="*" --ServerApp.token=nano --allow-root

VNC支持

Setting Up VNC

tensorflow

https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html

GPIO

https://github.com/NVIDIA/jetson-gpio

microbit

蓝牙dongle 乐高

chrome feature enable

scratch microbit more shift usb sudo chmod 666 /dev/ttyACM0

mediapipe

https://forums.developer.nvidia.com/t/google-mediapipe-real-time-hand-tracking-on-nano/80281/9

opencv

https://github.com/feitgemel/Jetson-Nano-Python/blob/master/Install-MediaPipe/Setup.txt

https://github.com/feitgemel/BodyPos

pygame

1
2
sudo apt-get install python3-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-dev libsmpeg-dev python3-numpy subversion libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev libfreetype6-dev
sudo python3 -m pip install pygame==2.0.0

neopixel

https://learn.adafruit.com/circuitpython-libraries-on-linux-and-the-nvidia-jetson-nano/neopixels-with-spi

https://github.com/tdicola/Adafruit_NeoPixel_FTDI

https://hackaday.io/project/475-drive-neopixel-ws2811ws2812-leds-from-your-pc

https://github.com/liquidctl/liquidctl

https://item.taobao.com/item.htm?spm=a230r.1.14.75.73cd3a8deUV8FI&id=596069539967&ns=1&abbucket=3#detail

https://item.taobao.com/item.htm?spm=a230r.1.14.143.73cd3a8deUV8FI&id=652529641561&ns=1&abbucket=3#detail

2g lxde

字体太小 设置后重启

https://unix.stackexchange.com/questions/214502/changing-screen-scale-in-lxde

Xft.dpi: 150

桌面

https://github.com/martinohanlon/shortcut

参考

公共计算机