Setup Raspberry PI


1. install raspberrian image into micro sd card
Note: I used '2018-11-13-raspbian-stretch.img' via balenaEtcher

2. In case you don't have external keyboard but you have mouse. It needs to set wifi ssid/password via config file. 
   - Create file 'wpa_supplicant.conf' and add text as following into the file and save it to microsdcard
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
 ssid="wifissid"
 scan_ssid=1
 psk="wifipassword"
 key_mgmt=WPA-PSK
}
3. Turn on ssh via create ssh file or use raspberry destop > preference config

4. If you need to write down a python code related bluetooth. You need to install bluepy
> sudo apt-get install python-pip libglib2.0-dev
> sudo pip install bluepy
> sudo hcitool lescan  //get mac addressReference


[0] How to install raspberry
[1] Install Bluepy
[2] Raspberry Document
[3] Startup Bluetooth on Raspberry PI

Comments

Popular posts from this blog

M5Stack ESP32

Express connect to mysql

How to debug msbuild