Tyrique  Littel

Tyrique Littel


Headless setup of Raspberry Pi 

How to reduce headaches when configuring all those million options.

Image for post

Image Source.

Every time I set up a Raspberry Pi it feels like I am starting again for the first time. Why are there so many options? And so many places to set them? I find myself shutting down, mounting, editing, un-mounting, rebooting over and over and over.

After exhausting Google, here is my contribution to getting a headless setup (i.e. without monitor/keyboard) of a Raspberry Pi going. This entails flashing an SD card and getting started with Raspberry Pi OS, and enabling all the nice hardware that we like.

We will be using a Raspberry Pi Zero WiFi running Raspberry Pi OS (32-bit) Lite (Raspbian? When did they rename it?!).

Table of contents:

  1. Flash the SD card.
  2. Headless setup of RPi — WiFi / SSH / SSH over USB port / Enable SPI / I2C communication / UART / LCD via fbtft.
  3. Connecting to your device.
  4. Setup important features — WiFi / New user / Change hostname / Python / Pip.
  5. Enable optional features — Enable LCD screen over SPI via fbtft / Enable I2C / Enable NFC / Install Docker / Install apt-file.

I labeled each section with


so you can pick and choose.

Flash the SD card (required)

Get the latest Raspberry Pi OS Lite image here. I used:

Raspberry Pi OS (32-bit) Lite
Minimal image based on Debian Buster
Version: May 2020
Release date: 2020–05–27
Kernel version: 4.19
Size: 432 MB

Get balenaEtcher here and flash an SD card with the image.

Headless setup of RPi (required)

Image for post

Headless setup. Image source: author.

We will now setup your Pi without a monitor or keyboard.

Mount the SD card on your computer, and navigate to the boot partition.

Then we can set up the Pi as follows.

WiFi (required)

You can edit WiFi by making a file called wpa_supplicant.conf with contents:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev


NOTE: this didn’t work for me. I had to set it up later by editing sudo nano /etc/wpa_supplicant/wpa_supplicant.conf directly as described below. But you can connect to pi using SSH over USB without setting up networking to begin.

NOTE NOTE: The correct way to restart the WiFi is:

sudo wpa_cli -i wlan0 reconfigure

SSH (required)

To enable ssh, make empty file simply titled ssh (no extension) in the boot partition. You can use the command touch ssh to do this.

SSH over port USB (required)

To enable USB connection, add to the bottom of config.txt:

## Enable USB OTG like ethernet

and to the end of cmdline.txt after rootwait such that it reads:

… rootwait modules-load=dwc2,g_ether

Make sure you connect the USB cable to the USB port — not the power port on the Raspberry Pi Zero WiFi!

If ssh still does not work later (ugh!) you will have to use a keyboard to enter to pi and run:

sudo systemctl enable ssh.service

which should do it.

Enable SPI (optional)

To enableSPI, edit config.txt and uncomment:


I2C communication (optional)

To enable I2C devices, edit config.txt and ADD the following line:


Note: this is not done, see more directions below — there is further setup required later when you connect over ssh.

#raspberry-pi #hacking #programming #iot #startup

What is GEEK

Buddha Community

Headless setup of Raspberry Pi 

Tools and Images to Build a Raspberry Pi n8n server


Tools and Images to Build a Raspberry Pi n8n server


The purpose of this project is to create a Raspberry Pi image preconfigured with n8n so that it runs out of the box.

What is n8n?

n8n is a no-code/low code environment used to connect and automate different systems and services. It is programmed using a series of connected nodes that receive, transform, and then transmit date from and to other nodes. Each node represents a service or system allowing these different entities to interact. All of this is done using a WebUI.

Why n8n-pi?

Whevever a new technology is released, two common barriers often prevent potential users from trying out the technology:

  1. System costs
  2. Installation & configuration challenges

The n8n-pi project eliminates these two roadblocks by preconfiguring a working system that runs on easily available, low cost hardware. For as little as $40 and a few minutes, they can have a full n8n system up and running.


This project would not be possible if it was not for the help of the following:


All documentation for this project can be found at http://n8n-pi.tephlon.xyz.

Download Details:

Author: TephlonDude

GitHub: https://github.com/TephlonDude/n8n-pi

#pi #raspberry pi #raspberry #raspberry-pi

TensorFlow Lite Object Detection using Raspberry Pi and Pi Camera

I have not created the Object Detection model, I have just merely cloned Google’s Tensor Flow Lite model and followed their Raspberry Pi Tutorial which they talked about in the Readme! You don’t need to use this article if you understand everything from the Readme. I merely talk about what I did!


  • I have used a Raspberry Pi 3 Model B and PI Camera Board (3D printed a case for camera board). **I had this connected before starting and did not include this in the 90 minutes **(plenty of YouTube videos showing how to do this depending on what Pi model you have. I used a video like this a while ago!)

  • I have used my Apple Macbook which is Linux at heart and so is the Raspberry Pi. By using Apple you don’t need to install any applications to interact with the Raspberry Pi, but on Windows you do (I will explain where to go in the article if you use windows)

#raspberry-pi #object-detection #raspberry-pi-camera #tensorflow-lite #tensorflow #tensorflow lite object detection using raspberry pi and pi camera

The Raspberry Pi 400 - A full computer in a keyboard!

The Raspberry Pi 400 has arrived in the studio, and in this video I’ll give it a review. I’ll show an unboxing of the Personal Computer Kit from Canakit, which is a great way to get started on the Pi 400. Then I’ll show off the hardware, as well as the out-of-box experience.

#raspberry pi #pi #raspberry-pi

How to run Joystick with Raspberry Pi | Raspberry Pi Ultimate Robot

In this video we are going to learn how to install and run the Ps4 joystick in raspberry pi. We will also created a module out of this so that we can run it with the motor module that we created in the previous video.

Part 1: Hardware Build: https://youtu.be/Zdv4cOmOmb8
Part 2: Motor Module: https://youtu.be/0lXY87NwVIc
Part 3: Keyboard Module: https://youtu.be/YEYBbFdus-Q

#raspberry-pi #pi #programming

Alec  Nikolaus

Alec Nikolaus


This Raspberry Pi–powered setup improves home brewing

We spied New Orleans–based Raspberry Pi–powered home brewing analysis and were interested in how this project could help other at-home brewers perfect their craft.

Raspberry Pi in a case with fan, neatly tucked away on a shelf in the Danger Shed

When you’re making beer, you want the yeast to eat up the sugars and leave alcohol behind. To check whether this is happening, you need to be able to track changes in gravity, known as ‘gravity curves’. You also have to do yeast cell counts, and you need to be able to tell when your beer has finished fermenting.

“We wanted a way to skip the paper and pencil and instead input the data directly into the software. Enter the Raspberry Pi!”

Patrick Murphy

Patrick Murphy and co. created a piece of software called Aleproof which allows you to monitor all of this stuff remotely. But before rolling it out, they needed somewhere to test that it works. Enter the ‘Danger Shed’, where they ran Aleproof on Raspberry Pi.

The Danger Shed benefits from a fancy light-changing fan for the Raspberry Pi

Raspberry Pi 3 Model B+ spins their Python-based program on Raspberry Pi OS and shares its intel via a mounted monitor.

#uncategorized #python #brewing #raspberry pi 3b+ #pycharm #raspberry pi os