Skip to content

No Pi Coding knowledge? Walkthrough Setup for Newbies on MacOS

Kevin Pham edited this page May 24, 2020 · 4 revisions

I also had no experience with Raspberry Pi nor any type of coding.

Tim C. was kind and patient enough to spend a day helping me get mine up and running. Here's a step by step for all those that are just as lost as I was.

Before starting, download the image (I used recur_2_0_2.img), the app balenaEtcher (referred to as Etcher) and have all your cards formatted in FAT32.

  1. Flash image onto microSD using Etcher

  2. Reconnect SD card into computer

  3. To control your 3b+ over Wi-Fi: do step 3 & 4 here.

touch /Volumes/boot/ssh

create a TextFile called: wpa_supplicant.conf and paste info into it. (open using TextEdit)

Make sure you get all your Wi-Fi info correctly.

  1. Since the ssh file and the wpa_supplicant.conf files disappear, copy these two files on your computer, just in case you need to paste them in again. Also make a copy of your config.txt so you have a reference on how to undo any changes that you may make down the line.

  2. Eject SD card properly, put it into your Pi. Turn on Pi.

  3. use this command to Wi-Fi access (SSH) your Pi:

ssh pi@raspberrypi.local

default password is: raspberry

If your Pi doesn't connect, your Wi-Fi info is wrong. Make it right in your computer's copy of wpa_supplicant.conf , put the microSD back into the computer and copy that plus the SSH file back in.

Assuming you're connected by now...

  1. (THIS STEP IS FOR THOSE WHO BOUGHT THE 3.2" TOUCHSCREEN) http://www.lcdwiki.com/3.2inch_RPi_Display Follow instructions "How to Use with Raspbian"

sudo rm -rf LCD-show git clone https://github.com/goodtft/LCD-show.git chmod -R 755 LCD-show cd LCD-show/ sudo ./LCD32-show

system restarts automatically

  1. ssh pi@raspberrypi.local password: raspberry

  2. nano ~/r_e_c_u_r/display_centre/display.py

Line 30: change 13 to 9

@staticmethod def _create_display_text(tk): return Text(tk, bg="black", fg="white", font=('Liberation Mono', 13), undo=False)

to

@staticmethod def _create_display_text(tk): return Text(tk, bg="black", fg="white", font=('Liberation Mono', 7), undo=False)

replace line 30 from github into the file. CTRL o, ENTER, CTRL x to get out.

  1. sudo cp ~/r_e_c_u_r/dotfiles/config.txt /boot/config.txt

  2. sudo nano /boot/config.txt

  3. Find this line near the bottom and copy this one in:

## switch for enabling lcd screen (the next line is being used even if its commented out) dtoverlay=tft9341:rotate=270

  1. sudo nano /boot/cmdline.txt

replace:

dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11

with:

dwc_otg.lpm_enable=0 console=tty1 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 quiet splash plymouth.ignore-serial-consoles

  1. sudo reboot reboots your r_e_c_u_r

  2. ssh pi@raspberrypi.local password: raspberry

  3. time to reconfigure some keys if you need! My top 3 keys were messed up, so...

nano ~/r_e_c_u_r/json_objects/keypad_action_mapping.json

changed the order to CAB instead of ABC.

  1. Next, I was experiencing a RED CRT screen. I went into the settings tab by pressing display a couple times, switching Progressive off, and cycling between aspect ratios and the other functions.

  2. The browser will by default show a bunch of bogus copies of your files that start with . , for example instead of Poop.mp4 it would be .Poop.mp4

These files don't respond and are just in the way, so what you can do is follow the sagely code of Tristan Rowley. He helped me through this over a chain of Facebook posts.

sudo pi@raspberrypi.local password: raspberry

cd r_e_c_u_r

patch -p1

Copy this whole thing in, e-mail headers and all. cmd+a, cmd+c Tristan's Code

Paste that into Terminal

press CTRL D , a few times if it doesn't respond.

if it prompts you, press n then enter. repeat if necessary.

sudo reboot

Hope this helps! Thanks Tim! Thanks Tristan!

just a reminder of some things i still need to do for documenting:

  • update dependances
  • update develop docs with info on new structure
  • update faq from questions in the fb group
Clone this wiki locally