KS0547 Keyestudio NANO PLUS Development Board Compatible with Arduino NANO(Black and Eco-friendly): Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
Line 1: Line 1:


== Windows System ==
=== Installing Arduino IDE ===
When getting this control board, we need to install Arduino IDE
Enter the website https://www.arduino.cc/, click [[File:0173--1.png|500px|frameless|thumb]] and [[File:0173--2.png|500px|frameless|thumb]]
<br>[[File:0173--3.png|500px|frameless|thumb]]<br>
Select the version you want to download, the latest version could be downloaded.
<br>[[File:0173--4.png|500px|frameless|thumb]]<br>
Alternatively, you could select previous release.
In this project, we use 1.8.12 version.
<br>[[File:0173--5.png|500px|frameless|thumb]]<br>
Click[[File:KS0173----13.png|500px|frameless|thumb]] to view the below page
<br>[[File:0173--8.png|500px|frameless|thumb]]<br>
Click [[File:0173--6.png|500px|frameless|thumb]] to download an installer of Arduino 1.8.12 version,which needs to be installed manually.  When you tap [[File:0173--7.png|500px|frameless|thumb]],a zip file of Arduino 1.8.12 version will be directly downloaded, and you only need to unzip it to finish installation.
<br>[[File:0497=21.png|500px|frameless|thumb]]<br>
Click [[File:0173--9.png|500px|frameless|thumb]]icon to download Arduino IDE.
=== Installing driver ===
Let’s install the driver of Keyestudio MEGA 2560 R3 Development Board.. The USB-TTL chip on 2560 R3 Development Board adopts CP2102 serial chip. The driver program of this chip is included in Arduino 1.8 version and above, which is convenient. Plug on USB port of board, the computer can recognize the hardware and automatically install the driver of CP2102.
<big>
<span style=color:red>'''Note: If the version of Arduino IDE you download is below 1.8, you need to download the driver of CP2102.'''</span></big>
</big>'''Download the driver of CP2102''':</big>
</big><span style=color:red>'''https://fs.keyestudio.com/CP2102-WIN'''</span></big>
If install unsuccessfully, or you intend to install manually, open the device manager of computer. Right click Computer----- Properties----- Device Manager.
<br>[[File:0085=07.png|500px|frameless|thumb]]<br>
There is a yellow exclamation mark on the page, which implies installing the driver of CP2102 unsuccessfully. Then we double click the hardware and update the driver.
<br>[[File:0085=08.png|500px|frameless|thumb]]<br>
Click “OK” to enter the following page, click “browse my computer for updated driver software”, find out the installed or downloaded ARDUINO software. As shown below:
<br>[[File:0085=09.png|500px|frameless|thumb]]<br>
There is a DRIVERS folder in Arduino software installed package([[File:0085=10.png|500px|frameless|thumb]]), open driver folder and you can see the driver of CP210X series chips.
We click “Browse”, then find out the driver folder, or you could enter “driver” to search in rectangular box, then click “next”, the driver will be installed successfully. (I place Arduino software folder on the desktop, you could follow my way)
<br>[[File:0085=11.png|500px|frameless|thumb]]<br>
Open device manager, we will find the yellow exclamation mark disappear. The driver of CP2102 is installed successfully.
<br>[[File:0085=12.png|500px|frameless|thumb]]<br>
<br>[[File:0085=13.png|500px|frameless|thumb]]<br>
=== Arduino IDE Setting ===
Click[[File:0486-12.png|200px|frameless|thumb]] icon,open Arduino IDE.
<br>[[File:0085=14.png|500px|frameless|thumb]]<br>
To avoid the errors when uploading the program to the board, you need to select the correct Arduino board that matches the board connected to your computer.
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)
<br>[[File:0498--1.png|500px|frameless|thumb]]<br>
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)
<br>[[File:04869png.png|500px|frameless|thumb]]<br>
<br>[[File:0498--3.png|500px|frameless|thumb]]<br>
Before uploading the program to the board, let’s demonstrate the function of each symbol in the Arduino IDE toolbar.
<br>[[Image:0085=17.png|500px|frameless]]<br>
A- Used to verify whether there is any compiling mistakes or not.
B- Used to upload the sketch to your Arduino board.
C- Used to create shortcut window of a new sketch.
D- Used to directly open an example sketch.
E- Used to save the sketch.
F- Used to send the serial data received from board to the serial monitor.
=== Start your first program ===
Open the file to select Example, choose BLINK from BASIC, as shown below:
<br>[[Image:048610png.png|500px|frameless]]<br>
<br>[[Image:0498-----7.png|500px|frameless]]<br>
Set board and COM port, the corresponding board and COM port are shown on the lower right of IDE.
<br>[[Image:0498-----4.png|500px|frameless]]<br>       
Click [[Image:0486-20.png|50px|frameless]] to start compiling the program, check errors.
<br>[[Image:0498-----5.png|500px|frameless]]<br>
Click  [[Image:0486-23.png|50px|frameless]]to upload the program, upload successfully.
<br>[[Image:0498-----6.png|500px|frameless]]<br>
Upload the program successfully, the onboard LED lights on for 1s, lights off for 1s. Congratulation, you finish the first program.

Revision as of 16:49, 23 May 2022








Windows System

Installing Arduino IDE

When getting this control board, we need to install Arduino IDE Enter the website https://www.arduino.cc/, click thumb and thumb


thumb

Select the version you want to download, the latest version could be downloaded.


thumb

Alternatively, you could select previous release. In this project, we use 1.8.12 version.


thumb

Clickthumb to view the below page


thumb


Click thumb to download an installer of Arduino 1.8.12 version,which needs to be installed manually. When you tap thumb,a zip file of Arduino 1.8.12 version will be directly downloaded, and you only need to unzip it to finish installation.


thumb

Click thumbicon to download Arduino IDE.

Installing driver

Let’s install the driver of Keyestudio MEGA 2560 R3 Development Board.. The USB-TTL chip on 2560 R3 Development Board adopts CP2102 serial chip. The driver program of this chip is included in Arduino 1.8 version and above, which is convenient. Plug on USB port of board, the computer can recognize the hardware and automatically install the driver of CP2102.

Note: If the version of Arduino IDE you download is below 1.8, you need to download the driver of CP2102.

Download the driver of CP2102: https://fs.keyestudio.com/CP2102-WIN


If install unsuccessfully, or you intend to install manually, open the device manager of computer. Right click Computer----- Properties----- Device Manager.


thumb

There is a yellow exclamation mark on the page, which implies installing the driver of CP2102 unsuccessfully. Then we double click the hardware and update the driver.


thumb

Click “OK” to enter the following page, click “browse my computer for updated driver software”, find out the installed or downloaded ARDUINO software. As shown below:


thumb

There is a DRIVERS folder in Arduino software installed package(thumb), open driver folder and you can see the driver of CP210X series chips.


We click “Browse”, then find out the driver folder, or you could enter “driver” to search in rectangular box, then click “next”, the driver will be installed successfully. (I place Arduino software folder on the desktop, you could follow my way)


thumb


Open device manager, we will find the yellow exclamation mark disappear. The driver of CP2102 is installed successfully.
thumb

thumb

Arduino IDE Setting

Clickthumb icon,open Arduino IDE.


thumb

To avoid the errors when uploading the program to the board, you need to select the correct Arduino board that matches the board connected to your computer. Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)


thumb

Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)


thumb

thumb

Before uploading the program to the board, let’s demonstrate the function of each symbol in the Arduino IDE toolbar.
0085=17.png

A- Used to verify whether there is any compiling mistakes or not. B- Used to upload the sketch to your Arduino board. C- Used to create shortcut window of a new sketch. D- Used to directly open an example sketch. E- Used to save the sketch. F- Used to send the serial data received from board to the serial monitor.

Start your first program

Open the file to select Example, choose BLINK from BASIC, as shown below:


048610png.png

0498-----7.png

Set board and COM port, the corresponding board and COM port are shown on the lower right of IDE.


0498-----4.png

Click 0486-20.png to start compiling the program, check errors.


0498-----5.png

Click 0486-23.pngto upload the program, upload successfully.


0498-----6.png

Upload the program successfully, the onboard LED lights on for 1s, lights off for 1s. Congratulation, you finish the first program.