How to setup

A raspberry PI

logo-supergreenlab
Author: SuperGreenLab
Credit: Stant

In this tutorial we’ll see how to set up a raspberry PI from scratch.

We’ll be using the raspberry pi for things like setting up a live cam.

This guide will work with any raspberry PI models, but we’ll be using a raspberry PI model zero w.

What you'll need

Selected region:
World
Click to change

Raspberry PI zero W BY Raspberry PI Foundation

From Sparkfun

All purpose tiny computer, great to do timelapses and remote live cam.

As of now the best all purpose micro computer. You won't use it as a desktop (it has usb and hdmi po

US$10.00

*price may vary

16Go Sandisk SD Card BY Sandisk

From amazon.de

Way enough for running a raspberry pi with a bit of local storage for pics.

16Go sd card, can be used for any purpose, but in our case it can be used for the remote live camera

US$6.25

*price may vary *converted to local currency

US$6.25

*price may vary *converted to local currency

Raspberry pi power supply BY Generic component manufacturer

From Berrybase

Nothing more than a micro USB charger with enough amps

Will be enough to power a raspberry pi reliably.

US$5.11

*price may vary *converted to local currency

Download the Raspberry PI OS

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Download the Raspberry PI OS

Done

A raspberry PI works just like a normal computer except that its hard drive is a sd card.
Which means the OS installation is a bit different. But also much simpler than installing a “normal” operating system.

Good news is the raspberry pi team made the process even easier through the Raspberry Pi Imager.

First step is to download it with the link below:

Useful links Got a feedback/suggestion? click here

Start the Raspberry Pi Imager

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Start the Raspberry Pi Imager

Done

Alright now we can start the imager.

Click the Choose OS button to show the list of available images to flash.

Got a feedback/suggestion? click here

Select the latest image

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Select the latest image

Done

Best is to just use the latest 32bits image.

But you might want to have a look at the other ones.
For example if might want to choose the 64bits versions if your Pi allows it.

Got a feedback/suggestion? click here

Open the settings

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Open the settings

Done

The best part of the raspebrrypi imager is how easy it is to setup things like wifi and remote access (ssh).

Click the settings icon.

Got a feedback/suggestion? click here

Wifi and remote access

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Wifi and remote access

Done

On the settings page there are two main sections we want to check.

First is the Enable SSH that should be checked.

Then in the Configure wireless LAN, enter the SSID and password for your home wifi.

Got a feedback/suggestion? click here

Insert SD card

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Insert SD card

Done

Alright now let's insert the SD-Card in your computer.

No need to format it or anything.

Got a feedback/suggestion? click here

Choose SD Card

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Choose SD Card

Done

Click the Choose Storage button to show the list of available disks, and select your sd card.

Got a feedback/suggestion? click here

Write OS to SD Card

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Write OS to SD Card

Done

Aaaaand now we click the write button, and then we wait..

Got a feedback/suggestion? click here

Insert the SD Card in your Pi

Done
logo-supergreenlab
Author: SuperGreenLab
Credit: SuperGreenLab

Insert the SD Card in your Pi

Done

If all went well at the previous step, you can insert the sd-card into your raspberry pi and power it.

Got a feedback/suggestion? click here

Finally booting the raspberry PI

Done
logo-supergreenlab
Author: SuperGreenLab

Finally booting the raspberry PI

Done

Now we’re ready to actually use our newly created hard drive, make sure to eject it from windows before removing it from your sd-card slot.

Place the sd-card inside the raspberry PI card slot, and plug it to its USB power supply.

At that point you should see the green led blinking to indicate that something is happening.

Got a feedback/suggestion? click here

Finding the raspberry PI on the network

Done
logo-supergreenlab
Author: SuperGreenLab

Finding the raspberry PI on the network

Done

Alright, we have a raspberry PI that should have booted completely, this could take up to 2 minutes for the first run.

Now we want to connect to it from our windows machine. Usually that requires knowing the IP address of the device, which is a problem here, we have no keyboard or screen to do anything!

Don’t worry there’s another way to find the raspberry pi without knowing its IP address.
The trick is to find the raspberry pi by its name, most network devices have a name to easily find them, the raspberry pi is no exception here.

If you are using windows and don’t have iTunes already installed, you will certainly need to install this software to enable discovery by name: https://support.apple.com/kb/DL999?locale=en_US

Useful links Got a feedback/suggestion? click here

Connecting to the raspberry PI

Done
logo-supergreenlab
Author: SuperGreenLab

Connecting to the raspberry PI

Done

Note for non windows users: Open a terminal window, and type ssh pi@raspberrypi.local then type the password: raspberrypi. Don't worry if the terminal doesn't write anything as you type your password, it's normal.

The program used to remotely control a raspberry PI is called "ssh", it’s mostly a linux thing at first, but windows can connect to ssh enabled devices too.

To use ssh on windows, you will need a software called "Putty", install and run it.

https://www.putty.org/

At the top of the window there is a Host parameter, set it to raspberrypi.local, make sure the port is 22 and the connection type is set to ssh.
Press connect, and press Yes when some sort of security alert shows up.

It will then ask you for a username, type pi, and then a password, type raspberry.

You should now be connected to your raspberry PI.

Got a feedback/suggestion? click here

Guides to see next

How to setup a remote live camera

I’m not teaching you anything if I tell you that our plants are like our babies. And just like babies we’d like to keep an eye on them 24/24, even when away from home.
While you shouldn’t overprotect an actual kid, it’s bad for their self confidence, and makes fucked up teenagers; When it comes to plants, having a way to look at it anytime can save you some issues.

The camera we will be setting up is quite simple, it allows you to select the plant you’re monitoring, and will then take a picture every 10 minutes.

Setting up this remote camera will give you two things:

  • You’ll have access to the latest taken pic from the app, at any time, from anywhere.
  • Daily and weekly timelapses posted to your plant diary.

Welcome to

Super Green Lab
SuperGreenLab is a community of stealth growers.
checkout our dedicated grow lights and smart controller and join the community!
Start growing

Subscribe

Stay tuned with our newsletter and get exclusive promotions.
Subscribe
© 2021 SuperGreenLab. All Rights Reserved