FanPico Network Interface - tjko/fanpico GitHub Wiki
FanPico Network Interface
If a Raspberry Pi Pico W is installed on FanPico PCB then there is basic Web Interface available for monitoring.
Configuring WiFi
To join FanPico into a WiFi network, configure network SSID and passphrase:
SYS:WIFI:SSID mynetwork
SYS:WIFI:PASS mypassword
Manual Network Settings
By default FanPico will use DHCP for obtaining IP address and other network settings. So normally there is no need to manually configure network settings.
To manually configure static network settings, configure IP, Netmask, and Gateway.
For example:
SYS:WIFI:IP 192.168.1.42
SYS:WIFI:NETMASK 255.255.255.0
SYS:WIFI:GATEWAY 192.168.1.1
Test Network Settings
After WiFi is configured save configuration and reset the unit:
CONF:SAVE
*RST
Then wait for unit to reboot (and give it few seconds to connect to network).
We can use SYS:WIFI:STAT? command to check if FanPico is now successfully connected to network:
SYS:WIFI:STAT?
1,192.168.1.200,255.255.255,0,192.168.1.1
When connected to network first field returned should be "1" (see command description for list of possible status codes).
Latest firmware versions also implment SYS:WIFI:INFO? command to display detailed information about WiFi network interface status:
SYS:WIFI:INFO?
Network Link: Up
WiFi Status: Link Up (0 days, 02:08:01 since last change)
MAC Address: 28:cd:c1:11:f1:dc
DHCP Client: Enabled
DHCP Hostname: FanPico-e6614c411b7ca432
IP Address: 192.168.1.170
Netmask: 255.255.255.0
Gateway: 192.168.1.1
DNS Servers: 192.168.1.2, 192.168.1.3
NTP Servers: 192.168.1.2
Log Server: 192.168.1.4