CPF Arduino Blockly V1.00.2004
Content CPF Arduino Blockly Installation... 3 CPF Arduino Blockly - CloudProfessor Pairing... 6 CPF Arduino Blockly login... 12 Upload Program Code... 13 Download Program Code... 15 View Program Code... 17 Pin Diagram... 18 CPF Update... 19 2
CPF Arduino Blockly Installation 1. Execute CPF Arduino Blockly.exe. 2. Click Next. 3
3. Select I accept the terms in the license agreement and click Next. 1 2 4. Click Install. 4
5. Click Finish, when the installation process is completed. 5
CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection of CPF Arduino Blockly. This step requires SD card to setup. In the SD card, please add a new text document, and rename it as cpf-sd-signup, the file type change it as xml. 1 2 3 2. Copy and paste following source code to cpf-sd-signup.xml, then change the red part. Between <name> and </name>, please put in the name of Wi-Fi network. Between<password> and </password> please put in the password of Wi-Fi network. <cpf> <WiFi-AP> <name>cpf01-5g</name> <password>11223344</password> </WiFi-AP> <user> <country>tw</country> </user> </cpf> 6
Plug in the SD card into the slot in CloudProfessor, and turn on CloudProfessor. 3. Make sure your computer is using the same Wi-Fi network as the configuration in the SD card. <cpf> <WiFi-AP> <name>cpf01-5g</name> <password>11223344</password> </WiFi-AP> <user> <country>tw</country> </user> </cpf> P.S: If the computer cannot connects to a Wi-Fi or cannot find Wi-Fi that CloudProfessor kit connects to. You shall disconnect computer s Wi-Fi Connection first. 7
4. Once Wi-Fi setup is completed, please turn on CPF Arduino Blockly. Double click the icon of CPF Arduino Blockly. Note: When you turn on the CPF Arduino Blockly, it will automatically shutdown all live chrome pages. If you want those pages back, please open chrome browser again, and press Shift + Ctrl + T. 5. On the upper right hand corner of CPF Arduino Blockly webpage, if you see a red cross, which means CloudProfessor is unpaired. 6. Now, more the cursor to the upper right hand corner, and click Pairing CPF. 7. Then, check the CPF ID under the QR 8
code at the back of CloudProfessor, and select the same ID on the CPF Arduino Blockly screen. Note:If you can t find the ID, connect CloudProfessor to your smart device via CPF app, and locate the Wi-Fi information. 9
8. If successful, you will see a notice of Pairing success, and also see a green tick ad the upper right hand corner of CPF Arduino Blockly page. 10
Note:If pairing is successful and you still see red cross, just press F5 and reload 9. When successful, you can connect Arduino with CloudProfessor and its accessories, and select play, starting to experience IoT coding. 11
CPF Arduino Blockly login 1. Click Upper Right Hand corner icon as shown 2. Press the input of account and password 3. You will see a notification when login is successful 12
Upload Program Code 1. Click the icon in the red box as shown below. The page will show 8 slots for you to save and upload the code program, simply choose on and upload. Note: If empty slot (never uploaded code program), then it will show none. 13
2. Then, you will see a confirmation tab, select ok to upload the code program 3. Enter the file name, then select ok 1 2 4. You will see the tab as shown when upload complete 14
Download Program Code 1. Click the icon in the red box as shown below. 2. Select the code program you want, and click load. 15
3. Then it will show a tab of confirmation, please click ok if you are willing to overwrite your current program. 4. Loaded program will appear when download complete 16
View Program Code 1. Click the icon in the red box as shown below. 2. Now you can see the code in javascript 17
Pin Diagram When use drag out a block of sensor modules, the right hand side will show the pin/socket diagram. When the code changes, the pin/socket diagram will show accordingly 18
CPF Update Move the cursor to CloudProfessor icon, click updating CPF. Note: Update will only appear when pairing is successful. There are 3 update ways included USB, SD card, and online. 19
USB update 1. Insert USB to CloudProfessor 2. Click the USB icon and click next 1 2 3. Wait for it. 20
4. Click OK when update is completed 21
SD Card Update 1. Insert SD card 2. Click SD card icon and click Next 1 2 3. Wait for it.. 22
4. Click ok when update is completed 23
Online Update 1. Click online icon and click next 1 2 2. Wait for it. 3. Click ok when update is completed 24