Skip to content

Commit

Permalink
Update DeviceSetup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lokijota authored Jan 22, 2020
1 parent 9cd1d65 commit 5e21ca5
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions DeviceSetup.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
# Setting up a Pi0 after old kingston microSD piffed
# Setting up a Raspberry Pi0 from scratch

## Base setup

1. Flash the Raspian image intro the MicroSD Card (the BalenaEtcher is a good tool, but run it in Administrator mode)
2. Log in (pi/raspberry) and update the settings in `sudo raspi-config`, including:
1. Flash the [Raspian image](https://www.raspberrypi.org/downloads/raspbian/) into a MicroSD Card (the [Balena Etcher](https://www.balena.io/etcher/) is a good tool, remember to run it -on Windows - in Administrator mode)
2. Log in (pi/raspberry as the default credentiaals) and update the settings in `sudo raspi-config`, including:
- set the hostname of the device
- turn on Camera, SSH, SPI, I2C
- configure the right keyboard
- configure the WIFI
- turn on Camera (in my case), SSH, SPI, I2C
- configure the right keyboard locale if needed
- configure the Wifi
- configure Boot to automatically log into the command line
- change the password
- when you're done, reboot for the wifi to take effect

3. After reboot you can start `sudo raspi-config` again and update the tool, in case new settings appear
4. Update the system by running `sudo apt-get update` followed by `sudo apt-get upgrade -y`
5. Install pip3: `sudo apt-get install python3-pip -y`
6. Install Vim: `sudo apt-get install vim -y`
7. Install Git: `sudo apt-get install git -y`

## BSCE setup

1. Run `git clone https://github.com/alexh-name/bsec_bme680_linux.git`
3. After the reboot you can start `sudo raspi-config` again and update the tool, in case new settings appear
4. Back in the command line, update applications by running `sudo apt-get update` followed by `sudo apt-get upgrade -y`. This will probably take a while on the Zero.
5. Install pip3: `sudo apt-get install python3-pip -y` (to later install Python3 packages)
6. Install Vim: `sudo apt-get install vim -y` (because I prefer Vim to Vi/Nano/Emacs)
7. Install Git: `sudo apt-get install git -y` (to get files from this and other repos)

That's it. Continue with the (BME680 libraries)[BME680Setup.md] I chose to use.

0 comments on commit 5e21ca5

Please sign in to comment.