2020-04-01 17:16:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
You need to use software driver to I2c, and therefore, disable bluetooth. This is for rPI 3 and up.
|
|
|
|
|
|
|
|
[https://raspberrypi.stackexchange.com/questions/45570/how-do-i-make-serial-work-on-the-raspberry-pi3-or-later-model]
|
|
|
|
|
|
|
|
```
|
2020-06-29 15:11:07 +00:00
|
|
|
sudo rpi-update
|
|
|
|
|
|
|
|
nano /boot/config.txt
|
|
|
|
|
2020-04-01 17:16:49 +00:00
|
|
|
dtoverlay=pi3-disable-bt
|
|
|
|
enable_uart=1
|
|
|
|
dtoverlay=w1-gpio
|
|
|
|
dtparam=i2c_arm=off
|
|
|
|
dtparam=i2c=off
|
|
|
|
#dtoverlay=i2c-gpio,bus=1,i2c_gpio_sda=2,i2c_gpio_scl=3
|
|
|
|
dtoverlay=i2c-gpio,i2c_gpio_sda=2,i2c_gpio_scl=3
|
|
|
|
```
|
2020-04-10 21:31:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
dependencies
|
2020-04-14 14:38:01 +00:00
|
|
|
|
2020-06-29 12:53:21 +00:00
|
|
|
sudo apt-get install libboost-program-options-dev
|
2020-04-14 14:38:01 +00:00
|
|
|
|
2020-06-29 11:03:26 +00:00
|
|
|
git clone https://github.com/zeromq/libzmq.git
|
|
|
|
|
|
|
|
build with cmake
|
|
|
|
|
2020-06-29 12:48:20 +00:00
|
|
|
git clone https://github.com/zeromq/cppzmq.git
|
|
|
|
|
|
|
|
build with cmake
|
2020-04-16 00:07:46 +00:00
|
|
|
|
2020-06-29 13:01:55 +00:00
|
|
|
http://abyz.me.uk/rpi/pigpio/download.html
|
|
|
|
|
2020-06-29 15:22:42 +00:00
|
|
|
pip3 install zmq exifread picamera psutil
|
2020-04-16 20:17:01 +00:00
|
|
|
|
|
|
|
sudo apt-get install imagemagick
|
|
|
|
|
|
|
|
run on one thread:
|
|
|
|
|
|
|
|
```
|
|
|
|
taskset -c 1 ./tracker
|
2020-06-29 11:03:26 +00:00
|
|
|
```
|