cpf arduino blockly - global-download.acer.com · 6 ② ③ ① cpf arduino blockly -...

24
CPF Arduino Blockly V1.00.2004

Upload: others

Post on 10-Sep-2019

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

CPF Arduino Blockly

V1.00.2004

Page 2: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

2

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

Page 3: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

3

CPF Arduino Blockly Installation

1. Execute CPF Arduino Blockly.exe.

2. Click “Next”.

Page 4: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

4

3. Select “I accept the terms in the license agreement” and click “Next”.

4. Click “Install”.

Page 5: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

5

5. Click “Finish”, when the installation process is completed.

Page 6: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

6

② ①

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.

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>

Page 7: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

7

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.

Page 8: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

8

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

Page 9: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

9

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.

Page 10: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

10

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.

Page 11: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

11

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.

Page 12: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

12

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

Page 13: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

13

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.

Page 14: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

14

2. Then, you will see a confirmation tab, select “ok” to upload the code

program

3. Enter the file name, then select “ok”

4. You will see the tab as shown when upload complete

Page 15: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

15

Download Program Code

1. Click the icon in the red box as shown below.

2. Select the code program you want, and click “load”.

Page 16: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

16

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

Page 17: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

17

View Program Code

1. Click the icon in the red box as shown below.

2. Now you can see the code in javascript

Page 18: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

18

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

Page 19: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

19

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.

Page 20: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

20

USB update

1. Insert USB to CloudProfessor

2. Click the USB icon and click next

3. Wait for it….

Page 21: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

21

4. Click “OK”when update is completed

Page 22: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

22

SD Card Update

1. Insert SD card

2. Click SD card icon and click Next

3. Wait for it…..

Page 23: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

23

4. Click “ok” when update is completed

Page 24: CPF Arduino Blockly - global-download.acer.com · 6 ② ③ ① CPF Arduino Blockly - CloudProfessor Pairing 1. First, you need to setup the name of Wi-Fi and password for the connection

24

Online Update

1. Click online icon and click next

2. Wait for it….

3. Click “ok” when update is completed