This section will let you setup your Raspberry Pi with a SD card reader and without the need of USB keyboard and mouse.

We tested this procedure with the Raspberry Pi OS (formerly Raspbian) distribution and this kernel (output from command uname -a on a terminal):

«Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux»

This procedure is based on third-party tutorials such as: https://desertbot.io/blog/headless-raspberry-pi-4…

Change or init your password

— TODO Add method by writing filesystem with SD card reader.

If you are already logged in your Raspberry Pi, in a terminal, type/paste command «sudo passwd pi» then input your new password. Choose something else than the default raspberry password for increased security.

Setup WiFi and SSH

«The Secure Shell Protocol (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network.[1] Typical applications include remote command-line, login, and remote command execution, but any network service can be secured with SSH. From: https://desertbot.io/blog/headless-raspberry-pi-4…»

Make sure your laptop/desktop and Raspberry Pi are on the same network.

Enable WiFi and SSH by following this tutorial: https://desertbot.io/blog/headless-raspberry-pi-4…

Highlight: to enable SSH, put a ssh file with no extension on boot partition: https://desertbot.io/blog/headless-raspberry-pi-4…

Setup VNC «In computing, Virtual Network Computing (VNC) is a graphical desktop-sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical-screen updates back in the other direction, over a network. From: https://desertbot.io/blog/headless-raspberry-pi-4… «

This procedure is based on third-party tutorials such as: https://desertbot.io/blog/headless-raspberry-pi-4…

  • install VNC Server on Raspberry Pi
    • `sudo apt install realvnc-vnc-server realvnc-vnc-viewer
    • sudo raspi-config
      • Interfacing Options > VNC / SSH
  • determine the Raspberry Pi IP address:
    • access your Wifi router admin panel and identify connected devices
    • use network scanning tools, such as nmap for Linux debian/ubuntu systems (from: https://desertbot.io/blog/headless-raspberry-pi-4…
      • sudo apt install nmap
      • nmap -sV -p 22 192.168.2.1-255 (replace 192.168.2.1-255 with your network subnetwork and range)
  • download VNC Viewer from https://desertbot.io/blog/headless-raspberry-pi-4…
  • install:
    • for Linux debian/ubuntu systems: sudo dpkg -i VNC-Viewer-6.20.529-Linux-x64.deb
  • Forward mouse and keyboard input from your laptop/desktop to your Raspberry Pi

    There are various ways of forwarding mouse and keyboard input from your laptop/desktop to your Raspberry Pi, see: https://desertbot.io/blog/headless-raspberry-pi-4… We recommend barrier: https://desertbot.io/blog/headless-raspberry-pi-4… Audio Injector Octo soundcard hat Perform Manual setup from: https://desertbot.io/blog/headless-raspberry-pi-4… Automated setup is outdated and valid only for older kernels.

    Syntacts board and actuators
    Test and create audio signal pipelines with Pure Data «Pure Data (Pd) is a visual programming language developed by Miller Puckette in the 1990s for creating interactive computer music and multimedia works. From: https://en.wikipedia.org/wiki/Pure_Data»

    Pure Data has been employed in the HCI and haptics communities, here are a few examples:

    StereoHaptics by Ali Israr et al.: https://la.disneyresearch.com/publication/stereoh…

    by Julien Decaudin et al.: https://la.disneyresearch.com/publication/stereoh…

    by Christian Frisson et al.: https://la.disneyresearch.com/publication/stereoh…

    Install puredata from a terminal with: «sudo apt install puredata». Test all vibrotactile channels independently by sending test signals (tone or noise) with puredata and its Test Audio and MIDI utility accessible from menu «Media».

    Explore the vibrotactile design space with the Syntacts Tactor Synthesizer

    Explore the vibrotactile design space with the Syntacts Tactor Synthesizer

    by Evan Pezent et al.: https://la.disneyresearch.com/publication/stereoh…

    Other tools for haptic and audio interaction design Macaron by Oliver Schneider et al.: https://la.disneyresearch.com/publication/stereoh…

    by Hasti Seifi et al.: https://la.disneyresearch.com/publication/stereoh…

    Qwiic hat, boards and sensors

    I2C function in RPI is disabled by default. Please follow this instruction to enable the configuration, and make sure to reboot. https://learn.sparkfun.com/tutorials/raspberry-pi…

    Sparkfun provides python programming on RPI tutorial: https://learn.sparkfun.com/tutorials/python-progr…

    Depending on libraries you use, it might require you to upgrade pyhthon version to 3.0. Please check the current installed version «python —version» and change the version if necessary. (see Use Python 3 section in the sparkfun tutorial)

    Quick tip: want to know I2C address of your sensors? Here describes how to scan and find I2C devices on the bus using i2cdetect -y 1: https://learn.sparkfun.com/tutorials/python-progr…

    Leave a Reply