Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

raspberrypi-tips

Raspbian installation

Formatting SD card with diskpart on Windows 10

WIN + R diskpart
list disk
select disk #sd_card_disk_number
clean
create partition primary
select partition 1
active
format FS=FAT32 quick
assign letter=W

Using Win32DiskImager to write Raspbian to SD Card

SELECT image e.g. Raspbian-Stretch-Lite.img
SELECT device [W:\]
WRITE

Enabling SSH before turning on the PI

echo>W:\ssh

System configuration

sudo raspi-config

Setting static network address

sudo nano /etc/dhcpcd.conf
# <== SAMPLE CONFIGURATION ==>
interface eth0

static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

interface wlan0

static ip_address=192.168.1.200/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1

Setting WiFi

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
[ROOT] wpa_passphrase your_ssid your_psk >> /etc/wpa_supplicant/wpa_supplicant.conf
sudo wpa_cli reconfigure

Java 8 installation

sudo apt-get install oracle-java8-jdk
java -version

Startup

sudo nano /etc/rc.local
sudo java -jar App.jar &
sudo reboot

Using a standard web cam

Used camer: Msonic MR1803E

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install fswebcam
fswebcam -r 640x480 --no-banner myimage.jpg

Using a true color RGB LED HAT (wiki)

sudo apt-get install build-essential python-dev scons swig
git clone https://github.com/jgarff/rpi_ws281x.git
cd rpi_ws281x-master
sudo scons
sudo ./test -x 8 -y 4 -c

Check public IP

curl ipinfo.io/ip

Backup with Win32DiskImager

CREATE NEW FILE rpi.img
SELECT image e.g. rpi.img
SELECT device [W:\]
READ

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors