Binocular Stereo Vision Expansion Board for Raspberry Pi
Introduction
This binocular stereo vision expansion board is specially designed for Raspberry Pi Compute Module, compatible with CM3 / CM3 Lite / CM3+ / CM3+ Lite. Small in size but powerful in function. It features three CSI camera ports that can be connected by camera with different viewing angles or baseline value. It is flexible to build different Raspberry Pi stereo vision projects such as binocular parallax ranging, facial recognition, vivo detection, VR video recording and so on. Also, it has some common used ports like DSI and USB, it is convenient to be connected to LCD display and burning mirror directly. Moreover, it has peripheral interfaces like 24PIN HDMI and 36PIN GPIO are also supported through the FPC connector.
Model: RPA20901S
Features
- Comes with three camera ports
- DSI port allows directly connecting with DSI display
- With USB connector, convenient for burning mirror
- 36PIN GPIO connector for extending UART port and Raspberry Pi GPIO
- 24PIN HDMI extended connector for connecting with HDMI display
- 10PIN GPIO/I2C extended connector for connecting ICM20948 IMU fill light board
- Integrates DS1307 RTC chip and comes with CR1220 battery holder
- Comes with acrylic mounting plate and tripod adapter
- Compatible with Raspberry Pi Compute Module CM3 / CM3 Lite / CM3+ / CM3+ Lite compatibly
Usager
Plug PoE_HAT(B) into the Raspberry Pi, as shown in the figure below.
- Step 1. Install the necessary library
1) Install BCM2835, open the Raspberry Pi terminal, and run the following command
HTTP wget : //www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz zxvf bcm2835 tar - 1.60 . tar . GZ bcm2835 cd - 1.60 / sudo ./ the configure sudo make && sudo make check && sudo make install
2) Update wiringPi to version 2.52
sudo apt - get install wiringpi HTTPS wget : //project-downloads.drogon.net/wiringpi-latest.deb sudo dpkg - i wiringpi - latest . deb gpio - v #You will see gpio version: 2.52, indicating successful installation
3) Install Python library
#python2 sudo apt - get update sudo apt - get install python - pip sudo pip install RPi . GPIO #python3 sudo apt - get update sudo apt - get install python3 - pip sudo pip install RPi . GPIO
- Step 2. Download the sample program
sudo apt - get install p7zip - full HTTP wget : //www.waveshare.net/w/upload/b/b7/PoE_HAT_B_code.7z 7z x PoE_HAT_B_code . 7z - r - o ./ PoE_HAT_B_code
- Step3. Run the test routine
1) C
cd PoE_HAT_B_code / c / make clean make sudo ./ main
2) Python
cd PoE_HAT_B_code / python / sudo python main . py
- Set the fan start temperature
#C Nano examples the sudo / main . C # POE_HAT_Display() The last parameter of the function sets the fan opening temperature #python Nano examples sudo / main . Py # POE.POE_HAT_Display() Function parameter to set the fan opening temperature
- Set boot up
1) Before setting the startup, compile the routine first.
Nano sudo / etc / rc . local
2) Set boot up. Add sudo /home/pi/Fan_HAT/c/main & before exit 0. Note that you must add "&" to run in the background, otherwise the system may not start.
fi sudo / home / pi / PoE_HAT_B_code / c / main & exit 0