For windows system, you can use terminal emulator program Termite to configure the device.
Make sure the ‘Port’ setting is refer to the USB/UART Programming/Console Adapter (PMPROG01)’s Virtual Comm Port.
Follow the setting according to the setup screen capture. (57600Baud 8-N-1)
Once Termite configuration is done, press ‘OK’ to save the setting.
On the Wifi Remote I2c Device, Press the configuration button to allow the device to go into configuration mode.Press Config Mode button to go into configuration mode
Type ‘help’ to show the command available for configuration.
Type ‘show’ to list out current configuration.
We will use PineA64 as our Wifi Remote I2c module’s server.
To Set the PineA64’s IP address in to the device, enter (we will be using IP address 192.168.0.230 as example)
server 192.168.0.230
To configure the Wifi AP SSID and Password, (eg SSID=TestingWifi and Password=12345 )
wifi TestingWifi 12345
The SSID and password are case sensitive. Please make sure it is input correctly.
Once configuration is done, type ’exit’ to exit configuration mode and allow the device to reboot.
Please make sure your network is has DHCP server. The WiFi Remote i2c module will be running on DHCP mode and will requesting a IP address from your network’s DHCP server.
After reboot, the Red LED indicator will start to blink in fast blinking mode.
Once the WiFi Remote I2c module connected to the WiFi Access Point, the LED indicator will go into slow blinking mode.
The hardware configuration is done.
The next step will be configure the PineWifiServer into your PineA64 board.
Copy WifiAppDemo xxxxxxxx.gz into your same PineA64 board that currently running with PineWifiServer. (where xxxxxxxx is the version number)
Unzip both of the file using gunzip.
Add Execution flag on both of the file by
chmod +x WifiAppDemo
before start running the demo application, please logout any telnet session to the PineWifiServer.
The demo application will telnet into the PineWifiServer and start polling all the available Wifi Remote I2c device currently connected to the server.
The demo application will also poll the I2c port of the hardware for the Ambient Light Sensor and the Temperature/Humidity Sensor if the sensor is connected to the Wifi Remote I2c module.
To start the WifiAppDemo, type
./WifiAppDemo
The Application will connect the PineWifiServer currently running in the localhost.
Example of screen shot with WifiAppDemo polling multiple Wifi Remote I2c with Ambient Light Sensor and Humidity/Temperature Sensor connected on it. The speed for each round of polling is 1 second per poll.