-
Notifications
You must be signed in to change notification settings - Fork 20
No Pi Coding knowledge? Walkthrough Setup for Newbies on MacOS
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.
-
Flash image onto microSD using Etcher
-
Reconnect SD card into computer
-
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.
-
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.
-
Eject SD card properly, put it into your Pi. Turn on Pi.
-
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...
- (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
-
ssh pi@raspberrypi.localpassword: raspberry -
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.
-
sudo cp ~/r_e_c_u_r/dotfiles/config.txt /boot/config.txt -
sudo nano /boot/config.txt -
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
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
-
sudo rebootreboots your r_e_c_u_r -
ssh pi@raspberrypi.localpassword: raspberry -
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.
-
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.
-
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!
Back to Home