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

Post on 10-Sep-2019

10 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

CPF Arduino Blockly

V1.00.2004

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

3

CPF Arduino Blockly Installation

1. Execute CPF Arduino Blockly.exe.

2. Click “Next”.

4

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

4. Click “Install”.

5

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

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>

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.

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

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.

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.

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.

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

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.

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

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”.

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

17

View Program Code

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

2. Now you can see the code in javascript

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

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.

20

USB update

1. Insert USB to CloudProfessor

2. Click the USB icon and click next

3. Wait for it….

21

4. Click “OK”when update is completed

22

SD Card Update

1. Insert SD card

2. Click SD card icon and click Next

3. Wait for it…..

23

4. Click “ok” when update is completed

24

Online Update

1. Click online icon and click next

2. Wait for it….

3. Click “ok” when update is completed

top related