Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mharsch/72deee55101db2c42c46b66c096c07cd to your computer and use it in GitHub Desktop.
Save mharsch/72deee55101db2c42c46b66c096c07cd to your computer and use it in GitHub Desktop.
* Download and install the pi imager tool https://www.raspberrypi.org/downloads/
* Insert SD card into adapter and run the imager tool. Choose Raspbian Lite (Buster)
* Once flashed, eject and re-insert SD card into PC. Navigate to the "boot" partition of the newly flashed SD card.
* Create an empty file inside "boot" called "ssh" -- all lower-case with no file extension (this will enable incoming ssh connections)
* Follow the instructions here to pre-configure wifi network name and passphrase: https://www.raspberrypi.org/documentation/configuration/wireless/headless.md
* safely eject the SD card and use it to boot the pi. Use your wifi router admin interface to determine the IP address assigned to the newly booted pi.
* ssh into the pi using the username/password: pi/raspberry
* run the command "sudo raspi-config" to launch the initial setup menu program. Customize the following:
Timezone
interfacing options->SPI (set to enable)
advanced-> memory split (set to 16)
* reboot and reconnect
* install node-red by following the instructions here: https://nodered.org/docs/getting-started/raspberrypi
* enable node-red at boot time by running 'sudo systemctl enable node-red'
* connect to the node-red interface on port 1880 and deploy a simple test flow (inject node + debug node)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment