I had read much about this new credit sized PC. Hence I wanted to try it out. Though, I needed a valid project to try work on.
At nearly the same time I had the problem of supervising the weather condition at our cottage. I.e. did need see when to shuffle snow of the roof.
Ergo, a project was born in late 2014
Some requirements for this project was/still is:
The following are some of my findings (and a memo for later reference)
To disable the red LED you simply need to add the following line to your /boot/config.txt file :
disable_camera_led=1Use the arrow keys to scroll to the end of the file and add “disable_camera_led=1” to the last line. Install python picamera module via this link: www.raspberrypi.org/documentation/usage/camera/python/README.md or picamera.readthedocs.io/en/release-1.13
sudo iwconfig wlan0 txpower offand back on again via
sudo iwconfig wlan0 txpower on
Setting up Bluetooth via this page
Ruuvi have compiled an excellent guide listing thwe various steps in setting up a Raspi (zero w) which can be found on github.com/ttu/ruuvitag-sensor/.
Some Python programing exanples can likewise be found on github.com/ttu/ruuvitag-sensor/
sudo apt-get install pppMaybe you have to reinstall pyUSB (1.0 or higher) and libusb (1.0 or higher) in order for usb.core to work in python
sudo apt-get install python-pip sudo pip install --upgrade pyusb
sudo apt-get install python-pipInstalling PIP3
sudo python3 get-pip.py
sudo apt-get install python3-matplotlib
sudo apt-get install ntpdateAdjust the date each time the RPI is restarted
sudo ntpdate -B dk.pool.ntp.org
pywws.pyvia Tom's blog at http://tomsblog.gschwinds.net/2014/06/installation-of-pywws-on-a-rapsberry-pi/.
/weather.iniconfig file accordingly
max_usb_current=1 hdmi_group=2 hdmi_mode=87 hdmi_cvt 1024 600 60 6 0 0 0 hdmi_drive=1
sudo usb_modeswitch -v 0x12d1 -p 0x1446 -c /usr/share/usb_modeswitch/12d1:1446twice