「Raspberry Pi Unboxing」修訂間的差異

出自ChevyneWiki
跳至導覽 跳至搜尋
行 45: 行 45:
 
* Download OpenWrt image for Raspberry Pi 5
 
* Download OpenWrt image for Raspberry Pi 5
 
https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=bcm27xx%2Fbcm2712&id=rpi-5
 
https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=bcm27xx%2Fbcm2712&id=rpi-5
  +
* WaveShare SIM7600E-H-4G-HAT
  +
https://www.waveshare.net/wiki/SIM7600CE_4G_HAT
  +
  +
wget https://www.waveshare.net/w/upload/2/29/SIM7600X-4G-HAT-Demo.7z
  +
sudo apt-get install p7zip-full
  +
7z x SIM7600X-4G-HAT-Demo.7z -r -o/home/openrich
  +
sudo chmod 777 -R ~/SIM7600X-4G-HAT-Demo
  +
  +
cd ~/bcm2835
  +
chmod +x configure
  +
./configure
  +
sudo make
  +
sudo make install
  +
  +
sudo make clean
  +
sudo make
  +
sudo ./PhoneCall
 
* SIM
 
* SIM
 
* RS-485
 
* RS-485

於 2024年11月18日 (一) 18:58 的修訂

樹莓派開箱

樹莓派 Raspberry Pi

  • Raspberry Pi 5 Model B 2GB
  • Raspberry Pi 5 Active Cooler
  • Raspberry Pi 27W USB-C Power Supply
  • Raspberry Pi microSD 32GB - Raspberry Pi OS (64-bit)
  • Raspberry Pi microSD 32GB A2 V30 C10

擴充板 - 微雪 Waveshare

  • SIM7600CE Raspberry Pi 5 4G 模組 LTE Cat-4 擴充板
  • Waveshare RS485 CAN HAT for Raspberry Pi 5

Raspberry Pi Unboxing 01.jpg


  • 樹莓派主機板
  • 4G 擴充板
  • RS485 擴充板

Raspberry Pi Unboxing 02.jpg

  • 4G 擴充板背面

Raspberry Pi Unboxing 03.jpg


樹莓派組裝

  • 樹莓派主機板

Raspberry Pi Unboxing 04.jpg


  • 主機板安裝散熱片風扇

Raspberry Pi Unboxing 05.jpg


  • 主機板上層安裝 4G 模組

Raspberry Pi Unboxing 06.jpg


  • 4G 模組右上方 GNSS IPEX 接出轉 SMA 接 GPS 天線
  • 4G 模組下方 2組 4G IPEX
MAIN 接出轉 SMA 接 4G 天線
  • 4G 模組上層安裝 RS485 擴充板

Raspberry Pi Unboxing 07.jpg


  • 右側面
  1. 上層上方 RS485 接線端子
  2. 中層下方 nanoSIM 插槽
  3. 下層下方 microSD 插槽

Raspberry Pi Unboxing 08.jpg


軟體測試

OpenWrt

  • Download OpenWrt image for Raspberry Pi 5
https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=bcm27xx%2Fbcm2712&id=rpi-5
  • WaveShare SIM7600E-H-4G-HAT
https://www.waveshare.net/wiki/SIM7600CE_4G_HAT
wget https://www.waveshare.net/w/upload/2/29/SIM7600X-4G-HAT-Demo.7z
sudo apt-get install p7zip-full
7z x SIM7600X-4G-HAT-Demo.7z -r -o/home/openrich
sudo chmod 777 -R ~/SIM7600X-4G-HAT-Demo

cd ~/bcm2835
chmod +x configure
./configure
sudo make
sudo make install

sudo make clean
sudo make
sudo ./PhoneCall
  • SIM
  • RS-485
  • MQTT

Raspberry Pi OS

  • SIM
  • RS-485
  • MQTT

未完待續