Raspberry Pi Logger for SUN2000 Huawei string PV inverter
- Install Raspbian Buster Lite into SD card.
- Enable SSH by placing a file named
ssh
onto the boot partition of the SD card. - Setup WiFi by creating a file on SD card -
wpa_supplicant.conf
with contents:
country=US # Your 2-digit country code
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="YOUR_NETWORK_NAME"
psk="YOUR_PASSWORD"
key_mgmt=WPA-PSK
}
- Start Raspberry Pi and ssh into it;
- Install python dependencies:
sudo apt-get install python-pip python3-numpy
- Restart:
sudo reboot
;
I suggest using usb converter instead, but if you really need these steps should help:
- Disable bluetooth by adding a line in file
/boot/config.txt
:dtoverlay=pi3-disable-bt
; - Ensure line
enable_uart=1
(andcore_freq=250
?) is in file/boot/config.txt
; - Ensure
console=serial0,115200
is not present in file/boot/cmdline.txt
; - Release GPIOs 14 and 15 by running
sudo systemctl disable hciuart
; - Refactor code to toggle DERE pin