Initialization of Webduino Bit
Initialization of Webduino Bit is important in order to enable its automatic connection with internet or local intranet through WebSocket.The device SSID and password of the board can be set in initialization, and the remote upgrade can also be implemented as well.
1. Power the board,input wifi account and password to connect internet
Power Webduino Bit board,it works as hotspot, the red LED flickers and then turns to constant on. Use a device with wifi such as computer,laptop to search wifi hotspot,a device with Bit will be discovered.
Click to connect, the password is 12345678
2. Set wifi SSID and password
Open browser(Chrome is recommended) and enter in URL : 192.168.4.1 to connect with Bit board.On the setup panel, besides the necessary settings of WiFi SSID and PWD, user can also set the name and password of the board(to avoid other connecting with your device using 12345678).Device ID is unique and can not be changed. The Server option at the bottom can configure the server location, it’s Global by default, please set it to China if in China.
Press SUBMIT to save, it prompts SAVE OK to indicate the status. Then the Bit board will reboot and red LED will flick and then switch off, and followed by the lit of green LED once, this denotes that the Bit board connect with internet successfully.(if the red Led flickers or is constant on, please power off the board and try above step 1&2 again)
3. Go to Webduino Bit Blockly
With regard to test the development board, open the below samples in Webduino Blockly, input the right Device ID and click the red button on the upper right to run,the red button turns to green when it runs,and a RGB 3-color diamond-shaped picture will display on the board.
If users want to experience webduino bit without a development board at hand, the below sample can also be ran with simulator,there’s a virtual Webduino Bit board in the simulator, the Device ID is 1234. A RGB 3-color diamond-shaped picture will be shown on the virtual board in the simulator area when it runs.