<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.keyestudio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Keyestudio</id>
	<title>Keyestudio Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.keyestudio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Keyestudio"/>
	<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/Special:Contributions/Keyestudio"/>
	<updated>2026-08-21T09:16:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0474_Keyestudio_GAMEPI_DIY_Game_Console_learning_Kit_for_Arduino&amp;diff=35087</id>
		<title>KS0474 Keyestudio GAMEPI DIY Game Console learning Kit for Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0474_Keyestudio_GAMEPI_DIY_Game_Console_learning_Kit_for_Arduino&amp;diff=35087"/>
		<updated>2026-06-22T07:20:05Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: Replaced content with &amp;quot;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.  https://docs.keyestudio.com/projects/KS0474/en/latest/  After-sales email：  amazon:service@keyestudio.com  Official keyestudio website: sunny@keyestudio.com  AliExpress:summer@keyestudio.com&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0474/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS4027(4028)Keyestudio_Smart_Home_Kit_for_Micro:bit&amp;diff=35086</id>
		<title>KS4027(4028)Keyestudio Smart Home Kit for Micro:bit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS4027(4028)Keyestudio_Smart_Home_Kit_for_Micro:bit&amp;diff=35086"/>
		<updated>2026-01-09T03:53:32Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;KS4027 KS4028 Smart Home Kit for Micro:bit&lt;br /&gt;
&lt;br /&gt;
For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS4027-KS4028/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS4027(4028)Keyestudio_Smart_Home_Kit_for_Micro:bit&amp;diff=35085</id>
		<title>KS4027(4028)Keyestudio Smart Home Kit for Micro:bit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS4027(4028)Keyestudio_Smart_Home_Kit_for_Micro:bit&amp;diff=35085"/>
		<updated>2025-12-01T05:37:18Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS4027-KS4028/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS4027(4028)Keyestudio_Smart_Home_Kit_for_Micro:bit&amp;diff=35084</id>
		<title>KS4027(4028)Keyestudio Smart Home Kit for Micro:bit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS4027(4028)Keyestudio_Smart_Home_Kit_for_Micro:bit&amp;diff=35084"/>
		<updated>2025-12-01T05:26:54Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Introduction： */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction： ==&lt;br /&gt;
&lt;br /&gt;
Fueled by the rapid development of technology, smart homes automatically controlled remotely by smart phones and other devices have become more common. For the same reason, they have increasingly gained closer attention and caught people ‘s fancy. &amp;lt;br&amp;gt;&lt;br /&gt;
Bearing the aim to make improvements in household living conditions, the smart home system has been integrated with technologies including computer science, telecommunication, automatic control and others and emerged as a comprehensive and smart system featuring safety, convenience, coziness, services , utility and environmental consciousness.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
https://docs.keyestudio.com/projects/KS4027-KS4028/en/latest/&lt;br /&gt;
&lt;br /&gt;
== Description： ==&lt;br /&gt;
&lt;br /&gt;
Launched by Keyestudio, this smart home kit is based on the open-source hardware of Micro:bit and designed for those who dream of living a more comfortable life with the help of technologies.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This smart home system, with Micro:bit as its control board, is equipped with a 1602 LCD, a DHT11 temperature and humidity sensor, an analog gas sensor(MQ_2), a PIR motion sensor , a 6812 RGB module, a servo, a steam sensor, a Micro:bit BT and other sensors.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With the help of these sensors, this kit can be applied to detect temperature, humidity and the concentration of flammable gases in your home and open and close doors. Furthermore, all the information detected can display on 1602 LCD in real time available for you to check and monitor via smart phones or iPad. By the way, it supports powering by solar energy or via USB cable.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This tutorial will guide you to make and control the smart home kit by the code written in the online graphical programming platform Makecode. In this process, not only can you enhance your ability to make stuffs but also learn the skills of programming.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MakeCode for micro:bit is the most widely used graphical programming environment on the micro:bit official website. It is based on the graphical programming environment developed by Microsoft&#039;s open source project MakeCode. This graphical programming can also be converted to textual version, namely Python or JavaScript. The combination of code and graphics makes it very convenient and easy to learn. At the same time, it can be simulated or programmed for electronic components.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Kit List： == &lt;br /&gt;
&lt;br /&gt;
When you get this delicate kit, please confirm whether all components listed below have been delivered.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20211105154841.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20211105154852.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20211105154853.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20211105154904.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2021110515495.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download test code, App and tutorial: &lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS4027-4028&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=MB0110_Micro:bit_Main_Board%2BUSB_Cable%2BBattery_Holder_with_Batteries&amp;diff=35083</id>
		<title>MB0110 Micro:bit Main Board+USB Cable+Battery Holder with Batteries</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=MB0110_Micro:bit_Main_Board%2BUSB_Cable%2BBattery_Holder_with_Batteries&amp;diff=35083"/>
		<updated>2025-09-18T07:44:27Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/MB0110/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS4017_Keyestudio_Micro:bit_V2.0_Basic_Starter_Kit&amp;diff=35082</id>
		<title>KS4017 Keyestudio Micro:bit V2.0 Basic Starter Kit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS4017_Keyestudio_Micro:bit_V2.0_Basic_Starter_Kit&amp;diff=35082"/>
		<updated>2025-09-12T07:33:05Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: Replaced content with &amp;quot;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.  https://docs.keyestudio.com/projects/KS4017/en/latest/  After-sales email：  amazon:service@keyestudio.com  Official keyestudio website: sunny@keyestudio.com  AliExpress:summer@keyestudio.com&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS4017/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=Ks0314_keyestudio_ReSpeaker_2-Mic_Pi_HAT_V1.0&amp;diff=35081</id>
		<title>Ks0314 keyestudio ReSpeaker 2-Mic Pi HAT V1.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=Ks0314_keyestudio_ReSpeaker_2-Mic_Pi_HAT_V1.0&amp;diff=35081"/>
		<updated>2025-09-02T01:55:38Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: Replaced content with &amp;quot;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.  https://docs.keyestudio.com/projects/KS0314/en/latest/  After-sales email：  amazon:service@keyestudio.com  Official keyestudio website: sunny@keyestudio.com  AliExpress:summer@keyestudio.com&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0314/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0559(KS0559F%EF%BC%89Keyestudio_4WD_BT_Multi-purpose_Car_V2.0&amp;diff=35080</id>
		<title>KS0559(KS0559F）Keyestudio 4WD BT Multi-purpose Car V2.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0559(KS0559F%EF%BC%89Keyestudio_4WD_BT_Multi-purpose_Car_V2.0&amp;diff=35080"/>
		<updated>2025-08-21T05:43:17Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0559/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0555_Keyestudio_Mini_Caterpillar_Tank_Robot_V3.0_(Popular_Edition)&amp;diff=35079</id>
		<title>KS0555 Keyestudio Mini Caterpillar Tank Robot V3.0 (Popular Edition)</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0555_Keyestudio_Mini_Caterpillar_Tank_Robot_V3.0_(Popular_Edition)&amp;diff=35079"/>
		<updated>2025-08-21T05:43:15Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: Replaced content with &amp;quot;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.  https://docs.keyestudio.com/projects/KS0555/en/latest/  After-sales email：  amazon:service@keyestudio.com  Official keyestudio website: sunny@keyestudio.com  AliExpress:summer@keyestudio.com&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0555/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35078</id>
		<title>KS5002(KS5002F) Keyestudio Beetlebot 3 in 1 Robot for ESP32 STEM Education</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35078"/>
		<updated>2025-08-19T05:51:41Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS5002/en/latest/&lt;br /&gt;
&lt;br /&gt;
After-sales email：&lt;br /&gt;
&lt;br /&gt;
amazon:service@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
Official keyestudio website: sunny@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
AliExpress:summer@keyestudio.com&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35077</id>
		<title>KS5002(KS5002F) Keyestudio Beetlebot 3 in 1 Robot for ESP32 STEM Education</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35077"/>
		<updated>2025-08-19T02:37:32Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;For quicker and easier access to product tutorials, please visit our new wiki site as below. This website will no longer be updated. Thank you.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://docs.keyestudio.com/projects/KS5002/en/latest/ https://docs.keyestudio.com/projects/KS5002/en/latest/]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35076</id>
		<title>KS5002(KS5002F) Keyestudio Beetlebot 3 in 1 Robot for ESP32 STEM Education</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35076"/>
		<updated>2025-08-19T01:51:56Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: Replaced content with &amp;quot;  &amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;However, please make a note: due to the upgrade of the wiki, please jump to this wiki for information:&amp;lt;/span&amp;gt;  [https://docs.keyestudio.com/projects/KS5002/en/latest/ https://docs.keyestudio.com/projects/KS5002/en/latest/]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;However, please make a note: due to the upgrade of the wiki, please jump to this wiki for information:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://docs.keyestudio.com/projects/KS5002/en/latest/ https://docs.keyestudio.com/projects/KS5002/en/latest/]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35075</id>
		<title>KS5002(KS5002F) Keyestudio Beetlebot 3 in 1 Robot for ESP32 STEM Education</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35075"/>
		<updated>2025-08-18T06:09:00Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;However, please make a note: due to the upgrade of the wiki, please jump to this wiki for information:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://docs.keyestudio.com/projects/KS5002/en/latest/ https://docs.keyestudio.com/projects/KS5002/en/latest/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
The Beetlebot smart robot, compatible with LEGO building blocks, is a STEM educational product which can automatically dodge obstacles, follow black lines and light to move. Besides, it has three cool forms such as the soccer robot, the siege robot, the handling robot. As for beginners, they can create whatever they want by LEGO building blocks.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Various improvements have been made on the Beetlebot car in comparison with other smart cars. It integrates a motor driver and a large number of sensors and is easy to assemble.&amp;lt;br&amp;gt;&lt;br /&gt;
Going forward, not only can it impart basic programming knowledge and AI application to children and the youth, but also it can cultivate their creativity, hands-on ability, problem-solving capability, interpersonal communication as well as teamwork ability. With this kit, you have a chance to experience soccer games using your own robots.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* Compatible with LEGO building blocks: generate diverse forms with LEGO blocks and sensors&lt;br /&gt;
* Three forms: a soccer robot, a siege engine, a handling robot&lt;br /&gt;
* Various functions: Pictures display, atmosphere light control, line tracking, obstacle avoidance, light following , IR control and WIFI control.&lt;br /&gt;
* Easy to build: embedded design on car body; wire up the car body with a few steps&lt;br /&gt;
* High compatibility: reserve ports for the Raspberry Pico board and the Arduino Nano board&lt;br /&gt;
* Charging function: integrate a circuit for 18650 batteries, low-cost and effective&lt;br /&gt;
* WiFi Control: adopt WiFi control, can finish tailor-made software development&lt;br /&gt;
* App: compatible with Android and iOS systems, with aesthetic page and flexible control system&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
&lt;br /&gt;
* Working voltage: 5V &lt;br /&gt;
* Input voltage: 2.5V~4.2V (lithium battery) &lt;br /&gt;
* Maximum output current: 3A &lt;br /&gt;
* Maximum power consumption: 15W (T=80℃) &lt;br /&gt;
* Motor speed: 5V 200 rpm / min &lt;br /&gt;
* Motor drive form: dual H-bridge &lt;br /&gt;
* Ultrasonic sensing angle: &amp;lt;15 degrees &lt;br /&gt;
* Ultrasonic detection distance: 2cm-400cm &lt;br /&gt;
* IR control distance: about 7 meters (measured) &lt;br /&gt;
* Size: 176mm*137mm*130mm &lt;br /&gt;
* Environmental protection attributes: ROHS &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Kit ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20221221.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片202303032.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2022122113.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2022122114.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20221225.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2022122116.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2022122117.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片202212218.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
&lt;br /&gt;
Project 1: 6812 RGB &amp;lt;br&amp;gt;&lt;br /&gt;
Project 2: Play Music &amp;lt;br&amp;gt;&lt;br /&gt;
Project 3: 8*8 Dot Matrix Display&amp;lt;br&amp;gt;&lt;br /&gt;
Project 4: Servo Rotation&amp;lt;br&amp;gt;&lt;br /&gt;
Project 5: Motor Driving and Speed Control&amp;lt;br&amp;gt;&lt;br /&gt;
Project 6: Ultrasonic Sensor&amp;lt;br&amp;gt;&lt;br /&gt;
Project 7: Line Tracking Sensor&amp;lt;br&amp;gt;&lt;br /&gt;
Project 8: Light Following&amp;lt;br&amp;gt;&lt;br /&gt;
Project 9: IR Remote Control&amp;lt;br&amp;gt;&lt;br /&gt;
Project 10: WIFI Working Mode&amp;lt;br&amp;gt;&lt;br /&gt;
Project 11: Multi-purpose Car via Wifi&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resoueces ==&lt;br /&gt;
&lt;br /&gt;
Download all resources in the link:&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS5002&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35074</id>
		<title>KS5002(KS5002F) Keyestudio Beetlebot 3 in 1 Robot for ESP32 STEM Education</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS5002(KS5002F)_Keyestudio_Beetlebot_3_in_1_Robot_for_ESP32_STEM_Education&amp;diff=35074"/>
		<updated>2025-08-18T06:06:07Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
However, please make a note: due to the upgrade of the wiki, please jump to this wiki for information:&lt;br /&gt;
&lt;br /&gt;
[https://docs.keyestudio.com/projects/KS5002/en/latest/ https://docs.keyestudio.com/projects/KS5002/en/latest/]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
The Beetlebot smart robot, compatible with LEGO building blocks, is a STEM educational product which can automatically dodge obstacles, follow black lines and light to move. Besides, it has three cool forms such as the soccer robot, the siege robot, the handling robot. As for beginners, they can create whatever they want by LEGO building blocks.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Various improvements have been made on the Beetlebot car in comparison with other smart cars. It integrates a motor driver and a large number of sensors and is easy to assemble.&amp;lt;br&amp;gt;&lt;br /&gt;
Going forward, not only can it impart basic programming knowledge and AI application to children and the youth, but also it can cultivate their creativity, hands-on ability, problem-solving capability, interpersonal communication as well as teamwork ability. With this kit, you have a chance to experience soccer games using your own robots.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
* Compatible with LEGO building blocks: generate diverse forms with LEGO blocks and sensors&lt;br /&gt;
* Three forms: a soccer robot, a siege engine, a handling robot&lt;br /&gt;
* Various functions: Pictures display, atmosphere light control, line tracking, obstacle avoidance, light following , IR control and WIFI control.&lt;br /&gt;
* Easy to build: embedded design on car body; wire up the car body with a few steps&lt;br /&gt;
* High compatibility: reserve ports for the Raspberry Pico board and the Arduino Nano board&lt;br /&gt;
* Charging function: integrate a circuit for 18650 batteries, low-cost and effective&lt;br /&gt;
* WiFi Control: adopt WiFi control, can finish tailor-made software development&lt;br /&gt;
* App: compatible with Android and iOS systems, with aesthetic page and flexible control system&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
&lt;br /&gt;
* Working voltage: 5V &lt;br /&gt;
* Input voltage: 2.5V~4.2V (lithium battery) &lt;br /&gt;
* Maximum output current: 3A &lt;br /&gt;
* Maximum power consumption: 15W (T=80℃) &lt;br /&gt;
* Motor speed: 5V 200 rpm / min &lt;br /&gt;
* Motor drive form: dual H-bridge &lt;br /&gt;
* Ultrasonic sensing angle: &amp;lt;15 degrees &lt;br /&gt;
* Ultrasonic detection distance: 2cm-400cm &lt;br /&gt;
* IR control distance: about 7 meters (measured) &lt;br /&gt;
* Size: 176mm*137mm*130mm &lt;br /&gt;
* Environmental protection attributes: ROHS &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Kit ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20221221.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片202303032.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2022122113.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2022122114.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20221225.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2022122116.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2022122117.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片202212218.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
&lt;br /&gt;
Project 1: 6812 RGB &amp;lt;br&amp;gt;&lt;br /&gt;
Project 2: Play Music &amp;lt;br&amp;gt;&lt;br /&gt;
Project 3: 8*8 Dot Matrix Display&amp;lt;br&amp;gt;&lt;br /&gt;
Project 4: Servo Rotation&amp;lt;br&amp;gt;&lt;br /&gt;
Project 5: Motor Driving and Speed Control&amp;lt;br&amp;gt;&lt;br /&gt;
Project 6: Ultrasonic Sensor&amp;lt;br&amp;gt;&lt;br /&gt;
Project 7: Line Tracking Sensor&amp;lt;br&amp;gt;&lt;br /&gt;
Project 8: Light Following&amp;lt;br&amp;gt;&lt;br /&gt;
Project 9: IR Remote Control&amp;lt;br&amp;gt;&lt;br /&gt;
Project 10: WIFI Working Mode&amp;lt;br&amp;gt;&lt;br /&gt;
Project 11: Multi-purpose Car via Wifi&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resoueces ==&lt;br /&gt;
&lt;br /&gt;
Download all resources in the link:&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS5002&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=055277_ESP8266_Starter_Kit&amp;diff=35073</id>
		<title>055277 ESP8266 Starter Kit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=055277_ESP8266_Starter_Kit&amp;diff=35073"/>
		<updated>2025-08-14T07:57:05Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* 5．Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:055277-1.png|right|thumb|600px|]]&lt;br /&gt;
&lt;br /&gt;
== 1.Description ==&lt;br /&gt;
&lt;br /&gt;
This kit contains the common components: resistors with different resistance values, different colors LEDs, buttons, and IR receiving components. It is compatible with various microcontrollers and Raspberry Pi. An ESP8266 module and an ESP-01 Programmer module are included. We can build a platform with this two modules and shield, which can help us control external devices via WIFI or send test data to PC. In order to have a better understanding, we do an experiment with components, and remotely control LED on/off via WiFi. &lt;br /&gt;
&lt;br /&gt;
For using easily, we provide self-compiled firmware. The firmware is server mode. Specific information as shown below:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Module Working Mode&#039;&#039;&#039;&lt;br /&gt;
* Work in mode:3&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Softap mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* softAP SSID:KeyesWifi_A password:KeyesWifi&lt;br /&gt;
* softAP IP:192.168.2.1&lt;br /&gt;
* softAP_server IP:192.168.2.1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Station mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* station SSID:KeyesWifi_S password:KeyesWifi&lt;br /&gt;
* station IP: router automatically assigns&lt;br /&gt;
* station_server IP: router automatically distributes  port:8080&lt;br /&gt;
&lt;br /&gt;
== 2.Component List ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| width=&amp;quot;80%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | No.&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Product Name&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Quantity&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Picture&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; |055277 ESP8266 Module&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |&amp;lt;br&amp;gt;[[File:055277-2.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | ESP-01 Programmer&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-3.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 3 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | ESP-01 Breakout Board&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-4.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 4 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 220Ω resistor  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 15&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-5.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 6 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 470Ω resistor &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-6.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 7 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10KΩ resistor   &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-7.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |8  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Green&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-50.png|100px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |9  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Blue&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:761.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Red&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:762.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |11&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | F5- full-color RGB &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-11.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 12 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; |Dupont Line &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-41.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 13 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Dupont Line&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-42.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 14&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Dupont Line &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-43.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 15&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | button &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 4&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-15.png|300px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 16&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Breadboard&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-16.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 17&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Photo Resistor &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 3&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-17.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 18 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IR emitter&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-18.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 19&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IR receiver &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-19.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 3.Installing Driver ==&lt;br /&gt;
We need to install driver for ESP-01 Programmer module. The USB serial port chip CH340G is used in ESP-01 Programmer module. So we need to install driver compatible with CH340G.&lt;br /&gt;
Connect ESP-01 Programmer to computer. For Win10 system, the computer automatically installs the driver, click Computer-Properties-Device Manager. For other systems, connect Esp-01 Programmer Module to PC, and click Computer-Properties-Device manager, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 1.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click USB serial to install the driver, as shown below&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 2.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter the following interface, as shown below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 3.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find usb_ch341_3.1.2009.06 folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 4.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click “next step” to start installing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:Ks0354 driver 5.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finish installing, click to “close”&lt;br /&gt;
The driver is now installed. Click Computer-Properties-Device Manager, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:Ks0354 driver 6.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 4.Project ==&lt;br /&gt;
=== &#039;&#039;&#039;Remotely Controlling LED On/Off Via WiFi&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we connect to  the ESP8266 module to wireless network, and then can send instructions to the ESP8266 module from the upper computer in the remote or local area network. After receiving the instruction, the ESP8266 module can control the external LED to turn on and off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Experiment Equipment&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ESP8266 module * 1&lt;br /&gt;
* ESP-01 Programmer Module * 1&lt;br /&gt;
* ESP-01 Breakout Board * 1&lt;br /&gt;
* LED * 1&lt;br /&gt;
* 220Ω resistor * 1&lt;br /&gt;
* Breadboard * 1&lt;br /&gt;
* Several male to female Dupont lines&lt;br /&gt;
* Several DuPont Lines&lt;br /&gt;
* 3.3V power supply (included)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Burning Firmware&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
First, we need to burn firmware in the ESP-01 Programmer module. The burning method is shown below:&lt;br /&gt;
① Switch the ESP-01 Programmer module to Uart Download, insert the ESP8266 module into the ESP-01 Programmer module, connect ESP-01 Programmer module to the computer USB interface.&lt;br /&gt;
② Open “FLASH_DOWNLOAD_TOOL”, configure as shown below, upload firmware.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0339图片49.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-28.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Station Mode&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Because the station_server IP is automatically assigned by the router. Need to read its IP from the serial port.&lt;br /&gt;
* 1．Set the SSID of home wifi: KeyesWifi_S  Password:KeyesWifi.&lt;br /&gt;
&lt;br /&gt;
* 2．Connect ESP-01 Programmer module to USB port of PC, and switch the module to “Flash Boot”.&lt;br /&gt;
* 3．Open the PUTTY software on the computer, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-29.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4．Insert the ESP8266 module into the ESP-01 Programmer module, putty prints the following information, and the IP is successfully read.&lt;br /&gt;
&lt;br /&gt;
Note: Insert the ESP8266 module into the ESP-01 Programmer module after clicking “Open”, otherwise it is invalid.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0408001.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
Remember IP name is 192.168.3.2, please.&lt;br /&gt;
&lt;br /&gt;
5. The computer and the home wifi are in the same segment and  local area network. Connect computer to your home WiFi. &lt;br /&gt;
SSID : KeyesWifi_S  Password: KeyesWifi.&lt;br /&gt;
&lt;br /&gt;
6. Plug the ESP8266 module into the ESP-01 Breakout Board. Insert the breakout board to the breadboard, connect an LED, and DC 3.3V power supply.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-31.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7.Open the network debugging assistant software, as shown below:&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片16.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8.Send PIN00 = 1 signal, the external LED lights up, as shown below:&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片18.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9.Send PIN00 = 0 signal, the external LED is off, as shown below.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片17.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Complete the test for station mode operation.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Softap Mode&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
(1)When the computer and the home wifi are in the same segment and local area network, change the home WiFi name into another one to prevent the WIFIModule from automatically connecting.&lt;br /&gt;
(2)Connect computer to WiFi, the name is KeyesWifi_A, and the password is KeyesWifi.&lt;br /&gt;
(3)Connect the circuit according to the following wiring diagram: connect 3.3V power supply and wait for 20 seconds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-31.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(4)Open the network debugging assistant software, as shown below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片19.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(5)Send PIN00 = 1, the external LED lights up, as shown below&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片21.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(6)Send PIN00 = 0, the external LED is off, as shown below.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片20.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(7)Complete the test for softap mode operation&lt;br /&gt;
&lt;br /&gt;
== 5．Resources ==&lt;br /&gt;
[https://xiazai.keyesrobot.cn/keyestudio/055277_ESP8266_Starter_Kit.7z DOWNLOAD]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=055277_ESP8266_Starter_Kit&amp;diff=35072</id>
		<title>055277 ESP8266 Starter Kit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=055277_ESP8266_Starter_Kit&amp;diff=35072"/>
		<updated>2025-08-14T07:56:23Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* 5．Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:055277-1.png|right|thumb|600px|]]&lt;br /&gt;
&lt;br /&gt;
== 1.Description ==&lt;br /&gt;
&lt;br /&gt;
This kit contains the common components: resistors with different resistance values, different colors LEDs, buttons, and IR receiving components. It is compatible with various microcontrollers and Raspberry Pi. An ESP8266 module and an ESP-01 Programmer module are included. We can build a platform with this two modules and shield, which can help us control external devices via WIFI or send test data to PC. In order to have a better understanding, we do an experiment with components, and remotely control LED on/off via WiFi. &lt;br /&gt;
&lt;br /&gt;
For using easily, we provide self-compiled firmware. The firmware is server mode. Specific information as shown below:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Module Working Mode&#039;&#039;&#039;&lt;br /&gt;
* Work in mode:3&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Softap mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* softAP SSID:KeyesWifi_A password:KeyesWifi&lt;br /&gt;
* softAP IP:192.168.2.1&lt;br /&gt;
* softAP_server IP:192.168.2.1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Station mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* station SSID:KeyesWifi_S password:KeyesWifi&lt;br /&gt;
* station IP: router automatically assigns&lt;br /&gt;
* station_server IP: router automatically distributes  port:8080&lt;br /&gt;
&lt;br /&gt;
== 2.Component List ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| width=&amp;quot;80%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | No.&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Product Name&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Quantity&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Picture&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; |055277 ESP8266 Module&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |&amp;lt;br&amp;gt;[[File:055277-2.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | ESP-01 Programmer&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-3.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 3 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | ESP-01 Breakout Board&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-4.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 4 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 220Ω resistor  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 15&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-5.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 6 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 470Ω resistor &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-6.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 7 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10KΩ resistor   &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-7.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |8  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Green&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-50.png|100px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |9  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Blue&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:761.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Red&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:762.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |11&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | F5- full-color RGB &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-11.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 12 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; |Dupont Line &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-41.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 13 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Dupont Line&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-42.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 14&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Dupont Line &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-43.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 15&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | button &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 4&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-15.png|300px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 16&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Breadboard&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-16.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 17&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Photo Resistor &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 3&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-17.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 18 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IR emitter&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-18.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 19&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IR receiver &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-19.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 3.Installing Driver ==&lt;br /&gt;
We need to install driver for ESP-01 Programmer module. The USB serial port chip CH340G is used in ESP-01 Programmer module. So we need to install driver compatible with CH340G.&lt;br /&gt;
Connect ESP-01 Programmer to computer. For Win10 system, the computer automatically installs the driver, click Computer-Properties-Device Manager. For other systems, connect Esp-01 Programmer Module to PC, and click Computer-Properties-Device manager, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 1.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click USB serial to install the driver, as shown below&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 2.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter the following interface, as shown below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 3.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find usb_ch341_3.1.2009.06 folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 4.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click “next step” to start installing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:Ks0354 driver 5.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finish installing, click to “close”&lt;br /&gt;
The driver is now installed. Click Computer-Properties-Device Manager, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:Ks0354 driver 6.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 4.Project ==&lt;br /&gt;
=== &#039;&#039;&#039;Remotely Controlling LED On/Off Via WiFi&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we connect to  the ESP8266 module to wireless network, and then can send instructions to the ESP8266 module from the upper computer in the remote or local area network. After receiving the instruction, the ESP8266 module can control the external LED to turn on and off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Experiment Equipment&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ESP8266 module * 1&lt;br /&gt;
* ESP-01 Programmer Module * 1&lt;br /&gt;
* ESP-01 Breakout Board * 1&lt;br /&gt;
* LED * 1&lt;br /&gt;
* 220Ω resistor * 1&lt;br /&gt;
* Breadboard * 1&lt;br /&gt;
* Several male to female Dupont lines&lt;br /&gt;
* Several DuPont Lines&lt;br /&gt;
* 3.3V power supply (included)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Burning Firmware&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
First, we need to burn firmware in the ESP-01 Programmer module. The burning method is shown below:&lt;br /&gt;
① Switch the ESP-01 Programmer module to Uart Download, insert the ESP8266 module into the ESP-01 Programmer module, connect ESP-01 Programmer module to the computer USB interface.&lt;br /&gt;
② Open “FLASH_DOWNLOAD_TOOL”, configure as shown below, upload firmware.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0339图片49.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-28.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Station Mode&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Because the station_server IP is automatically assigned by the router. Need to read its IP from the serial port.&lt;br /&gt;
* 1．Set the SSID of home wifi: KeyesWifi_S  Password:KeyesWifi.&lt;br /&gt;
&lt;br /&gt;
* 2．Connect ESP-01 Programmer module to USB port of PC, and switch the module to “Flash Boot”.&lt;br /&gt;
* 3．Open the PUTTY software on the computer, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-29.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4．Insert the ESP8266 module into the ESP-01 Programmer module, putty prints the following information, and the IP is successfully read.&lt;br /&gt;
&lt;br /&gt;
Note: Insert the ESP8266 module into the ESP-01 Programmer module after clicking “Open”, otherwise it is invalid.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0408001.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
Remember IP name is 192.168.3.2, please.&lt;br /&gt;
&lt;br /&gt;
5. The computer and the home wifi are in the same segment and  local area network. Connect computer to your home WiFi. &lt;br /&gt;
SSID : KeyesWifi_S  Password: KeyesWifi.&lt;br /&gt;
&lt;br /&gt;
6. Plug the ESP8266 module into the ESP-01 Breakout Board. Insert the breakout board to the breadboard, connect an LED, and DC 3.3V power supply.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-31.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7.Open the network debugging assistant software, as shown below:&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片16.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8.Send PIN00 = 1 signal, the external LED lights up, as shown below:&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片18.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9.Send PIN00 = 0 signal, the external LED is off, as shown below.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片17.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Complete the test for station mode operation.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Softap Mode&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
(1)When the computer and the home wifi are in the same segment and local area network, change the home WiFi name into another one to prevent the WIFIModule from automatically connecting.&lt;br /&gt;
(2)Connect computer to WiFi, the name is KeyesWifi_A, and the password is KeyesWifi.&lt;br /&gt;
(3)Connect the circuit according to the following wiring diagram: connect 3.3V power supply and wait for 20 seconds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-31.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(4)Open the network debugging assistant software, as shown below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片19.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(5)Send PIN00 = 1, the external LED lights up, as shown below&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片21.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(6)Send PIN00 = 0, the external LED is off, as shown below.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片20.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(7)Complete the test for softap mode operation&lt;br /&gt;
&lt;br /&gt;
== 5．Resources ==&lt;br /&gt;
DOWNLOAD https://xiazai.keyesrobot.cn/keyestudio/055277_ESP8266_Starter_Kit.7z&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=055277_ESP8266_Starter_Kit&amp;diff=35071</id>
		<title>055277 ESP8266 Starter Kit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=055277_ESP8266_Starter_Kit&amp;diff=35071"/>
		<updated>2025-08-14T07:56:10Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* 5．Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:055277-1.png|right|thumb|600px|]]&lt;br /&gt;
&lt;br /&gt;
== 1.Description ==&lt;br /&gt;
&lt;br /&gt;
This kit contains the common components: resistors with different resistance values, different colors LEDs, buttons, and IR receiving components. It is compatible with various microcontrollers and Raspberry Pi. An ESP8266 module and an ESP-01 Programmer module are included. We can build a platform with this two modules and shield, which can help us control external devices via WIFI or send test data to PC. In order to have a better understanding, we do an experiment with components, and remotely control LED on/off via WiFi. &lt;br /&gt;
&lt;br /&gt;
For using easily, we provide self-compiled firmware. The firmware is server mode. Specific information as shown below:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Module Working Mode&#039;&#039;&#039;&lt;br /&gt;
* Work in mode:3&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Softap mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* softAP SSID:KeyesWifi_A password:KeyesWifi&lt;br /&gt;
* softAP IP:192.168.2.1&lt;br /&gt;
* softAP_server IP:192.168.2.1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Station mode&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* station SSID:KeyesWifi_S password:KeyesWifi&lt;br /&gt;
* station IP: router automatically assigns&lt;br /&gt;
* station_server IP: router automatically distributes  port:8080&lt;br /&gt;
&lt;br /&gt;
== 2.Component List ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| width=&amp;quot;80%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | No.&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Product Name&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Quantity&lt;br /&gt;
! align=&amp;quot;center&amp;quot; scope=&amp;quot;col&amp;quot; | Picture&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; |055277 ESP8266 Module&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |&amp;lt;br&amp;gt;[[File:055277-2.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | ESP-01 Programmer&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-3.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 3 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | ESP-01 Breakout Board&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-4.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 4 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 220Ω resistor  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 15&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-5.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 6 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 470Ω resistor &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-6.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 7 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10KΩ resistor   &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-7.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |8  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Green&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-50.png|100px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |9  &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Blue&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:761.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | LED - Red&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:762.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| align=&amp;quot;center&amp;quot; |11&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | F5- full-color RGB &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-11.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 12 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; |Dupont Line &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-41.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 13 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Dupont Line&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-42.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 14&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Dupont Line &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 10&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-43.png|30px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 15&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | button &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 4&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-15.png|300px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 16&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Breadboard&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 2&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-16.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 17&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Photo Resistor &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 3&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-17.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 18 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IR emitter&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-18.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
 &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 19&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | IR receiver &lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | &amp;lt;br&amp;gt;[[File:055277-19.png|200px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 3.Installing Driver ==&lt;br /&gt;
We need to install driver for ESP-01 Programmer module. The USB serial port chip CH340G is used in ESP-01 Programmer module. So we need to install driver compatible with CH340G.&lt;br /&gt;
Connect ESP-01 Programmer to computer. For Win10 system, the computer automatically installs the driver, click Computer-Properties-Device Manager. For other systems, connect Esp-01 Programmer Module to PC, and click Computer-Properties-Device manager, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 1.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click USB serial to install the driver, as shown below&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 2.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter the following interface, as shown below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 3.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find usb_ch341_3.1.2009.06 folder&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 4.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click “next step” to start installing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:Ks0354 driver 5.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finish installing, click to “close”&lt;br /&gt;
The driver is now installed. Click Computer-Properties-Device Manager, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:Ks0354 driver 6.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 4.Project ==&lt;br /&gt;
=== &#039;&#039;&#039;Remotely Controlling LED On/Off Via WiFi&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In the experiment, we connect to  the ESP8266 module to wireless network, and then can send instructions to the ESP8266 module from the upper computer in the remote or local area network. After receiving the instruction, the ESP8266 module can control the external LED to turn on and off.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Experiment Equipment&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* ESP8266 module * 1&lt;br /&gt;
* ESP-01 Programmer Module * 1&lt;br /&gt;
* ESP-01 Breakout Board * 1&lt;br /&gt;
* LED * 1&lt;br /&gt;
* 220Ω resistor * 1&lt;br /&gt;
* Breadboard * 1&lt;br /&gt;
* Several male to female Dupont lines&lt;br /&gt;
* Several DuPont Lines&lt;br /&gt;
* 3.3V power supply (included)&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Burning Firmware&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
First, we need to burn firmware in the ESP-01 Programmer module. The burning method is shown below:&lt;br /&gt;
① Switch the ESP-01 Programmer module to Uart Download, insert the ESP8266 module into the ESP-01 Programmer module, connect ESP-01 Programmer module to the computer USB interface.&lt;br /&gt;
② Open “FLASH_DOWNLOAD_TOOL”, configure as shown below, upload firmware.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0339图片49.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-28.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Station Mode&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Because the station_server IP is automatically assigned by the router. Need to read its IP from the serial port.&lt;br /&gt;
* 1．Set the SSID of home wifi: KeyesWifi_S  Password:KeyesWifi.&lt;br /&gt;
&lt;br /&gt;
* 2．Connect ESP-01 Programmer module to USB port of PC, and switch the module to “Flash Boot”.&lt;br /&gt;
* 3．Open the PUTTY software on the computer, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-29.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4．Insert the ESP8266 module into the ESP-01 Programmer module, putty prints the following information, and the IP is successfully read.&lt;br /&gt;
&lt;br /&gt;
Note: Insert the ESP8266 module into the ESP-01 Programmer module after clicking “Open”, otherwise it is invalid.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0408001.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
Remember IP name is 192.168.3.2, please.&lt;br /&gt;
&lt;br /&gt;
5. The computer and the home wifi are in the same segment and  local area network. Connect computer to your home WiFi. &lt;br /&gt;
SSID : KeyesWifi_S  Password: KeyesWifi.&lt;br /&gt;
&lt;br /&gt;
6. Plug the ESP8266 module into the ESP-01 Breakout Board. Insert the breakout board to the breadboard, connect an LED, and DC 3.3V power supply.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-31.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7.Open the network debugging assistant software, as shown below:&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片16.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8.Send PIN00 = 1 signal, the external LED lights up, as shown below:&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片18.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9.Send PIN00 = 0 signal, the external LED is off, as shown below.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片17.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Complete the test for station mode operation.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Softap Mode&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
(1)When the computer and the home wifi are in the same segment and local area network, change the home WiFi name into another one to prevent the WIFIModule from automatically connecting.&lt;br /&gt;
(2)Connect computer to WiFi, the name is KeyesWifi_A, and the password is KeyesWifi.&lt;br /&gt;
(3)Connect the circuit according to the following wiring diagram: connect 3.3V power supply and wait for 20 seconds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:055277-31.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(4)Open the network debugging assistant software, as shown below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片19.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(5)Send PIN00 = 1, the external LED lights up, as shown below&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片21.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(6)Send PIN00 = 0, the external LED is off, as shown below.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0408-图片20.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(7)Complete the test for softap mode operation&lt;br /&gt;
&lt;br /&gt;
== 5．Resources ==&lt;br /&gt;
[DOWNLOAD https://xiazai.keyesrobot.cn/keyestudio/055277_ESP8266_Starter_Kit.7z]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=Main_Page&amp;diff=35070</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=Main_Page&amp;diff=35070"/>
		<updated>2025-03-13T02:13:33Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* New Arrival &amp;amp; Promotion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&amp;lt;div id=&amp;quot;mainPageBanner&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:无标题bbbb.jpeg|1500px|]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==&#039;&#039;&#039;&amp;lt;big&amp;gt;New Arrival &amp;amp; Promotion&amp;lt;/big&amp;gt;&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
[https://www.aliexpress.com/item/3256806392853931.html?spm=a2g0s.12269583.0.0.3df218e4W1qXqM&amp;lt;span style=&amp;quot;color: red&amp;quot;&amp;gt;&#039;&#039;&#039;&amp;lt;big&amp;gt;&amp;lt;big&amp;gt;Keyestudio Smart House Starter Kit For Arduino Support C++ Programming&amp;lt;/big&amp;gt;&amp;lt;/big&amp;gt;&#039;&#039;&#039;&amp;lt;/span&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;&amp;lt;big&amp;gt;Getting Started&amp;lt;/big&amp;gt;&#039;&#039;&#039; ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===&amp;lt;span style=color:Purple&amp;gt; Arduino &amp;lt;/span&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
*[[Getting Started with Arduino]]&lt;br /&gt;
*[[How to Download Arduino IDE ]]&lt;br /&gt;
*[[How to Install Arduino Driver]]&lt;br /&gt;
*[[How to Install Arduino Library]]&lt;br /&gt;
*[[Download CH340 Driver on MAC System]]&lt;br /&gt;
*[[Download CH340 Driver on Windows System]]&lt;br /&gt;
*[[How to Install the Driver of CP2102 on MAC System]]&lt;br /&gt;
*[[Troubleshooting ---LEONARDO R3 Development Board]]&lt;br /&gt;
*[[How to Install the Driver of CP2102 on Windows System]]&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;span style=color:Purple&amp;gt; Mixly Blocks &amp;lt;/span&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;span style=color:Purple&amp;gt;Mixly 0.998 software&amp;lt;/span&amp;gt;====&lt;br /&gt;
*[[Getting Started with Mixly]]&lt;br /&gt;
*[[Download Mixly Software]]&lt;br /&gt;
*[[How to Import Mixly Library]]&lt;br /&gt;
====&amp;lt;span style=color:Purple&amp;gt;Mixly software&amp;lt;/span&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Getting Started with Mixly 1.0]]&lt;br /&gt;
*[[Getting Started with Mixly1.2]]&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;big&amp;gt;&#039;&#039;&#039;Arduino Board&#039;&#039;&#039;&amp;lt;/big&amp;gt;==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
*[[ks0001 keyestudio UNO R3 BOARD]]&lt;br /&gt;
*[[ks0002 keyestudio Mega 2560 R3 Development Board]]&lt;br /&gt;
*[[ks0099 keyestudio EASY plug Control Board V1.0]]&lt;br /&gt;
*[[ks0172 keyestudio UNO with Pin Header Interface]] &lt;br /&gt;
*[[ks0173 keyestudio Nano ch340]]&lt;br /&gt;
*[[ks0240 keyestudio EASY plug Control Board V2.0]]&lt;br /&gt;
*[[ks0247 keyestudio Pro Mini]]&lt;br /&gt;
*[[ks0248 keyestudio Leonardo R3 Development Board]]&lt;br /&gt;
*[[ks0249 keyestudio PRO MICRO Development Board]]&lt;br /&gt;
*[[ks0001A Keyestudio REV3 (Black) Main Control Board]]&lt;br /&gt;
*[[ks0304 Keyestudio W5500 ETHERNET DEVELOPMENT BOARD (WITHOUT POE)]]&lt;br /&gt;
*[[KS0497 Keyestudio V4.0 Development Board(Compatible With Arduino Uno)]] &lt;br /&gt;
*[[KS0499 KEYESTUDIO Mega 2560 Plus Board]]&lt;br /&gt;
*[[KS0500 KEYESTUDIO Max Development Board]]&lt;br /&gt;
*[[KS0502 Keyestudio MEGA 2560 PRO Development Board(Black and Eco-friendly) ]]&lt;br /&gt;
*[[KS0533 Keyestudio Max Board ]]&lt;br /&gt;
*[[KS0535 Keyestudio Motor PLUS Development Board]]&lt;br /&gt;
*[[KS0546 Keyestudio 328 PLUS Development Board Compatible with Arduino R3(Black and eco-friendly)]]&lt;br /&gt;
*[[KS0528 Keyestudio 4WD Mecanum Robot Car PCB Driver Board]]&lt;br /&gt;
*[[KS7001 Keyestudio Maker Programming Development Board]]&lt;br /&gt;
&lt;br /&gt;
*[[KS4018 Micro:bit Motor Driver Expansion Board]]&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0341 Keyestudio UNO Compatible Board Advanced ]]&lt;br /&gt;
*[[ks0342 Keyestudio MEGA 2560 Compatible Board Advanced ]]&lt;br /&gt;
*[[ks0350 Keyestudio KEYBOT Coding Robot Control Board]]&lt;br /&gt;
*[[ks0354 Keyestudio ESP8266 WI-FI Development Board]]&lt;br /&gt;
*[[ks0384 Keyestudio KEYBOT Coding Robot Control Board Kit]]&lt;br /&gt;
*[[KS0367 keyestudio ESP8266  WiFi  Board ]]&lt;br /&gt;
*[[KS0389 keyestudio ESP8266 WiFi Development Board]]&lt;br /&gt;
*[[KS0413 keyestudio ESP32 Core Board]]&lt;br /&gt;
*[[KS0172A Keyestudio (Black) Main Control Board  ]]&lt;br /&gt;
*[[KS0341A Keyestudio REV4 (Black) Main Control Board  ]]&lt;br /&gt;
*[[KS0486  Keyestudio PLUS Development Board (Black And Eco-friendly)]]&lt;br /&gt;
*[[KS0498 Keyestudio MEGA 2560 R3 Development Board(Compatible Arduino)]]&lt;br /&gt;
*[[KS0288 Keyestudio CNC GRBL]]&lt;br /&gt;
*[[KS0509 Keyestudio Mega 2560 Smart Development Board]]&lt;br /&gt;
*[[KS0547 Keyestudio NANO PLUS Development Board Compatible with Arduino NANO(Black and Eco-friendly)]]&lt;br /&gt;
*[[KS5016 Keyestudio ESP32 PLUS Development Board]]&lt;br /&gt;
*[[KS5013 Keyestudio 328 WIFI PLUS Main Board]]&lt;br /&gt;
*[[KS5014 Keyestudio 2560 WIFI PLUS Main Board]]&lt;br /&gt;
*[[KS3030 Keyestudio Raspberry Pi SIM7600X 4G Expansion Board]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Shield&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Shield&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
*[[ks0003 keyestudio Protoshield for Arduino with Mini Breadboard]]&lt;br /&gt;
*[[ks0004 keyestudio Sensor Shield V5]]&lt;br /&gt;
*[[ks0005 keyestudio MEGA ProtoShield V3 with Tiny Breadboard]]&lt;br /&gt;
*[[ks0007 keyestudio L298P Motor Shield ]]&lt;br /&gt;
*[[ks0142 keyestudio SIM900 GSM/GPRS Module Shield]]&lt;br /&gt;
*[[ks0146 keyestudio Nano IO Shield]]&lt;br /&gt;
*[[ks0147 keyestudio Touch Key USB shield]]&lt;br /&gt;
*[[ks0148 keyestudio W5100]]&lt;br /&gt;
*[[ks0151 keyestudio CNC Shield V2]]&lt;br /&gt;
*[[ks0152 keyestudio CNC Shield V4]]&lt;br /&gt;
*[[ks0153 keyestudio JoyStick Shield]]&lt;br /&gt;
*[[ks0154 keyestudio Mega Pololu Shield (RAMPS 1.4 )]]&lt;br /&gt;
*[[ks0155 keyestudio USB Host v1.5 shield]]&lt;br /&gt;
*[[ks0156 keyestudio W5100 Ethernet Shield]]&lt;br /&gt;
*[[ks0160 keyestudio CNC Shield V3]]&lt;br /&gt;
*[[ks0163 keyestudio 40 RGB LED 2812 Pixel Matrix Shield]]&lt;br /&gt;
*[[ks0164 keyestudio Xbee Sensor Shield V5 with RS485 BLUEBEE Interface]]&lt;br /&gt;
*[[KS0485 Keyestudio NANO Shield With DC End (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0489 Keyestudio 4WD TB6612 Motor Driver Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS4018 Keyestudio Micro:bit TB6612 Motor Driver Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0343 A+ High Quality 400-Hole Solderless Breadboard]]&lt;br /&gt;
*[[KS0503 Keyestudio PRO MICRO 5V 16MHZ Development Board(Black and Eco-friendly)]]&lt;br /&gt;
*[[KS4030 Keyestudio Micro：bit IO Port Expansion Sensor Shield with Level Conversion]]&lt;br /&gt;
*[[KS0529 Keyestudio DMX（RDM）Shield]]&lt;br /&gt;
*[[KS0516 Keyestudio Expansion Board+TF Card for Data Recording]]&lt;br /&gt;
*[[KS0548(KS0548A)Keyestudio PLUS V2  Development Board]]&lt;br /&gt;
*[[KS0550 Keyestudio Servo Driver Expansion Board(Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0554 Keyestudio Senser Shield V6 for Arduino]]&lt;br /&gt;
*[[KS3022 Keyestudio Pico IO Prototype Expansion Board]]&lt;br /&gt;
*[[KS0556 Keyestudio 8833 Motor Driver Expansion Board]]&lt;br /&gt;
*[[KS0554 Keyestudio Sensor Shield V6 for Arduino]]&lt;br /&gt;
*[[KS3028 Keyestudio Sensor Shield V2 for Raspberry pi PICO]]&lt;br /&gt;
*[[KS4016 Keyestudio Micro: bit T-type Shield V2.0 Adapter(Black and Eco-friendly)]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0183 keyestudio Multi-purpose Shield V1]]&lt;br /&gt;
*[[ks0184 keyestudio Multi-purpose Shield V2]]&lt;br /&gt;
*[[ks0196 keyestudio PM2.5 Shield]]&lt;br /&gt;
*[[ks0202 keyestudio Balance Car Shield]]&lt;br /&gt;
*[[ks0250 keyestudio NANO IO Shield]]&lt;br /&gt;
*[[ks0251 keyestudio 4-channel Relay Shield]]&lt;br /&gt;
*[[ks0252 keyestudio Proto Screw Shield for Arduino ]]&lt;br /&gt;
*[[ks0253 keyestudio GPS Shield]]&lt;br /&gt;
*[[ks0254 keyestudio Sim800c Shield]]&lt;br /&gt;
*[[ks0255 keyestudio Bluetooth 4.0 Expansion Shield]]&lt;br /&gt;
*[[ks0256 keyestudio LCD1602 Expansion Shield]]&lt;br /&gt;
*[[ks0257 keyestudio 2.8 Inch TFT LCD Shield]]&lt;br /&gt;
*[[ks0258 keyestudio 16-channel Servo Motor Drive Shield]]&lt;br /&gt;
*[[ks0259 keyestudio PN532 NFC/RFID Controller Shield]]&lt;br /&gt;
*[[KS0298 Keyestudio quick connectors Motor Drive Shield ]]&lt;br /&gt;
*[[ks0314 keyestudio ReSpeaker 2-Mic Pi HAT V1.0]]&lt;br /&gt;
*[[ks0318 keyestudio Tb6560 Stepper Motor Drive Board]]&lt;br /&gt;
*[[ks0363 keyestudio TB6612FNG Motor/Servo Drive Shield with PS2 Socket]]&lt;br /&gt;
*[[ks0366 Keyestudio ESP13 Shield Serial Port Module ]]&lt;br /&gt;
*[[KS3019 Raspberry Pi 4WD Robot Motor Driver Shield]]&lt;br /&gt;
*[[KS3017 Keyestudio Raspberry Pico IO Shield]]&lt;br /&gt;
*[[KS4030 Keyestudio Microbit Expansion Board]]&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0377 Keyestudio Balance Car Shield V3 ]]&lt;br /&gt;
*[[KS0385 Keyestudio ESP 01S WIFI to Serial Shield for Arduino ]]&lt;br /&gt;
*[[KS0386 Keyestudio ESP-01S Wifi Module Adapter Board for Arduino ]]&lt;br /&gt;
*[[KS0388 Keyestudio USB to ESP-01S Wifi Module Serial Port Shield ]]&lt;br /&gt;
*[[KS0390 EASY plug I2C Interface Conversion Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0392 keyestudio I2C Interface Conversion Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0406 keyestudio RS232 to TTL Conversion Shield Compatible with Arduino ]]&lt;br /&gt;
*[[KS0411 keyestudio CAN-BUS Shield ]]&lt;br /&gt;
*[[KS0412 keyestudio L298P Shield ]]&lt;br /&gt;
*[[KS0416 keyestudio SK6812 Shield ]]&lt;br /&gt;
*[[KS0425 keyestudio NANO Shield ]]&lt;br /&gt;
*[[KS0435 Keyestudio Motor Drive Shield V2]]&lt;br /&gt;
*[[KS0443 Keyestudio W5500 Network Shield ]]&lt;br /&gt;
*[[KS0448 Keyestudio L298P 4-Channel Motor Drive Shield]]&lt;br /&gt;
*[[KS0465 keyestudio ESP32-IO Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0521 Keyestudio Solar Charger Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0515 Keyestudio FSK Wireless Shield RFM69HCW 868mhz(Black and Eco-friendly)]]&lt;br /&gt;
*[[KS5001 ESP32-CAM Development Board WiFi+Bluetooth Module with OV2640 Camera (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS3031 Keyestudio SIM7600X 4G Shield Development Kit for Raspberry Pi]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Starter Kits&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Starter Kit&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
*[[ks0068 keyestudio 37 in 1 Sensor Kit for Arduino Starters]]&lt;br /&gt;
*[[ks0069(72, 73) keyestudio Basic Starter Kit for Arduino Starters]]&lt;br /&gt;
*[[ks0070 keyestudio UNO R3 Breadboard Kit for Arduino]]&lt;br /&gt;
*[[ks0074(75, 76) keyestudio Advanced Study Kit for Arduino]]&lt;br /&gt;
*[[KS0077(78,79）Super Learning Kit for Arduino]]&lt;br /&gt;
*[[KS0080(81,82)Maker Learning Kit for Arduino]]&lt;br /&gt;
*[[KS0501 Keyestudio MAX Kit]]&lt;br /&gt;
*[[KS5012 Keyestudio ESP32 Learning Kit Basic Edition]]&lt;br /&gt;
&lt;br /&gt;
*[[ks0083 keyestudio New sensor kit with Uno]]&lt;br /&gt;
*[[ks0084 keyestudio New sensor kit with 2560 R3]]&lt;br /&gt;
*[[ks0086 ARDUBLOCK Graphical Programming Starter Kit]]&lt;br /&gt;
*[[ks0087 keyestudio DIY Electronic Scale]]&lt;br /&gt;
*[[ks0157 keyestudio EASY plug learning kit for Arduino super makers]]&lt;br /&gt;
*[[ks0158 Keyestudio EASY plug starter kit for Arduino]]&lt;br /&gt;
*[[ks0177 keyestudio RGB LED CUBE KIT]]&lt;br /&gt;
*[[ks0178 keyestudio Sensor Kit for ARDUINO starters- K1]]&lt;br /&gt;
*[[ks0179 keyestudio Sensor Kit for ARDUINO starters- K2]]&lt;br /&gt;
*[[ks0180 keyestudio Sensor Kit for ARDUINO starters- K3]]&lt;br /&gt;
*[[ks0181 keyestudio Sensor Kit for ARDUINO starters- K4]]&lt;br /&gt;
*[[ks0182 keyestudio  LED Cube Kit]]&lt;br /&gt;
*[[ks0188 keyestudio Maker Touch Starter Kit]]&lt;br /&gt;
*[[KS0505(0506)STEM Starter Kit for Plus Board]]&lt;br /&gt;
*[[KS0506 STEM Starter Kit for MEGA 2560 Plus Board]]&lt;br /&gt;
*[[KS0094 KEYESTUDIO CNC Kit V2.0]] &lt;br /&gt;
*[[KS0095 KEYESTUDIO CNC Kit V3.0]] &lt;br /&gt;
*[[KS0349 Keyestudio 48 in 1 Sensor Kit]] &lt;br /&gt;
*[[KS0402 (403, 404) KEYESTUDIO Basic Starter V2 Kit]]&lt;br /&gt;
*[[KS0344 Arduino Automatic Watering System]]&lt;br /&gt;
*[[Electronic Scale Kit]]&lt;br /&gt;
*[[KS3023(3023F) Keyestudio Raspberry Pi Pico 37 in 1 Sensor Kit]]&lt;br /&gt;
*[[KS5002(KS5002F) Keyestudio Beetlebot 3 in 1 Robot for ESP32 STEM Education]]&lt;br /&gt;
*[[KS0549 Keyestudio DIY Electronic Watering Kit]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0189 keyestudio Scratch for Arduino Starter Kit]]&lt;br /&gt;
*[[ks0190 keyestudio Environment Monitoring Kit]]&lt;br /&gt;
*[[ks0198 keyestudio 4DOF Robot Mechanical Arm Kit for Arduino DIY ]]&lt;br /&gt;
*[[ks0201 keyestudio Smart Clock Kit]]&lt;br /&gt;
*[[ks0358 keyestudio Electronic Parts DIY Kit For OTTO Robot Maker ]]&lt;br /&gt;
*[[ks0397 keyestudio EASY plug Super Starter Kit for Arduino STEM EDU]]&lt;br /&gt;
*[[ks0398 keyestudio EASY plug Ultimate Starter Kit for Arduino STEM EDU]]&lt;br /&gt;
*[[ks0399(400, 401) keyestudio 37 in 1 Sensor V2.0 Kit for Arduino ]]&lt;br /&gt;
*[[ks0402(403, 404) keyestudio Basic Starter V2.0 Kit for Arduino ]]&lt;br /&gt;
*[[KS0474 Keyestudio GAMEPI DIY Game Console learning Kit for Arduino ]]&lt;br /&gt;
*[[052043 Super Learning Kit for Arduino ]]&lt;br /&gt;
*[[052035 Basic Starter V2.0 Kit for Arduino ]]&lt;br /&gt;
*[[055251 Nano FT232 Starter Kit ]]&lt;br /&gt;
*[[055269 Pro Micro Starter Kit ]]&lt;br /&gt;
*[[055277 ESP8266 Starter Kit ]]&lt;br /&gt;
*[[KS0468 Keyestudio Storage Bag Micro:bit Main board Kit ]]&lt;br /&gt;
*[[KS0487 Keyestudio 37 in 1 Sensor Kit upgrade v3.0 ]]&lt;br /&gt;
*[[KS0085 Keyestudio Smart Home Kit for Arduino ]]&lt;br /&gt;
*[[KS0519 Keyestudio Programming DIY Smart Sports Watch for Arduino]]&lt;br /&gt;
*[[KS0522 Keyestudio 48 in 1 Sensor Kit]]&lt;br /&gt;
*[[KS0399(400, 401) Keyestudio 37 in 1 Sensor V2.0 Kit for Arduino ]]&lt;br /&gt;
*[[221820 Keyestudio Smart Home Kit for Arduino ]]&lt;br /&gt;
*[[KS0530 Keyestudio Solar Tracking DIY Kit for Arduino]]&lt;br /&gt;
*[[KS0536(KS0537) Keyestudio Ultimate Starter Kit for Arduino]]&lt;br /&gt;
*[[KS0538(KS0539) Keyestudio Complete Starter Kit for Arduino]]&lt;br /&gt;
*[[KS0540(KS0541) Keyestudio Basic Starter Kit for Arduino]]&lt;br /&gt;
*[[KS3021(KS3021F）Keyestudio Raspberry Pi Pico 24 in 1 Sensor Kit]]&lt;br /&gt;
*[[KS0552 Keyestudio Writing Machine for Arduino DIY]]&lt;br /&gt;
*[[KS5005(KS5005F)KS5006(KS5006F) Keyestudio ESP32 37 in 1 Sensor Kit]]&lt;br /&gt;
*[[KS5007(KS5007F)KS5008(KS5008F) Keyestudio ESP32 24 in 1 Sensor Kit]]&lt;br /&gt;
*[[KS5009 Keyestudio Smart Home]]&lt;br /&gt;
*[[KS5011(KS5011F) Keyestudio ESP32 Learning Kit Complete Edition]]&lt;br /&gt;
*[[KS5010(KS5010F)Keyestudio ESP32 Learning Kit Ultimate Edition]]&lt;br /&gt;
*[[KS0561 Honeycomb DIY STEM Project Kit for Arduino with Alligator Clip Cable]]&lt;br /&gt;
*[[KS4038(KS4039) Keyestudio Robot Arm Microbit Learning Kit]]&lt;br /&gt;
*[[KS0562F Keyestudio Student Starter Learning Kit with Mainboard]]&lt;br /&gt;
*[[900852  Keyes 37 in 1 Sensor Kit for Arduino]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;Smart Car&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Smart Car&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
*[[ks0071 keyestudio Mini Tank Robot]]&lt;br /&gt;
*[[ks0159 keyestudio Desktop Bluetooth Mini Smart Car]]&lt;br /&gt;
*[[ks0191 keyestudio Smart Small Turtle Robot]]&lt;br /&gt;
*[[ks0192 keyestudio 4WD Bluetooth Multi-functional Car]]&lt;br /&gt;
*[[ks0193 keyestudio Self-balancing Car]]&lt;br /&gt;
*[[ks0313 keyestudio Desktop Mini Bluetooth Smart Car V2.0 Kit]]&lt;br /&gt;
*[[ks0353 keyestudio KEYBOT Coding Education Robot for Arduino STEM ]]&lt;br /&gt;
*[[ks0356 keyestudio Micro:bit Mini Smart Robot Car ]]&lt;br /&gt;
*[[ks0391 keyestudio Micro:bit Mini Smart Robot Car (No Main Board) ]]&lt;br /&gt;
*[[ks0428 keyestudio Mini Tank Robot V2]] &lt;br /&gt;
*[[KS0520 KEYESTUDIO 4DOF Mechanical Robot Arm Car Learning Kit]]&lt;br /&gt;
*[[KS0523 KEYESTUDIO 4WD Mechanical Robot Arm Smart Car]]&lt;br /&gt;
*[[KS0464 KEYESTUDIO Smart Little Turtle Robot V3]]&lt;br /&gt;
*[[KS0464 KEYESTUDIO Smart Little Turtle Robot V3 for Mixly]]&lt;br /&gt;
*[[KS0526 Keyestudio Mini Tank Robot V3]]&lt;br /&gt;
*[[KS0198 Keyestudio 4DOF Robot Mechanical Arm Kit for Arduino DIY]]&lt;br /&gt;
*[[KS3027(KS3027F) Keyestudio Beetlebot 3 in 1 Robot for Raspberry Pi Pico]]&lt;br /&gt;
*[[KS0488X Keyestudio 4DOF Robot Arm Arduino Learning Kit”]]&lt;br /&gt;
*[[KS0198X Keyestudio 4DOF Robot Arm Kit for Arduino DIY]]&lt;br /&gt;
*[[KS0555 Keyestudio Mini  Caterpillar Tank Robot V3.0 (Popular Edition)]]&lt;br /&gt;
*[[KS0558 Keyestudio Smart Turtle Car V3.0]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0364 keyestudio Smart Little Turtle Robot V2.0 ]]&lt;br /&gt;
*[[KS0470 Keyestudio 4WD BT Robot Car V2.0 Kit for Arduino ]]&lt;br /&gt;
*[[KS0470 Keyestudio 4WD BT Robot Car V2.0 Kit for Mixly ]]&lt;br /&gt;
*[[ks0436 keyestudio Ultimate Starter Kit For Little Inventor (Zero-based Arduino Learning Robot)]]&lt;br /&gt;
*[[ks0441 Keyestudio Desktop Mini Bluetooth Smart Car V3.0 ]]&lt;br /&gt;
*[[KS0446 Keyestudio Frog Robot for Arduino Graphical Programming ]]&lt;br /&gt;
*[[KS0488 Keyestudio 4DOF Robot Arm DIY Kit V2.0 for Arduino]]&lt;br /&gt;
*[[KS0488 How to Install the Claw of the 4DOF Robot Arm ]]&lt;br /&gt;
*[[KS0507 Keyestudio Smart RV Kit]]&lt;br /&gt;
*[[KS0223 Keyestudio Smart Car Kit for Raspberry Pi]]&lt;br /&gt;
*[[KS0543 (KS0543F) Keyestudio Beetlebot 3 in 1 Robot for Arduino STEM Education]]&lt;br /&gt;
*[[KS0554 Keyestudio 4WD Mecanum Robot for Arduino Expansion Board]]&lt;br /&gt;
*[[KS0551 Keyestudio 4WD Mecanum Robot for Arduino]]&lt;br /&gt;
*[[KS4034(KS4034F)KS4035(KS4035F) Keyestudio Microbit 4WD Mecanum Robot Car V2.0]]&lt;br /&gt;
*[[KS3029 Keyestudio 4WD Mecanum Robot for Pico]]&lt;br /&gt;
*[[KS0559(KS0559F）Keyestudio 4WD BT Multi-purpose Car V2.0]]&lt;br /&gt;
*[[KS0560(KS0560F) Keyestudio 4WD Mecanum Robot for Arduino]]&lt;br /&gt;
*[[KS4036F Keyestudio Micro:bit Smart Robot Car (without microbit)]]&lt;br /&gt;
*[[KS0555X Keyestudio Mini  Caterpillar Tank Robot V3.0 (Popular Edition)]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Sensor&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Sensor&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
*[[KS0508 Keyestudio PCF8591 AD Adapter Module]]&lt;br /&gt;
*[[ks0014 keyestudio Analog Rotation Sensor]]&lt;br /&gt;
*[[ks0015 keyestudio Pulse Rate Monitor]]&lt;br /&gt;
*[[ks0020 keyestudio Hall Magnetic Sensor]]&lt;br /&gt;
*[[ks0021 keyestudio Collision Sensor]]&lt;br /&gt;
*[[ks0022 keyestudio LM35 Linear Temperature Sensor]]&lt;br /&gt;
*[[ks0023 keyestudio 18B20 Temperature Sensor]]&lt;br /&gt;
*[[ks0024 keyestudio Knock Sensor Module]]&lt;br /&gt;
*[[ks0025 keyestudio Digital Tilt Sensor]]&lt;br /&gt;
*[[ks0028 keyestudio Photocell Sensor]]&lt;br /&gt;
*[[ks0029 keyestudio Digital Push Button]]&lt;br /&gt;
*[[ks0031 keyestudio Capacitive Touch Sensor]]&lt;br /&gt;
*[[ks0033 keyestudio Analog Temperature Sensor]]&lt;br /&gt;
*[[ks0034 keyestudio DHT11 Temperature and Humidity Sensor]]&lt;br /&gt;
*[[KS0035 Microphone Sound Sensor with Potentiometer]]&lt;br /&gt;
*[[ks0036 keyestudio Flame Sensor]]&lt;br /&gt;
*[[ks0037 keyestudio Vibration Sensor]]&lt;br /&gt;
*[[ks0040 keyestudio Analog Gas Sensor]]&lt;br /&gt;
*[[ks0041 keyestudio Analog Alcohol Sensor]]&lt;br /&gt;
*[[ks0042 keyestudio MQ-4 Gas Sensor]]&lt;br /&gt;
*[[ks0043 keyestudio MQ-5 Gas Sensor]]&lt;br /&gt;
*[[KS0517 Keyestudio DS1302 Clock Sensor(Black and Eco-friendly)]]&lt;br /&gt;
*[[KS2002 EASY Plug CCS811 CO2 Air Quality Sensor(Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0521 Keyestudio Solar Charger Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0511 Keyestudio Quick Connectors Ultrasonic Module(CS100A Chip/Black/Environment-friendly) ]]&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0044 keyestudio MQ-6 Gas Sensor]]&lt;br /&gt;
*[[ks0045 keyestudio MQ-7 Carbon Monoxide Gas Sensor]]&lt;br /&gt;
*[[ks0046 keyestudio MQ-8 Hydrogen Gas Sensor]]&lt;br /&gt;
*[[ks0047 keyestudio MQ135 Air Quality Sensor]]&lt;br /&gt;
*[[ks0048 keyestudio Water Sensor]]&lt;br /&gt;
*[[ks0049 keyestudio Soil Humidity Sensor]]&lt;br /&gt;
*[[ks0050 keyestudio Line Tracking Sensor]]&lt;br /&gt;
*[[ks0051 keyestudio Infrared Obstacle Avoidance Sensor]]&lt;br /&gt;
*[[ks0052 keyestudio PIR Motion Sensor]]&lt;br /&gt;
*[[ks0053 keyestudio Color Sensor]]&lt;br /&gt;
*[[ks0054 keyestudio BMP180 Digital Barometric Pressure Sensor Module for Arduino]]&lt;br /&gt;
*[[ks0098 keyestudio TEMT6000 Ambient Light Sensor]]&lt;br /&gt;
*[[ks0185 keyestudio ACS712-30A Current Sensor]]&lt;br /&gt;
*[[ks0186 keyestudio ACS712-20A Current Sensor]]&lt;br /&gt;
*[[ks0187 keyestudio ACS712-5A Current Sensor]]&lt;br /&gt;
*[[ks0203 keyestudio Steam Sensor]]&lt;br /&gt;
*[[ks0204 keyestudio GUVA-S12SD 3528 Ultraviolet Sensor]]&lt;br /&gt;
*[[ks0205 Keyestudio RC522 Sensor]]&lt;br /&gt;
*[[ks0206 Keyestudio SR01 Ultrasonic Sensor]]&lt;br /&gt;
*[[ks0260 keyestudio TTP229L 16-key Touch Sensor]]&lt;br /&gt;
*[[ks0268 keyestudio SHT10 Digital Temperature Sensor]]&lt;br /&gt;
*[[KS0534 Keyestudio Power Module Type-C for Breadboard]]&lt;br /&gt;
*[[KS0542 Keyestudio LY51M02 Bluetooth 5.0 Module]]&lt;br /&gt;
*[[Keyestudio 1.3 128x64 OLED Display with IIC Ports]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0270 keyestudio MMA8452Q Module Triaxial Digital Acceleration Tilt Sensor]]&lt;br /&gt;
*[[ks0272 keyestudio Analog Piezoelectric Ceramic Vibration Sensor]]&lt;br /&gt;
*[[ks0274 keyestudio Current Sensor Current Detection Sensor]]&lt;br /&gt;
*[[ks0275 keyestudio Voltage Detection Module Voltage Sensor]]&lt;br /&gt;
*[[ks0276 keyestudio MLX90614 Non-contact Infrared Temperature Sensor]]&lt;br /&gt;
*[[ks0309 Keyestudio Thin-film Pressure Sensor (Black and Eco-friendly)]]&lt;br /&gt;
*[[ks0316 Keyestudio DS18b20 Temperature Detector Sensor (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0352 Keyestudio KEYBOT Programmable Robot 3-way Line Tracking Sensor]]&lt;br /&gt;
*[[KS0407 Keyestudio TCS34725 Color Sensor]]&lt;br /&gt;
*[[KS0414 Keyestudio Turbidity Sensor V1.0]]&lt;br /&gt;
*[[KS0430 Keyestudio DHT22 Temperature and Humidity Sensor]]&lt;br /&gt;
*[[KS0429 keyestudio TDS Meter V1.0 ]]&lt;br /&gt;
*[[KS0451 Keyestudio MS1100 Formaldehyde Benzene VOC Gas Sensor]]&lt;br /&gt;
*[[KS0457 keyestudio CCS811 Carbon Dioxide Air Quality Sensor]]&lt;br /&gt;
*[[KS0462 Keyestudio MAX30102 Heart Rate Sensor ]]&lt;br /&gt;
*[[KS0346 Keyestudio Non-contact Liquid Level Sensor(Black and Friendly)]]&lt;br /&gt;
*[[KS0511 Keyestudio Quick Connectors Ultrasonic Module (CS100A Chip/Black/Environment-friendly) ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;div id=&amp;quot;3D Printer&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;3D Printing&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
*[[ks0089 MKS BaseV1.2 3D Printer Controller Board (RAMPS 1.4 + Arduino 2560 Remix Board)]]&lt;br /&gt;
*[[ks0090 keyestudio 3D Printer Kit RAMPS 1.4 + Mega 2560 + 5x A4988 + LCD 12864 Smart Controller]]&lt;br /&gt;
*[[ks0091 keyestudio 3D Printer Kit RAMPS 1.4 + Mega 2560 + 5x A4988 + LCD 2004 Smart Controller]]&lt;br /&gt;
*[[ks0092 keyestudio 3D Printer Kit MKS Base V1.2 + 5x 8825 + LCD 2004 Smart Controller]]&lt;br /&gt;
*[[ks0093 Keyestudio 3D Printer Kit MKS base V1.2 + 5x 8825 + LCD 12864 smart Controller]]&lt;br /&gt;
*[[ks0094 Arduino CNC kit / CNC Shield V2.0 +keyestudio Uno R3+3pcs A4988 Driver / GRBL Compatible]]&lt;br /&gt;
*[[ks0096 keyestudio CNC Kit / CNC Shield V4.0 + Nano 3.0+3pcs a4988 Driver / GRBL Compatible]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0141 keyestudio DRV8825 stepper motor driver for 3D printer]]&lt;br /&gt;
*[[KS0149 Keyestudio RAMPS1.4 / 12864 LCD Control Panel for 3D Printer]]&lt;br /&gt;
*[[KS0150 Keyestudio RAMPS1.4 / 2004 LCD Control Panel for 3D Printer]]&lt;br /&gt;
*[[ks0282 Keyestudio 3D MKS Gen V1.4 Printer Motherboard Control Board(Black &amp;amp;Environmental-protection)]]&lt;br /&gt;
*[[ks0286 keyestudio CNC Kit / CNC Shield V3.0 +keyestudio Uno R3+4pcs DRV8825 Driver / GRBL Compatible]]&lt;br /&gt;
*[[ks0288 keyestudio CNC GRBL V0.9]]&lt;br /&gt;
*[[ks0289 keyestudio LCD2004 3D Module]]&lt;br /&gt;
*[[ks0290 keyestudio LCD1602 3D Module]]&lt;br /&gt;
*[[KS0311 Keyestudio CNC V0.9A+4988 Driver with Heat Sink Kit]]&lt;br /&gt;
*[[KS0477 Keyestudio 3D Smart Controller_2004LCD Module+Cable+Adapter Board]]&lt;br /&gt;
*[[KS0476 Keyestudio 3D Smart Controller 12864LCD Module+Cable+Adapter Board]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;EASY Plug&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;EASY Plug&#039;&#039;&#039;==&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[ks0100 keyestudio EASY plug White LED Module]]&lt;br /&gt;
*[[ks0102 keyestudio EASY plug Active Buzzer Module]]&lt;br /&gt;
*[[ks0103 keyestudio EASY plug Passive Buzzer Module]]&lt;br /&gt;
*[[ks0104 keyestudio EASY plug Analog Temperature Sensor]]&lt;br /&gt;
*[[ks0105 keyestudio EASY plug Analog Sound Sensor]]&lt;br /&gt;
*[[ks0106 keyestudio EASY plug Photocell Sensor]]&lt;br /&gt;
*[[ks0107 keyestudio EASY plug Water Sensor]]&lt;br /&gt;
*[[ks0108 keyestudio EASY plug Soil Humidity Sensor]]&lt;br /&gt;
*[[ks0109 keyestudio EASY plug Analog Rotation Sensor]]&lt;br /&gt;
*[[ks0110 keyestudio EASY plug Hall Magnetic Sensor]]&lt;br /&gt;
*[[ks0111 keyestudio EASY plug Collision Sensor]]&lt;br /&gt;
*[[ks0112 keyestudio EASY plug Digital Push Button]]&lt;br /&gt;
*[[ks0113 keyestudio EASY plug Capacitive Touch Sensor]]&lt;br /&gt;
*[[ks0114 keyestudio EASY plug Knock Sensor]]&lt;br /&gt;
*[[ks0115 keyestudio EASY plug Digital Tilt Sensor Module]]&lt;br /&gt;
*[[ks0116 keyestudio EASY plug Flame Sensor Module]]&lt;br /&gt;
*[[ks0117 keyestudio EASY plug Vibration Sensor Module]]&lt;br /&gt;
*[[ks0118 keyestudio EASY plug Reed Switch Module]]&lt;br /&gt;
*[[ks0119 keyestudio EASY plug Line Tracking Sensor]]&lt;br /&gt;
*[[ks0120 keyestudio EASY plug Infrared Obstacle Avoidance Sensor]]&lt;br /&gt;
*[[ks0121 keyestudio EASY plug Photo Interrupter Module]]&lt;br /&gt;
*[[ks0122 keyestudio EASY plug PIR Motion Sensor]]&lt;br /&gt;
*[[ks0123 keyestudio EASY plug LM35 Temperature Sensor Module]]&lt;br /&gt;
*[[ks0124 keyestudio EASY plug DS18B20 Temperature Sensor]]&lt;br /&gt;
*[[ks0125 keyestudio EASY plug IR Receiver Module]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0126 keyestudio EASY plug IR Transmitter Module]]&lt;br /&gt;
*[[ks0127 keyestudio EASY plug Single Relay Module]]&lt;br /&gt;
*[[ks0128 keyestudio EASY plug ADXL345 Three Axis Acceleration Module]]&lt;br /&gt;
*[[ks0129 keyestudio EASY plug DHT11 Temperature and Humidity Sensor]]&lt;br /&gt;
*[[ks0130 keyestudio EASY plug DS3231 Clock Module]]&lt;br /&gt;
*[[ks0131 keyestudio EASY plug Analog Gas Sensor]]&lt;br /&gt;
*[[ks0132 keyestudio EASY plug Analog Alcohol Sensor]]&lt;br /&gt;
*[[ks0133 keyestudio EASY plug MQ135 Air Quality Sensor]]&lt;br /&gt;
*[[ks0134 keyestudio EASY plug BMP180 Barometric Pressure Sensor]]&lt;br /&gt;
*[[ks0135 keyestudio EASY plug Bluetooth Module]]&lt;br /&gt;
*[[ks0136 keyestudio EASY plug OLED Module]]&lt;br /&gt;
*[[ks0137 keyestudio EASY plug 1602 I2C Module]]&lt;br /&gt;
*[[ks0138 keyestudio EASY plug I2C 2004 LCD]]&lt;br /&gt;
*[[ks0139 keyestudio EASY plug I2C 8x8 LED Matrix]]&lt;br /&gt;
*[[ks0224 keyestudio EASY plug Red LED Module]]&lt;br /&gt;
*[[ks0225 keyestudio EASY plug Green LED Module]]&lt;br /&gt;
*[[ks0226 keyestudio EASY plug Yellow LED Module]]&lt;br /&gt;
*[[ks0227 keyestudio EASY plug Blue LED Module]]&lt;br /&gt;
*[[ks0229 keyestudio EASY plug Digital Green LED Module]]&lt;br /&gt;
*[[KS0158 Keyestudio EASY Plug Starter Kit for Arduino]]&lt;br /&gt;
*[[KS2003 EASY Plug SR01 Ultrasonic Sensor ]]&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0241 keyestudio EASY plug L9110 Fire Extinguishing Module]]&lt;br /&gt;
*[[ks0242 keyestudio EASY plug SR01 Ultrasonic Module]]&lt;br /&gt;
*[[ks0243 keyestudio EASY plug W5100 Ethernet Module]]&lt;br /&gt;
*[[ks0244 keyestudio EASY plug TEMT6000 Ambient Light Sensor]]&lt;br /&gt;
*[[ks0245 keyestudio EASY plug Joystick Module]]&lt;br /&gt;
*[[ks0246 keyestudio EASY plug Steam Sensor]]&lt;br /&gt;
*[[KS0369 EASY plug 4-Digit LED Display ]]&lt;br /&gt;
*[[KS0370 EASY plug 2812 2x2 Full Color RGB Module (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0371 EASY plug Thin-film Pressure Sensor (Black and Eco-friendly) ]]&lt;br /&gt;
*[[KS0372 EASY plug Servo Module +Micro Servo ]]&lt;br /&gt;
*[[KS0373 EASY plug Slide Potentiometer ]]&lt;br /&gt;
*[[KS0376 EASY plug SR01 Ultrasonic Module V2]]&lt;br /&gt;
*[[KS0380 EASY plug 8x8 LED Matrix Module -180° Interface]]&lt;br /&gt;
*[[KS0381 EASY plug I2C 1602 LCD Module-180° Interface]]&lt;br /&gt;
*[[KS0393 EASY plug WIFI and Bluetooth Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0394 EASY plug GP2Y1014AU PM2 Dust Sensor Module]]&lt;br /&gt;
*[[KS0395 EASY plug 8x8 LED Matrix Module Address Select ]]&lt;br /&gt;
*[[KS0431 EASY plug DHT22 Temperature and Humidity Sensor]]&lt;br /&gt;
*[[KS0439 EASY Plug 3W LED Module ]]&lt;br /&gt;
*[[KS0442 EASY Plug Breakout Board ]]&lt;br /&gt;
*[[KS0473 EASY Plug TCS34725 Color Sensor(Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0467 EASY plug micro TF Card Read and Write Module]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Module&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Modules&#039;&#039;&#039;==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===LCDs, LEDs and Displays===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0010 keyestudio 3W LED Module]]&lt;br /&gt;
*[[KS0016 Keyestudio White LED Module]]&lt;br /&gt;
*[[ks0030 keyestudio Magical Light Cup Module]]&lt;br /&gt;
*[[ks0032 keyestudio RGB LED Module]]&lt;br /&gt;
*[[ks0056 keyestudio 1.3&amp;quot; 128x64 OLED Graphic Display]]&lt;br /&gt;
*[[ks0061 keyestudio 1602 I2C Module]]&lt;br /&gt;
*[[ks0062 keyestudio I2C LCD2004 Module]]&lt;br /&gt;
*[[ks0060 keyestudio Large Button 4*4 Matrix Keypad for Arduino]]&lt;br /&gt;
*[[ks0064 keyestudio I2C 8x8 LED Matrix HT16K33]]&lt;br /&gt;
*[[ks0232 keyestudio Red Piranha LED Module]]&lt;br /&gt;
*[[ks0232 keyestudio Red LED Module]]&lt;br /&gt;
*[[ks0233 keyestudio Green LED Module]]&lt;br /&gt;
*[[ks0234 keyestudio Yellow LED Module]]&lt;br /&gt;
*[[KS0475 Keyestudio 8*8 Dot Matrix Module 1088AS For Smart Car (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0347 Keyestudio 130 Motor DC3-5V Driving Module]]&lt;br /&gt;
*[[KS0510 Keyestudio New Type Soil Humidity Sensor]]&lt;br /&gt;
*[[KS0061A Keyestudio 1602 I2C Module ]]&lt;br /&gt;
*[[KS0508 Keyestudio PCF8591 AD Adapter Module]]&lt;br /&gt;
*[[KS0525 Keyestudio SIM868 GSM GPRS GNSS Bluetooth Module]]&lt;br /&gt;
*[[KS0532 Keyestudio 1.3 128x64 OLED Display with IIC Ports]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[ks0235 keyestudio Blue LED Module]]&lt;br /&gt;
*[[ks0262 keyestudio LED Dot Matrix Display Module 1616 Infinite Cascade]]&lt;br /&gt;
*[[ks0269 keyestudio TMD27713 ALS Infrared LED Optical Proximity Detection Module]]&lt;br /&gt;
*[[ks0271 keyestudio OLED Display OLED Module]]&lt;br /&gt;
*[[ks0357 Keyestudio 8x16 LED Matrix Panel]]&lt;br /&gt;
*[[KS0396 keyestudio 8x8 LED Matrix Module Address Select ]]&lt;br /&gt;
*[[KS0445 keyestudio 4-digit LED Display Module]]&lt;br /&gt;
*[[KS0454 keyestudio Circular TFT LCD Smart Watch Display Module]]&lt;br /&gt;
*[[KS0459 Keyestudio 10mm Highlight Full-color LED RGB Module]]&lt;br /&gt;
*[[KS0461 Keyestudio Electronic Ink Screen Module 2.13 Inch]]&lt;br /&gt;
*[[KS0469 Keyestudio Electronic Ink Screen Module 1.54 Inch]]&lt;br /&gt;
*[[KS0504 Keyestudio SR01 Ultrasonic Sensor V3]]&lt;br /&gt;
*[[KS0357A Keyestudio 8x16 LED Matrix Panel]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Relay Boards===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0011 keyestudio 5V Relay Module]]&lt;br /&gt;
*[[ks0057 keyestudio Dual Relay Module]]&lt;br /&gt;
*[[ks0058 keyestudio 4-channel Relay Module]]&lt;br /&gt;
*[[ks0059 keyestudio 8-channel 5V Relay Module]]&lt;br /&gt;
*[[ks0263 keyestudio Single Solid State Relay Module]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0264 keyestudio Two-channel Solid State Relay Module]]&lt;br /&gt;
*[[ks0265 keyestudio Four-channel Solid State Relay Module]]&lt;br /&gt;
*[[ks0266 keyestudio Eight-channel Solid State Relay Module]]&lt;br /&gt;
*[[KS0317 keyestudio Relay Module (Black and Environmental-friendly)]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===Wireless===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0026 keyestudio Digital IR Receiver Module]]&lt;br /&gt;
*[[ks0027 keyestudio Digital IR Transmitter Module]]&lt;br /&gt;
*[[ks0055 keyestudio Bluetooth Module]]&lt;br /&gt;
*[[ks0067 keyestudio RC522 RFID Module for Arduino]]&lt;br /&gt;
*[[ks0088 New Infrared IR Wireless Remote Control Module Kits for Arduino]]&lt;br /&gt;
*[[ks0097 keyestudio Bluetooth Transmission Module for Arduino with Bottom HC-05 Master and Slave]]&lt;br /&gt;
*[[ks0143 keyestudio XBee Bluetooth Wireless Module HC-05]]&lt;br /&gt;
*[[ks0144 keyestudio XBee Bluetooth Wireless Module HC-06]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0174 keyestudio HM-10 Bluetooth-4.0 V2]]&lt;br /&gt;
*[[KS0319 keyestudio GPS Module]]&lt;br /&gt;
*[[KS0338 Keyestudio 24L01 Wireless Module]] &lt;br /&gt;
*[[KS0355 keyestudio HC-08 Bluetooth Module]]&lt;br /&gt;
*[[KS0389 keyestudio ESP8266 WiFi Module (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0408 keyestudio ESP-01 Relay Module]]&lt;br /&gt;
*[[KS0409 Keyestudio ESP-01 DHT11 Temperature and Humidity Module]]&lt;br /&gt;
*[[KS0410 Keyestudio ESP-01 DS18B20 Temperature Module]]&lt;br /&gt;
*[[KS0455 keyestudio HM-10 Bluetooth-4.0 V3 Compatible with HC-06 Pins]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Motors and Drivers===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0063 keyestudio L298N Motor Driver Board Module ]]&lt;br /&gt;
*[[ks0065 keyestudio 16-channel 12-bit PWM/Servo Driver - I2C Interface]]&lt;br /&gt;
*[[ks0066 keyestudio TB6612FNG Motor Driver]]&lt;br /&gt;
*[[ks0140 keyestudio 5V Stepper Motor]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0194 keyestudio Micro Servo]]&lt;br /&gt;
*[[ks0208 keyestudio ULN2003 Stepper Motor Driver]]&lt;br /&gt;
*[[ks0209 keyestudio 9G Servo Motor Blue 90°]]&lt;br /&gt;
*[[ks0281 Keyestudio Reprap Stepper Motor Driver]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===Others===&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0008 keyestudio Joystick Module]]&lt;br /&gt;
*[[ks0009 keyestudio Photo Interrupter Module]]&lt;br /&gt;
*[[ks0012 keyestudio ADXL345 Three Axis Acceleration Module]]&lt;br /&gt;
*[[ks0013 keyestudio Rotary Encoder Module]]&lt;br /&gt;
*[[ks0018 keyestudio Digital Buzzer Module]]&lt;br /&gt;
*[[ks0019 keyestudio Passive Buzzer module]]&lt;br /&gt;
*[[ks0038 keyestudio Reed Switch Module]]&lt;br /&gt;
*[[ks0039 keyestudio DS3231 Clock Module]]&lt;br /&gt;
*[[ks0165 Keyestudio Scratch Shield]]&lt;br /&gt;
*[[ks0166 keyestudio DS3234 high precision real time clock module]]&lt;br /&gt;
*[[ks0167 keyestudio HX711 Load Cell Pressure Sensor Module]]&lt;br /&gt;
*[[ks0168 keyestudio L9110 fan control module]]&lt;br /&gt;
*[[ks0169 Keyestudio MAX6675 K-Thermocouple-to-Digital Converter module]]&lt;br /&gt;
*[[ks0170 keyestudio MPU6050 Gyroscope and Accelerometer module]]&lt;br /&gt;
*[[ks0171 keyestudio XD-58C Pulse Sensor Module]]&lt;br /&gt;
&lt;br /&gt;
*[[ks0196 keyestudio PM2.5 Dust Sensor Module]]&lt;br /&gt;
*[[ks0261 keyestudio AD8232 ECG Measurement Heart Monitor Sensor Module]]&lt;br /&gt;
*[[ks0267 keyestudio APDS-9930 Attitude Sensor Module]]&lt;br /&gt;
*[[ks0273 keyestudio GY-ML8511 Ultraviolet Sensor Module]]&lt;br /&gt;
*[[ks0277 keyestudio FTDI Basic Program Downloader USB to TTLFT232]]&lt;br /&gt;
*[[ks0278 keyestudio BH1750FVI Digital Light Intensity Module]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0279 keyestudio Slide Potentiometer Module for Arduino]]&lt;br /&gt;
*[[ks0280 keyestudio Breadboard Power Supply Module]]&lt;br /&gt;
*[[ks0287 keyestudio SIM5320E 3G Module (Black)]]&lt;br /&gt;
*[[KS0310 Keyestudio Traffic Light Module (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0320 Keyestudio Electromagnet Module (Black and Environmental-friendly)]]&lt;br /&gt;
*[[KS0328 Keyestudio HR-SR04 Blue Ultrasonic Module]]&lt;br /&gt;
*[[KS0348 Keyestudio SHT31 Temperature and Humidity Module]]&lt;br /&gt;
*[[KS0374 keyestudio Power Amplifier Module ]]&lt;br /&gt;
*[[KS0375 keyestudio SR01 Ultrasonic Module V2]]&lt;br /&gt;
*[[KS0387 keyestudio YX5200-24SS MP3 Module ]]&lt;br /&gt;
*[[KS0405 Keyestudio BMP280 Module (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0447 Keyestudio Micro TF Card Write-Read Module]]&lt;br /&gt;
*[[KS0466 Keyestudio AD KEY Button Module(Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0450 Keyestudio Vibration Motor Module (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0453 Keyestudio 3-channel Line Tracking Module ]]&lt;br /&gt;
*[[KS0449 keyestudio 3-Channel IRF540NS Large Current MOS Module]]&lt;br /&gt;
*[[KS0452 Keyestudio PAM8610 Digital 2x10W Dual Channel Stereo Amplifier Module]]&lt;br /&gt;
*[[KS0458 Keyestudio PAJ7620 Gesture Recognition Sensor Module]]&lt;br /&gt;
*[[KS0460 keyestudio Logic DC Jack Module]]&lt;br /&gt;
*[[KS0463 keyestudio ISD1820 Voice Recording and Playback Module]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Raspberry Pi&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Raspberry Pi&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
*[[ks0210 keyestudio RPI TTP229L 16-key Capacitive Touch Keypad]]&lt;br /&gt;
*[[KS0211 keyestudio RPI JoyStick Shield]]&lt;br /&gt;
*[[KS0212 keyestudio RPI 4-channel Relay Shield]]&lt;br /&gt;
*[[KS0213 Keyestudio RPI GPIO-PCF8591 Shield]]&lt;br /&gt;
*[[KS0214 keyestudio RPI TFT 3.5 LCD Touchscreen Shield]]&lt;br /&gt;
*[[KS0215 keyestudio RPI T-type GPIO Shield]]&lt;br /&gt;
*[[60520146 WX-4B01 4B Aluminum Alloy Case/Shell (With Fan Screws ) Black And Eco-friendly]]&lt;br /&gt;
*[[60620016 Raspberry Pi Box/Case 3 B+ 2B 100 * 63 * 33MM / Black]]&lt;br /&gt;
*[[60620032 Transparent Raspberry Pi 4 4B Housing Case With Fan ]]&lt;br /&gt;
*[[60620033 New Red Raspberry Pi 4 4B Shell Case/ABS Protective Box Without Fan ]]&lt;br /&gt;
*[[60620034 Raspberry Pi 4 4B New Translucent Shell Case/ABS Protective Box Without Fan]]&lt;br /&gt;
*[[60620035 Raspberry Pi 4 4B New Red and White Shell Case/ ABS Protective Box Without Fan ]]&lt;br /&gt;
*[[60620036 Golden Raspberry Pi 4 4B Aluminum Alloy Shell Case With Dual Fan ]]&lt;br /&gt;
*[[60620037 Golden Raspberry Pi 4 4B Aluminum Alloy Shell Case/Box Without Fan ]]&lt;br /&gt;
*[[80420026 5V 3A Raspberry Pi 4 4B Power Adapter(EU Standard)]]&lt;br /&gt;
*[[SMP0073 7 inch Screen Kit for Raspberry Pi]]&lt;br /&gt;
*[[SMP0089 KEYESTUDIO 5 Megapixels Camera Module Customized for Raspberry Pi 4, Zero]]&lt;br /&gt;
*[[SMP0090 Raspberry Pi Wide Angle Infrared IR-Cut Camera Module]]&lt;br /&gt;
*[[SMP0093 Raspberry Pi Pico Board]]&lt;br /&gt;
*[[KS(3001...3012)Assemble the Housing of Raspberry Pi 4]]&lt;br /&gt;
*[[KS3020 (KS3020F)Keyestudio Raspberry Pi Pico Ultimate Starter Kit]]&lt;br /&gt;
*[[KS3025 (KS3025F)Keyestudio Raspberry Pi Pico Complete Starter Kit]] &lt;br /&gt;
*[[KS3026 Keyestudio Raspberry Pi Pico Basic Starter Kit]] &lt;br /&gt;
*[[KS5003(KS5003F)KS5004(KS5004F) Keyestudio ESP32 42 in 1 Sensor Kit]]&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[KS0216 keyestudio RPI GPS Shield]]&lt;br /&gt;
*[[KS0217 keyestudio RPI Dot Matrix]]&lt;br /&gt;
*[[KS0218 keyestudio RPI L298P Motor Drive Shield]]&lt;br /&gt;
*[[KS0219 keyestudio RPI T-type GPIO Shield Kit]]&lt;br /&gt;
*[[KS0221 keyestudio Ultimate Starter Kit for Raspberry Pi]]&lt;br /&gt;
*[[KS3001(3002, 3003,.....3012）Raspberry Pi Complete Device Kit]]&lt;br /&gt;
*[[SMP0023 KEYESTUDIO 5 Megapixels Camera Module Customized for Raspberry Pi ]]&lt;br /&gt;
*[[SMP0079 KEYESTUDIO Wide Angle Camera Module 5 Megapixels 1080p for Raspberry Pi ]]&lt;br /&gt;
*[[KS3013 Raspberry Pi 4B Basic Starter Kit]]&lt;br /&gt;
*[[KS3014 Raspberry Pi 4B Super Starter Kit]]&lt;br /&gt;
*[[KS3015 Raspberry Pi 4B Complete Starter Kit]]&lt;br /&gt;
*[[KS3016 Raspberry Pi Sensor Starter Kit]]&lt;br /&gt;
*[[KS3024(KS3024F) Keyestudio Raspberry Pi Pico 42 in 1 Sensor Kit]]&lt;br /&gt;
*[[KS0548A Keyestudio PLUS V2 Development Board]]&lt;br /&gt;
*[[SMP0099 Raspberry Pi Pico Board]]&lt;br /&gt;
*[[SMP0100 Raspberry Pi 400 4GB RAM]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Micro:bit&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Micro:bit&#039;&#039;&#039;==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===Micro:bit Breakout Boards===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0291 keyestudio T-type Shield  Adapter for micro bit]]&lt;br /&gt;
*[[KS0292 Keyestudio Prototyping Breakout Board V1 with Small Breadboard for micro bit]]&lt;br /&gt;
*[[KS0293 Keyestudio Relay Breakout Board for micro bit]]&lt;br /&gt;
*[[ks0294 Keyestudio Power Supply Shield for micro bit (black &amp;amp; environmental-friendly)]]&lt;br /&gt;
*[[ks0295 Keyestudio Sensor Breakout Board for micro bit (black&amp;amp; environmental-friendly)]]&lt;br /&gt;
*[[KS0296 Keyestudio Joystick Breakout Board for micro bit]]&lt;br /&gt;
*[[KS0297 Keyestudio Breakout Board Adapter for micro bit]]&lt;br /&gt;
*[[ks0307 keyestudio Prototype Breakout Board V2 With 400-point Breadboard for micro bit]]&lt;br /&gt;
*[[ks0308 keyestudio Motor Drive Breakout Board for micro bit]]&lt;br /&gt;
*[[KS4012 Keyestudio Micro bit Expansion Board with IO Ports (Black and Eco-friendly) ]]&lt;br /&gt;
*[[KS4033 Keyestudio Micro bit DRV8833 Motor Driver Expansion Board (Black and Eco-friendly)]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0315 Keyestudio SK6812 4x8 LED Matrix Shield for BBC micro bit ]]&lt;br /&gt;
*[[ks0360 Keyestudio Sensor Shield V2 for BBC micro:bit]]&lt;br /&gt;
*[[KS0432 keyestudio 3V Sensor Shield For BBC micro:bit]]&lt;br /&gt;
*[[KS0433 keyestudio Terminal Blocks Shield For BBC micro:bit ]]&lt;br /&gt;
*[[KS0434 keyestudio Edge Connector IO Breakout Board For BBC micro:bit]]&lt;br /&gt;
*[[KS0437 EASY Plug Shield for Micro:bit V1.0 ]]&lt;br /&gt;
*[[KS0438 Keyestudio 16-channel SERVO Shield for Micro:bit ]]&lt;br /&gt;
*[[KS0440 Keyestudio Piano Shield for Micro:bit (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0444 Keyestudio 6812 Full-color RGB LED Ring Shield for Micro:bit]]&lt;br /&gt;
*[[KS0482 Keyestudio Micro bit Power Shield (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS0496 Keyestudio EASY Plug Shield for micro bit V1.1]]&lt;br /&gt;
*[[KS0426 Keyestudio Micro：bit Mini Smart Robot Car Kit V2]]&lt;br /&gt;
*[[KS4025 Keyestudio Micro:bit V2 Board]]&lt;br /&gt;
*[[KS4011 Keyestudio Microbit Honeycomb Smart Wearable Programmable Ultimate Kit]]&lt;br /&gt;
*[[MB0110 Micro:bit Main Board+USB Cable+Battery Holder with Batteries]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Micro:bit Modules===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0417 Keyestudio micro:bit 1W LED Module ]]&lt;br /&gt;
*[[ks0418 Keyestudio micro:bit 5050 RGB Module]]&lt;br /&gt;
*[[KS0419 keyestudio micro:bit Tactile Button Module]]&lt;br /&gt;
*[[ks0420 Keyestudio micro:bit Capacitive Touch Module]]&lt;br /&gt;
*[[ks0479 keyestudio Micro bit Honeycomb Rotary Potentiometer Module]]&lt;br /&gt;
*[[KS0484 Keyestudio Micro bit Power Adapter Board]]&lt;br /&gt;
*[[KS0490 Keyestudio Micro bit Honeycomb Digital LED Module(Black and Eco-friendly）]]&lt;br /&gt;
*[[KS0492 Keyestudio Micro bit Honeycomb Hall Magnetic Sensor (Black and Eco-friendly)]]&lt;br /&gt;
*[[KS4001 BBC Micro:bit Main Board ]]&lt;br /&gt;
*[[ks0421 Keyestudio micro:bit TEMT6000 Light Module]]&lt;br /&gt;
&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0422 keyestudio micro:bit PIR Motion Module]]&lt;br /&gt;
*[[ks0423 keyestudio micro:bit Microphone Module]]&lt;br /&gt;
*[[ks0424 keyestudio micro:bit Passive Buzzer Module]]&lt;br /&gt;
*[[KS0481 Keyestudio Micro bit Honeycomb PS2 Joystick Module ]]&lt;br /&gt;
*[[KS0480  Keyestudio Micro bit Honeycomb Traffic Light Module]] &lt;br /&gt;
*[[ks0471 keyestudio Micro bit Honeycomb Soil Sensor]]  &lt;br /&gt;
*[[KS0478 Keyestudio Micro:bit Honeycomb Dot Matrix Module (Black and Eco-friendly)]]&lt;br /&gt;
*[[Ks0491 Keyestudio Micro bit Honeycomb Photoresistor]]   &lt;br /&gt;
*[[Ks0495 keyestudio Micro bit Honeycomb Vibration &amp;amp; Tilt Module]]  &lt;br /&gt;
*[[KS0493 Keyestudio Micro bit Shield For Mini Servo Car]]  &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Micro:bit Kits===&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[ks0305 keyestudio Basic Starter Kit for micro bit(with battery holder and USB cable)]]&lt;br /&gt;
*[[ks0306 keyestudio Beginner Starter Kit for micro bit(STEM Education Programming Kit for Children)]]&lt;br /&gt;
*[[KS0361(KS0365) keyestudio 37 in 1 Starter Kit for BBC micro:bit ]]&lt;br /&gt;
*[[KS0456 Keyestudio Honeycomb Smart Wearable Coding Kit for Micro:bit ]]&lt;br /&gt;
*[[KS4009(4010) 45 in 1 Sensor Starter Kit For BBC Micro:bit]]&lt;br /&gt;
*[[KS4003 (4004) Micro:bit Basic Starter Kit]]&lt;br /&gt;
*[[KS0468 Keyestudio Storage Bag Micro:bit Main board Kit ]]&lt;br /&gt;
*[[KS4002 Keyestudio Complete Device Kit For Micro:bit]]&lt;br /&gt;
*[[KS4005 (4006) Super Starter Kit For Micro:bit]]&lt;br /&gt;
*[[KS4007 (4008) Complete Starter Kit For Micro:bit]]&lt;br /&gt;
*[[KS4020(4021)Keyestudio EASY PLUG Super Starter Kit for BBC micro：bit STEM EDU ]]&lt;br /&gt;
*[[KS4022(4023)EASY Plug Ultimate Starter Kit for BBC Microbit STEM EDU ]]&lt;br /&gt;
*[[KS4014(KS4024) Keyestudio Micro：bit Mini Smart Tortoise Car]]&lt;br /&gt;
*[[KS4013(KS4026) Keyestudio Micro:bit Desk Bit Small Car]]&lt;br /&gt;
*[[KS0345 Electronic Scale Kit]]&lt;br /&gt;
*[[KS4017 Keyestudio Micro:bit V2.0 Basic Starter Kit]]&lt;br /&gt;
*[[MB0102 Keyestudio Microbit Main Board +USB Cable+Battery Holder with Batteries]]&lt;br /&gt;
*[[KS0505(0506)STEM Starter Kit for Arduino]]&lt;br /&gt;
*[[KS4027(4028)Keyestudio Smart Home Kit for Micro:bit]]&lt;br /&gt;
*[[KS4031(4032)Keyestudio 4WD Mecanum Robot Car for Micro:bit]]&lt;br /&gt;
*[[CZ0487 Duinotech Beginner Starter Kit for micro bit(Excluding the Mainboard)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;Accessories&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Accessories&#039;&#039;&#039;==&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[KS0312 Keyestudio Breadboard Power Module+830-Hole Solderless Breadboard+65 Jumper Wires Package]]&lt;br /&gt;
*[[KS0322 Keyestudio UNO Prototype Circuit Breakout Board PCB 10PCS]]&lt;br /&gt;
*[[KS0323 Keyestudio MEGA2560 Prototype Circuit Breakout Board PCB 10PCS]]&lt;br /&gt;
*[[KS0324 Keyestudio Motor Wheel Kit for Smart Car]]&lt;br /&gt;
*[[KS0325 Keyestudio Dupont Jumper Wire 20CM Package (M-M, M-F, F-F)]]&lt;br /&gt;
*[[KS0326 Keyestudio Blue 9G Servo 3PCS]]&lt;br /&gt;
*[[KS0327 Keyestudio Stepper Motor Drive Board + 5V Stepper Motor Kit (3PCS)]]&lt;br /&gt;
*[[KS0329 Keyestudio 18B20 Waterproof Temperature Sensor + 4.7K Resistor (3PCS)]]&lt;br /&gt;
*[[KS0330 830 Tie-Points Solderless Breadboard 3PCS]]&lt;br /&gt;
*[[KS0331 400 Tie-Points Solderless Breadboard 3PCS]]&lt;br /&gt;
*[[KS0332 Keyestudio 830 Tie-Points Breadboard + Breadboard Wire Pack of 65 + Breadboard Power Module]]&lt;br /&gt;
 &lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[KS0333 Breadboard Jumper Wire Pack of 65 (3PCS)]]&lt;br /&gt;
*[[KS0334 Keyestudio Box-Packed 140 Breadboard Jumper Wire Bundle 3PCS]]&lt;br /&gt;
*[[KS0335 Keyestudio PIR Motion Sensor 3PCS]]&lt;br /&gt;
*[[KS0336 Keyestudio 8*8 Dot Matrix Module 3PCS]]&lt;br /&gt;
*[[KS0337 Keyestudio UNO Board + 400 Tie-Points Breadboard + Chassis + Breadboard Wire Pack of 65 + USB Cable]]  &lt;br /&gt;
*[[KS0339 Keyestudio 8266 WIFI Module 2PCS]]&lt;br /&gt;
*[[KS0340 Keyestudio 830 Tie-Points Breadboard + Breadboard Power Module + Breadboard Wire Pack of 65 + 140 Jumper Wire Bundle]]&lt;br /&gt;
*[[KS0378 Keyestudio Reprap Stepper Driver A4988 Kit (5PCS)]]&lt;br /&gt;
*[[KS0379 Keyestudio 3D Printer DRV8825 Kit (5PCS)]]&lt;br /&gt;
*[[SMP0083 Raspberry Pi Wide Angle Infrared Camera ]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;green&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;Help&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;TroubleShooting&#039;&#039;&#039;==&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
*[[TroubleShooting for Arduino]]&lt;br /&gt;
*[[TroubleShooting for Raspberry Pi]]&lt;br /&gt;
*[[Support for BBC micro:bit]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Links&#039;&#039;&#039; ==&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;10&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|width=&amp;quot;32%&amp;quot; valign=&amp;quot;top&amp;quot; align=&amp;quot;left&amp;quot;|&lt;br /&gt;
*[[https://fs.keyestudio.com/KS0428 KS0428 Mini Tank Robot Upgraded V2]]&lt;br /&gt;
*[[https://fs.keyestudio.com/KS0446 KS0446 Frog Robot]]&lt;br /&gt;
*[[https://fs.keyestudio.com/KS0441 KS0441 Bluetooth Smart Car]]&lt;br /&gt;
*[[https://fs.keyestudio.com/KS0464 KS0464 Turtle Robot V3.0]]&lt;br /&gt;
*[[https://fs.keyestudio.com/KS0470 KS0470 Robot Car V2.0 Kit]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS4018_Micro:bit_Motor_Driver_Expansion_Board&amp;diff=35069</id>
		<title>KS4018 Micro:bit Motor Driver Expansion Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS4018_Micro:bit_Motor_Driver_Expansion_Board&amp;diff=35069"/>
		<updated>2025-02-19T05:43:30Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Add a library */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
The Micro:bit motor drive expansion board contains a PCA9685PW chip and a TB6612FNG chip and so on. In order to save IO port resources, we use some pins of PCA9685PW chip to control the TB6612FNG motor chip. The TB6612FNG motor chip is used to control the rotation direction and speed of two DC gear motors.&lt;br /&gt;
It also integrates 2 RGB lights, 4 WS2812RGB lights, a buzzer with a P2.0 ultrasonic interface, a P2.0 IR sensor interface and a P2.0 tracking sensor interface. The output voltages of TXS0108EPWR level conversion IC interface is 5V.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
* Input voltage: DC7-12V &lt;br /&gt;
* Output voltage: 5V &lt;br /&gt;
* Length, width and height: 92*64*15mm &lt;br /&gt;
* Weight (bare board): 41.8g&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Wiring Up ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片15012-1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Connection Diagram ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片15012-2.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add a library == &lt;br /&gt;
&lt;br /&gt;
Right-click Extensions &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片15012-3.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Search the link：https://github.com/keyestudio-team/pxt-turtle-bit.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click [[File:图片15012-6.png|50px|frameless|thumb]] and click the library file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片15012-4.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then we get the library file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片15012-5.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
More information, please refer to Mini Smart Tortoise Car：&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
https://wiki.keyestudio.com/KS4014(KS4024)_Keyestudio_Micro%EF%BC%9Abit_Mini_Smart_Tortoise_Car&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0328_Keyestudio_HR-SR04_Blue_Ultrasonic_Module&amp;diff=35068</id>
		<title>KS0328 Keyestudio HR-SR04 Blue Ultrasonic Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0328_Keyestudio_HR-SR04_Blue_Ultrasonic_Module&amp;diff=35068"/>
		<updated>2025-02-17T00:19:21Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Keyestudio HC-SR04 Blue Ultrasonic Module 3PCS ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This kit includes three HC-SR04 ultrasonic modules. As the ultrasonic has strong directivity, slow energy consumption and far spread distance in the media, so it is commonly used in the measurement of distance, such as range finder and position measuring instrument. Using ultrasonic is more rapid, convenient, simple to calculate and more easier to achieve real-time control, so it has also been widely used in the development of mobile robots. &amp;lt;br&amp;gt;&lt;br /&gt;
Ultrasonic detector module can provide 2cm-450cm non-contact sensing distance, and its ranging accuracy is up to 3mm, very good to meet the normal requirements. The module includes an ultrasonic transmitter and receiver as well as the corresponding control circuit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Working Schematics ==&lt;br /&gt;
Please refer to the working sequence as below：&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片2.png|700px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 1. First pull down the TRIG, and then trigger it with at least 10us high level signal;&lt;br /&gt;
* 2. After triggering, the module will automatically transmit eight 40KHZ square waves, and automatically detect whether there is a signal to return.&lt;br /&gt;
* 3. If there is a signal return, through the ECHO to output a high level, the duration time of high level is actually the time from emission to reception of ultrasonic.&lt;br /&gt;
&amp;lt;span style=color:red&amp;gt; Test distance = high level duration * 340m/s * 0.5.   &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Parameters ==&lt;br /&gt;
* 1)Working Voltage: 0.5V(DC)	  &lt;br /&gt;
* 2)Working Current: 15mA&lt;br /&gt;
* 3)Detecting Range: 2-450cm	  &lt;br /&gt;
* 4)Detecting Angle: 15 degrees&lt;br /&gt;
* 5)Input Trigger Pulse: 10us TTL Level&lt;br /&gt;
* 6)Output Echo Signal: output TTL level signal (HIGH), proportional to range.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Dimensions ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:KS0328 (8).jpg|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Connection Diagram == &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片3.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Test Code ==&lt;br /&gt;
Copy and paste the test code below to Arduino software:  &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
int inputPin=4; // define ultrasonic signal receiver pin ECHO to D4 &lt;br /&gt;
int outputPin=5; // define ultrasonic signal transmitter pin TRIG to D5&lt;br /&gt;
 void setup()&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
Serial.begin(9600); &lt;br /&gt;
pinMode(inputPin, INPUT); &lt;br /&gt;
pinMode(outputPin, OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
digitalWrite(outputPin, LOW); delayMicroseconds(2);&lt;br /&gt;
digitalWrite(outputPin, HIGH); // Pulse for 10μ s to trigger ultrasonic detection&lt;br /&gt;
delayMicroseconds(10); &lt;br /&gt;
digitalWrite(outputPin, LOW);&lt;br /&gt;
int distance = pulseIn(inputPin, HIGH); // Read receiver pulse time &lt;br /&gt;
distance= distance/58; // Transform pulse time to distance &lt;br /&gt;
Serial.println(distance); //Output distance&lt;br /&gt;
delay(50);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Example Result ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片4.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
After upload well the code to UNO board, then open the serial monitor. When place an object in front of ultrasonic sensor (from near and far), it will detect the distance of object. You should see the value is displayed on the monitor shown below.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片5.png|700px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片6.png|700px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Packaging Display ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片7.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Resource ==&lt;br /&gt;
&lt;br /&gt;
*Click the link below to download the datasheet: &amp;lt;br&amp;gt;&lt;br /&gt;
https://fs.keyestudio.com/KS0328&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get One Now ==&lt;br /&gt;
&lt;br /&gt;
*[https://www.keyestudio.com/3pcs-hc-sr04-ultrasonic-module-ultrasonic-sensor-distance-measuring-module-for-arduino-uno-robot-car-p0452-p0452.html &#039;&#039;&#039;Official website&#039;&#039;&#039; ]  &lt;br /&gt;
&lt;br /&gt;
*[https://www.amazon.com/keyestudio-Ultrasonic-Hc-Sr04-Distance-Arduino/dp/B07DRGHN7V   From Amazon]&lt;br /&gt;
    &lt;br /&gt;
*[https://www.aliexpress.com/store/product/1-PCS-HC-SR04-Ultrasonic-Module-Ultrasonic-Sensor-Distance-Measuring-Module-for-Arduino-UNO-ROBOT-CAR/1452162_32820232597.html?spm=2114.12010615.8148356.3.3c644407NZx4kq     Shop on aliexpress ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   [[Category:　Accessories]]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0328_Keyestudio_HR-SR04_Blue_Ultrasonic_Module&amp;diff=35067</id>
		<title>KS0328 Keyestudio HR-SR04 Blue Ultrasonic Module</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0328_Keyestudio_HR-SR04_Blue_Ultrasonic_Module&amp;diff=35067"/>
		<updated>2025-02-17T00:17:36Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Keyestudio HR-SR04 Blue Ultrasonic Module 3PCS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Keyestudio HC-SR04 Blue Ultrasonic Module 3PCS ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This kit includes three HR-SR04 ultrasonic modules. As the ultrasonic has strong directivity, slow energy consumption and far spread distance in the media, so it is commonly used in the measurement of distance, such as range finder and position measuring instrument. Using ultrasonic is more rapid, convenient, simple to calculate and more easier to achieve real-time control, so it has also been widely used in the development of mobile robots. &amp;lt;br&amp;gt;&lt;br /&gt;
Ultrasonic detector module can provide 2cm-450cm non-contact sensing distance, and its ranging accuracy is up to 3mm, very good to meet the normal requirements. The module includes an ultrasonic transmitter and receiver as well as the corresponding control circuit.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Working Schematics ==&lt;br /&gt;
Please refer to the working sequence as below：&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片2.png|700px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 1. First pull down the TRIG, and then trigger it with at least 10us high level signal;&lt;br /&gt;
* 2. After triggering, the module will automatically transmit eight 40KHZ square waves, and automatically detect whether there is a signal to return.&lt;br /&gt;
* 3. If there is a signal return, through the ECHO to output a high level, the duration time of high level is actually the time from emission to reception of ultrasonic.&lt;br /&gt;
&amp;lt;span style=color:red&amp;gt; Test distance = high level duration * 340m/s * 0.5.   &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Parameters ==&lt;br /&gt;
* 1)Working Voltage: 0.5V(DC)	  &lt;br /&gt;
* 2)Working Current: 15mA&lt;br /&gt;
* 3)Detecting Range: 2-450cm	  &lt;br /&gt;
* 4)Detecting Angle: 15 degrees&lt;br /&gt;
* 5)Input Trigger Pulse: 10us TTL Level&lt;br /&gt;
* 6)Output Echo Signal: output TTL level signal (HIGH), proportional to range.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Dimensions ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:KS0328 (8).jpg|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Connection Diagram == &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片3.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Test Code ==&lt;br /&gt;
Copy and paste the test code below to Arduino software:  &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
int inputPin=4; // define ultrasonic signal receiver pin ECHO to D4 &lt;br /&gt;
int outputPin=5; // define ultrasonic signal transmitter pin TRIG to D5&lt;br /&gt;
 void setup()&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
Serial.begin(9600); &lt;br /&gt;
pinMode(inputPin, INPUT); &lt;br /&gt;
pinMode(outputPin, OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
digitalWrite(outputPin, LOW); delayMicroseconds(2);&lt;br /&gt;
digitalWrite(outputPin, HIGH); // Pulse for 10μ s to trigger ultrasonic detection&lt;br /&gt;
delayMicroseconds(10); &lt;br /&gt;
digitalWrite(outputPin, LOW);&lt;br /&gt;
int distance = pulseIn(inputPin, HIGH); // Read receiver pulse time &lt;br /&gt;
distance= distance/58; // Transform pulse time to distance &lt;br /&gt;
Serial.println(distance); //Output distance&lt;br /&gt;
delay(50);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Example Result ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片4.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
After upload well the code to UNO board, then open the serial monitor. When place an object in front of ultrasonic sensor (from near and far), it will detect the distance of object. You should see the value is displayed on the monitor shown below.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片5.png|700px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片6.png|700px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Packaging Display ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0328图片7.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Resource ==&lt;br /&gt;
&lt;br /&gt;
*Click the link below to download the datasheet: &amp;lt;br&amp;gt;&lt;br /&gt;
https://fs.keyestudio.com/KS0328&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get One Now ==&lt;br /&gt;
&lt;br /&gt;
*[https://www.keyestudio.com/3pcs-hc-sr04-ultrasonic-module-ultrasonic-sensor-distance-measuring-module-for-arduino-uno-robot-car-p0452-p0452.html &#039;&#039;&#039;Official website&#039;&#039;&#039; ]  &lt;br /&gt;
&lt;br /&gt;
*[https://www.amazon.com/keyestudio-Ultrasonic-Hc-Sr04-Distance-Arduino/dp/B07DRGHN7V   From Amazon]&lt;br /&gt;
    &lt;br /&gt;
*[https://www.aliexpress.com/store/product/1-PCS-HC-SR04-Ultrasonic-Module-Ultrasonic-Sensor-Distance-Measuring-Module-for-Arduino-UNO-ROBOT-CAR/1452162_32820232597.html?spm=2114.12010615.8148356.3.3c644407NZx4kq     Shop on aliexpress ]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   [[Category:　Accessories]]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0540(KS0541)_Keyestudio_Basic_Starter_Kit_for_Arduino&amp;diff=35066</id>
		<title>KS0540(KS0541) Keyestudio Basic Starter Kit for Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0540(KS0541)_Keyestudio_Basic_Starter_Kit_for_Arduino&amp;diff=35066"/>
		<updated>2025-02-13T05:40:45Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Do you want to learn about programming?&lt;br /&gt;
As long as you are passionate about science and dare to explore new things, this kit is surely the best choice for you.&lt;br /&gt;
The kit is a learning kit for two programming methods, including Scratch graphical programming and C language programming based on Arduino.  you can create numerous fascinating experiments with the PLUS mainboard，sensors，modules and electronic components. &lt;br /&gt;
As many as 20 project tutorials are provided, which contain detailed wiring diagrams, component knowledge, test code, and so on. &lt;br /&gt;
In addition, you can master the use of electronics, physics, science and programming by building up experiment with this kit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Kit List ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20211201135113.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20211201135118.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
As for detailed projects, App and test code, please check the link:&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0540-KS0541&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0311_Keyestudio_CNC_V0.9A%2B4988_Driver_with_Heat_Sink_Kit&amp;diff=35065</id>
		<title>KS0311 Keyestudio CNC V0.9A+4988 Driver with Heat Sink Kit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0311_Keyestudio_CNC_V0.9A%2B4988_Driver_with_Heat_Sink_Kit&amp;diff=35065"/>
		<updated>2025-02-07T06:09:30Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: Keyestudio moved page KS0311 Keyestudio CNC V0.9A+4988 Driver with Heat Sink Kit to KS0311 Keyestudio CNC V1.0A+4988 Driver with Heat Sink Kit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[KS0311 Keyestudio CNC V1.0A+4988 Driver with Heat Sink Kit]]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0311_Keyestudio_CNC_V1.0A%2B4988_Driver_with_Heat_Sink_Kit&amp;diff=35064</id>
		<title>KS0311 Keyestudio CNC V1.0A+4988 Driver with Heat Sink Kit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0311_Keyestudio_CNC_V1.0A%2B4988_Driver_with_Heat_Sink_Kit&amp;diff=35064"/>
		<updated>2025-02-07T06:09:30Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: Keyestudio moved page KS0311 Keyestudio CNC V0.9A+4988 Driver with Heat Sink Kit to KS0311 Keyestudio CNC V1.0A+4988 Driver with Heat Sink Kit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311图片.png|800px|right|thumb|Keyestudio CNC V1.0A+4988 Driver with Heat Sink Kit]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This kit mainly includes a keyestudio CNC V1.0A, three A4988 driver modules with heat sink and a USB cable. &amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.keyestudio.com/keyestudio-cnc-v09a-board3pcs-4988-driver-w-heat-sink-usb-cable-for-arduino-cnc-laser-engraving-machine-writing-robots-grbl-p0470-p0470.html    Keyestudio CNC GRBL V0.9  ] is a main board developed by Keyestudio for CNC, laser engraving machine, writing robots and other robots. It has complete interfaces with cost-effective and can be driven via external connection, suitable for DIY and factory use. &amp;lt;br&amp;gt;&lt;br /&gt;
The [https://www.keyestudio.com/free-shipping-5pcs-lot-a4988-stepper-m-otor-driver-heatsink-for-3-d-printerreprapramps14-for-arduino-p0347.html    A4988 module ] is a DMOS microstepping driver with converter and overcurrent protection, which can operate a bipolar stepper motor in full, half, 1/4, 1/8 and 1/16 step modes, with output-driven performance up to 35 V and ± 2A. The A4988 also includes a fixed off-time current regulator that operates in slow or mixed-decay modes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-1.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Specifications of CNC V1.0A ==&lt;br /&gt;
* Microprocessor：MEGA328p&lt;br /&gt;
* Input Voltage：DC 12V&lt;br /&gt;
* Supporting File Format：Gcode&lt;br /&gt;
* Supporting Machine Structure：CNC, laser engraving machine, writing robots&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:KS0311 CNC V1.0A + 4988套件 (7).jpg|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Features of A4988 Driver ==&lt;br /&gt;
* With simple stepper and direction control interface.&lt;br /&gt;
* Five different step modes: full, half, 1/4, 1/8 and 1/16 step modes.&lt;br /&gt;
* Adjustable potentiometer used to adjust the max current output to gain higher step rate.&lt;br /&gt;
* Automatic decay mode detection/selection.&lt;br /&gt;
* Overheat closed circuit, under-voltage lockout, cross-current protection.&lt;br /&gt;
* Ground short-circuit protection and load short-circuit protection.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Stepper driver.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Pinout Diagram == &lt;br /&gt;
Here in the below figure you can see the pinout instruction of keyestudio CNC GRBL V0.9 &amp;lt;br&amp;gt;&lt;br /&gt;
It has complete interfaces with cost-effective, and can connect to external drivers, very suitable for your DIY design. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-2.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Setting Method of A4988 Working Mode == &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0281-.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0288-1.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install Driver Software and Development Environment Software IDE ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== (1) Install Diver Software ===&lt;br /&gt;
For different operating system, there may be slight difference in installation method. Below is an example in WIN 7. &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;a.&#039;&#039;&#039; When you connect Keyestudio CNC GRBL V0.9 to your computer the first time, right click “Computer” —&amp;gt;“Properties”—&amp;gt; “Device manager”, you can see “USB2.0-Serial”. &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;b.&#039;&#039;&#039; Click “USB2.0-Serial”, select “Update Driver software”.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-b.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;c.&#039;&#039;&#039; In this page, click “Browse my computer for driver software”.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-c.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;d.&#039;&#039;&#039; Find the “usb_ch341_3.1.2009.06” file. &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片4.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;e.&#039;&#039;&#039; Click “Next”, Installation completed; Then，click “Close”. &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-e.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;f.&#039;&#039;&#039; After driver is installed, go to “Device manager” again. right click “Computer” —&amp;gt;  “Properties”—&amp;gt; “Device manager”, &lt;br /&gt;
you can see device as below figure shown, also the correct Com port.  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:311图片1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== (2) Install Development Environment Software IDE ===&lt;br /&gt;
&#039;&#039;&#039;a.&#039;&#039;&#039; Double click arduino-1.5.6-r2-windows to start. Select “I Agree”to accept license agreement.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-(a).png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;b.&#039;&#039;&#039; Select components to install and click “Next”.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-(b).png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;c.&#039;&#039;&#039; Click “Browse” and select another folder. Click “Install” to start the installation.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-(b-).png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;d.&#039;&#039;&#039; Finally, wait for a few minutes to finish.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-(d).png|1000px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing Method ==&lt;br /&gt;
Wire it up well as wiring diagram shown, upload the below code to Keyestudio CNC GRBL V0.9 using [http://wiki.keyestudio.com/index.php/Download_Arduino_and_Install_Arduino_Driver    Arduino IDE ]. Then you can check the function of each interface. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Sample Code ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#define Light1  13 &lt;br /&gt;
#define Light2  A1 &lt;br /&gt;
#define Light3  A2 &lt;br /&gt;
#define Light4  A3&lt;br /&gt;
#define Light5  A4&lt;br /&gt;
#define Light6  A5&lt;br /&gt;
&lt;br /&gt;
#define EN1  8&lt;br /&gt;
#define X_DIR     5       //X axis  direction control of stepper motor&lt;br /&gt;
#define Y_DIR     6       //y axis  direction control of stepper motor&lt;br /&gt;
#define Z_DIR     7       //z axis  direction control of stepper motor&lt;br /&gt;
#define X_STP     2       //x axis step control&lt;br /&gt;
#define Y_STP     3       //y axis step control&lt;br /&gt;
#define Z_STP     4       //z axis step control&lt;br /&gt;
#define X_LIMIT   9       //X limit&lt;br /&gt;
#define Y_LIMIT   10      //Y limit&lt;br /&gt;
#define Laser     11      //motor or laser control pin&lt;br /&gt;
#define Z_LIMIT   12      //Z limit&lt;br /&gt;
#define E_LIMIT   A0      //E limit&lt;br /&gt;
const int Button_A7 = A7;&lt;br /&gt;
const int Button_A6 = A6;&lt;br /&gt;
int Button_value_A7 = 0; &lt;br /&gt;
int Button_value_A6 = 0; &lt;br /&gt;
int Button_valueX = 0; &lt;br /&gt;
int Button_valueY = 0;&lt;br /&gt;
int Button_valueZ = 0;&lt;br /&gt;
int Button_valueE = 0;&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  pinMode(Light1, OUTPUT);    pinMode(Light2, OUTPUT);&lt;br /&gt;
  pinMode(Light3, OUTPUT);    pinMode(Light4, OUTPUT);&lt;br /&gt;
  pinMode(Light5, OUTPUT);    pinMode(Light6, OUTPUT);&lt;br /&gt;
  &lt;br /&gt;
  pinMode(EN1, OUTPUT);&lt;br /&gt;
  pinMode(X_DIR, OUTPUT);&lt;br /&gt;
  pinMode(Y_DIR, OUTPUT);&lt;br /&gt;
  pinMode(Z_DIR, OUTPUT);&lt;br /&gt;
  pinMode(X_STP, OUTPUT);&lt;br /&gt;
  pinMode(Y_STP, OUTPUT);&lt;br /&gt;
  pinMode(Z_STP, OUTPUT);&lt;br /&gt;
  pinMode(Button_A7, INPUT);  &lt;br /&gt;
  pinMode(Button_A6, INPUT); &lt;br /&gt;
  pinMode(E_LIMIT, INPUT); &lt;br /&gt;
  pinMode(X_LIMIT, INPUT); &lt;br /&gt;
  pinMode(Y_LIMIT, INPUT); &lt;br /&gt;
  pinMode(Z_LIMIT, INPUT); &lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void EN()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(EN1, LOW); &lt;br /&gt;
}&lt;br /&gt;
//stepper motor turn forward or reverse&lt;br /&gt;
void turn(boolean dir, int steps)&lt;br /&gt;
{&lt;br /&gt;
  EN();&lt;br /&gt;
  digitalWrite(X_DIR,dir);&lt;br /&gt;
  digitalWrite(Y_DIR,dir);&lt;br /&gt;
  digitalWrite(Z_DIR,dir);&lt;br /&gt;
  delay(100);&lt;br /&gt;
  for(int i=0;i&amp;lt;steps;i++)&lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(X_STP, HIGH);&lt;br /&gt;
    digitalWrite(Y_STP, HIGH);&lt;br /&gt;
    digitalWrite(Z_STP, HIGH);&lt;br /&gt;
    delayMicroseconds(100);&lt;br /&gt;
    digitalWrite(X_STP, LOW);&lt;br /&gt;
    digitalWrite(Y_STP, LOW);&lt;br /&gt;
    digitalWrite(Z_STP, LOW);&lt;br /&gt;
    delayMicroseconds(100); &lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
//laser is on&lt;br /&gt;
void Laser_ON()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(Laser, HIGH); &lt;br /&gt;
  delay(500);&lt;br /&gt;
  //digitalWrite(Laser, LOW); &lt;br /&gt;
  //delay(500);&lt;br /&gt;
}&lt;br /&gt;
//laser is off&lt;br /&gt;
void Laser_OFF()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(Laser, LOW); &lt;br /&gt;
  delay(500);&lt;br /&gt;
  //digitalWrite(Laser, LOW); &lt;br /&gt;
  //delay(500);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() &lt;br /&gt;
{&lt;br /&gt;
  &lt;br /&gt;
  Button_valueX = digitalRead(X_LIMIT);&lt;br /&gt;
  if(Button_valueX == LOW)  &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light3, HIGH);&lt;br /&gt;
    turn(true, 4000);&lt;br /&gt;
  }&lt;br /&gt;
  else &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light3, LOW);&lt;br /&gt;
  }&lt;br /&gt;
  Serial.print(&amp;quot;Button_valueX = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_valueX);&lt;br /&gt;
  &lt;br /&gt;
  Button_valueY = digitalRead(Y_LIMIT);&lt;br /&gt;
  if(Button_valueY == LOW)  &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light4, HIGH);&lt;br /&gt;
    turn(false, 4000);&lt;br /&gt;
  }&lt;br /&gt;
  else digitalWrite(Light4, LOW);&lt;br /&gt;
  Serial.print(&amp;quot;Button_valueY = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_valueY);&lt;br /&gt;
  &lt;br /&gt;
  Button_valueZ = digitalRead(Z_LIMIT);&lt;br /&gt;
  if(Button_valueZ == LOW)  digitalWrite(Light5, HIGH);&lt;br /&gt;
  else digitalWrite(Light5, LOW);&lt;br /&gt;
  Serial.print(&amp;quot;Button_valueZ = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_valueZ);&lt;br /&gt;
  &lt;br /&gt;
  Button_value_A7 = analogRead(Button_A7);&lt;br /&gt;
  if(Button_value_A7 == 0)  digitalWrite(Light1, HIGH);&lt;br /&gt;
  else digitalWrite(Light1, LOW);&lt;br /&gt;
  Serial.print(&amp;quot;Button_value_A7 = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_value_A7);&lt;br /&gt;
  &lt;br /&gt;
  Button_value_A6 = analogRead(Button_A6);&lt;br /&gt;
  if(Button_value_A6 == 0)  digitalWrite(Light2, HIGH);&lt;br /&gt;
  else digitalWrite(Light2, LOW);&lt;br /&gt;
  Serial.print(&amp;quot;Button_value_A6 = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_value_A6);   &lt;br /&gt;
  &lt;br /&gt;
  Button_valueE = analogRead(E_LIMIT);&lt;br /&gt;
  if(Button_valueE == 0)  &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light6, HIGH);&lt;br /&gt;
    Laser_ON();&lt;br /&gt;
  }&lt;br /&gt;
  else &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light6, LOW);&lt;br /&gt;
    Laser_OFF();&lt;br /&gt;
  }&lt;br /&gt;
  Serial.print(&amp;quot;Button_valueE = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_valueE);    &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===&amp;lt;span style=color:brown&amp;gt; Install Firmware and Grbl Controller  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;&#039;&#039;&#039;a. Write test program to keyestudio UNO R3&#039;&#039;&#039;&amp;lt;/big&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
copy the folder GRBL_ Arduino_Library_keyes in the data packet and paste it to the folder libraries in your Arduino IDE document installation.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Code:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;grblmain.h&amp;gt;&lt;br /&gt;
void setup(){&lt;br /&gt;
startGrbl();&lt;br /&gt;
}&lt;br /&gt;
void loop(){}&lt;br /&gt;
//Burn the code above to keyestudio UNO R3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;&#039;&#039;&#039;b. Install GrblController361 Software&#039;&#039;&#039;&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Grbl Controller is a piece of software which is used to send GCode to CNC Machines. Run Grbl Controller361 Setup in your installation packet, the interface below will come out:&amp;lt;br&amp;gt;&lt;br /&gt;
Click Next to continue.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a license agreement, please check I accept the agreement and click Next.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-2.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you are ready to continue with Setup, click Next.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-3.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To continue, click Next. If you would like to select a different folder to install, click Browse. &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-4.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To continue, click Next. If you would like to select a different folder to place program’s shortcuts, click Browse.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-5.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the additional tasks you would like Setup to perform while installing Grbl Controller, then click Next.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-6.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click Install to continue with the installation.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-7.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click Next.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-8.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At last, click ”Finish” to finish the installation.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-9.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
At last, click ”Finish” to finish the installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;&#039;&#039;&#039;c. Test G-Code on Grbl Controller&#039;&#039;&#039;&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Power the main board using a USB cable and connect correctly all your external devices, then run Grbl Controller.&amp;lt;br&amp;gt;&lt;br /&gt;
Choose Port name the same as IDE COM port and click “Open” to open the series port, connecting CNC Machines with computer.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-10.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After opening the series port, the “Open” button change into “Close/Reset” and get red! &amp;lt;br&amp;gt;&lt;br /&gt;
At this time you can click the X axis、Y axis、Z axis as shown in below diagram to adjust the motion direction of motors.&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-11.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=color:red&amp;gt; &#039;&#039;&#039;Note:&#039;&#039;&#039; after adjusting the axies, before beginning G-Code file, you must close and open again.&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Now, it is time to have a try! Click ”Choose file” to choose one G-Code file named &#039;&#039;&#039;cn.&#039;&#039;&#039; to test in the data packet for a beginner, and the interface will come out: &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;GrblController&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-12.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click “Begin” , and you can see how the motors move on coordinates.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Test Code:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
https://fs.keyestudio.com/KS0311&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get One Now ==&lt;br /&gt;
&lt;br /&gt;
*[https://www.keyestudio.com/keyestudio-cnc-v09a-board3pcs-4988-driver-w-heat-sink-usb-cable-for-arduino-cnc-laser-engraving-machine-writing-robots-grbl-p0470-p0470.html     &#039;&#039;&#039;Official Website&#039;&#039;&#039; ] &lt;br /&gt;
&lt;br /&gt;
*[https://www.aliexpress.com/store/product/Keyestudio-CNC-V0-9A-board-3pcs-4988-Driver-W-Heat-Sink-USB-cable-for-arduino-CNC/1452162_32859642011.html?spm=2114.12010612.8148356.1.62e8753b2ZRwwm    &#039;&#039;&#039;Shop On AliExpress&#039;&#039;&#039;  ]&lt;br /&gt;
&lt;br /&gt;
*[https://www.amazon.com/dp/B07FSFFJ4F      &#039;&#039;&#039;Shop on amazon&#039;&#039;&#039;  ] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  [[Category:3D Printer ]]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0311_Keyestudio_CNC_V1.0A%2B4988_Driver_with_Heat_Sink_Kit&amp;diff=35063</id>
		<title>KS0311 Keyestudio CNC V1.0A+4988 Driver with Heat Sink Kit</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0311_Keyestudio_CNC_V1.0A%2B4988_Driver_with_Heat_Sink_Kit&amp;diff=35063"/>
		<updated>2025-02-07T06:04:37Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311图片.png|800px|right|thumb|Keyestudio CNC V1.0A+4988 Driver with Heat Sink Kit]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This kit mainly includes a keyestudio CNC V1.0A, three A4988 driver modules with heat sink and a USB cable. &amp;lt;br&amp;gt;&lt;br /&gt;
[https://www.keyestudio.com/keyestudio-cnc-v09a-board3pcs-4988-driver-w-heat-sink-usb-cable-for-arduino-cnc-laser-engraving-machine-writing-robots-grbl-p0470-p0470.html    Keyestudio CNC GRBL V0.9  ] is a main board developed by Keyestudio for CNC, laser engraving machine, writing robots and other robots. It has complete interfaces with cost-effective and can be driven via external connection, suitable for DIY and factory use. &amp;lt;br&amp;gt;&lt;br /&gt;
The [https://www.keyestudio.com/free-shipping-5pcs-lot-a4988-stepper-m-otor-driver-heatsink-for-3-d-printerreprapramps14-for-arduino-p0347.html    A4988 module ] is a DMOS microstepping driver with converter and overcurrent protection, which can operate a bipolar stepper motor in full, half, 1/4, 1/8 and 1/16 step modes, with output-driven performance up to 35 V and ± 2A. The A4988 also includes a fixed off-time current regulator that operates in slow or mixed-decay modes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-1.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Specifications of CNC V1.0A ==&lt;br /&gt;
* Microprocessor：MEGA328p&lt;br /&gt;
* Input Voltage：DC 12V&lt;br /&gt;
* Supporting File Format：Gcode&lt;br /&gt;
* Supporting Machine Structure：CNC, laser engraving machine, writing robots&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:KS0311 CNC V1.0A + 4988套件 (7).jpg|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Features of A4988 Driver ==&lt;br /&gt;
* With simple stepper and direction control interface.&lt;br /&gt;
* Five different step modes: full, half, 1/4, 1/8 and 1/16 step modes.&lt;br /&gt;
* Adjustable potentiometer used to adjust the max current output to gain higher step rate.&lt;br /&gt;
* Automatic decay mode detection/selection.&lt;br /&gt;
* Overheat closed circuit, under-voltage lockout, cross-current protection.&lt;br /&gt;
* Ground short-circuit protection and load short-circuit protection.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Stepper driver.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Pinout Diagram == &lt;br /&gt;
Here in the below figure you can see the pinout instruction of keyestudio CNC GRBL V0.9 &amp;lt;br&amp;gt;&lt;br /&gt;
It has complete interfaces with cost-effective, and can connect to external drivers, very suitable for your DIY design. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-2.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Setting Method of A4988 Working Mode == &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0281-.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Wiring Diagram ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0288-1.png|600px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install Driver Software and Development Environment Software IDE ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== (1) Install Diver Software ===&lt;br /&gt;
For different operating system, there may be slight difference in installation method. Below is an example in WIN 7. &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;a.&#039;&#039;&#039; When you connect Keyestudio CNC GRBL V0.9 to your computer the first time, right click “Computer” —&amp;gt;“Properties”—&amp;gt; “Device manager”, you can see “USB2.0-Serial”. &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;b.&#039;&#039;&#039; Click “USB2.0-Serial”, select “Update Driver software”.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-b.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;c.&#039;&#039;&#039; In this page, click “Browse my computer for driver software”.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-c.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;d.&#039;&#039;&#039; Find the “usb_ch341_3.1.2009.06” file. &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片4.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;e.&#039;&#039;&#039; Click “Next”, Installation completed; Then，click “Close”. &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-e.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;f.&#039;&#039;&#039; After driver is installed, go to “Device manager” again. right click “Computer” —&amp;gt;  “Properties”—&amp;gt; “Device manager”, &lt;br /&gt;
you can see device as below figure shown, also the correct Com port.  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:311图片1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== (2) Install Development Environment Software IDE ===&lt;br /&gt;
&#039;&#039;&#039;a.&#039;&#039;&#039; Double click arduino-1.5.6-r2-windows to start. Select “I Agree”to accept license agreement.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-(a).png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;b.&#039;&#039;&#039; Select components to install and click “Next”.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-(b).png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;c.&#039;&#039;&#039; Click “Browse” and select another folder. Click “Install” to start the installation.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-(b-).png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;d.&#039;&#039;&#039; Finally, wait for a few minutes to finish.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0311-(d).png|1000px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Testing Method ==&lt;br /&gt;
Wire it up well as wiring diagram shown, upload the below code to Keyestudio CNC GRBL V0.9 using [http://wiki.keyestudio.com/index.php/Download_Arduino_and_Install_Arduino_Driver    Arduino IDE ]. Then you can check the function of each interface. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Sample Code ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#define Light1  13 &lt;br /&gt;
#define Light2  A1 &lt;br /&gt;
#define Light3  A2 &lt;br /&gt;
#define Light4  A3&lt;br /&gt;
#define Light5  A4&lt;br /&gt;
#define Light6  A5&lt;br /&gt;
&lt;br /&gt;
#define EN1  8&lt;br /&gt;
#define X_DIR     5       //X axis  direction control of stepper motor&lt;br /&gt;
#define Y_DIR     6       //y axis  direction control of stepper motor&lt;br /&gt;
#define Z_DIR     7       //z axis  direction control of stepper motor&lt;br /&gt;
#define X_STP     2       //x axis step control&lt;br /&gt;
#define Y_STP     3       //y axis step control&lt;br /&gt;
#define Z_STP     4       //z axis step control&lt;br /&gt;
#define X_LIMIT   9       //X limit&lt;br /&gt;
#define Y_LIMIT   10      //Y limit&lt;br /&gt;
#define Laser     11      //motor or laser control pin&lt;br /&gt;
#define Z_LIMIT   12      //Z limit&lt;br /&gt;
#define E_LIMIT   A0      //E limit&lt;br /&gt;
const int Button_A7 = A7;&lt;br /&gt;
const int Button_A6 = A6;&lt;br /&gt;
int Button_value_A7 = 0; &lt;br /&gt;
int Button_value_A6 = 0; &lt;br /&gt;
int Button_valueX = 0; &lt;br /&gt;
int Button_valueY = 0;&lt;br /&gt;
int Button_valueZ = 0;&lt;br /&gt;
int Button_valueE = 0;&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  pinMode(Light1, OUTPUT);    pinMode(Light2, OUTPUT);&lt;br /&gt;
  pinMode(Light3, OUTPUT);    pinMode(Light4, OUTPUT);&lt;br /&gt;
  pinMode(Light5, OUTPUT);    pinMode(Light6, OUTPUT);&lt;br /&gt;
  &lt;br /&gt;
  pinMode(EN1, OUTPUT);&lt;br /&gt;
  pinMode(X_DIR, OUTPUT);&lt;br /&gt;
  pinMode(Y_DIR, OUTPUT);&lt;br /&gt;
  pinMode(Z_DIR, OUTPUT);&lt;br /&gt;
  pinMode(X_STP, OUTPUT);&lt;br /&gt;
  pinMode(Y_STP, OUTPUT);&lt;br /&gt;
  pinMode(Z_STP, OUTPUT);&lt;br /&gt;
  pinMode(Button_A7, INPUT);  &lt;br /&gt;
  pinMode(Button_A6, INPUT); &lt;br /&gt;
  pinMode(E_LIMIT, INPUT); &lt;br /&gt;
  pinMode(X_LIMIT, INPUT); &lt;br /&gt;
  pinMode(Y_LIMIT, INPUT); &lt;br /&gt;
  pinMode(Z_LIMIT, INPUT); &lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void EN()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(EN1, LOW); &lt;br /&gt;
}&lt;br /&gt;
//stepper motor turn forward or reverse&lt;br /&gt;
void turn(boolean dir, int steps)&lt;br /&gt;
{&lt;br /&gt;
  EN();&lt;br /&gt;
  digitalWrite(X_DIR,dir);&lt;br /&gt;
  digitalWrite(Y_DIR,dir);&lt;br /&gt;
  digitalWrite(Z_DIR,dir);&lt;br /&gt;
  delay(100);&lt;br /&gt;
  for(int i=0;i&amp;lt;steps;i++)&lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(X_STP, HIGH);&lt;br /&gt;
    digitalWrite(Y_STP, HIGH);&lt;br /&gt;
    digitalWrite(Z_STP, HIGH);&lt;br /&gt;
    delayMicroseconds(100);&lt;br /&gt;
    digitalWrite(X_STP, LOW);&lt;br /&gt;
    digitalWrite(Y_STP, LOW);&lt;br /&gt;
    digitalWrite(Z_STP, LOW);&lt;br /&gt;
    delayMicroseconds(100); &lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
//laser is on&lt;br /&gt;
void Laser_ON()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(Laser, HIGH); &lt;br /&gt;
  delay(500);&lt;br /&gt;
  //digitalWrite(Laser, LOW); &lt;br /&gt;
  //delay(500);&lt;br /&gt;
}&lt;br /&gt;
//laser is off&lt;br /&gt;
void Laser_OFF()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(Laser, LOW); &lt;br /&gt;
  delay(500);&lt;br /&gt;
  //digitalWrite(Laser, LOW); &lt;br /&gt;
  //delay(500);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop() &lt;br /&gt;
{&lt;br /&gt;
  &lt;br /&gt;
  Button_valueX = digitalRead(X_LIMIT);&lt;br /&gt;
  if(Button_valueX == LOW)  &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light3, HIGH);&lt;br /&gt;
    turn(true, 4000);&lt;br /&gt;
  }&lt;br /&gt;
  else &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light3, LOW);&lt;br /&gt;
  }&lt;br /&gt;
  Serial.print(&amp;quot;Button_valueX = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_valueX);&lt;br /&gt;
  &lt;br /&gt;
  Button_valueY = digitalRead(Y_LIMIT);&lt;br /&gt;
  if(Button_valueY == LOW)  &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light4, HIGH);&lt;br /&gt;
    turn(false, 4000);&lt;br /&gt;
  }&lt;br /&gt;
  else digitalWrite(Light4, LOW);&lt;br /&gt;
  Serial.print(&amp;quot;Button_valueY = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_valueY);&lt;br /&gt;
  &lt;br /&gt;
  Button_valueZ = digitalRead(Z_LIMIT);&lt;br /&gt;
  if(Button_valueZ == LOW)  digitalWrite(Light5, HIGH);&lt;br /&gt;
  else digitalWrite(Light5, LOW);&lt;br /&gt;
  Serial.print(&amp;quot;Button_valueZ = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_valueZ);&lt;br /&gt;
  &lt;br /&gt;
  Button_value_A7 = analogRead(Button_A7);&lt;br /&gt;
  if(Button_value_A7 == 0)  digitalWrite(Light1, HIGH);&lt;br /&gt;
  else digitalWrite(Light1, LOW);&lt;br /&gt;
  Serial.print(&amp;quot;Button_value_A7 = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_value_A7);&lt;br /&gt;
  &lt;br /&gt;
  Button_value_A6 = analogRead(Button_A6);&lt;br /&gt;
  if(Button_value_A6 == 0)  digitalWrite(Light2, HIGH);&lt;br /&gt;
  else digitalWrite(Light2, LOW);&lt;br /&gt;
  Serial.print(&amp;quot;Button_value_A6 = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_value_A6);   &lt;br /&gt;
  &lt;br /&gt;
  Button_valueE = analogRead(E_LIMIT);&lt;br /&gt;
  if(Button_valueE == 0)  &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light6, HIGH);&lt;br /&gt;
    Laser_ON();&lt;br /&gt;
  }&lt;br /&gt;
  else &lt;br /&gt;
  {&lt;br /&gt;
    digitalWrite(Light6, LOW);&lt;br /&gt;
    Laser_OFF();&lt;br /&gt;
  }&lt;br /&gt;
  Serial.print(&amp;quot;Button_valueE = &amp;quot;);&lt;br /&gt;
  Serial.println(Button_valueE);    &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
===&amp;lt;span style=color:brown&amp;gt; Install Firmware and Grbl Controller  &amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;&#039;&#039;&#039;a. Write test program to keyestudio UNO R3&#039;&#039;&#039;&amp;lt;/big&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
copy the folder GRBL_ Arduino_Library_keyes in the data packet and paste it to the folder libraries in your Arduino IDE document installation.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Code:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;grblmain.h&amp;gt;&lt;br /&gt;
void setup(){&lt;br /&gt;
startGrbl();&lt;br /&gt;
}&lt;br /&gt;
void loop(){}&lt;br /&gt;
//Burn the code above to keyestudio UNO R3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;&#039;&#039;&#039;b. Install GrblController361 Software&#039;&#039;&#039;&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Grbl Controller is a piece of software which is used to send GCode to CNC Machines. Run Grbl Controller361 Setup in your installation packet, the interface below will come out:&amp;lt;br&amp;gt;&lt;br /&gt;
Click Next to continue.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a license agreement, please check I accept the agreement and click Next.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-2.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you are ready to continue with Setup, click Next.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-3.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To continue, click Next. If you would like to select a different folder to install, click Browse. &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-4.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To continue, click Next. If you would like to select a different folder to place program’s shortcuts, click Browse.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-5.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the additional tasks you would like Setup to perform while installing Grbl Controller, then click Next.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-6.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click Install to continue with the installation.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-7.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click Next.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-8.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At last, click ”Finish” to finish the installation.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-9.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
At last, click ”Finish” to finish the installation.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;&#039;&#039;&#039;c. Test G-Code on Grbl Controller&#039;&#039;&#039;&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Power the main board using a USB cable and connect correctly all your external devices, then run Grbl Controller.&amp;lt;br&amp;gt;&lt;br /&gt;
Choose Port name the same as IDE COM port and click “Open” to open the series port, connecting CNC Machines with computer.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-10.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After opening the series port, the “Open” button change into “Close/Reset” and get red! &amp;lt;br&amp;gt;&lt;br /&gt;
At this time you can click the X axis、Y axis、Z axis as shown in below diagram to adjust the motion direction of motors.&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-11.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=color:red&amp;gt; &#039;&#039;&#039;Note:&#039;&#039;&#039; after adjusting the axies, before beginning G-Code file, you must close and open again.&amp;lt;/span&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Now, it is time to have a try! Click ”Choose file” to choose one G-Code file named &#039;&#039;&#039;cn.&#039;&#039;&#039; to test in the data packet for a beginner, and the interface will come out: &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;GrblController&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:94 4-12.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click “Begin” , and you can see how the motors move on coordinates.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Test Code:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
https://fs.keyestudio.com/KS0311&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Get One Now ==&lt;br /&gt;
&lt;br /&gt;
*[https://www.keyestudio.com/keyestudio-cnc-v09a-board3pcs-4988-driver-w-heat-sink-usb-cable-for-arduino-cnc-laser-engraving-machine-writing-robots-grbl-p0470-p0470.html     &#039;&#039;&#039;Official Website&#039;&#039;&#039; ] &lt;br /&gt;
&lt;br /&gt;
*[https://www.aliexpress.com/store/product/Keyestudio-CNC-V0-9A-board-3pcs-4988-Driver-W-Heat-Sink-USB-cable-for-arduino-CNC/1452162_32859642011.html?spm=2114.12010612.8148356.1.62e8753b2ZRwwm    &#039;&#039;&#039;Shop On AliExpress&#039;&#039;&#039;  ]&lt;br /&gt;
&lt;br /&gt;
*[https://www.amazon.com/dp/B07FSFFJ4F      &#039;&#039;&#039;Shop on amazon&#039;&#039;&#039;  ] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  [[Category:3D Printer ]]&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0547_Keyestudio_NANO_PLUS_Development_Board_Compatible_with_Arduino_NANO(Black_and_Eco-friendly)&amp;diff=35062</id>
		<title>KS0547 Keyestudio NANO PLUS Development Board Compatible with Arduino NANO(Black and Eco-friendly)</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0547_Keyestudio_NANO_PLUS_Development_Board_Compatible_with_Arduino_NANO(Black_and_Eco-friendly)&amp;diff=35062"/>
		<updated>2025-02-06T07:51:22Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The processor core of Keyestudio NANO PLUS is ATMEGA328PB-AU. It is as same as the official Arduino Nano in addition to driver file and USB to serial chip (CH340C).&lt;br /&gt;
&lt;br /&gt;
It also has 14 digital input / output interfaces (6 of which can be used as PWM output), 8 analog input interfaces, 1 16MHz crystal oscillator, 1 ICSP interface and a reset button.&lt;br /&gt;
The ICSP interface is used to program the ATMEGA328PB-AU. We can supply power with a type-CUS cable or the port VIN GND (DC 7-12V)&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA328PB-AU&lt;br /&gt;
* Operating Voltage: 5V&lt;br /&gt;
* Input Voltage (recommended): DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 14 (D0-D13)&lt;br /&gt;
* PWM Digital I/O Pins：6 (D3 D5 D6 D9 D10 D11)&lt;br /&gt;
* Analog Input Pins:	8(A0-A7)&lt;br /&gt;
* DC Current per I/O Pin: 40 mA&lt;br /&gt;
* Flash Memory: 32 KB of which 2 KB used by bootloader&lt;br /&gt;
* SRAM:2 KB  &lt;br /&gt;
* EEPROM:	1 KB  &lt;br /&gt;
* Clock Speed:16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pins ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片197.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片198.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!              !!                   !! &lt;br /&gt;
|-&lt;br /&gt;
| 1 || ICSP Header  || ICSP (In-Circuit Serial Programming) Header&lt;br /&gt;
ICSP is the AVR, an micro-program header consisting of MOSI, MISO, SCK, RESET, VCC, and GND. It is often called the SPI (serial peripheral interface) and can be considered an &amp;quot;extension&amp;quot; of output. In fact, slave the output devices under the SPI bus host.&lt;br /&gt;
When connecting to PC, program the firmware to ATMEGA328PB-AU.&lt;br /&gt;
|-&lt;br /&gt;
| 2 || LED indicator（RX）|| Onboard you can find the label: RX(receive )when control board communicates via serial port, receive the message, RX led flashes.&lt;br /&gt;
|-&lt;br /&gt;
| 3 || LED indicator（TX）|| Onboard you can find the label: TX (transmit)&lt;br /&gt;
When control board communicates via serial port, send the message, TX led flashes.  &lt;br /&gt;
|-&lt;br /&gt;
| 4 || LED indicator（POW） || Power up the control board, LED on, otherwise LED off.&lt;br /&gt;
|-&lt;br /&gt;
| 5 || LED indicator（L） || There is a built-in LED driven by digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it&#039;s off.&lt;br /&gt;
|-&lt;br /&gt;
| 6 || RX0（D0）X1（D1）D2-D13 || It has 14 digital input/output pins D0-D13 (of which 6 can be used as PWM outputs). These pins can be configured as digital input pin to read the logic value (0 or 1). Or used as digital output pin to drive different modules like LED, relay, etc. &lt;br /&gt;
|-&lt;br /&gt;
| 7 || RST || Reset pin: connect external button. The function is the same as RESET button.&lt;br /&gt;
|-&lt;br /&gt;
| 8 || MEGA 328P || Each board has its own microcontroller. You can regard it as the brain of your board.&lt;br /&gt;
Microcontrollers are usually from ATMEL. Before you load a new program on the Arduino IDE, you must know what IC is on your board. This information can be checked at the top surface of IC.&lt;br /&gt;
The board’s microcontroller is ATMEGA328PB-AU. &lt;br /&gt;
More info. see the datasheet &lt;br /&gt;
|-&lt;br /&gt;
| 9 || Type-c USB || The board can be powered via Type-c USB connection. Also upload the program to the board via USB port. &lt;br /&gt;
|-&lt;br /&gt;
| 10 || 3V3 pin|| Provides 3.3V voltage output &lt;br /&gt;
|-&lt;br /&gt;
| 11 || REF || Reference external voltage (0-5 volts) for the analog input pins. Used with analogReference().&lt;br /&gt;
|-&lt;br /&gt;
| 12 || A0-A7 || The Nano has 8 Analog Pins, labeled A0 through A7. &lt;br /&gt;
|-&lt;br /&gt;
| 13 || 5V pin|| Provides 5V voltage output &lt;br /&gt;
|-&lt;br /&gt;
| 14 || GND || Ground pin&lt;br /&gt;
|-&lt;br /&gt;
| 15 || VIN || Input an external voltage DC7-12V to power the board.&lt;br /&gt;
|-&lt;br /&gt;
| 16 || Reset Button || Used to reset the control board&lt;br /&gt;
|-&lt;br /&gt;
| 17 || CH340C || USB-to-serial port chip, converting the USB signal into Serial port signal.&lt;br /&gt;
|-&lt;br /&gt;
| 18 || AMS1117 || Convert the external voltage input DC7-12V into DC5V, then transfer it to the processor and other elements.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Specialized Functions of Some Pins:&lt;br /&gt;
&lt;br /&gt;
* Serial communication: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data.&lt;br /&gt;
* PWM (Pulse-Width Modulation): D3, D5, D6, D9, D10, D11&lt;br /&gt;
* External Interrupts: D2 (interrupt 0) and D3 (interrupt 1). These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details. &lt;br /&gt;
* SPI communication: D10 (SS), D11 (MOSI), D12 (MISO), D13 (SCK). &lt;br /&gt;
* IIC communication:  A4 (SDA); A5(SCL)&lt;br /&gt;
&lt;br /&gt;
== Windows System ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
When getting this control board, we need to install Arduino IDE&lt;br /&gt;
Enter the website https://www.arduino.cc/， click [[File:0173--1.png|500px|frameless|thumb]] and [[File:0173--2.png|500px|frameless|thumb]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0173--3.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select the version you want to download, the latest version could be downloaded.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0173--4.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Alternatively, you could select previous release.&lt;br /&gt;
In this project, we use 1.8.12 version.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0173--5.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click[[File:KS0173----13.png|500px|frameless|thumb]] to view the below page&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0173--8.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0497=21.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:0173--9.png|500px|frameless|thumb]]icon to download Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
=== Download CH340 driver： ===&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/CH340-WIN&lt;br /&gt;
&lt;br /&gt;
===Installing the Driver===&lt;br /&gt;
The driver will be installed after downloading Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
If your system is Windows 10, the computer will automatically install driver.&amp;lt;br&amp;gt;&lt;br /&gt;
For other systems, like Windows7, we need to install driver manually.&amp;lt;br&amp;gt;&lt;br /&gt;
The USB to serial chip of control board is CH340G, therefore, we will install the driver(usb_ch341_3.1.2009.06) for it.&amp;lt;br&amp;gt;&lt;br /&gt;
Connect control board to computer with USB cable.&amp;lt;br&amp;gt;&lt;br /&gt;
Click Computer----- Properties----- Device Manager, as shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 1.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then right-click on the device and select the top menu option (Update Driver Software...) shown as the figure below.  &lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 2.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then it will be prompted to either “Search Automatically forupdated driversoftware” or “Browse my computer for driver software”. Shown as below. In this page, select “Browse my computer for driver software”.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 3.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After that, select the option to browseand navigate to the “drivers” folder of usb-ch341 installation.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:ks0354 driver 4.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once the software has been installed, you will get a confirmation message. Installation completed, click “Close”. &lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:Ks0354 driver 5.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Up to now, the driver is installed well. Then you can right click “Computer” —&amp;gt;“Properties”—&amp;gt;“Device manager”, you should see the device as the figure shown below.   &lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----1.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Select the Arduino Board ===&lt;br /&gt;
&lt;br /&gt;
Click[[Image:Ks0313图片1.png|300px|frameless]] icon to pen Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open the Arduino IDE, you’ll need to click the “Tools”, then select the Board that corresponds to your Arduino.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0085=14.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When downloading the sketch to the board, you must select the correct name of Arduino board that matches the board connected to your computer. As shown below;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----2.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0173-----2.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0173-----3.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0173-----4.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* A- Used to verify whether there is any compiling mistakes or not.&lt;br /&gt;
* B- Used to upload the sketch to your Arduino board.&lt;br /&gt;
* C- Used to create shortcut window of a new sketch.&lt;br /&gt;
* D- Used to directly open an example sketch.&lt;br /&gt;
* E- Used to save the sketch.&lt;br /&gt;
* F- Used to send the serial data received from board to the serial monitor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Setting IDE for new bootloader===&lt;br /&gt;
&lt;br /&gt;
Arduino Nano board could burn new and old bootloader. New bootloader is only compatible with 1.8.9 IDE and above. Yet the old one is compatible with all versions.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----3.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Select your serial port===&lt;br /&gt;
Select the serial device of the Arduino board from the Tools | Serial Port menu.  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; to avoid errors, the COM Port should keep the same as the Ports shown on Device Manager. &lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----1.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----5.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hello World!===&lt;br /&gt;
Copy the following code in the Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
int val; &lt;br /&gt;
int ledpin=13; &lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
Serial.begin(9600); &lt;br /&gt;
pinMode(ledpin,OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
val=Serial.read();&lt;br /&gt;
if(val==&#039;R&#039;)&lt;br /&gt;
{&lt;br /&gt;
digitalWrite(ledpin,HIGH);&lt;br /&gt;
delay(500);&lt;br /&gt;
digitalWrite(ledpin,LOW);&lt;br /&gt;
delay(500);&lt;br /&gt;
Serial.println(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----6.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Then click verify button to check the errors. If compiling successfully, the message &amp;quot;Done compiling.&amp;quot; will appear in the status bar.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----7.png|800px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----8.png|800px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
After that, click the “Upload” button to upload the code. If the upload is successful, the message &amp;quot;Done uploading.&amp;quot; will appear in the status bar. &lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----9.png|800px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----10.png|800px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then click [[Image:0486-26.png|300px|frameless]] to open serial monitor and set the baud rate to 9600, enter an “R” and click Send, that is, the computer will send the character R. When NANO board receives it, you should see the RX led on the board flash once, and then D13 led flash once; when keyestudio NANO board sends &amp;quot;Hello World!&amp;quot; to the computer, finally you should see the  &amp;quot;Hello World!&amp;quot; is showed on the monitor, and TX led on the board flash once. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:KS0173----12.png|800px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MAC System ==&lt;br /&gt;
&lt;br /&gt;
=== Install Arduino IDE on MAC System ===&lt;br /&gt;
&lt;br /&gt;
The installation instruction is as same as the chapter 5.1, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:图片8883.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Download the Driver of CH340 ===&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/CH340-MAC&lt;br /&gt;
&lt;br /&gt;
=== How to Install teh Driver of CH340 ===&lt;br /&gt;
&lt;br /&gt;
Please refer to the following link:&lt;br /&gt;
https://wiki.keyestudio.com/Download_CH340_Driver_on_MAC_System&lt;br /&gt;
&lt;br /&gt;
=== Setting Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
The setting method is as same as the chapter 5.6 except from COM port, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0173+图20.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Resource ===&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0547&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS5014_Keyestudio_2560_WIFI_PLUS_Main_Board&amp;diff=35061</id>
		<title>KS5014 Keyestudio 2560 WIFI PLUS Main Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS5014_Keyestudio_2560_WIFI_PLUS_Main_Board&amp;diff=35061"/>
		<updated>2025-01-22T09:05:19Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:2560 WIFI PLUS.png|500px|right|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Keyestudio 2560 WIFI PLUS Main Control Board adopts two MCU including ATmega 2560 and esp8266, containing all functions of Arduino Mega 2560and ESP8266 development board.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
The two MCU combination is suitable for the development of the Internet of Things, networking functions, and independent wireless network construction.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The download function of the serial port is controlled by the toggle switch, and the codes of the two MCU can be burned separately by using a USB interface so that two development boards can be used alone or combined. It is very convenient when using.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| Working Voltage || USB/5V; DC/7-16V &#039;&#039;&#039;advice DC9V&#039;&#039;&#039;(Esp8266/3.3V; ATmega 2560/5V)&lt;br /&gt;
|-&lt;br /&gt;
| Working Current || Maximum output 3.3V/800mA or 5V/1.6A&lt;br /&gt;
|-&lt;br /&gt;
| Maximum Power || 8W&lt;br /&gt;
|-&lt;br /&gt;
| Working Temperature Range || -10~50 °C&lt;br /&gt;
|-&lt;br /&gt;
| Dimensions || 103*53.5*13mm&lt;br /&gt;
|-&lt;br /&gt;
| Environmental Attributes || ROHS&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 Digital I/O || 54 pin (15 for PWM output; D20,D21 as regular I2C)&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 PWM Digital I/O || 15 pin&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560  Analog Input Pin || 16 pin&lt;br /&gt;
|-&lt;br /&gt;
| DC of each ATmega 2560 I/O Pin || 20mA&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 flash || 256KB(8KB used for bootloader)&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 SRAM || 8KB&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 EEPROM || 4KB&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 Clock Speed || 16MHZ&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Digital I/O || 9 on-board pin&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 PWM Digital I/O || 4 pin (IO4,IO12,IO14,IO15)&lt;br /&gt;
|-&lt;br /&gt;
| DC of each Esp8266 I/O Pin || 20mA&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 flash || 2MB&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 SRAM || 50kb&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Clock Speed || 26MHZ&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Radio Frequency || 2.4GHZ Receiver and Transmitter&lt;br /&gt;
|-&lt;br /&gt;
| Wifi || ESP8266EX supports TCP/IP protocol and 802.11 b/g/n WLAN MAC protocol.&amp;lt;br&amp;gt; Supports Basic Service Set (BSS) STA and SoftAP operation under Distributed Control Function (DCF).&amp;lt;br&amp;gt; Enables optimization of active hours by minimizing host interaction for power management.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interfaces and Components Description ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014Interfacesandcomponentsdescription.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Special Function Interface ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Serial Communication&#039;&#039;&#039; || Port 0  D0(RX) and D1(TX)&amp;lt;br&amp;gt;Port 1  D19(RX) and D18(TX)&amp;lt;br&amp;gt;Port 2  D17(RX) and D16(TX)&amp;lt;br&amp;gt;Port 3  D15(RX) and D14(TX)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;External Interrupt&#039;&#039;&#039; || D2(Interrupt 0), D3(Interrupt1), D18(Interrupt5), D19(Interrupt4), D20(Interrupt3) and D21(Interrupt2)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;PWM Interface&#039;&#039;&#039; || D2-D13 and D44-D46&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SPI Communication&#039;&#039;&#039; || D53(SS), D51(MOSI), D50(MISO), D52(SCK)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;IIC Communication&#039;&#039;&#039; || D20(SDA), D21(SCL）&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;ICSP Interface&#039;&#039;&#039; || ATMEGA2560-16AU Interface for burning firmware&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;USB Interface&#039;&#039;&#039; || downloading programs and serial port debugging&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;DC Power Interface&#039;&#039;&#039; || able to connect to DC7V-16V，&#039;&#039;&#039;advice DC9V&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Power Output Interface&#039;&#039;&#039; || 3.3V/5V output, often used for external power supply or common ground processing&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Analog Interface&#039;&#039;&#039; || A0-A15&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;ESP8266 pin&#039;&#039;&#039;&lt;br /&gt;
(Logo of the board as the positive direction, pin attributes from left to right)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| VCC || RST || CH-PD || TX0 || GPIO5 || GPIO4 || GPIO12&lt;br /&gt;
|-&lt;br /&gt;
| RX0 || GPIO0 || GPIO2 || GND || GPIO16 || TOUT || GND&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;DIP Switch Description (ON/OFF)&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0(~U( JE-L$-4`OU1CA7O17.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Arduino 2560 Burn Test Program ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Connect PLUS main control board to computer with USB cable. &lt;br /&gt;
Taking Keyestudio LOGO as a reference, toggle the switch to the left for on and right for off.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The positions of the 16-pin DIP switch and the 6-pin DIP switch are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open [[File:5014-2560.jpg|600px|frameless]] under code\2560.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-SFC4GO)--38$TM@1-1@A7M111111111.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose the development board &amp;quot;Arduino Mega or Mega 2560&amp;quot; and port.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-5F--P20M0Q30 6-D4-EMOK1111111111112.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click1.png|600px|frameless]] to upload the program to PLUS main control board, and wait for a prompt of successful uploading in the lower left corner.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Then click [[File:5014click2.png|600px|frameless]] to open the watch window and set baud rate at 115200; send sequentially:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
a: lighting test (D13)&amp;lt;br&amp;gt;&lt;br /&gt;
b: memory test&amp;lt;br&amp;gt;&lt;br /&gt;
c: pin test&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:PL~HDUY1DS2-~JD-3VMZYG011111111113.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== ESP8266 Burn Test Program ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Connect PLUS main control board to computer with USB cable. &lt;br /&gt;
Taking Keyestudio LOGO as a reference, toggle the switch to the left for on and right for off.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The positions of the 16-pin DIP switch and the 6-pin DIP switch (toggle to serial port 1) are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions2.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open [[File:5014-esp8266.jpg|600px|frameless]] under code\esp8266, and turn on the WIFI network sharing of the mobile phone or computer and set the name and password to be consistent with those in the program.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:JRXD8S8@GHCS)GIV4F @A~722222221.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose the development board &amp;quot;Generic ESP8266 Module&amp;quot; and port.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:U)ES(~LHV6GKMDCE8CS~U5T2222222.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click1.png|600px|frameless]] to upload the program to PLUS main control board, and wait for a prompt of successful uploading in the lower left corner.&amp;lt;br&amp;gt;&lt;br /&gt;
If the upload fails, unplug the USB cable and reconnect it before uploading.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
NOTE: Before each programming of esp8266, the switch must be toggled at GND-GPIO0, and it can be used as a normal IO port if turn it off after programming.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:$Y-M3AG8ZC4J%N-M1Z31$DG2222223.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Test result:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The positions of 16-pin and 6-pin DIP switch are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions3.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click2.png|600px|frameless]] to open the watch window and set baud rate at 115200. After the ESP8266 of the main control board is connected to WIFI, the IP address is printed out on the monitoring serial port (Press RESERT button if not).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QOP8O(TPW1)Q8WKS )~W0@S222224.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TEST_MEGA-ESP Remote Control ===&lt;br /&gt;
Upload the project on Chapter 7.2, and choose the development board when uploading. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload code &amp;quot;TEST_MEGA-ESP.ino&amp;quot; to the main control board and choose the development board &amp;quot;Arduino Mega or Mega 2560&amp;quot;. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After successful uploading. Toggle the switch to the position shown below: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:5014pinpositions4.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Hotpot and connect ESP8266 to WIFI network.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
And open the serial port after successful connecting, IP address will be displayed. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Open this address of 8266 on any browser, the [ON] [OFF] of LED state will control the onboard LED on 2560 and ESP8266.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-XC2D$9KMVEA8DW~K0CJJ9V333331.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:H-`FD0)XI$2I3$PIJ7-DSBO33332.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For more details, please refer to:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
https://fs.keyestudio.com/KS5014&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS5014_Keyestudio_2560_WIFI_PLUS_Main_Board&amp;diff=35060</id>
		<title>KS5014 Keyestudio 2560 WIFI PLUS Main Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS5014_Keyestudio_2560_WIFI_PLUS_Main_Board&amp;diff=35060"/>
		<updated>2025-01-22T09:04:37Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:2560 WIFI PLUS.png|500px|right|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Keyestudio 2560 WIFI PLUS Main Control Board adopts two MCU including ATmega 2560 and esp8266, containing all functions of Arduino Mega 2560and ESP8266 development board.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
The two MCU combination is suitable for the development of the Internet of Things, networking functions, and independent wireless network construction.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The download function of the serial port is controlled by the toggle switch, and the codes of the two MCU can be burned separately by using a USB interface so that two development boards can be used alone or combined. It is very convenient when using.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| Working Voltage || USB/5V; DC/6-9V (Esp8266/3.3V; ATmega 2560/5V)&lt;br /&gt;
|-&lt;br /&gt;
| Working Current || Maximum output 3.3V/800mA or 5V/1.6A&lt;br /&gt;
|-&lt;br /&gt;
| Maximum Power || 8W&lt;br /&gt;
|-&lt;br /&gt;
| Working Temperature Range || -10~50 °C&lt;br /&gt;
|-&lt;br /&gt;
| Dimensions || 103*53.5*13mm&lt;br /&gt;
|-&lt;br /&gt;
| Environmental Attributes || ROHS&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 Digital I/O || 54 pin (15 for PWM output; D20,D21 as regular I2C)&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 PWM Digital I/O || 15 pin&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560  Analog Input Pin || 16 pin&lt;br /&gt;
|-&lt;br /&gt;
| DC of each ATmega 2560 I/O Pin || 20mA&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 flash || 256KB(8KB used for bootloader)&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 SRAM || 8KB&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 EEPROM || 4KB&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 Clock Speed || 16MHZ&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Digital I/O || 9 on-board pin&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 PWM Digital I/O || 4 pin (IO4,IO12,IO14,IO15)&lt;br /&gt;
|-&lt;br /&gt;
| DC of each Esp8266 I/O Pin || 20mA&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 flash || 2MB&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 SRAM || 50kb&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Clock Speed || 26MHZ&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Radio Frequency || 2.4GHZ Receiver and Transmitter&lt;br /&gt;
|-&lt;br /&gt;
| Wifi || ESP8266EX supports TCP/IP protocol and 802.11 b/g/n WLAN MAC protocol.&amp;lt;br&amp;gt; Supports Basic Service Set (BSS) STA and SoftAP operation under Distributed Control Function (DCF).&amp;lt;br&amp;gt; Enables optimization of active hours by minimizing host interaction for power management.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interfaces and Components Description ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014Interfacesandcomponentsdescription.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Special Function Interface ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Serial Communication&#039;&#039;&#039; || Port 0  D0(RX) and D1(TX)&amp;lt;br&amp;gt;Port 1  D19(RX) and D18(TX)&amp;lt;br&amp;gt;Port 2  D17(RX) and D16(TX)&amp;lt;br&amp;gt;Port 3  D15(RX) and D14(TX)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;External Interrupt&#039;&#039;&#039; || D2(Interrupt 0), D3(Interrupt1), D18(Interrupt5), D19(Interrupt4), D20(Interrupt3) and D21(Interrupt2)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;PWM Interface&#039;&#039;&#039; || D2-D13 and D44-D46&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SPI Communication&#039;&#039;&#039; || D53(SS), D51(MOSI), D50(MISO), D52(SCK)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;IIC Communication&#039;&#039;&#039; || D20(SDA), D21(SCL）&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;ICSP Interface&#039;&#039;&#039; || ATMEGA2560-16AU Interface for burning firmware&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;USB Interface&#039;&#039;&#039; || downloading programs and serial port debugging&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;DC Power Interface&#039;&#039;&#039; || able to connect to DC7V-16V，&#039;&#039;&#039;advice DC9V&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Power Output Interface&#039;&#039;&#039; || 3.3V/5V output, often used for external power supply or common ground processing&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Analog Interface&#039;&#039;&#039; || A0-A15&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;ESP8266 pin&#039;&#039;&#039;&lt;br /&gt;
(Logo of the board as the positive direction, pin attributes from left to right)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| VCC || RST || CH-PD || TX0 || GPIO5 || GPIO4 || GPIO12&lt;br /&gt;
|-&lt;br /&gt;
| RX0 || GPIO0 || GPIO2 || GND || GPIO16 || TOUT || GND&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;DIP Switch Description (ON/OFF)&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0(~U( JE-L$-4`OU1CA7O17.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Arduino 2560 Burn Test Program ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Connect PLUS main control board to computer with USB cable. &lt;br /&gt;
Taking Keyestudio LOGO as a reference, toggle the switch to the left for on and right for off.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The positions of the 16-pin DIP switch and the 6-pin DIP switch are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open [[File:5014-2560.jpg|600px|frameless]] under code\2560.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-SFC4GO)--38$TM@1-1@A7M111111111.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose the development board &amp;quot;Arduino Mega or Mega 2560&amp;quot; and port.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-5F--P20M0Q30 6-D4-EMOK1111111111112.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click1.png|600px|frameless]] to upload the program to PLUS main control board, and wait for a prompt of successful uploading in the lower left corner.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Then click [[File:5014click2.png|600px|frameless]] to open the watch window and set baud rate at 115200; send sequentially:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
a: lighting test (D13)&amp;lt;br&amp;gt;&lt;br /&gt;
b: memory test&amp;lt;br&amp;gt;&lt;br /&gt;
c: pin test&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:PL~HDUY1DS2-~JD-3VMZYG011111111113.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== ESP8266 Burn Test Program ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Connect PLUS main control board to computer with USB cable. &lt;br /&gt;
Taking Keyestudio LOGO as a reference, toggle the switch to the left for on and right for off.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The positions of the 16-pin DIP switch and the 6-pin DIP switch (toggle to serial port 1) are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions2.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open [[File:5014-esp8266.jpg|600px|frameless]] under code\esp8266, and turn on the WIFI network sharing of the mobile phone or computer and set the name and password to be consistent with those in the program.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:JRXD8S8@GHCS)GIV4F @A~722222221.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose the development board &amp;quot;Generic ESP8266 Module&amp;quot; and port.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:U)ES(~LHV6GKMDCE8CS~U5T2222222.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click1.png|600px|frameless]] to upload the program to PLUS main control board, and wait for a prompt of successful uploading in the lower left corner.&amp;lt;br&amp;gt;&lt;br /&gt;
If the upload fails, unplug the USB cable and reconnect it before uploading.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
NOTE: Before each programming of esp8266, the switch must be toggled at GND-GPIO0, and it can be used as a normal IO port if turn it off after programming.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:$Y-M3AG8ZC4J%N-M1Z31$DG2222223.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Test result:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The positions of 16-pin and 6-pin DIP switch are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions3.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click2.png|600px|frameless]] to open the watch window and set baud rate at 115200. After the ESP8266 of the main control board is connected to WIFI, the IP address is printed out on the monitoring serial port (Press RESERT button if not).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QOP8O(TPW1)Q8WKS )~W0@S222224.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TEST_MEGA-ESP Remote Control ===&lt;br /&gt;
Upload the project on Chapter 7.2, and choose the development board when uploading. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload code &amp;quot;TEST_MEGA-ESP.ino&amp;quot; to the main control board and choose the development board &amp;quot;Arduino Mega or Mega 2560&amp;quot;. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After successful uploading. Toggle the switch to the position shown below: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:5014pinpositions4.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Hotpot and connect ESP8266 to WIFI network.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
And open the serial port after successful connecting, IP address will be displayed. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Open this address of 8266 on any browser, the [ON] [OFF] of LED state will control the onboard LED on 2560 and ESP8266.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-XC2D$9KMVEA8DW~K0CJJ9V333331.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:H-`FD0)XI$2I3$PIJ7-DSBO33332.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For more details, please refer to:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
https://fs.keyestudio.com/KS5014&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS5014_Keyestudio_2560_WIFI_PLUS_Main_Board&amp;diff=35059</id>
		<title>KS5014 Keyestudio 2560 WIFI PLUS Main Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS5014_Keyestudio_2560_WIFI_PLUS_Main_Board&amp;diff=35059"/>
		<updated>2025-01-22T09:03:06Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Special Function Interface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:2560 WIFI PLUS.png|500px|right|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Keyestudio 2560 WIFI PLUS Main Control Board adopts two MCU including ATmega 2560 and esp8266, containing all functions of Arduino Mega 2560and ESP8266 development board.&amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
The two MCU combination is suitable for the development of the Internet of Things, networking functions, and independent wireless network construction.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The download function of the serial port is controlled by the toggle switch, and the codes of the two MCU can be burned separately by using a USB interface so that two development boards can be used alone or combined. It is very convenient when using.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| Working Voltage || USB/5V; DC/6-9V (Esp8266/3.3V; ATmega 2560/5V)&lt;br /&gt;
|-&lt;br /&gt;
| Working Current || Maximum output 3.3V/800mA or 5V/1.6A&lt;br /&gt;
|-&lt;br /&gt;
| Maximum Power || 8W&lt;br /&gt;
|-&lt;br /&gt;
| Working Temperature Range || -10~50 °C&lt;br /&gt;
|-&lt;br /&gt;
| Dimensions || 103*53.5*13mm&lt;br /&gt;
|-&lt;br /&gt;
| Environmental Attributes || ROHS&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 Digital I/O || 54 pin (15 for PWM output; D20,D21 as regular I2C)&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 PWM Digital I/O || 15 pin&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560  Analog Input Pin || 16 pin&lt;br /&gt;
|-&lt;br /&gt;
| DC of each ATmega 2560 I/O Pin || 20mA&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 flash || 256KB(8KB used for bootloader)&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 SRAM || 8KB&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 EEPROM || 4KB&lt;br /&gt;
|-&lt;br /&gt;
| ATmega 2560 Clock Speed || 16MHZ&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Digital I/O || 9 on-board pin&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 PWM Digital I/O || 4 pin (IO4,IO12,IO14,IO15)&lt;br /&gt;
|-&lt;br /&gt;
| DC of each Esp8266 I/O Pin || 20mA&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 flash || 2MB&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 SRAM || 50kb&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Clock Speed || 26MHZ&lt;br /&gt;
|-&lt;br /&gt;
| Esp8266 Radio Frequency || 2.4GHZ Receiver and Transmitter&lt;br /&gt;
|-&lt;br /&gt;
| Wifi || ESP8266EX supports TCP/IP protocol and 802.11 b/g/n WLAN MAC protocol.&amp;lt;br&amp;gt; Supports Basic Service Set (BSS) STA and SoftAP operation under Distributed Control Function (DCF).&amp;lt;br&amp;gt; Enables optimization of active hours by minimizing host interaction for power management.&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Interfaces and Components Description ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014Interfacesandcomponentsdescription.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Special Function Interface ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Serial Communication&#039;&#039;&#039; || Port 0  D0(RX) and D1(TX)&amp;lt;br&amp;gt;Port 1  D19(RX) and D18(TX)&amp;lt;br&amp;gt;Port 2  D17(RX) and D16(TX)&amp;lt;br&amp;gt;Port 3  D15(RX) and D14(TX)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;External Interrupt&#039;&#039;&#039; || D2(Interrupt 0), D3(Interrupt1), D18(Interrupt5), D19(Interrupt4), D20(Interrupt3) and D21(Interrupt2)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;PWM Interface&#039;&#039;&#039; || D2-D13 and D44-D46&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;SPI Communication&#039;&#039;&#039; || D53(SS), D51(MOSI), D50(MISO), D52(SCK)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;IIC Communication&#039;&#039;&#039; || D20(SDA), D21(SCL）&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;ICSP Interface&#039;&#039;&#039; || ATMEGA2560-16AU Interface for burning firmware&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;USB Interface&#039;&#039;&#039; || downloading programs and serial port debugging&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;DC Power Interface&#039;&#039;&#039; || able to connect to DC6V-9V，&#039;&#039;&#039;advice DC9V&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Power Output Interface&#039;&#039;&#039; || 3.3V/5V output, often used for external power supply or common ground processing&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;Analog Interface&#039;&#039;&#039; || A0-A15&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;ESP8266 pin&#039;&#039;&#039;&lt;br /&gt;
(Logo of the board as the positive direction, pin attributes from left to right)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
| VCC || RST || CH-PD || TX0 || GPIO5 || GPIO4 || GPIO12&lt;br /&gt;
|-&lt;br /&gt;
| RX0 || GPIO0 || GPIO2 || GND || GPIO16 || TOUT || GND&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;DIP Switch Description (ON/OFF)&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0(~U( JE-L$-4`OU1CA7O17.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Projects ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Arduino 2560 Burn Test Program ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Connect PLUS main control board to computer with USB cable. &lt;br /&gt;
Taking Keyestudio LOGO as a reference, toggle the switch to the left for on and right for off.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The positions of the 16-pin DIP switch and the 6-pin DIP switch are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open [[File:5014-2560.jpg|600px|frameless]] under code\2560.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-SFC4GO)--38$TM@1-1@A7M111111111.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose the development board &amp;quot;Arduino Mega or Mega 2560&amp;quot; and port.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-5F--P20M0Q30 6-D4-EMOK1111111111112.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click1.png|600px|frameless]] to upload the program to PLUS main control board, and wait for a prompt of successful uploading in the lower left corner.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Then click [[File:5014click2.png|600px|frameless]] to open the watch window and set baud rate at 115200; send sequentially:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
a: lighting test (D13)&amp;lt;br&amp;gt;&lt;br /&gt;
b: memory test&amp;lt;br&amp;gt;&lt;br /&gt;
c: pin test&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:PL~HDUY1DS2-~JD-3VMZYG011111111113.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== ESP8266 Burn Test Program ===&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Connect PLUS main control board to computer with USB cable. &lt;br /&gt;
Taking Keyestudio LOGO as a reference, toggle the switch to the left for on and right for off.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The positions of the 16-pin DIP switch and the 6-pin DIP switch (toggle to serial port 1) are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions2.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open [[File:5014-esp8266.jpg|600px|frameless]] under code\esp8266, and turn on the WIFI network sharing of the mobile phone or computer and set the name and password to be consistent with those in the program.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:JRXD8S8@GHCS)GIV4F @A~722222221.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Choose the development board &amp;quot;Generic ESP8266 Module&amp;quot; and port.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:U)ES(~LHV6GKMDCE8CS~U5T2222222.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click1.png|600px|frameless]] to upload the program to PLUS main control board, and wait for a prompt of successful uploading in the lower left corner.&amp;lt;br&amp;gt;&lt;br /&gt;
If the upload fails, unplug the USB cable and reconnect it before uploading.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
NOTE: Before each programming of esp8266, the switch must be toggled at GND-GPIO0, and it can be used as a normal IO port if turn it off after programming.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:$Y-M3AG8ZC4J%N-M1Z31$DG2222223.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Test result:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The positions of 16-pin and 6-pin DIP switch are shown below:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:5014pinpositions3.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click [[File:5014click2.png|600px|frameless]] to open the watch window and set baud rate at 115200. After the ESP8266 of the main control board is connected to WIFI, the IP address is printed out on the monitoring serial port (Press RESERT button if not).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QOP8O(TPW1)Q8WKS )~W0@S222224.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== TEST_MEGA-ESP Remote Control ===&lt;br /&gt;
Upload the project on Chapter 7.2, and choose the development board when uploading. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload code &amp;quot;TEST_MEGA-ESP.ino&amp;quot; to the main control board and choose the development board &amp;quot;Arduino Mega or Mega 2560&amp;quot;. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After successful uploading. Toggle the switch to the position shown below: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:5014pinpositions4.jpg|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Hotpot and connect ESP8266 to WIFI network.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
And open the serial port after successful connecting, IP address will be displayed. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Open this address of 8266 on any browser, the [ON] [OFF] of LED state will control the onboard LED on 2560 and ESP8266.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:-XC2D$9KMVEA8DW~K0CJJ9V333331.png|600px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:H-`FD0)XI$2I3$PIJ7-DSBO33332.png|600px|frameless]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For more details, please refer to:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
https://fs.keyestudio.com/KS5014&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0567_Keyestudio_ESP32_IoT_Control_Smart_Farm_Starter_Kit_for_Arduino_Scratch_3.0_Graphical_Programming&amp;diff=35058</id>
		<title>KS0567 Keyestudio ESP32 IoT Control Smart Farm Starter Kit for Arduino Scratch 3.0 Graphical Programming</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0567_Keyestudio_ESP32_IoT_Control_Smart_Farm_Starter_Kit_for_Arduino_Scratch_3.0_Graphical_Programming&amp;diff=35058"/>
		<updated>2025-01-15T03:13:53Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:0567.jpeg|thumb|600px|right|Keyestudio ESP32 Smart Farm Kit]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Introduction&#039;&#039;&#039; ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Based on ESP32 Internet of Things, this Smart Farm Kit integrates multiple sensors, realizing automatic and wireless manipulation as well as intellectual management.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* In this tutorial, our projects comprehensively apply all sensors and modules in the kit, like photoresistor, soil humidity sensor, water level sensor and ESP32 wireless communication module. As a result, by learning this tutorial, you can possess the knowledge that how to use sensors and construct IOT system and that how to realize intelligence in farm management through programming.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* What’s more, we provide detailed courses and example codes for you to deeply understand and master knowledge. In this way, it can not only improve the hands-on capability and creativity, but also cultivate the awareness of scientific and technological innovation as well as the ability of problem-solving.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Features&#039;&#039;&#039; ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. &#039;&#039;&#039;Comprehensive&#039;&#039;&#039;: This kit includes multiple modules related to smart farms, such as photoresistor, soil humidity sensor, water level sensor, as well as ESP32 module. So, you can master the knowledge of various sensors and wireless communication during learning.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. &#039;&#039;&#039;Practical&#039;&#039;&#039;: Through experiments, you may deeply understand how each sensor works and how it collects and processes data. These knowledge helps you build an intelligent farm system.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. &#039;&#039;&#039;Innovative&#039;&#039;&#039;: Detailed tutorials are provided: experimental instructions, video guidance and example codes. By learning and practicing, you can understand the application of the Internet of Things and sensing-tech in agriculture, which cultivates technological innovation and problem-solving ability.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. &#039;&#039;&#039;Flexible&#039;&#039;&#039;: With ESP32 as its main control board, this kit enjoys splendid flexibility and scalability. Thus, You can create its design at will, which expands your knowledge and abilities.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. &#039;&#039;&#039;Interactive&#039;&#039;&#039;: To improve learning, this kit offers an experiment platform and community for you to share experiences and communicate with others. Meanwhile, it also supplies a wealth of experimental cases and practices to stimulate your learning enthusiasm and enhance the ability to understand and apply knowledge.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Parameters&#039;&#039;&#039; ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Working Voltage: 5V&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Battery Voltage: 9V&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Maximum Output Current: ≤1.5A&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Maximum Power Consumption: ≤10W&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* WiFi Working Principle: 2.4G&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Bluetooth Protocol: v4.2 Full Standard&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Dimension: 255*185\*130mm±1%&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
* Working Temperature: –10°C ~ +65°C&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Kit List&#039;&#039;&#039; ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ &lt;br /&gt;
|-&lt;br /&gt;
! N.O. !! PIC !! NAME !! QTY&lt;br /&gt;
|-&lt;br /&gt;
|1 || [[File:0567.1.png|800px|frameless|thumb]] || Basswood Board*6 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 2 || [[File:0567.2.png|800px|frameless|thumb]] || Acrylic Board || 1&lt;br /&gt;
|-&lt;br /&gt;
| 3 || [[File:47.png|800px|frameless|thumb]] || Basswood Board with Patterns || 1 &lt;br /&gt;
|-&lt;br /&gt;
| 4 || [[File:0567.3.png|800px|frameless|thumb]] || ESP32 PLUS Development Board || 1&lt;br /&gt;
|-&lt;br /&gt;
| 5 || [[File:4.png|800px|frameless|thumb]] || Button Module || 1&lt;br /&gt;
|-&lt;br /&gt;
| 6 || [[File:0567.5.png|800px|frameless|thumb]] || Button Cap (12 * 12 * 7.3) || 1&lt;br /&gt;
|-&lt;br /&gt;
| 7 || [[File:0567.6.png|800px|frameless|thumb]] || Passive Buzzer || 1&lt;br /&gt;
|-&lt;br /&gt;
| 8 || [[File:0567.7.png|800px|frameless|thumb]] || 130 Motor || 1&lt;br /&gt;
|-&lt;br /&gt;
| 9 || [[File:8.png|800px|frameless|thumb]] || Fan || 1&lt;br /&gt;
|-&lt;br /&gt;
| 10 || [[File:9.png|800px|frameless|thumb]] || Steam Sensor || 1&lt;br /&gt;
|-&lt;br /&gt;
| 11 || [[File:10.png|800px|frameless|thumb]] || DHT11 Temperature and Humidity Sensor || 1&lt;br /&gt;
|-&lt;br /&gt;
| 12 || [[File:111.png|800px|frameless|thumb]] || PIR Motion Sensor || 1&lt;br /&gt;
|-&lt;br /&gt;
| 13 || [[File:112.png|800px|frameless|thumb]] || 5V Relay Module || 1&lt;br /&gt;
|-&lt;br /&gt;
| 14 || [[File:113.png|800px|frameless|thumb]] || Soil Humidity Sensor || 1&lt;br /&gt;
|-&lt;br /&gt;
| 15 || [[File:14.png|800px|frameless|thumb]] || Water Level Sensor || 1&lt;br /&gt;
|-&lt;br /&gt;
| 16 || [[File:15.png|800px|frameless|thumb]] || SR01 V3 Ultrasonic Module || 1&lt;br /&gt;
|-&lt;br /&gt;
| 17 || [[File:16.png|800px|frameless|thumb]] || White LED Module || 1&lt;br /&gt;
|-&lt;br /&gt;
| 18 || [[File:17.png|800px|frameless|thumb]] || Photoresistor || 1&lt;br /&gt;
|-&lt;br /&gt;
| 19 || [[File:18.png|800px|frameless|thumb]] || 9G 180° Servo (23 * 12.2 * 29mm) || 1&lt;br /&gt;
|-&lt;br /&gt;
| 20 || [[File:19.png|800px|frameless|thumb]] || I2C 1602 LCD Display || 1&lt;br /&gt;
|-&lt;br /&gt;
| 21 || [[File:20.png|800px|frameless|thumb]] || 6-slot AA Battery Holder || 1&lt;br /&gt;
|-&lt;br /&gt;
| 22 || [[File:21.png|800px|frameless|thumb]] || DC 3V Water Pump (With 15CM Breadboard Wire) || 1&lt;br /&gt;
|-&lt;br /&gt;
| 23 || [[File:22.png|800px|frameless|thumb]] || USB Cable TYPE-C || 1&lt;br /&gt;
|-&lt;br /&gt;
| 24 || [[File:23.png|800px|frameless|thumb]] || M1.4*6MM Self-Tapping Screw || 4&lt;br /&gt;
|-&lt;br /&gt;
| 25 || [[File:224.png|800px|frameless|thumb]] || M3 Lock-Nut || 4&lt;br /&gt;
|-&lt;br /&gt;
| 26 || [[File:225.png|800px|frameless|thumb]] || M4*8MM Round Head Screw || 18&lt;br /&gt;
|-&lt;br /&gt;
| 27 || [[File:226.png|800px|frameless|thumb]] || M3*6MM Round Head Screw || 8&lt;br /&gt;
|-&lt;br /&gt;
| 28 || [[File:226.png|800px|frameless|thumb]] || M3*10MM Round Head Screw || 16&lt;br /&gt;
|-&lt;br /&gt;
| 29 || [[File:226.png|800px|frameless|thumb]] || M2*12MM Round Head Screw || 2&lt;br /&gt;
|-&lt;br /&gt;
| 30 || [[File:229.png|800px|frameless|thumb]] || M4 Nut || 18&lt;br /&gt;
|-&lt;br /&gt;
| 31 || [[File:229.png|800px|frameless|thumb]] || M3 Nut || 12&lt;br /&gt;
|-&lt;br /&gt;
| 32 || [[File:229.png|800px|frameless|thumb]] || M2 Nut || 2&lt;br /&gt;
|-&lt;br /&gt;
| 33 || [[File:32.png|800px|frameless|thumb]] || M3*10MM Dual-Pass Copper Pillar || 4&lt;br /&gt;
|-&lt;br /&gt;
| 34 || [[File:33.png|800px|frameless|thumb]] || 15cm 3P F-F DuPont Wires (Connected, 26AWG, Black-Red-Yellow) || 4&lt;br /&gt;
|-&lt;br /&gt;
| 35 || [[File:34.png|800px|frameless|thumb]] || 20cm 3P F-F DuPont Wires (Connected, 26AWG, Black-Red-Yellow) || 5&lt;br /&gt;
|-&lt;br /&gt;
| 36 || [[File:34.png|800px|frameless|thumb]] || 25cm 3P F-F DuPont Wires (Connected, 26AWG, Black-Red-Yellow) || 1&lt;br /&gt;
|-&lt;br /&gt;
| 37 || [[File:35.png|800px|frameless|thumb]] || 20cm 4P F-F DuPont Wires (Connected, 26AWG, Black-Red-Blue-Green) || 1&lt;br /&gt;
|-&lt;br /&gt;
| 38 || [[File:336.png|800px|frameless|thumb]]  || 20cm 4P F-F DuPont Wires (Divided, 26AWG, Black-Green-Blue-Red) || 1&lt;br /&gt;
|-&lt;br /&gt;
| 39 || [[File:37.png|800px|frameless|thumb]] || 20cm 4P F-F DuPont Wires (Divided, 26AWG, Black-Red-Blue-Green) || 1&lt;br /&gt;
|-&lt;br /&gt;
| 40 || [[File:38.png|800px|frameless|thumb]] || 15CM 40P M-F DuPont Wires || 2&lt;br /&gt;
|-&lt;br /&gt;
| 41 || [[File:39.png|800px|frameless|thumb]] || 3.0*40MM Phillips Screwdriver || 1&lt;br /&gt;
|-&lt;br /&gt;
| 42 || [[File:40.png|800px|frameless|thumb]] || Slotted Screwdriver || 1&lt;br /&gt;
|-&lt;br /&gt;
| 43 || [[File:48.png|800px|frameless|thumb]] || Plastic Box || 2&lt;br /&gt;
|-&lt;br /&gt;
| 44 || [[File:45.png|800px|frameless|thumb]] || Water Pump Pipe || 6cm&lt;br /&gt;
|-&lt;br /&gt;
| 45 || [[File:46.png|800px|frameless|thumb]] || Solar panel || 1&lt;br /&gt;
|-&lt;br /&gt;
| 46 || [[File:49.png|800px|frameless|thumb]] || Cross Wrench || 1&lt;br /&gt;
|-&lt;br /&gt;
| 47 || [[File:52.png|800px|frameless|thumb]] || Foldout || 1&lt;br /&gt;
|-&lt;br /&gt;
| 48 || [[File:53.png|800px|frameless|thumb]] || Stickers || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== &#039;&#039;&#039;FAQ&#039;&#039;&#039; ==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==== Q: What type of batteries should this kit be equipped with? ====&lt;br /&gt;
 A: Six AA batteries, each one with the diameter of 14MM and height of 49MM. Please install batteries in a correct way and do not reverse them! For younger learners, please operate under the accompaniment of parents.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==== Q: An error occurs when burning programs on ESP32 mainboard. ====&lt;br /&gt;
 A: 1. Please check whether the COM port is correct.&lt;br /&gt;
    2. Please check whether the selected board is correct.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Q: Can this kit expands to other modules? ====&lt;br /&gt;
 A: Yes. When expanding to other modules, please check pin description to make sure that ESP32 pins work normally.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==== Q: An error occurs when importing &amp;lt;Wire.h&amp;gt; library. ====&lt;br /&gt;
 A: When installing ESP32 development board on arduino IDE, &amp;lt;Wire.h&amp;gt; library will be imported automatically, so you don&#039;t need to add it repeatedly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Resources&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
ESP32 development board: &lt;br /&gt;
&lt;br /&gt;
https://wiki.keyestudio.com/KS5016_Keyestudio_ESP32_PLUS_Development_Board&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Smart farm kit codes and detailed tutorials: &lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0567&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0530_Keyestudio_Solar_Tracking_DIY_Kit_for_Arduino&amp;diff=35057</id>
		<title>KS0530 Keyestudio Solar Tracking DIY Kit for Arduino</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0530_Keyestudio_Solar_Tracking_DIY_Kit_for_Arduino&amp;diff=35057"/>
		<updated>2025-01-15T03:09:49Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;br&amp;gt;[[File:KS0530-01.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
==Description==&lt;br /&gt;
&amp;lt;br&amp;gt;The solar tracking kit launched by KEYES is based on Arduino. It consists of 4 ambient light sensors, 2 DOF servos, a solar panel and so on, aiming at converting light energy into electronic energy and charging power devices. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;It boasts a smart phone charging module, a temperature and humidity sensor, a BH1750 light sensor, a buzzer, an LCD1602 display, a push button module, an LED module and others, enriching the tutorial and making the projects more interesting. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;This kit can not only help kids have a better learning about programming but obtain knowledge about electronics, machinery, controlling logic and computer science.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;Furthermore, it is a cost-effective open-source programming device. Only a few simple steps are needed to install it and wire it up, very easy and convenient. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;There are 11 projects included, from simple to complex, guide you step by step. You can either start from those basic ones like learning how to control a signal module or sensor, or aim at a more sophisticated one, the one integrating most of these components.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;What’s more, you can also alter the code or connect it with other sensors or modules through the Lego parts reserved to conduct your own experiments. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;Now, let’s embark on an excellent journey together.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Tutorial and code download address：https://fs.keyestudio.com/KS0530&lt;br /&gt;
&lt;br /&gt;
Demo video address ：https://youtu.be/Bk5ajceXU6w&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0534_Keyestudio_Power_Module_Type-C_for_Breadboard&amp;diff=35056</id>
		<title>KS0534 Keyestudio Power Module Type-C for Breadboard</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0534_Keyestudio_Power_Module_Type-C_for_Breadboard&amp;diff=35056"/>
		<updated>2024-08-06T01:31:04Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:0534-1.png|500px|right|thumb|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Description： ==&lt;br /&gt;
&lt;br /&gt;
This module can provide power(3.3V, 5V )to breadboards. It has a DC2.1 input (DC7-12V) and a USB Type-C power input.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters： ==&lt;br /&gt;
 &lt;br /&gt;
* Input Voltage：7-12V； Type C USB: 5V&lt;br /&gt;
* Current:  3.3V: 500mA(Max);  5V: 500mA(Max)&lt;br /&gt;
* Maximum Power: 2.5W&lt;br /&gt;
* Operating temperature: -10°C - +50°C&lt;br /&gt;
* Size: 53mmx26.3mm&lt;br /&gt;
* Environmental attributes: ROHS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Pin out ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0534-2.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
== Schematic Diagram ==&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0534-3.png|700px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=Ks0428_keyestudio_Mini_Tank_Robot_V2&amp;diff=35055</id>
		<title>Ks0428 keyestudio Mini Tank Robot V2</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=Ks0428_keyestudio_Mini_Tank_Robot_V2&amp;diff=35055"/>
		<updated>2024-06-17T03:17:28Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Project 14: Bluetooth Control Robot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thanks for your support on our products, we will continue to provide you better quality and service!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*About keyestudio&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Keyestudio is a best-selling brand owned by KEYES Corporation, our product lines range from controller boards, shields and sensor modules to smart car and complete starter kits for Arduino, Raspberry Pi and BBC micro:bit, which designed for customers of any level to learn electronics and programming knowledge. All of our products comply with international quality standards and are greatly appreciated in a variety of different markets throughout the world.&amp;lt;br&amp;gt; &lt;br /&gt;
You can obtain the details and the latest information through visiting the following web sites:http://www.keyestudio.com&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*References and After-sales Service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.Download Profile：https://fs.keyestudio.com/KS0428&amp;lt;br&amp;gt; &lt;br /&gt;
2.Feel free to contact us please, if there is missing part or you encounter some troubles. Welcome to send email to us：service@keyestudio.com. &amp;lt;br&amp;gt; We will update projects and products continuously based on your sincere advice.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*Warning&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.This product contains tiny parts(screws, copper pillars), keep it out of reach of children under 7 years old please.&amp;lt;br&amp;gt; &lt;br /&gt;
2. This product contains conductive parts (control board and electronic module). Please operate according to the requirements of this tutorial. Improper operation may cause overheating and damage parts. Do not touch and immediately disconnect the circuit power.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;*Copyright&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The keyestudio trademark and logo are the copyright of KEYES DIY ROBOT co.,LTD. All products under keyestudio brand can’t be copied, sold and resold without authorization by anyone or company. If you’re interested in our items, please contact to our sales representatives: fennie@keyestudio.com&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-3.png|500px|right|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction == &lt;br /&gt;
 &lt;br /&gt;
Nowadays, technological education such as VR, kids programming, and artificial intelligence, has become mainstream in educational industry. Thereby, people attach importance to STEAM education. Arduino is pretty notable in Maker education.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
So what is Arduino? Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. Based on this, Keyestudio team has designed a mini tank robot. The tank robot has a processor which is programmable using the Arduino IDE, to mapped its pins to sensors and actuators by a shield that plug in the processor, it reads sensors and controls the actuators and decides how to operate.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
15 learning projects, from simple to complex, will guide you how to make a smart tank robot on you own and introduce the detailed knowledge about sensors and modules. &amp;lt;br&amp;gt;&lt;br /&gt;
Simultaneously, it is the best choice if you intend to obtain a DIY robot for learning programming, entertainment and competition requirement.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
1.Multi-purpose: Obstacle avoidance, follow, IR remote control, Bluetooth control, light following, ultrasonic follow and displayed face emoticons.&amp;lt;br&amp;gt;&lt;br /&gt;
2.Simple assembly: No soldering circuit required, complete assembly easily.&amp;lt;br&amp;gt;&lt;br /&gt;
3. High Tenacity：Aluminum alloy bracket, metal motors, high quality wheels and tracks.&amp;lt;br&amp;gt;&lt;br /&gt;
4. High extension: expand other sensors and modules through motor driver shield and sensor shield&amp;lt;br&amp;gt;&lt;br /&gt;
5. Multiple controls: IR remote control, App control(IOS and Android system)&amp;lt;br&amp;gt;&lt;br /&gt;
6.Basic programming：C language code of Arduino IDE.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Specification == &lt;br /&gt;
&lt;br /&gt;
* Working voltage: 5v&lt;br /&gt;
* Input voltage: 7-12V&lt;br /&gt;
* Maximum output current: 2A&lt;br /&gt;
* Maximum power dissipation: 25W (T=75℃)&lt;br /&gt;
* Motor speed: 5V 200 rpm/min&lt;br /&gt;
* Motor drive mode: dual H bridge drive (L298P)&lt;br /&gt;
* Ultrasonic induction angle: &amp;lt;15 degrees&lt;br /&gt;
* Ultrasonic detection distance: 2cm-400cm&lt;br /&gt;
* Infrared remote control distance: 10 meters (measured)&lt;br /&gt;
* Bluetooth remote control distance: 50 meters (measured)&lt;br /&gt;
&lt;br /&gt;
== Product List == &lt;br /&gt;
&lt;br /&gt;
Make sure no any parts missing please when you get this robot kit. And  if it is, please feel free to contact us.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please tear off the protective film on the acrylic board before mounting the kit&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210113151033.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210422152531.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210422152532.png|800px||frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210422152543.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;   &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210907152714.png|800px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210422152605.png|800px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210422152606.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210422152607.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
QQ图片20210422152554.png|&lt;br /&gt;
&lt;br /&gt;
== Assembly Guide ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=color:red&amp;gt; &amp;lt;big&amp;gt;Note: Remove the Bluetooth module before uploading test code, otherwise, you will fail to upload test code&amp;lt;/big&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;span style=color:red&amp;gt;&#039;&#039;&#039;Note: Peel the plastic film off the board first when installing the smart car. To be honest, we never intend to send wood to you.&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After making an inventory all the parts in this kit, then we need to mount the tank robot. Let’s install smart car in compliance with the following instructions.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Step 1: Install Bottom Motor&lt;br /&gt;
&lt;br /&gt;
Prepare the parts as follows:&lt;br /&gt;
&lt;br /&gt;
* M4 Nut * 2&lt;br /&gt;
* Metal Motor *2 &lt;br /&gt;
* Metal Holder *2&lt;br /&gt;
* Copper Coupler *2&lt;br /&gt;
* Blue Supportive Parts *2&lt;br /&gt;
* M4*12MM Inner Hex Screw * 2&lt;br /&gt;
* M1.5 Hex Key Nickel Plated Allen Wrench *1&lt;br /&gt;
* M3 Hex Key Nickel Plated Allen Wrench *1&lt;br /&gt;
* M2.5 Hex Key Nickel Plated Allen Wrench *1&lt;br /&gt;
* M3*8MM Inner Hex Screw * 4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20210907153855.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-2.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Step 2: Install Driver Wheel&lt;br /&gt;
&lt;br /&gt;
Prepare the parts as follows:&lt;br /&gt;
&lt;br /&gt;
* M4*12MM Inner Hex Screw * 2&lt;br /&gt;
* M4*50MM Inner Hex Screw * 2&lt;br /&gt;
* Tank Load-bearing Wheel * 2&lt;br /&gt;
* Flange Bearing * 4&lt;br /&gt;
* Copper Bush *2&lt;br /&gt;
* Caterpillar Band *2&lt;br /&gt;
* M4 Self-locking Nut * 2&lt;br /&gt;
* M3 Hex Key Nickel Plated Allen Wrench *1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-16.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-17.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-18.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 3: Install the Battery Holder&lt;br /&gt;
&lt;br /&gt;
Prepare the parts as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-19.png|300px|right|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Battery Holder *1&lt;br /&gt;
* M3 Nut * 2&lt;br /&gt;
* Blue Metal holder *2&lt;br /&gt;
* M4 Nut *8&lt;br /&gt;
* M3*10MM Flat Head Screw * 2&lt;br /&gt;
* M4*40MM Inner Hex Screw *4&lt;br /&gt;
* M2.5 Hex Key Nickel Plated Allen Wrench*1&lt;br /&gt;
* M3 Hex Key Nickel Plated Allen Wrench *1&lt;br /&gt;
* M3*25MM Inner Hex Screw *4&lt;br /&gt;
&lt;br /&gt;
Finish the mount process. Go to fix the metal holder on the motor wheel with four M4*40MM inner hex screws and four M4 nuts.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-20.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-21.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-22.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
Step 4: Mount Acrylic Board and Sensors&lt;br /&gt;
 &lt;br /&gt;
* Acrylic Board * 2&lt;br /&gt;
* L- type Black Bracket *1&lt;br /&gt;
* Photocell Sensor *2&lt;br /&gt;
* IR Receiver Module *1&lt;br /&gt;
* 8X16 LED Panel *1&lt;br /&gt;
* M2 Nut *4 &lt;br /&gt;
* M3 Nut *10&lt;br /&gt;
* M3*6MM Inner Hex Screw * 8 &lt;br /&gt;
* M2.5 Hex Key Allen Wrench *1&lt;br /&gt;
* M3*12MM Round Head Screw *7&lt;br /&gt;
* M3*10MM Hexagon Copper Bush *8&lt;br /&gt;
* M2*10MM Round Head Screw * 4&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2020091718.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片2020091719.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片202009171910.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20200917191-11.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Step 5: Install the Servo Platform  &lt;br /&gt;
&lt;br /&gt;
Prepare the parts as follows:&lt;br /&gt;
&lt;br /&gt;
* Servo *1&lt;br /&gt;
* Black Gimbal *1&lt;br /&gt;
* Cable Tie *2&lt;br /&gt;
* M2x8 Round Head Cross Tapping Screw *2&lt;br /&gt;
* Ultrasonic Sensor *1&lt;br /&gt;
* M2*4 Screw *1&lt;br /&gt;
* M1.2*5 Screw *4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: for convenient debugging, keep the ultrasonic module straight ahead and the angle of servo motor 90°. Therefore, we need to set servo to 90° before installing the servo platform.    &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片123564.png|800px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20220121101851.png|800px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;&amp;lt;span style=color:red&amp;gt;&#039;&#039;&#039;You can find M1.2*5 Screws inside the bag of Plastic Platform.&#039;&#039;&#039;&amp;lt;/big&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-28.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 6: Install Sensors and Boards &lt;br /&gt;
&lt;br /&gt;
Prepare the parts as follows:&lt;br /&gt;
&lt;br /&gt;
* M3*6MM Round Head Screw *12&lt;br /&gt;
* L298P Shield *1&lt;br /&gt;
* V4.0 Board *1&lt;br /&gt;
* V5 Sensor Shield *1&lt;br /&gt;
* Screwdriver *1&lt;br /&gt;
* Bluetooth Module *1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20200917191-12.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20200917191-13.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20200917191-14.png|500px|frameless|thumb]] [[File:04288-1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:QQ图片20200917191-15.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Step 7: Hook-up Guide&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-2.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-3.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-4.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-5.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-6.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 8: Wire up LED Panel &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-7.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-8.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-9.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-10.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 9: install all parts of Acrylic plate &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-37.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-12.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-13.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-14.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-15.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-16.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-17.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-18.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1888888-1.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1888888-2.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1888888-3.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1888888-4.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-44.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 10: Final Renderings &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-3.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=color:red&amp;gt;Note: Remove the Bluetooth module before uploading test code, otherwise, you will fail to upload test code.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver == &lt;br /&gt;
&lt;br /&gt;
=== Download software ===&lt;br /&gt;
When we get control board, we need to download Arduino IDE and driver firstly.&lt;br /&gt;
You could download Arduino IDE from the official website:&lt;br /&gt;
https://www.arduino.cc/, click the SOFTWARE on the browse bar, click “DOWNLOADS” to enter download page, as shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=04.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions for Arduino, just download a suitable version for your system, we will take WINDOWS system as an example to show you how to download and install.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04862png.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are two versions for WINDOWS system, one is installed version, another one is download version, you just need to download file to computer directly and unzip it. These two versions can be used normally. Choose one and download on your computer.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04863png.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD, then click the downloaded file to install it. And when the ZIP file is downloaded, you can directly unzip and start it.&lt;br /&gt;
&lt;br /&gt;
=== Keyestudio V4.0 Development Board ===&lt;br /&gt;
&lt;br /&gt;
We need to know keyestudio V4.0 development board, as a core of this smart car.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0077-78--1.png|400px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
keyestudio V4.0 development board is an Arduino uno-compatible board, which is based on ATmega328P MCU, and with a cp2102 Chip as a UART-to-USB converter.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0470---42.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, 2 ICSP headers and a reset button.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428---1000.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it via an external DC power jack (DC 7-12V) or via female headers Vin/ GND(DC 7-12V) to get started.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0470---40.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Installing driver ===&lt;br /&gt;
&lt;br /&gt;
Let’s install the driver of keyestudio PLUS control board. The USB-TTL chip on PLUS 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.&lt;br /&gt;
&lt;br /&gt;
If install unsuccessfully, or you intend to install manually, open the device manager of computer. Right click Computer----- Properties----- Device Manager.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=07.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=08.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=09.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=11.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open device manager, we will find the yellow exclamation mark disappear. The driver of CP2102 is installed successfully.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=12.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=13.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Install other visions of driver ===&lt;br /&gt;
&lt;br /&gt;
If your development board is Arduino UNO board, install the driver as follows:&amp;lt;br&amp;gt;&lt;br /&gt;
Step 1: Plug in the development board, click Computer----- Properties----- Device Manager, you could see the unknown device is shown.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0428---100.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 2: Update the driver&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0428---101.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 3: click“browse my computer for updated driver software”&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0428---102.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
Step 4: find out the folder where the ARDUINO software is installed, click drivers folder and tap“Next”&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0428---103.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 5: the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0428---104.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The device manager shows the serial port of Arduino.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0428---105.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Click[[Image:0486-12.png|200px|frameless]] icon，open Arduino IDE.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0085=14.png|400px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0085=15.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0085=16.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0085=17.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Before uploading the program to the board, let’s demonstrate the function of each symbol in the Arduino IDE toolbar.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A- Used to verify whether there is any compiling mistakes or not.&amp;lt;br&amp;gt;&lt;br /&gt;
B- Used to upload the sketch to your Arduino board.&amp;lt;br&amp;gt;&lt;br /&gt;
C- Used to create shortcut window of a new sketch.&amp;lt;br&amp;gt;&lt;br /&gt;
D- Used to directly open an example sketch.&amp;lt;br&amp;gt;&lt;br /&gt;
E- Used to save the sketch.&amp;lt;br&amp;gt;&lt;br /&gt;
F- Used to send the serial data received from board to the serial monitor.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Start your first program ===&lt;br /&gt;
&lt;br /&gt;
Open the file to select Example, choose BLINK from BASIC, as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:048610png.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:048611png.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the corresponding board and COM port are shown on the lower right of IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:048612png.png|500px|frameless]]&amp;lt;br&amp;gt;         &lt;br /&gt;
&lt;br /&gt;
Click [[Image:0486-20.png|50px|frameless]] to start compiling the program, check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:048613png.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click  [[Image:0486-23.png|50px|frameless]]to upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:048614png.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload the program successfully, the onboard LED lights on for 1s, lights off for 1s. Congratulation, you finish the first program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Add a Library? == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What are Libraries ?&amp;lt;br&amp;gt;&lt;br /&gt;
Libraries are a collection of code that makes it easy for you to connect to a sensor,display, module, etc. &amp;lt;br&amp;gt;&lt;br /&gt;
For example, the built-in LiquidCrystal library helps talk to LCD displays. There are hundreds of additional libraries available on the Internet for download. &amp;lt;br&amp;gt;&lt;br /&gt;
The built-in libraries and some of these additional libraries are listed in the reference. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will introduce the most simple way for you to add libraries .&amp;lt;br&amp;gt;&lt;br /&gt;
Step 1：After downloading well the Arduino IDE, you can right-click the icon of Arduino IDE.&amp;lt;br&amp;gt;&lt;br /&gt;
Find the option &amp;quot;Open file location&amp;quot; shown as below:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085--200.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 2: Enter it to find out libraries folder which is the library file of Arduino.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428---81.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 3：Next to find out the“libraries”of tank robot(seen in the link: https://fs.keyestudio.com/KS0428), you just need to replicate and paste into the libraries folder of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1042801.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1042802.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the libraries of tank robot are installed successfully, as shown below:&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:图片1042803.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Projects == &lt;br /&gt;
&lt;br /&gt;
=== Project 1: LED Blink ===  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(1)Description&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-46.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For the starter and enthusiast, this is a fundamental program---LED Blink.&amp;lt;br&amp;gt; &lt;br /&gt;
LED, the abbreviation of light emitting diodes, consist of Ga, As, P, N chemical compound and so on. The LED can flash diverse color by altering the delay time in the test code. When in control, power on GND and VCC, the LED will be on if S end is high level; nevertheless, it will go off.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(2)Specification&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-47.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Control interface: digital port&lt;br /&gt;
* Working voltage: DC 3.3-5V&lt;br /&gt;
* Pin spacing: 2.54mm&lt;br /&gt;
* LED display color: red&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(3)Equipment&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-48.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(4) V5 Sensor Shield&#039;&#039;&#039; &amp;lt;br&amp;gt;               &lt;br /&gt;
There will be troublesome when we combine Arduino development boards with numerous sensors. However, the V5 sensor shield, compatible with Arduino development board, address this problem perfectly. Just stack V5 board on it.&lt;br /&gt;
This sensor shield can be inserted into 3pin sensor modules and breaks out some some communication pins, like serial, IIC, and SPI communication as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Pins Description&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-49.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Connection Diagram：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428---1.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Seen from the above diagram, LED is linked with D2&lt;br /&gt;
&lt;br /&gt;
(5) Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot V2&lt;br /&gt;
 lesson 1.1&lt;br /&gt;
 Blink&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
void setup()&lt;br /&gt;
 { &lt;br /&gt;
    pinMode(2, OUTPUT);// initialize digital pin 2 as an output.&lt;br /&gt;
}&lt;br /&gt;
void loop() // the loop function runs over and over again forever&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
   digitalWrite(2, HIGH); // turn the LED on (HIGH is the voltage level)&lt;br /&gt;
   delay(1000); // wait for a second&lt;br /&gt;
   digitalWrite(2, LOW); // turn the LED off by making the voltage LOW&lt;br /&gt;
   delay(1000); // wait for a second&lt;br /&gt;
}&lt;br /&gt;
//****************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(6) Test Result&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(There will be contradict about serial communication between code and  Bluetooth when uploading code, therefore, don’t link with Bluetooth module before uploading code.)&lt;br /&gt;
Upload the program on the development board, LED flicker with the interval of 1s.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-50.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(7)Code Explanation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
pinMode(2，OUTPUT) - Set pin2 to OUTPUT&lt;br /&gt;
&lt;br /&gt;
digitalWrite(2，HIGH) - When set pin2 to HIGH level(output 5V) or to LOW level(output 0V)&lt;br /&gt;
&lt;br /&gt;
(8)Extension Practice&lt;br /&gt;
We succeed to blink LED. Next, let’s observe what LED will change if we modify pins and delay time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Connection Diagram&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-51.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
We’ve altered pins and connected LED to D10.&lt;br /&gt;
&lt;br /&gt;
Test Code: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot V2&lt;br /&gt;
 lesson 1.2&lt;br /&gt;
 delay&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
void setup() {  // initialize digital pin 10 as an output.&lt;br /&gt;
   pinMode(10, OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
// the loop function runs over and over again forever&lt;br /&gt;
void loop() {&lt;br /&gt;
   digitalWrite(10, HIGH); // turn the LED on (HIGH is the voltage level)&lt;br /&gt;
   delay(100); // wait for 0.1 second&lt;br /&gt;
   digitalWrite(10, LOW); // turn the LED off by making the voltage LOW&lt;br /&gt;
   delay(100); // wait for 0.1 second&lt;br /&gt;
}&lt;br /&gt;
//****************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The LED flickers faster than before through the test result, therefore, pins and delay time affect flash frequency.&lt;br /&gt;
&lt;br /&gt;
=== Project 2: Adjust LED Brightness ===&lt;br /&gt;
&lt;br /&gt;
(1)Description&lt;br /&gt;
In previous lesson, we control LED on and off and make it blink.&lt;br /&gt;
In this project, we will control LED brightness through PWM to simulate breathing effect. Similarly, you can change the step length and delay time in the code so as to demonstrate different breathing effect.&lt;br /&gt;
PWM is a means of controlling the analog output via digital means. Digital control is used to generate square waves with different duty cycles (a signal that constantly switches between high and low levels) to control the analog output.In general, the input voltage of port are 0V and 5V. What if the 3V is required? Or what if switch among 1V, 3V and 3.5V? We can’t change resistor constantly. For this situation, we need to control by PWM. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=33.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For the Arduino digital port voltage output, there are only LOW and HIGH, which correspond to the voltage output of 0V and 5V. You can define LOW as 0 and HIGH as 1, and let the Arduino output five hundred 0 or 1 signals within 1 second.&lt;br /&gt;
If output five hundred 1, that is 5V; if all of which is 1, that is 0V. If output 010101010101 in this way then the output port is 2.5V, which is like showing movie. The movie we watch are not completely continuous. It actually outputs 25 pictures per second. In this case, the human can’t tell it, neither does PWM. If want different voltage, need to control the ratio of 0 and 1. The more 0,1 signals output per unit time, the more accurately control.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
(2) Specification&lt;br /&gt;
 &lt;br /&gt;
* Control interface: digital port&lt;br /&gt;
* Working voltage: DC 3.3-5V&lt;br /&gt;
* Pin spacing: 2.54mm&lt;br /&gt;
* Display color: red&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(3) Equipment&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-53.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(4) Connection Diagram&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-51.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(5) Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot V2&lt;br /&gt;
 lesson 2.1&lt;br /&gt;
 pwm&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
int ledPin = 10; // Define the LED pin at D10&lt;br /&gt;
int value;&lt;br /&gt;
void setup () &lt;br /&gt;
{&lt;br /&gt;
pinMode (ledPin, OUTPUT); // initialize ledpin as an output.&lt;br /&gt;
}&lt;br /&gt;
void loop () &lt;br /&gt;
{&lt;br /&gt;
for (value = 0; value &amp;lt;255; value = value + 1)&lt;br /&gt;
{&lt;br /&gt;
analogWrite (ledPin, value); // LED lights gradually light up&lt;br /&gt;
delay (5); // delay 5MS&lt;br /&gt;
}&lt;br /&gt;
for (value = 255; value&amp;gt; 0; value = value-1)&lt;br /&gt;
{&lt;br /&gt;
analogWrite (ledPin, value); // LED gradually goes out&lt;br /&gt;
delay (5); // delay 5MS&lt;br /&gt;
}}//**********************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(6)Test Result&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Upload test code successfully, LED gradually becomes brighter then darker, like human breath, rather than light on and off immediately.&lt;br /&gt;
&lt;br /&gt;
(7)Code Explanation&lt;br /&gt;
&lt;br /&gt;
When we need to repeat some statements, we could use FOR statement.&amp;lt;br&amp;gt; &lt;br /&gt;
FOR statement format is shown below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=36.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
FOR cyclic sequence:&lt;br /&gt;
Round 1：1 → 2 → 3 → 4&lt;br /&gt;
Round 2：2 → 3 → 4&lt;br /&gt;
…&lt;br /&gt;
Until number 2 is not established, “for”loop is over,&lt;br /&gt;
After knowing this order, go back to code:&lt;br /&gt;
for (int value = 0; value &amp;lt; 255; value=value+1){&lt;br /&gt;
        ...&lt;br /&gt;
}&lt;br /&gt;
for (int value = 255; value &amp;gt;0; value=value-1){&lt;br /&gt;
       ...&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
The two“for”statements make value increase from 0 to 255, then reduce from 255 to 0, then increase to 255,....infinitely loop&lt;br /&gt;
There is a new function in the following ----- analogWrite()&lt;br /&gt;
We know that digital port only has two state of 0 and 1. So how to send an analog value to a digital value? Here,this function is needed. Let’s observe the Arduino board and find 6 pins marked“~”which can output PWM signals.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Function format as follows:&lt;br /&gt;
analogWrite(pin,value)&lt;br /&gt;
analogWrite() is used to write an analog value from 0~255 for PWM port, so the value is in the range of 0~255. Attention that you only write the digital pins with PWM function, such as pin 3, 5, 6, 9, 10, 11.&amp;lt;br&amp;gt; &lt;br /&gt;
PWM is a technology to obtain analog quantity through digital method. Digital control forms a square wave, and the square wave signal only has two states of turning on and off (that is, high or low levels). By controlling the ratio of the duration of turning on and off, a voltage varying from 0 to 5V can be simulated. The time turning on(academically referred to as high level) is called pulse width, so PWM is also called pulse width modulation.&amp;lt;br&amp;gt; &lt;br /&gt;
Through the following five square waves, let’s acknowledge more about PWM. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0085=37.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the above figure, the green line represents a period, and value of analogWrite() corresponds to a percentage which is called Duty Cycle as well. Duty cycle implies that high-level duration is divided by low-level duration in a cycle. From top to bottom, the duty cycle of first square wave is 0% and its corresponding value is 0. The LED brightness is lowest, that is, turn off. The more time high level lasts, the brighter the LED. &amp;lt;br&amp;gt; Therefore, the last duty cycle is 100%, which correspond to 255, LED is brightest. 25% means darker.&amp;lt;br&amp;gt; &lt;br /&gt;
PWM mostly is used for adjusting the LED brightness or rotation speed of motor.&amp;lt;br&amp;gt; &lt;br /&gt;
It plays vital role in controlling smart robot car. I believe that you can’t wait to enter next project.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(8) Extension Practice：&lt;br /&gt;
&lt;br /&gt;
Let’s modify the value of delay and remain the pin unchanged, then observe how LED changes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot V2&lt;br /&gt;
 lesson 2.2&lt;br /&gt;
 pwm-slow&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
int ledPin = 10; // Define the LED pin at D10&lt;br /&gt;
int value;&lt;br /&gt;
void setup () &lt;br /&gt;
{&lt;br /&gt;
pinMode (ledPin, OUTPUT); // initialize ledpin as an output.&lt;br /&gt;
}&lt;br /&gt;
void loop () &lt;br /&gt;
{&lt;br /&gt;
for (value = 0; value &amp;lt;255; value = value + 1)&lt;br /&gt;
{&lt;br /&gt;
analogWrite (ledPin, value); // LED lights gradually light up&lt;br /&gt;
delay (30); // delay 30MS&lt;br /&gt;
}&lt;br /&gt;
for (value = 255; value&amp;gt; 0; value = value-1)&lt;br /&gt;
{&lt;br /&gt;
analogWrite (ledPin, value); // LED gradually goes out&lt;br /&gt;
delay (30); // delay 30MS&lt;br /&gt;
}}//**********************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload code on the development board and LED gradually get brighter then darker.&lt;br /&gt;
&lt;br /&gt;
=== Project 3: Photoresistor Sensor ===&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-56.png|200px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
 &lt;br /&gt;
(1)Description&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The photoresistor is a special resistor made of semiconductor materials such as CdS or Selenide septum. The surface is also coated with moisture-proof resin, which has a photoconductive effect. It is sensitive to ambient light. Its resistance varies from different light intensities.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
We use the characteristics of the photo-resistor to design the circuit and generate the photo-resistor module.&amp;lt;br&amp;gt; &lt;br /&gt;
Connecting the signal pin of photocell module to Analog port, when the stronger the light intensity, the greater the voltage of analog port, the greater the analog value is. &amp;lt;br&amp;gt; &lt;br /&gt;
On the contrary, the weaker the light intensity, the smaller the voltage of analog port, the smaller the analog value is. &lt;br /&gt;
Based on that, we can use the photocell module to read the analog value, so get the ambient light intensity.&lt;br /&gt;
&lt;br /&gt;
(2)Specification&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-57.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Resistance：5K ohm-0.5Mohm&lt;br /&gt;
* Interface Type: analog&lt;br /&gt;
* Working Voltage: 3.3V-5V&lt;br /&gt;
* Easy installation: with screw fixing holes&lt;br /&gt;
* Pin spacing: 2.54mm&lt;br /&gt;
&lt;br /&gt;
(3)Equipment&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-58.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Connection Diagram：&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-59.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
The two photoresistor sensors are linked with A1 and A2, then finish the experiment via photoresistor connected to A1. Then finish the following experiment via photoresistor connected A1. Let’s read its analog value.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(4)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot V2&lt;br /&gt;
 lesson 3.1&lt;br /&gt;
 photocell&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
int sensorPin = A1;    // select the input pin for the photocell&lt;br /&gt;
int sensorValue = 0;  // variable to store the value coming from the sensor&lt;br /&gt;
void setup() {&lt;br /&gt;
Serial.begin(9600);&lt;br /&gt;
}&lt;br /&gt;
void loop() {&lt;br /&gt;
sensorValue = analogRead(sensorPin);  // read the value from the sensor:&lt;br /&gt;
Serial.println(sensorValue);  //Serial port prints the resistance value&lt;br /&gt;
delay(500);&lt;br /&gt;
}&lt;br /&gt;
//******************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(5)Test Result&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-60.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upload code on development board, open serial monitor, check if its value diminishes when covering photoresistor. However, the value increases when uncovered.&lt;br /&gt;
&lt;br /&gt;
(6)Code Explanation&lt;br /&gt;
analogRead(sensorPin)：read the analog value of photoresistor via analog ports.&lt;br /&gt;
Serial.begin(9600): Initialize the serial port, baud rate of serial communication is 9600&lt;br /&gt;
Serial.println : Serial port prints and word wrap.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(7)Extension Practice&lt;br /&gt;
We’ve known how to read the value of photoresistor. Let’s combine photoresistor with LED and view the status of LED.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-61.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
PWM restrains the brightness, so LED is linked with PWM pins, connect LED to pin 10, keep pin of photoresistor unchanged, then design the code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*keyestudio Mini Tank Robot V2&lt;br /&gt;
lesson 3.2&lt;br /&gt;
photocell-analog output&lt;br /&gt;
http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
int analogInPin = A1;  // Analog input pin that the photocell is attached to&lt;br /&gt;
int analogOutPin = 10; // Analog output pin that the LED is attached to&lt;br /&gt;
int sensorValue = 0;        // value read from the pot&lt;br /&gt;
int outputValue = 0;        // value output to the PWM (analog out)&lt;br /&gt;
void setup() {&lt;br /&gt;
Serial.begin(9600);&lt;br /&gt;
 }&lt;br /&gt;
void loop() {&lt;br /&gt;
  // read the analog in value:&lt;br /&gt;
  sensorValue = analogRead(analogInPin);&lt;br /&gt;
  // map it to the range of the analog out:&lt;br /&gt;
  outputValue = map(sensorValue, 0, 1023, 0, 255);&lt;br /&gt;
  // change the analog out value:&lt;br /&gt;
  analogWrite(analogOutPin, outputValue);&lt;br /&gt;
  // wait 2 milliseconds before the next loop for the analog-to-digital&lt;br /&gt;
  // converter to settle after the last reading:&lt;br /&gt;
 Serial.println(sensorValue);  //serial port prints the value of photoresistor&lt;br /&gt;
delay(2);&lt;br /&gt;
}&lt;br /&gt;
//***************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload code, press it by hand and see the the LED brightness.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project 4: Servo Control ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(1)Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:Ks0194- servo.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Servo motor is a position control rotary actuator. It mainly consists of housing, circuit board, core-less motor, gear and position sensor. Its working principle is that the servo receives the signal sent by MCU or receiver and produces a reference signal with a period of 20ms and width of 1.5ms, then compares the acquired DC bias voltage to the voltage of the potentiometer and obtain the voltage difference output.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
When the motor speed is constant, the potentiometer is driven to rotate through the cascade reduction gear, which leads that the voltage difference is 0, and the motor stops rotating. Generally, the angle range of servo rotation is 0° --180 °&lt;br /&gt;
&lt;br /&gt;
The rotation angle of servo motor is controlled by regulating the duty cycle of PWM (Pulse-Width Modulation) signal. The standard cycle of PWM signal is 20ms (50Hz). Theoretically, the width is distributed between 1ms-2ms, but in fact, it&#039;s between 0.5ms-2.5ms. The width corresponds the rotation angle from 0° to 180°. But note that for different brand motor, the same signal may have different rotation angle.   &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-69.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The corresponding servo angles are shown below:&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-70.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(2)Specification&#039;&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Working voltage: DC 4.8V ~ 6V&lt;br /&gt;
* Operating angle range: about 180 ° (at 500 → 2500 μsec)&lt;br /&gt;
* Pulse width range: 500 → 2500 μsec&lt;br /&gt;
* No-load speed: 0.12 ± 0.01 sec / 60 (DC 4.8V) 0.1 ± 0.01 sec / 60 (DC 6V)&lt;br /&gt;
* No-load current: 200 ± 20mA (DC 4.8V) 220 ± 20mA (DC 6V)&lt;br /&gt;
* Stopping torque: 1.3 ± 0.01kg · cm (DC 4.8V) 1.5 ± 0.1kg · cm (DC 6V)&lt;br /&gt;
* Stop current: ≦ 850mA (DC 4.8V) ≦ 1000mA (DC 6V)&lt;br /&gt;
* Standby current: 3 ± 1mA (DC 4.8V) 4 ± 1mA (DC 6V)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(3)Equipment&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-71.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(4)Connection Diagram：&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-72.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Wiring note: the brown line of servo is linked with Gnd(G), the red line is connected to 5v(V) and orange line is attached to digital 9.&lt;br /&gt;
&lt;br /&gt;
The servo have to be connected to external power, due to its high demand for driving servo current. Generally, the current of development board is not enough. If without connected power, the development board could be burnt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(5)Test Code1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
keyestudio Mini Tank Robot V2&lt;br /&gt;
lesson 4.1&lt;br /&gt;
Servo&lt;br /&gt;
http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
#define servoPin 9  //servo Pin&lt;br /&gt;
int pos; //angle variable of servo&lt;br /&gt;
int pulsewidth; // pulse width variable of servo&lt;br /&gt;
void setup() {&lt;br /&gt;
  pinMode(servoPin, OUTPUT);  //set servo pin to OUTPUT&lt;br /&gt;
  procedure(0); //set the angle of servo to 0°&lt;br /&gt;
}&lt;br /&gt;
void loop() {&lt;br /&gt;
  for (pos = 0; pos &amp;lt;= 180; pos += 1) { // goes from 0 degrees to 180 degrees&lt;br /&gt;
    // in steps of 1 degree&lt;br /&gt;
    procedure(pos);              // tell servo to go to position in variable &#039;pos&#039;&lt;br /&gt;
    delay(15);                   //control the rotation speed of servo&lt;br /&gt;
  }&lt;br /&gt;
  for (pos = 180; pos &amp;gt;= 0; pos -= 1) { // goes from 180 degrees to 0 degrees&lt;br /&gt;
    procedure(pos);              // tell servo to go to position in variable &#039;pos&#039;&lt;br /&gt;
    delay(15);                    &lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
// function to control servo&lt;br /&gt;
void procedure(int myangle) {&lt;br /&gt;
  pulsewidth = myangle * 11 + 500;  //calculate the value of pulse width&lt;br /&gt;
  digitalWrite(servoPin,HIGH);&lt;br /&gt;
  delayMicroseconds(pulsewidth);   //The duration of high level is pulse width&lt;br /&gt;
  digitalWrite(servoPin,LOW);&lt;br /&gt;
  delay((20 - pulsewidth / 1000));  // the cycle is 20ms, the low level last for the rest of time&lt;br /&gt;
}&lt;br /&gt;
//********************************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload code successfully, servo swings back in the range of 0° to 180°&lt;br /&gt;
&lt;br /&gt;
There is another guide for restraining servo---- servo library file, the following link of official website is for your reference.&lt;br /&gt;
https://www.arduino.cc/en/Reference/Servo&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;big&amp;gt;Servo library file&amp;lt;/big&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(6)Test Code2&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot V2&lt;br /&gt;
 lesson 4.2&lt;br /&gt;
 servo&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
#include &amp;lt;Servo.h&amp;gt;&lt;br /&gt;
Servo myservo;  // create servo object to control a servo&lt;br /&gt;
// twelve servo objects can be created on most boards&lt;br /&gt;
int pos = 0;    // variable to store the servo position&lt;br /&gt;
void setup() {&lt;br /&gt;
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object&lt;br /&gt;
}&lt;br /&gt;
void loop() {&lt;br /&gt;
  for (pos = 0; pos &amp;lt;= 180; pos += 1) { // goes from 0 degrees to 180 degrees&lt;br /&gt;
    // in steps of 1 degree&lt;br /&gt;
    myservo.write(pos);              // tell servo to go to position in variable &#039;pos&#039;&lt;br /&gt;
    delay(15);                       // waits 15ms for the servo to reach the position&lt;br /&gt;
  }&lt;br /&gt;
  for (pos = 180; pos &amp;gt;= 0; pos -= 1) { // goes from 180 degrees to 0 degrees&lt;br /&gt;
    myservo.write(pos);              // tell servo to go to position in variable &#039;pos&#039;&lt;br /&gt;
    delay(15);                       // waits 15ms for the servo to reach the position&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
//****************************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(7)Test Result&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Upload code successfully and power on, servo rotates in the range of 0° to 180°. The result is same. We usually control it by library file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
(8)Code Explanation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Arduino comes with #include &amp;lt;Servo.h&amp;gt; (servo function and statement）&lt;br /&gt;
The following are some common statements of the servo function:&lt;br /&gt;
1. attach（interface）——Set servo interface, port 9 and 10 are available&lt;br /&gt;
&lt;br /&gt;
3.write（angle）——The statement to set rotation angle of servo, the angle range is from 0° to 180°&lt;br /&gt;
3. read（）——The statement to read angle of servo, read the command value of “write()”&lt;br /&gt;
4. Note: The above written format is “servo variable name, specific statement（）”, for instance: myservo.attach(9)&lt;br /&gt;
&lt;br /&gt;
=== Project 5: Ultrasonic Sensor ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(1)Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-73.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The HC-SR04 ultrasonic sensor uses sonar to determine distance to an object like bats do. It offers excellent non-contact range detection with high accuracy and stable readings in an easy-to-use package. It comes complete with ultrasonic transmitter and receiver modules.&amp;lt;br&amp;gt; &lt;br /&gt;
The HC-SR04 or the ultrasonic sensor is being used in a wide range of electronics projects for creating obstacle detection and distance measuring application as well as various other applications. Here we have brought the simple method to measure the distance with arduino and ultrasonic sensor and how to use ultrasonic sensor with arduino.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(2)Specification&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-74.png|500px|right|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Power Supply :+5V DC&lt;br /&gt;
* Quiescent Current : &amp;lt;2mA&lt;br /&gt;
* Working Current: 15mA&lt;br /&gt;
* Effectual Angle: &amp;lt;15°&lt;br /&gt;
* Ranging Distance : 2cm – 400 cm&lt;br /&gt;
* Resolution : 0.3 cm&lt;br /&gt;
* Measuring Angle: 30 degree&lt;br /&gt;
* Trigger Input Pulse width: 10uS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(3)Equipment&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-75.png|600px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(4)The principle of ultrasonic sensor&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
As the above picture shown, it is like two eyes. One is transmitting end, the other is receiving end.&lt;br /&gt;
&lt;br /&gt;
The ultrasonic module will emit the ultrasonic waves after trigger signal. When the ultrasonic waves encounter the object and are reflected back, the module outputs an echo signal, so it can determine the distance of object from the time difference between trigger signal and echo signal. &lt;br /&gt;
The t is the time that emitting signal meets obstacle and returns.&lt;br /&gt;
and the propagation speed of sound in the air is about 343m/s, therefore,  distance = speed * time, because the ultrasonic wave emits and comes back, which is 2 times of distance, so it needs to be divided by 2, the distance measured by ultrasonic wave = (speed * time)/2&lt;br /&gt;
&lt;br /&gt;
1.Use method and timing chart of ultrasonic module:&lt;br /&gt;
Setting the delay time of Trig pin of SR04 to 10μs at least, which can trigger it to detect distance.&lt;br /&gt;
2. After triggering, the module will automatically send eight 40KHz ultrasonic pulses and detect whether there is a signal return. This step will be completed automatically by the module.&lt;br /&gt;
3. If the signal returns, the Echo pin will output a high level, and the duration of the high level is the time from the transmission of the ultrasonic wave to the return.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-84.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Circuit diagram of ultrasonic sensor:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428---106.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(5)Connection Diagram&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-83.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-85.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(6)Test Code&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot V2&lt;br /&gt;
 lesson 5&lt;br /&gt;
 Ultrasonic sensor&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
int trigPin = 5;    // Trigger&lt;br /&gt;
int echoPin = 4;    // Echo&lt;br /&gt;
long duration, cm, inches;&lt;br /&gt;
void setup() {&lt;br /&gt;
  //Serial Port begin&lt;br /&gt;
  Serial.begin (9600);&lt;br /&gt;
  //Define inputs and outputs&lt;br /&gt;
  pinMode(trigPin, OUTPUT);&lt;br /&gt;
  pinMode(echoPin, INPUT);&lt;br /&gt;
}&lt;br /&gt;
void loop() {&lt;br /&gt;
  // The sensor is triggered by a HIGH pulse of 10 or more microseconds.&lt;br /&gt;
  // Give a short LOW pulse beforehand to ensure a clean HIGH pulse:&lt;br /&gt;
  digitalWrite(trigPin, LOW);&lt;br /&gt;
  delayMicroseconds(2);&lt;br /&gt;
  digitalWrite(trigPin, HIGH);&lt;br /&gt;
  delayMicroseconds(10);&lt;br /&gt;
  digitalWrite(trigPin, LOW);&lt;br /&gt;
   // Read the signal from the sensor: a HIGH pulse whose&lt;br /&gt;
  // duration is the time (in microseconds) from the sending&lt;br /&gt;
  // of the ping to the reception of its echo off of an object.&lt;br /&gt;
  duration = pulseIn(echoPin, HIGH);&lt;br /&gt;
   // Convert the time into a distance&lt;br /&gt;
  cm = (duration/2) / 29.1;     // Divide by 29.1 or multiply by 0.0343&lt;br /&gt;
  inches = (duration/2) / 74;   // Divide by 74 or multiply by 0.0135&lt;br /&gt;
  Serial.print(inches);&lt;br /&gt;
  Serial.print(&amp;quot;in, &amp;quot;);&lt;br /&gt;
  Serial.print(cm);&lt;br /&gt;
  Serial.print(&amp;quot;cm&amp;quot;);&lt;br /&gt;
  Serial.println();&lt;br /&gt;
  delay(250);&lt;br /&gt;
}&lt;br /&gt;
//****************************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(7)Test Result&lt;br /&gt;
Upload test code on the development board, open serial monitor and set baud rate to 9600. The detected distance will be displayed, unit is cm and inch. Hinder the ultrasonic sensor by hand, the displayed distance value is smaller.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-86.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(8)Code Explanation&lt;br /&gt;
int trigPin = 5; this pin is defined pin to transmit ultrasonic waves, generally output.&lt;br /&gt;
int echoPin = 4; this is defined as the pin of reception, generally input&lt;br /&gt;
cm = (duration/2) / 29.1;   inches = (duration/2) / 74;  by 0.0135&lt;br /&gt;
We can calculate the distance by using the following formula:&lt;br /&gt;
distance = (traveltime/2) x speed of sound&lt;br /&gt;
The speed of sound is: 343m/s = 0.0343 cm/uS = 1/29.1 cm/uS&lt;br /&gt;
Or in inches: 13503.9in/s = 0.0135in/uS = 1/74in/uS&lt;br /&gt;
We need to divide the traveltime by 2 because we have to take into account that the wave was sent, hit the object, and then returned back to the sensor.&lt;br /&gt;
(9)Extension Practice:&lt;br /&gt;
We have just measured the distance displayed by the ultrasonic. How about controlling the LED with the measured distance? Let&#039;s try it, connect an LED light module to the D10 pin.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-87.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot V2&lt;br /&gt;
 lesson 5&lt;br /&gt;
 Ultrasonic LED&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
int trigPin = 5;    // Trigger&lt;br /&gt;
int echoPin = 4;    // Echo&lt;br /&gt;
long duration, cm, inches;&lt;br /&gt;
void setup() {&lt;br /&gt;
  //Serial Port begin&lt;br /&gt;
  Serial.begin (9600);&lt;br /&gt;
  //Define inputs and outputs&lt;br /&gt;
  pinMode(trigPin, OUTPUT);&lt;br /&gt;
  pinMode(echoPin, INPUT);&lt;br /&gt;
}&lt;br /&gt;
 void loop() &lt;br /&gt;
{&lt;br /&gt;
  // The sensor is triggered by a HIGH pulse of 10 or more microseconds.&lt;br /&gt;
  // Give a short LOW pulse beforehand to ensure a clean HIGH pulse:&lt;br /&gt;
  digitalWrite(trigPin, LOW);&lt;br /&gt;
  delayMicroseconds(2);&lt;br /&gt;
  digitalWrite(trigPin, HIGH);&lt;br /&gt;
  delayMicroseconds(10);&lt;br /&gt;
  digitalWrite(trigPin, LOW);&lt;br /&gt;
  // Read the signal from the sensor: a HIGH pulse whose&lt;br /&gt;
  // duration is the time (in microseconds) from the sending&lt;br /&gt;
  // of the ping to the reception of its echo off of an object.&lt;br /&gt;
  duration = pulseIn(echoPin, HIGH);&lt;br /&gt;
  // Convert the time into a distance&lt;br /&gt;
  cm = (duration/2) / 29.1;     // Divide by 29.1 or multiply by 0.0343&lt;br /&gt;
  inches = (duration/2) / 74;   // Divide by 74 or multiply by 0.0135&lt;br /&gt;
  Serial.print(inches);&lt;br /&gt;
  Serial.print(&amp;quot;in, &amp;quot;);&lt;br /&gt;
  Serial.print(cm);&lt;br /&gt;
  Serial.print(&amp;quot;cm&amp;quot;);&lt;br /&gt;
  Serial.println();&lt;br /&gt;
  delay(250);&lt;br /&gt;
if (cm&amp;gt;=2 &amp;amp;&amp;amp; cm&amp;lt;=10)&lt;br /&gt;
digitalWrite(10, HIGH);&lt;br /&gt;
delay(1000);&lt;br /&gt;
digitalWrite(10, LOW);&lt;br /&gt;
delay(1000);&lt;br /&gt;
}&lt;br /&gt;
//****************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload test code to development board and block ultrasonic sensor by hand, then check if LED is on&lt;br /&gt;
&lt;br /&gt;
=== Project 6: IR Reception === &lt;br /&gt;
&lt;br /&gt;
(1)Description&amp;lt;br&amp;gt; &lt;br /&gt;
There is no doubt that infrared remote control is ubiquitous in daily life. It is used to control various household appliances, such as TVs, stereos, video recorders and satellite signal receivers. Infrared remote control is composed of infrared transmitting and infrared receiving systems, that is, an infrared remote control and infrared receiving module and a single-chip microcomputer capable of decoding.​    &amp;lt;br&amp;gt; &lt;br /&gt;
The 38K infrared carrier signal emitted by remote controller is encoded by the encoding chip in the remote controller. It is composed of a section of pilot code, user code, user inverse code, data code, and data inverse code. The time interval of the pulse is used to distinguish whether it is a 0 or 1 signal and the encoding is made up of these 0, 1 signals. &amp;lt;br&amp;gt; &lt;br /&gt;
The user code of the same remote control is unchanged. The data code can distinguish the key.&amp;lt;br&amp;gt; &lt;br /&gt;
When the remote control button is pressed, the remote control sends out an infrared carrier signal. When the IR receiver receives the signal, the program will decode the carrier signal and determines which key is pressed. The MCU decodes the received 01 signal, thereby judging what key is pressed by the remote control.&amp;lt;br&amp;gt; &lt;br /&gt;
Infrared receiver we use is an infrared receiver module. Mainly composed of an infrared receiver head, it is a device that integrates reception, amplification, and demodulation. Its internal IC has completed demodulation, and can achieve from infrared reception to output and be compatible with TTL signals. Additionally, it is suitable for infrared remote control and infrared data transmission. The infrared receiving module made by the receiver has only three pins, signal line, VCC and GND. It is very convenient to communicate with arduino and other microcontrollers.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-88.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(2)Specification&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-89.png|200px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Operating Voltage: 3.3-5V（DC）&lt;br /&gt;
* Interface: 3PIN&lt;br /&gt;
* Output Signal: Digital signal&lt;br /&gt;
* Receiving Angle: 90 degrees&lt;br /&gt;
* Frequency: 38khz&lt;br /&gt;
* Receiving Distance: 10m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(3)Equipment&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-90.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(4)Connection Diagram&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-91.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Respectively link “-”、“+” and S of IR receiver module with G(GND）, V（VCC）and A0 of keyestudio development board.&amp;lt;br&amp;gt; &lt;br /&gt;
Attention: On the condition that digital ports are not available, analog ports can be regarded as digital ports. A0 equals to D14, A1 is equivalent to digital 15.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(5)Test Code&lt;br /&gt;
&lt;br /&gt;
Firstly import library file of IR receiver module(refer to how to import Arduino library file) before designing code.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
keyestudio Mini Tank Robot V2&lt;br /&gt;
lesson 6&lt;br /&gt;
IRremote&lt;br /&gt;
http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
#include &amp;lt;IRremoteTank.h&amp;gt;     // IRremote library statement&lt;br /&gt;
int RECV_PIN = A0;        //define the pins of IR receiver as A0&lt;br /&gt;
IRrecv irrecv(RECV_PIN);   &lt;br /&gt;
decode_results results;   // decode results exist in the “result” of “decode results”&lt;br /&gt;
void setup()  &lt;br /&gt;
	{  &lt;br /&gt;
      Serial.begin(9600);  &lt;br /&gt;
      irrecv.enableIRIn(); //Enable receiver&lt;br /&gt;
	}  &lt;br /&gt;
 void loop() {  &lt;br /&gt;
	  if (irrecv.decode(&amp;amp;results))//decode successfully, receive a set of infrared signals&lt;br /&gt;
	  {  &lt;br /&gt;
	    Serial.println(results.value, HEX);//Wrap word in 16 HEX to output and receive code &lt;br /&gt;
	    irrecv.resume(); // Receive the next value&lt;br /&gt;
	  }  &lt;br /&gt;
	  delay(100);  &lt;br /&gt;
	}  &lt;br /&gt;
//*******************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(6)Test Result&lt;br /&gt;
&lt;br /&gt;
Upload test code, open serial monitor and set baud rate to 9600, point remote control to IR receiver and the corresponding value will be shown, if pressing so long, the error codes will appear.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-92.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Below we have listed out each button value of keyestudio remote control. So you can keep it for reference. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-93.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(7)Code Explanation&amp;lt;br&amp;gt; &lt;br /&gt;
irrecv.enableIRIn(): after enabling IR decoding, the IR signals will be received, then function“decode()”will check continuously if decode successfully.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
irrecv.decode(&amp;amp;results): after decoding successfully, this function will come back to “true”, and keep result in “results”. After decoding a IR signals, run the resume()function and receive the next signal&lt;br /&gt;
(8)Extension Practice&lt;br /&gt;
We decoded the key value of IR remote control. How about restrain LED by the measured value? We could operate an experiment to affirm. Attach a LED to D10. When keep the pin of IR receiver unchanged, LED will be on when pressing the key of remote control; press again, LED will be off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-94.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* keyestudio Mini Tank Robot V2&lt;br /&gt;
lesson 6.2&lt;br /&gt;
IRremote&lt;br /&gt;
http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
#include &amp;lt;IRremoteTank.h&amp;gt;&lt;br /&gt;
int RECV_PIN = A0;//define the pin of IR receiver as A0&lt;br /&gt;
int LED_PIN=10;//define the pin of LED&lt;br /&gt;
int a=0;&lt;br /&gt;
IRrecv irrecv(RECV_PIN);&lt;br /&gt;
decode_results results;&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  irrecv.enableIRIn(); // Initialize the IR receiver &lt;br /&gt;
  pinMode(LED_PIN,OUTPUT);//set LED_pin to OUTPUT&lt;br /&gt;
}&lt;br /&gt;
void loop() {&lt;br /&gt;
  if (irrecv.decode(&amp;amp;results)) {&lt;br /&gt;
if(results.value==0xFF02FD &amp;amp;a==0) // according to the above key value, press“OK”on remote control , LED will be controlled&lt;br /&gt;
{&lt;br /&gt;
    digitalWrite(LED_PIN,HIGH);//LED will be on&lt;br /&gt;
a=1;&lt;br /&gt;
}&lt;br /&gt;
else if(results.value==0xFF02FD &amp;amp;a==1) //press again&lt;br /&gt;
{&lt;br /&gt;
digitalWrite(LED_PIN,LOW);//LED will go off&lt;br /&gt;
a=0;&lt;br /&gt;
}&lt;br /&gt;
    irrecv.resume(); //receive the next value&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
//*******************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload code to development board, press“OK”key on remote control to make LED on and off.&lt;br /&gt;
&lt;br /&gt;
=== Project 7: Bluetooth Remote Control ===&lt;br /&gt;
&lt;br /&gt;
(1)Description&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-95.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Bluetooth, a simple wireless communication module most popular since the last few decades and easy to use are being used in most of the battery-powered devices.&amp;lt;br&amp;gt; &lt;br /&gt;
Over the years, there have been many upgrades of Bluetooth standard to keep fulfil the demand of customers and technology according to the need of time and situation.&lt;br /&gt;
Over the few years, there are many things changed including data transmission rate, power consumption with wearable and IoT Devices and Security System.&amp;lt;br&amp;gt; &lt;br /&gt;
Here we are going to learn about HM-10 BLE 4.0 with Arduino Board. The HM-10 is a readily available Bluetooth 4.0 module. This module is used for establishing wireless data communication. The module is designed by using the Texas Instruments CC2540 or CC2541 Bluetooth low energy (BLE) System on Chip (SoC). &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(2)Specification&lt;br /&gt;
&lt;br /&gt;
* Bluetooth protocol: Bluetooth Specification V4.0 BLE&lt;br /&gt;
* No byte limit in serial port Transceiving&lt;br /&gt;
* In open environment, realize 100m ultra-distance communication with iphone4s&lt;br /&gt;
* Working frequency: 2.4GHz ISM band&lt;br /&gt;
* Modulation method: GFSK(Gaussian Frequency Shift Keying)&lt;br /&gt;
* Transmission power: -23dbm, -6dbm, 0dbm, 6dbm, can be modified by AT command.&lt;br /&gt;
* Sensitivity: ≤-84dBm at 0.1% BER&lt;br /&gt;
* Transmission rate: Asynchronous: 6K bytes ; Synchronous: 6k Bytes&lt;br /&gt;
* Security feature: Authentication and encryption&lt;br /&gt;
* Supporting service: Central &amp;amp; Peripheral UUID FFE0, FFE1&lt;br /&gt;
* Power consumption: Auto sleep mode, stand by current 400uA~800uA, 8.5mA during transmission.&lt;br /&gt;
* Power supply: 5V DC&lt;br /&gt;
* Working temperature: –5 to +65 Centigrade&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(3)Equipment&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-96.png|600px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(4)Connection Diagram&lt;br /&gt;
&lt;br /&gt;
* 1. STATE: state test pins, connected to internal LED, generally keep it unconnected.&lt;br /&gt;
* 2. RXD: serial interface, receiving terminal.&lt;br /&gt;
* 3. TXD: serial interface, transmitting terminal.&lt;br /&gt;
* 4. GND: Ground.&lt;br /&gt;
* 5. VCC: positive pole of the power source.&lt;br /&gt;
* 6. EN/BRK: break connect, it means breaking the Bluetooth connection, generally, keep it unconnected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-97.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(5)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 7.1&lt;br /&gt;
 bluetooth &lt;br /&gt;
http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
char ble_val; //character variable: save the value of Bluetooth reception&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
}&lt;br /&gt;
void loop() {&lt;br /&gt;
  if(Serial.available() &amp;gt; 0)  //Judge if there is data in serial buffer&lt;br /&gt;
  {&lt;br /&gt;
    ble_val = Serial.read();  //Read data from serial buffer&lt;br /&gt;
    Serial.println(ble_val);  //Print&lt;br /&gt;
  }}&lt;br /&gt;
//*******************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(There will be contradiction between serial communication of code and communication of Bluetooth when uploading code, therefore, don’t link with Bluetooth module before uploading code.)&amp;lt;br&amp;gt; &lt;br /&gt;
After uploading code on development board, then insert Bluetooth module, wait for the command from cellphone.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(6)Download APP&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=color:red&amp;gt;Allow APP to access “location” in settings of your cellphone when connecting to Bluetooth module.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The code is reading the received signal, and we also need a stuff to send signal. In this project, we send signal to control robot car via cellphone.&amp;lt;br&amp;gt; &lt;br /&gt;
Then we need to download the APP.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.For iOS system&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enter APP STORE to search BLE Scanner 4.0, then download it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-98.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.For Android system&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enter Google Play to find out BLE Scanner, then download.&amp;lt;br&amp;gt; &lt;br /&gt;
And allow APP to access“location”, you could enable “location”in settings of your cellphone.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-99.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* 3.After installation, open App and enable “Location and Bluetooth” permission.&lt;br /&gt;
* 4.We take iOS version as example. The operation method of Android version is almost same as it.&lt;br /&gt;
* 5.Scan Bluetooth module to get Bluetooth BLE 4.0. Its name is HMSoft.&lt;br /&gt;
Then click“connect”to link with Bluetooth and use it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-100.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
6. After connecting to HMSoft, click it to get multiple options, such as device information, access permission, general and custom service. Choose “CUSTOM SERVICE”&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-101.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
7.Then pop up the following page&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-102.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
8. Click（Read,Notify,WriteWithoutResponse)to enter the following page&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-103.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
9.Click Write Value, appear the interface to enter HEX or Text.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-104.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
10.Open the serial monitor on Arduino，enter a 0 or other character at Text interface.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-105.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Then click“Write”, open serial monitor to view if there is a “0” signal&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-106.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(7)Code Explanation&lt;br /&gt;
&lt;br /&gt;
Serial.available() : The current rest characters when return to buffer area. Generally, this function is used to judge if there is data in buffer. When Serial.available()&amp;gt;0, it means that serial receives the data and can be read&amp;lt;br&amp;gt; &lt;br /&gt;
Serial.read()：Read a data of a Byte in buffer of serial port, for instance, device sends data to Arduino via serial port, then we could read data by “Serial.read()”&lt;br /&gt;
(8)Extension Practice&amp;lt;br&amp;gt; &lt;br /&gt;
We could send a command via cellphone to turn on and off a LED. &amp;lt;br&amp;gt; &lt;br /&gt;
D10 is connected to a LED, as shown below:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-107.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 7.2&lt;br /&gt;
 Bluetooth &lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
int ledpin=11;&lt;br /&gt;
void setup()&lt;br /&gt;
{Serial.begin(9600);&lt;br /&gt;
 pinMode(ledpin,OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
void loop()&lt;br /&gt;
{ int i;&lt;br /&gt;
  if (Serial.available())&lt;br /&gt;
  {i=Serial.read();&lt;br /&gt;
    Serial.println(&amp;quot;DATA RECEIVED:&amp;quot;);&lt;br /&gt;
    if(i==&#039;1&#039;)&lt;br /&gt;
    { digitalWrite(ledpin,1);&lt;br /&gt;
      Serial.println(&amp;quot;led on&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    if(i==&#039;0&#039;)&lt;br /&gt;
    { digitalWrite(ledpin,0);&lt;br /&gt;
      Serial.println(&amp;quot;led off&amp;quot;);&lt;br /&gt;
}}}//*******************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-108.png|300px|frameless|thumb]] [[File:0428-105.png|300px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click “Write” on APP, when you enter 1, LED will be on, when you input 0, LED will be off. (Remember to remove the Bluetooth module after finishing experiment, otherwise, burning code will be affected)&lt;br /&gt;
&lt;br /&gt;
=== Project 8: Motor Driving and Speed Control ===&lt;br /&gt;
&lt;br /&gt;
(1) Description&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-110.png|300px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
There are many ways to drive the motor. Our tank robot uses the most commonly used L298P solution. L298P is an excellent high-power motor driver IC produced by STMicroelectronics. It can directly drive DC motors, two-phase and four-phase stepping motors. The driving current up to 2A, and output terminal of motor adopts eight high-speed Schottky diodes as protection.&amp;lt;br&amp;gt; &lt;br /&gt;
We designed a shield based on the circuit of L298p. &amp;lt;br&amp;gt; &lt;br /&gt;
The stacked design reduces the technical difficulty of using and driving the motor.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(2)Specification&lt;br /&gt;
&lt;br /&gt;
Circuit Diagram for L298P Board&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-111.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* 1)Logic part input voltage: DC5V&lt;br /&gt;
* 2)Driving part input voltage: DC 7-12V&lt;br /&gt;
* 3)Logic part working current: &amp;lt;36mA&lt;br /&gt;
* 4)Driving part working current: &amp;lt;2A&lt;br /&gt;
* 5)Maximum power dissipation: 25W (T=75℃)&lt;br /&gt;
* 6)Working temperature: -25℃～＋130℃&lt;br /&gt;
* 7)Control signal input level: high level 2.3V&amp;lt;Vin&amp;lt;5V, low level -0.3V&amp;lt;Vin&amp;lt;1.5V&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-112.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(3)Drive Robot to Move&lt;br /&gt;
&lt;br /&gt;
Through the above circuit diagram, the direction pin of A motor is D12, and speed pin is D3; D13 is the direction pin of B motor, D11 is speed pin.&amp;lt;br&amp;gt; &lt;br /&gt;
We know how to control digital ports according to the following chart.&amp;lt;br&amp;gt; &lt;br /&gt;
PWM decides 2 motors to turn so as to drive robot car. The PWM value is in the range of 0-255, the larger the number, the faster the motor rotates.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-113.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(4)Equipment&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-114.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(5)Connection Diagram&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-2.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Note: the 4Pin terminal block is marked with silkscreen 1234. The red line of right rear motor is connected to terminal 1, black line is linked with end 2. The red line of left front motor is attached to terminal 3, black line is linked with port 4. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(6)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 8.1&lt;br /&gt;
 motor driver&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
&lt;br /&gt;
#define ML_Ctrl 13  //define the direction control pin of left motor&lt;br /&gt;
#define ML_PWM 11   //define the PWM control pin of left motor&lt;br /&gt;
#define MR_Ctrl 12  //define direction control pin of right motor&lt;br /&gt;
#define MR_PWM 3   // define the PWM control pin of right motor&lt;br /&gt;
&lt;br /&gt;
void setup()&lt;br /&gt;
{&lt;br /&gt;
  pinMode(ML_Ctrl, OUTPUT);//define direction control pin of left motor as output&lt;br /&gt;
  pinMode(ML_PWM, OUTPUT);//define PWM control pin of left motor as output&lt;br /&gt;
  pinMode(MR_Ctrl, OUTPUT);//define direction control pin of right motor as output.&lt;br /&gt;
  pinMode(MR_PWM, OUTPUT);//define the PWM control pin of right motor as output&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop()&lt;br /&gt;
{ &lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);//set the direction control pin of left motor to LOW&lt;br /&gt;
  analogWrite(ML_PWM,200);//set the PWM control speed of left motor to 200&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);//set the direction control pin of right motor to LOW&lt;br /&gt;
  analogWrite(MR_PWM,200);//set the PWM control speed of right motor to 200&lt;br /&gt;
&lt;br /&gt;
  //front&lt;br /&gt;
  delay(2000);//delay in 2s&lt;br /&gt;
   digitalWrite(ML_Ctrl,HIGH);//set the direction control pin of left motor to HIGH&lt;br /&gt;
  analogWrite(ML_PWM,200);//set the PWM control speed of left motor to 200  &lt;br /&gt;
digitalWrite(MR_Ctrl,HIGH);//set the direction control pin of right motor to HIGH&lt;br /&gt;
  analogWrite(MR_PWM,200);//set the PWM control speed of right motor to 200&lt;br /&gt;
&lt;br /&gt;
   //back&lt;br /&gt;
  delay(2000);//delay in 2s &lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);//set the direction control pin of left motor to HIGH&lt;br /&gt;
  analogWrite(ML_PWM,200);//set the PWM control speed of left motor to 200&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);//set the direction control pin of right motor to LOW&lt;br /&gt;
  analogWrite(MR_PWM,200);//set the PWM control speed of right motor to 200&lt;br /&gt;
&lt;br /&gt;
    //left&lt;br /&gt;
  delay(2000);//delay in 2s&lt;br /&gt;
   digitalWrite(ML_Ctrl,LOW);//set the direction control pin of left motor to LOW&lt;br /&gt;
  analogWrite(ML_PWM,200);//set the PWM control speed of left motor to 200&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);//set the direction control pin of right motor to HIGH&lt;br /&gt;
  analogWrite(MR_PWM,200);//set the PWM control speed of right motor to 200&lt;br /&gt;
&lt;br /&gt;
   //right&lt;br /&gt;
  delay(2000);//delay in 2s&lt;br /&gt;
  analogWrite(ML_PWM,0);//set the PWM control speed of left motor to 0&lt;br /&gt;
  analogWrite(MR_PWM,0);//set the PWM control speed of right motor to 0&lt;br /&gt;
&lt;br /&gt;
    //stop&lt;br /&gt;
  delay(2000);//delay in 2s&lt;br /&gt;
}//*****************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(7)Test Result&lt;br /&gt;
&lt;br /&gt;
Hook up by connection diagram, upload code and power on, smart car goes forward and back for 2s, turns left and right for 2s, stops for 2s and alternately.&amp;lt;br&amp;gt; &lt;br /&gt;
(8) Code Explanation&amp;lt;br&amp;gt; &lt;br /&gt;
digitalWrite(ML_Ctrl,LOW): the rotation direction of motor is decided by the high/low level and and the pins that decide rotation direction are general pins.&amp;lt;br&amp;gt; &lt;br /&gt;
analogWrite(ML_PWM,200): the speed of motor is regulated by PWM, The speed of motor is regulated by PWM, and the pins that decide the speed of motor have to be PWM pins.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(9)Extension Practice&lt;br /&gt;
&lt;br /&gt;
Hook up in same way&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:04288-2.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 8.2&lt;br /&gt;
 motor driver pwm&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
#define ML_Ctrl 13  //define the direction control pin of left motor&lt;br /&gt;
#define ML_PWM 11   //define the PWM control pin of left motor&lt;br /&gt;
#define MR_Ctrl 12  //define the control pin of right motor&lt;br /&gt;
#define MR_PWM 3   //define the PWM control pin of right motor&lt;br /&gt;
void setup()&lt;br /&gt;
{ pinMode(ML_Ctrl, OUTPUT);//define the direction control pin of left motor as OUTPUT&lt;br /&gt;
  pinMode(ML_PWM, OUTPUT);//define the PWM control pin of left motor as OUTPUT&lt;br /&gt;
  pinMode(MR_Ctrl, OUTPUT);//define the direction control pin of right motor as OUTPUT&lt;br /&gt;
  pinMode(MR_PWM, OUTPUT);//define the PWM control pin of right motor as OUTPUT&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
void loop()&lt;br /&gt;
{ digitalWrite(ML_Ctrl,LOW);//Set direction control pin of left motor to LOW&lt;br /&gt;
  analogWrite(ML_PWM,100);// Set the PWM control speed of left motor to 100&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);//Set the direction control pin of right motor to LOW&lt;br /&gt;
  analogWrite(MR_PWM,100);//Set the PWM control speed of right motor to 100&lt;br /&gt;
  //front&lt;br /&gt;
  delay(2000);//define 2s&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);//Set direction control pin of left motor to HIGH level&lt;br /&gt;
  analogWrite(ML_PWM,100);//Set the PWM control speed of left motor to 100&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);//Set direction control pin of right motor to HIGH level&lt;br /&gt;
  analogWrite(MR_PWM,100);//Set the PWM control speed of right motor to 100&lt;br /&gt;
   //back&lt;br /&gt;
  delay(2000);//define 2s&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);//Set direction control pin of left motor to HIGH level&lt;br /&gt;
  analogWrite(ML_PWM,100);//Set the PWM control speed of left motor to 100&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);//Set direction control pin of right motor to LOW level&lt;br /&gt;
  analogWrite(MR_PWM,100);//Set the PWM control speed of right motor to 100&lt;br /&gt;
    //left&lt;br /&gt;
  delay(2000);//define 2s&lt;br /&gt;
   digitalWrite(ML_Ctrl,LOW);//set the direction control pin of left motor to LOW&lt;br /&gt;
  analogWrite(ML_PWM,100);//set the PWM control speed of left motor to 200&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);//set the direction control pin of right motor to HIGH&lt;br /&gt;
  analogWrite(MR_PWM,100);//set the PWM control speed of right motor to 100&lt;br /&gt;
   //right&lt;br /&gt;
  delay(2000);//define 2s&lt;br /&gt;
  analogWrite(ML_PWM,0);//set the PWM control speed of left motor to 0&lt;br /&gt;
  analogWrite(MR_PWM,0);// set the PWM control speed of right motor to 0&lt;br /&gt;
&lt;br /&gt;
    //stop&lt;br /&gt;
  delay(2000);//define 2s&lt;br /&gt;
}//******************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Upload code successfully, the motors rotate faster.&lt;br /&gt;
&lt;br /&gt;
=== Project 9: LED Expression Panel ===&lt;br /&gt;
&lt;br /&gt;
(1)Description&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-120.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If we add an expression panel to the robot, it will be amazing. Keyestudio&#039;s 8*16 dot matrix can meet your requirements. You can create facial expressions, patterns or other interesting displays yourself. 8*16 LED light board comes with 128 LEDs. The data of the microprocessor (arduino) communicates with the AiP1640 through the two-wire bus interface, so as to control the 128 LEDs on the module, which produce the patterns you need on dot matrix. To facilitate wiring, we also provide a HX-2.54 4Pin wiring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(2)Specification&lt;br /&gt;
&lt;br /&gt;
* Working voltage: DC 3.3-5V&lt;br /&gt;
* Power loss: 400mW&lt;br /&gt;
* Oscillation frequency: 450KHz       &lt;br /&gt;
* Drive current: 200mA&lt;br /&gt;
* Working temperature: -40~80℃&lt;br /&gt;
* Communication method: two-wire bus&lt;br /&gt;
&lt;br /&gt;
(3)Equipment&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-121.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
(4)8*16 Dot Matrix Display&lt;br /&gt;
&lt;br /&gt;
Circuit Graphic&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-122.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The principle of 8*16 dot matrix:&amp;lt;br&amp;gt; &lt;br /&gt;
How to control each led light of 8*16 dot matrix? We know that a byte has 8 bits, each bit is 0 or 1. When a bit is 0, turn off LED and when a bit is 0, turn on LED. &amp;lt;br&amp;gt; Thereby, one byte can control the LED in a row of dot matrix, so 16 bytes can control 16 columns of led lights, that is, 8*16 dot matrix.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Interface Description and Communication Protocol:&amp;lt;br&amp;gt; &lt;br /&gt;
The data of the microprocessor (arduino) communicates with the AiP1640 through the two-wire bus interface.&amp;lt;br&amp;gt; &lt;br /&gt;
The communication protocol diagram is shown below:&lt;br /&gt;
 (SCLK) is SCL, (DIN) is SDA:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-123.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
①The starting condition for data input: SCL is high level and SDA changes from high to low.&amp;lt;br&amp;gt; &lt;br /&gt;
②For data command setting, there are methods as shown in the figure below. &amp;lt;br&amp;gt; &lt;br /&gt;
In our sample program, select the way to add 1 to the address automatically, the binary value is 0100 0000 and the corresponding hexadecimal value is 0x40.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-124.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
③For address command setting, the address can be selected as shown below.&lt;br /&gt;
The first 00H is selected in our sample program, and the binary number 1100 0000 corresponds to the hexadecimal 0xc0&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-125.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* ④The requirement for data input is that SCL is high level when inputting data, the signal on SDA must remain unchanged. Only when the clock signal on SCL is low level, the signal on SDA can be altered. The data input is low-order first, high-order is behind&lt;br /&gt;
* ⑤ The condition to end data transmission is that when SCL is low, SDA is low, and when SCL is high, the SDA level also becomes high.&lt;br /&gt;
* ⑥ Display control, set different pulse width, the pulse width can be selected as shown below&lt;br /&gt;
* In the example, we choose pulse width 4/16, and the hexadecimal corresponds to 1000 1010 is 0x8A&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-126.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
4. Introduction for Modulus Tool&lt;br /&gt;
&lt;br /&gt;
The online version of dot matrix modulus tool:&lt;br /&gt;
http://dotmatrixtool.com/#&lt;br /&gt;
&lt;br /&gt;
①Open links to enter the following page.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-127.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
②The dot matrix is 8*16 in this project, so set the height to 8, width to 16, as shown below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-128.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
③ Generate hexadecimal data from the pattern&lt;br /&gt;
As shown below, press the left mouse button to select, the right button to cancel, draw the pattern you want, click Generate, and the hexadecimal data we need will be produced.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-129.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(5)Connection Diagram&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-130.png|700px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wiring note: The GND, VCC, SDA, and SCL of the 8x16 LED panel are respectively connected to -(GND), + (VCC), A4 and A5 of the keyestudio sensor expansion board for two-wire serial communication. (Note: This pin is connected to arduino IIC, but this module is not IIC communication, it can be linked with any two pins.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(6)Test Code&lt;br /&gt;
&lt;br /&gt;
The code that shows smile face&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 9.1&lt;br /&gt;
 Matrix  face&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
//the data of smiley from modulus tool&lt;br /&gt;
unsigned char smile[] = {0x00, 0x00, 0x1c, 0x02, 0x02, 0x02, 0x5c, 0x40, 0x40, 0x5c, 0x02, 0x02, 0x02, 0x1c, 0x00, 0x00};&lt;br /&gt;
&lt;br /&gt;
#define SCL_Pin  A5  //Set clock pin to A5&lt;br /&gt;
#define SDA_Pin  A4  //Set data pin to A4&lt;br /&gt;
&lt;br /&gt;
void setup(){&lt;br /&gt;
  //Set pin to output&lt;br /&gt;
  pinMode(SCL_Pin,OUTPUT);&lt;br /&gt;
  pinMode(SDA_Pin,OUTPUT);&lt;br /&gt;
  //clear the display&lt;br /&gt;
  //matrix_display(clear);&lt;br /&gt;
}&lt;br /&gt;
void loop(){&lt;br /&gt;
  matrix_display(smile);  // display smile face&lt;br /&gt;
}&lt;br /&gt;
// the function for dot matrix display&lt;br /&gt;
void matrix_display(unsigned char matrix_value[])&lt;br /&gt;
{&lt;br /&gt;
  IIC_start();  // use the function of the data transmission start condition&lt;br /&gt;
  IIC_send(0xc0);  //select address&lt;br /&gt;
  &lt;br /&gt;
  for(int i = 0;i &amp;lt; 16;i++) //pattern data has 16 bits&lt;br /&gt;
  {&lt;br /&gt;
     IIC_send(matrix_value[i]); //convey the pattern data&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  IIC_end();   //end the transmission of pattern data  &lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0x8A);  //display control, set pulse width to 4/16 s&lt;br /&gt;
  IIC_end();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//the condition to start conveying data&lt;br /&gt;
void IIC_start()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
//Convey data&lt;br /&gt;
void IIC_send(unsigned char send_data)&lt;br /&gt;
{&lt;br /&gt;
  for(char i = 0;i &amp;lt; 8;i++)  //Each byte has 8 bits 8bit for every character&lt;br /&gt;
  {&lt;br /&gt;
      digitalWrite(SCL_Pin,LOW);  // pull down clock pin SCL_Pin to change the signal of SDA&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      if(send_data &amp;amp; 0x01)  //set high and low level of SDA_Pin according to 1 or 0 of every bit&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
      }&lt;br /&gt;
      else&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
      }&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      digitalWrite(SCL_Pin,HIGH); //pull up the clock pin SCL_Pin to stop transmission&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      send_data = send_data &amp;gt;&amp;gt; 1;  // detect bit by bit, shift the data to the right by one&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//The sign of ending data transmission&lt;br /&gt;
void IIC_end()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
//******************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(7)Test Result&amp;lt;br&amp;gt; &lt;br /&gt;
Wire according to connection diagram. The DIP switch is dialed to right end and power on, the smile face appears on dot matrix.&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-131.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(8)Extension Practice&lt;br /&gt;
&lt;br /&gt;
We use the modulo tool (http://dotmatrixtool.com/#)to make the dot matrix alternately display start, go front and stop patterns then clear the patterns, the time interval is 2000 milliseconds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-132.png|500px|frameless|thumb]]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Get the graphical code to be displayed via modulus tool&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Start：&lt;br /&gt;
* 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01&lt;br /&gt;
* Go front：&lt;br /&gt;
* 0x00,0x00,0x00,0x00,0x00,0x24,0x12,0x09,0x12,0x24,0x00,0x00,0x00,0x00,0x00,0x00&lt;br /&gt;
* Go back：&lt;br /&gt;
* 0x00,0x00,0x00,0x00,0x00,0x24,0x48,0x90,0x48,0x24,0x00,0x00,0x00,0x00,0x00,0x00&lt;br /&gt;
* Turn left：&lt;br /&gt;
* 0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x28,0x10,0x44,0x28,0x10,0x44,0x28,0x10,0x00&lt;br /&gt;
* Turn left：&lt;br /&gt;
* 0x00,0x10,0x28,0x44,0x10,0x28,0x44,0x10,0x28,0x44,0x00,0x00,0x00,0x00,0x00,0x00&lt;br /&gt;
* Stop：&lt;br /&gt;
* 0x2E,0x2A,0x3A,0x00,0x02,0x3E,0x02,0x00,0x3E,0x22,0x3E,0x00,0x3E,0x0A,0x0E,0x00&lt;br /&gt;
* Clear the displayed code：0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00&lt;br /&gt;
&lt;br /&gt;
The code that the multiple patterns shift:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 9.2&lt;br /&gt;
 Matrix loop&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
//Array, used to store the data of the pattern, can be calculated by yourself or obtained from the modulus tool&lt;br /&gt;
unsigned char start01[] = &lt;br /&gt;
{0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01};&lt;br /&gt;
unsigned char front[] = &lt;br /&gt;
{0x00,0x00,0x00,0x00,0x00,0x24,0x12,0x09,0x12,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char back[] = &lt;br /&gt;
{0x00,0x00,0x00,0x00,0x00,0x24,0x48,0x90,0x48,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char left[] = &lt;br /&gt;
{0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x28,0x10,0x44,0x28,0x10,0x44,0x28,0x10,0x00};&lt;br /&gt;
unsigned char right[] = &lt;br /&gt;
{0x00,0x10,0x28,0x44,0x10,0x28,0x44,0x10,0x28,0x44,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char STOP01[] = &lt;br /&gt;
{0x2E,0x2A,0x3A,0x00,0x02,0x3E,0x02,0x00,0x3E,0x22,0x3E,0x00,0x3E,0x0A,0x0E,0x00};&lt;br /&gt;
unsigned char clear[] = &lt;br /&gt;
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
#define SCL_Pin  A5  //Set clock pin to A5&lt;br /&gt;
#define SDA_Pin  A4  //Set data pin to A4&lt;br /&gt;
void setup(){&lt;br /&gt;
  //Set pins to output&lt;br /&gt;
  pinMode(SCL_Pin,OUTPUT);&lt;br /&gt;
  pinMode(SDA_Pin,OUTPUT);&lt;br /&gt;
  //Clear the display&lt;br /&gt;
  matrix_display(clear);&lt;br /&gt;
}&lt;br /&gt;
void loop(){&lt;br /&gt;
  matrix_display(start01);  // Display start pattern&lt;br /&gt;
  delay(2000);&lt;br /&gt;
  matrix_display(front);    //Front pattern&lt;br /&gt;
  delay(2000);&lt;br /&gt;
  matrix_display(STOP01);   //Stop pattern&lt;br /&gt;
  delay(2000);&lt;br /&gt;
  matrix_display(clear);    //Clear the display Clear the screen&lt;br /&gt;
  delay(2000);&lt;br /&gt;
}&lt;br /&gt;
// This function is used to display of dot matrix&lt;br /&gt;
void matrix_display(unsigned char matrix_value[])&lt;br /&gt;
{&lt;br /&gt;
  IIC_start();  //call the function that data transmission start  &lt;br /&gt;
  IIC_send(0xc0);  //Choose address&lt;br /&gt;
  &lt;br /&gt;
  for(int i = 0;i &amp;lt; 16;i++) //pattern data has 16 bits&lt;br /&gt;
  {&lt;br /&gt;
     IIC_send(matrix_value[i]); //data to convey patterns &lt;br /&gt;
  }&lt;br /&gt;
  IIC_end();   //end the transmission of pattern dataEnd&lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0x8A);  //display control, set pulse width to 4/16&lt;br /&gt;
  IIC_end();&lt;br /&gt;
}&lt;br /&gt;
//The condition starting to transmit data&lt;br /&gt;
void IIC_start()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
//Convey data&lt;br /&gt;
void IIC_send(unsigned char send_data)&lt;br /&gt;
{&lt;br /&gt;
  for(char i = 0;i &amp;lt; 8;i++)  //Each byte has 8 bits&lt;br /&gt;
  {&lt;br /&gt;
      digitalWrite(SCL_Pin,LOW);  //pull down clock pin SCL Pin to change the signals of SDA      &lt;br /&gt;
delayMicroseconds(3);&lt;br /&gt;
      if(send_data &amp;amp; 0x01)  //set high and low level of SDA_Pin according to 1 or 0 of every bit&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
      }&lt;br /&gt;
      else&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
      }&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      digitalWrite(SCL_Pin,HIGH); //pull up clock pin SCL_Pin to stop transmitting data&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      send_data = send_data &amp;gt;&amp;gt; 1;  //detect bit by bit, so shift the data right by one&lt;br /&gt;
  }}&lt;br /&gt;
//The sign that data transmission ends&lt;br /&gt;
void IIC_end()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);} &lt;br /&gt;
//*****************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upload code on development board, 8*16 dot matrix display go front and back and stop patterns, alternately.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:0428-117.png|400px|frameless|thumb]][[File:0428-118.png|400px|frameless|thumb]][[File:0428-119.png|400px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Project 10: Light Follow Robot ===&lt;br /&gt;
&lt;br /&gt;
(1)Description&lt;br /&gt;
&lt;br /&gt;
[[File:0428-137.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We’ve introduce how to use various sensors, modules. &amp;lt;br&amp;gt; &lt;br /&gt;
In this lesson, we combine with hardware knowledge -- photoresistor module, motor driving, to build a light-following robot!&amp;lt;br&amp;gt; &lt;br /&gt;
Just need to use 2 photoresistor modules to detect the light intensity at the both side of robot. Read the analog value to rotate the 2 motors, thus drive the tank robot run. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The specific logic of light following robot is shown as the table below:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:0428-133.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:0428-134.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We make a flow chart based on the above logic table, as shown below:&lt;br /&gt;
&lt;br /&gt;
(2)Connection Diagram&lt;br /&gt;
&lt;br /&gt;
[[File:04288-24.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hook-up Attention:&lt;br /&gt;
The 4Pin terminal block is marked with silkscreen 1234. The red line of right rear motor is connected to terminal 1, black line is linked with end 2. The red line of left front motor is attached to terminal 3, black line is linked with port 4. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:0428-136.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(3)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 10&lt;br /&gt;
 Light-following tank&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
#define light_L_Pin A1   //define the pin of left photo resistor&lt;br /&gt;
#define light_R_Pin A2   //define the pin of right photo resistor&lt;br /&gt;
#define ML_Ctrl 13  //define the direction control pin of left motor&lt;br /&gt;
#define ML_PWM 11   //define the PWM control pin of left motor&lt;br /&gt;
#define MR_Ctrl 12  //define the direction control pin of right motor&lt;br /&gt;
#define MR_PWM 3   //define the PWM control pin of right motor&lt;br /&gt;
int left_light; &lt;br /&gt;
int right_light;&lt;br /&gt;
void setup(){&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  pinMode(light_L_Pin, INPUT);&lt;br /&gt;
  pinMode(light_R_Pin, INPUT);&lt;br /&gt;
  pinMode(ML_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(ML_PWM, OUTPUT);&lt;br /&gt;
  pinMode(MR_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(MR_PWM, OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
void loop(){&lt;br /&gt;
  left_light = analogRead(light_L_Pin);&lt;br /&gt;
  right_light = analogRead(light_R_Pin);&lt;br /&gt;
  Serial.print(&amp;quot;left_light_value = &amp;quot;);&lt;br /&gt;
  Serial.println(left_light);&lt;br /&gt;
  Serial.print(&amp;quot;right_light_value = &amp;quot;);&lt;br /&gt;
  Serial.println(right_light);&lt;br /&gt;
  if (left_light &amp;gt; 650 &amp;amp;&amp;amp; right_light &amp;gt; 650) //the value detected photo resistor，go front&lt;br /&gt;
  {  &lt;br /&gt;
    Car_front();&lt;br /&gt;
  } &lt;br /&gt;
  else if (left_light &amp;gt; 650 &amp;amp;&amp;amp; right_light &amp;lt;= 650)  //the value detected photo resistor，turn left&lt;br /&gt;
  {&lt;br /&gt;
    Car_left();&lt;br /&gt;
  } &lt;br /&gt;
  else if (left_light &amp;lt;= 650 &amp;amp;&amp;amp; right_light &amp;gt; 650) //the value detected photo resistor，turn right&lt;br /&gt;
  {&lt;br /&gt;
    Car_right();&lt;br /&gt;
  } &lt;br /&gt;
  else  //other situations, stop&lt;br /&gt;
  {&lt;br /&gt;
    Car_Stop();&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
void Car_front()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_Stop()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,0);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,0);&lt;br /&gt;
}&lt;br /&gt;
//****************************************************************&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(4)Test Result&lt;br /&gt;
&lt;br /&gt;
Upload code on keyestudio V4.0 development board, DIP switch is dialed to right end and power on, the smart robot follows light to move.&lt;br /&gt;
&lt;br /&gt;
=== Project 11: Ultrasonic Avoid Tank === &lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
[[File:0428-138.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(1)Description&lt;br /&gt;
&lt;br /&gt;
In this program, the ultrasonic sensor detects the distance of obstacle to send signals that control the robot car. Next, let’s show you how to make an obstacle avoidance car. &amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
The specific logic of ultrasonic avoiding robot is as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:0428-137.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(2)Flow chart&lt;br /&gt;
&lt;br /&gt;
[[File:0428-139.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:0428-140.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(3)Connection Diagram：&lt;br /&gt;
&lt;br /&gt;
[[File:04288-25.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: “-”、“+” and “S” pins of servo are respectively attached to G（GND）, V（VCC）and D9 of expansion board. The VCC, Trig, Echo and Gnd of ultrasonic sensor are linked with 5v(V), 5(S), Echo and Gnd(G) of expansion board.&lt;br /&gt;
&lt;br /&gt;
(4)Test Code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 11&lt;br /&gt;
 ultrasonic_avoid_tank&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
int random2;&lt;br /&gt;
int a;&lt;br /&gt;
int a1;&lt;br /&gt;
int a2;&lt;br /&gt;
#define ML_Ctrl 13  //define the direction control pin of left motor&lt;br /&gt;
#define ML_PWM 11   //define PWM control pin of left motor&lt;br /&gt;
#define MR_Ctrl 12  //define the direction control pin of right motor&lt;br /&gt;
#define MR_PWM 3   //define PWM control pin of right motor&lt;br /&gt;
&lt;br /&gt;
#define Trig 5  //ultrasonic trig Pin&lt;br /&gt;
#define Echo 4  //ultrasonic echo Pin&lt;br /&gt;
int distance;&lt;br /&gt;
#define servoPin 9  //servo Pin&lt;br /&gt;
int pulsewidth;&lt;br /&gt;
/************the function to run motor**************/&lt;br /&gt;
void Car_front()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_back()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
void Car_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
void Car_Stop()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,0);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,0);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//The function to control servo&lt;br /&gt;
void procedure(int myangle) {&lt;br /&gt;
  for (int i = 0; i &amp;lt;= 50; i = i + (1)) {&lt;br /&gt;
    pulsewidth = myangle * 11 + 500;&lt;br /&gt;
    digitalWrite(servoPin,HIGH);&lt;br /&gt;
    delayMicroseconds(pulsewidth);&lt;br /&gt;
    digitalWrite(servoPin,LOW);&lt;br /&gt;
    delay((20 - pulsewidth / 1000));&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
//The function to control ultrasonic sensor&lt;br /&gt;
float checkdistance() {&lt;br /&gt;
  digitalWrite(Trig, LOW);&lt;br /&gt;
  delayMicroseconds(2);&lt;br /&gt;
  digitalWrite(Trig, HIGH);&lt;br /&gt;
  delayMicroseconds(10);&lt;br /&gt;
  digitalWrite(Trig, LOW);&lt;br /&gt;
  float distance = pulseIn(Echo, HIGH) / 58.00;  //58.20, that is, 2*29.1=58.2&lt;br /&gt;
  delay(10);&lt;br /&gt;
  return distance;&lt;br /&gt;
}&lt;br /&gt;
  //****************************************************************&lt;br /&gt;
void setup(){&lt;br /&gt;
  pinMode(servoPin, OUTPUT);&lt;br /&gt;
  procedure(90); //set servo to 90°&lt;br /&gt;
  &lt;br /&gt;
  pinMode(Trig, OUTPUT);&lt;br /&gt;
  pinMode(Echo, INPUT);&lt;br /&gt;
  pinMode(ML_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(ML_PWM, OUTPUT);&lt;br /&gt;
  pinMode(MR_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(MR_PWM, OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
void loop(){&lt;br /&gt;
  random2 = random(1, 100);&lt;br /&gt;
  a = checkdistance();  //assign the front distance detected by ultrasonic sensor to variable a&lt;br /&gt;
  &lt;br /&gt;
  if (a &amp;lt; 20) //when the front distance detected is less than 20 &lt;br /&gt;
  {&lt;br /&gt;
      Car_Stop();  //robot stops&lt;br /&gt;
      delay(500); //delay in 500ms&lt;br /&gt;
      procedure(160);  //Ultrasonic platform turns left&lt;br /&gt;
      for (int j = 1; j &amp;lt;= 10; j = j + (1)) { //for statement, the data will be more accurate if ultrasonic sensor detect a few times.&lt;br /&gt;
        a1 = checkdistance();  //assign the left distance detected by ultrasonic sensor to variable a1&lt;br /&gt;
      }&lt;br /&gt;
      delay(300);&lt;br /&gt;
      procedure(20); //Ultrasonic platform turns right&lt;br /&gt;
      for (int k = 1; k &amp;lt;= 10; k = k + (1)) {&lt;br /&gt;
        a2 = checkdistance(); //assign the right distance detected by ultrasonic sensor to variable a2&lt;br /&gt;
      }&lt;br /&gt;
      &lt;br /&gt;
      if (a1 &amp;lt; 50 || a2 &amp;lt; 50)  //robot will turn to the longer distance side when left or right distance is less than 50cm. &lt;br /&gt;
      {&lt;br /&gt;
        if (a1 &amp;gt; a2) //left distance is greater than right side      &lt;br /&gt;
        {&lt;br /&gt;
          procedure(90);  //Ultrasonic platform turns back to right ahead         &lt;br /&gt;
Car_left();  //robot turns left&lt;br /&gt;
          delay(500);  //turn left for 500ms&lt;br /&gt;
          Car_front(); //go front&lt;br /&gt;
        } &lt;br /&gt;
        else &lt;br /&gt;
        {&lt;br /&gt;
          procedure(90);&lt;br /&gt;
          Car_right(); //robot turns right&lt;br /&gt;
          delay(500);&lt;br /&gt;
          Car_front();  //go front&lt;br /&gt;
        }&lt;br /&gt;
      } &lt;br /&gt;
      else  //If both side is greater than or equal to 50cm, turn left or right randomly&lt;br /&gt;
      {&lt;br /&gt;
        if ((long) (random2) % (long) (2) == 0)  //When the random number is even&lt;br /&gt;
        {&lt;br /&gt;
          procedure(90);&lt;br /&gt;
          Car_left(); //tank robot turns left&lt;br /&gt;
          delay(500);&lt;br /&gt;
          Car_front(); //go front&lt;br /&gt;
        } &lt;br /&gt;
        else &lt;br /&gt;
        {&lt;br /&gt;
          procedure(90);&lt;br /&gt;
          Car_right(); //robot turns right&lt;br /&gt;
          delay(500);&lt;br /&gt;
          Car_front(); //go front&lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
  } &lt;br /&gt;
  else  //If the front distance is greater than or equal to 20cm, robot car will go front&lt;br /&gt;
  {&lt;br /&gt;
      Car_front(); //go front&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
  //****************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(5)Test Result&lt;br /&gt;
&lt;br /&gt;
Upload code successfully, DIP switch is dialed to right end and power on, tank robot goes forward. It can automatically avoid barrier.&lt;br /&gt;
&lt;br /&gt;
=== Project 12: Ultrasonic Follow Tank === &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(1)Description&lt;br /&gt;
&lt;br /&gt;
[[File:0428-143.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In project 11, we made an obstacle avoidance car. In fact, we only need to alter a test code to transform an obstacle avoidance car into following car. In this lesson, we will make an ultrasonic follow robot. The ultrasonic sensor detects the distance between smart car and the obstacle to drive tank car to move.&lt;br /&gt;
&lt;br /&gt;
The specific logic of ultrasonic follow robot is as shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:0428-144.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(2)Flow chart&lt;br /&gt;
&lt;br /&gt;
[[File:0428-146.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(3)Connection Diagram&lt;br /&gt;
&lt;br /&gt;
[[File:04288-26.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wire-up note:&lt;br /&gt;
&lt;br /&gt;
[[File:0428-145.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(4)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 /*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 12&lt;br /&gt;
 ultrasonic follow tank&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/ &lt;br /&gt;
//Array, used to store the data of the pattern, can be calculated by yourself or obtained from the modulus tool&lt;br /&gt;
unsigned char start01[] = {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01};&lt;br /&gt;
unsigned char front[] = {0x00,0x00,0x00,0x00,0x00,0x24,0x12,0x09,0x12,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char back[] = {0x00,0x00,0x00,0x00,0x00,0x24,0x48,0x90,0x48,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char left[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x28,0x10,0x44,0x28,0x10,0x44,0x28,0x10,0x00};&lt;br /&gt;
unsigned char right[] = {0x00,0x10,0x28,0x44,0x10,0x28,0x44,0x10,0x28,0x44,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char STOP01[] = {0x2E,0x2A,0x3A,0x00,0x02,0x3E,0x02,0x00,0x3E,0x22,0x3E,0x00,0x3E,0x0A,0x0E,0x00};&lt;br /&gt;
unsigned char clear[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
#define SCL_Pin  A5  //Set clock pin to A5&lt;br /&gt;
#define SDA_Pin  A4  //Set data pin to A4&lt;br /&gt;
&lt;br /&gt;
#define ML_Ctrl 13  //define the direction control pin of left motor&lt;br /&gt;
#define ML_PWM 11   //define PWM control pin of left motor&lt;br /&gt;
#define MR_Ctrl 12  //define the direction control pin of right motor&lt;br /&gt;
#define MR_PWM 3   //define PWM control pin of right motor&lt;br /&gt;
#define Trig 5  //ultrasonic trig Pin&lt;br /&gt;
#define Echo 4  //ultrasonic echo Pin&lt;br /&gt;
int distance;&lt;br /&gt;
int pulsewidth;&lt;br /&gt;
#define servoPin 9  //servo Pin&lt;br /&gt;
void setup(){&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  pinMode(SCL_Pin,OUTPUT);&lt;br /&gt;
  pinMode(SDA_Pin,OUTPUT);&lt;br /&gt;
  matrix_display(clear); //Clear the display&lt;br /&gt;
  matrix_display(start01);  //display start pattern&lt;br /&gt;
  pinMode(servoPin, OUTPUT);&lt;br /&gt;
  procedure(90); //set servo to 90°&lt;br /&gt;
  pinMode(Trig, OUTPUT);&lt;br /&gt;
  pinMode(Echo, INPUT);&lt;br /&gt;
  pinMode(ML_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(ML_PWM, OUTPUT);&lt;br /&gt;
  pinMode(MR_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(MR_PWM, OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
void loop(){&lt;br /&gt;
  distance = checkdistance();  //assign the distance detected by ultrasonic sensor to distance&lt;br /&gt;
  if (distance &amp;gt;= 20 &amp;amp;&amp;amp; distance &amp;lt;= 60) //range to go front&lt;br /&gt;
  {&lt;br /&gt;
    Car_front();&lt;br /&gt;
  }&lt;br /&gt;
  else if (distance &amp;gt; 10 &amp;amp;&amp;amp; distance &amp;lt; 20)  //range to stop&lt;br /&gt;
  {&lt;br /&gt;
    Car_Stop();&lt;br /&gt;
  }&lt;br /&gt;
  else if (distance &amp;lt;= 10)  //range to go back&lt;br /&gt;
  {&lt;br /&gt;
    Car_back();&lt;br /&gt;
  }&lt;br /&gt;
  else  //other situations, stop&lt;br /&gt;
  {&lt;br /&gt;
    Car_Stop();&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
/***********the function for motor running****************/&lt;br /&gt;
void Car_front()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_back()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_Stop()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,0);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,0);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/******************dot matrix********************/&lt;br /&gt;
// the function for dot matrix display&lt;br /&gt;
void matrix_display(unsigned char matrix_value[])&lt;br /&gt;
{&lt;br /&gt;
  IIC_start(); // call the function that data transmission start&lt;br /&gt;
  IIC_send(0xc0);  //Choose address&lt;br /&gt;
  &lt;br /&gt;
  for(int i = 0;i &amp;lt; 16;i++) //pattern data has 16 bits&lt;br /&gt;
  {&lt;br /&gt;
     IIC_send(matrix_value[i]); //data to convey patterns&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  IIC_end();   //end to convey data pattern&lt;br /&gt;
  &lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0x8A);  //select pulse width4/16, control display&lt;br /&gt;
  IIC_end();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//The condition starting to transmit data&lt;br /&gt;
void IIC_start()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// transmit data&lt;br /&gt;
void IIC_send(unsigned char send_data)&lt;br /&gt;
{&lt;br /&gt;
  for(char i = 0;i &amp;lt; 8;i++)  //Each byte has 8 bits&lt;br /&gt;
  {&lt;br /&gt;
      digitalWrite(SCL_Pin,LOW);  //pull down clock pin SCL Pin to change the signals of SDA      &lt;br /&gt;
delayMicroseconds(3);&lt;br /&gt;
      if(send_data &amp;amp; 0x01)  //set high and low level of SDA_Pin according to 1 or 0 of every bit&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
      }&lt;br /&gt;
      else&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
      }&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      digitalWrite(SCL_Pin,HIGH); //pull up clock pin SCL_Pin to stop transmitting data&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      send_data = send_data &amp;gt;&amp;gt; 1;  // detect bit by bit, so move the data right by one&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
//The sign that data transmission ends&lt;br /&gt;
void IIC_end()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
/***************end dot matrix display******************/&lt;br /&gt;
//The function to control servo&lt;br /&gt;
void procedure(int myangle) {&lt;br /&gt;
  for (int i = 0; i &amp;lt;= 50; i = i + (1)) {&lt;br /&gt;
    pulsewidth = myangle * 11 + 500;&lt;br /&gt;
    digitalWrite(servoPin,HIGH);&lt;br /&gt;
    delayMicroseconds(pulsewidth);&lt;br /&gt;
    digitalWrite(servoPin,LOW);&lt;br /&gt;
    delay((20 - pulsewidth / 1000));&lt;br /&gt;
  }}&lt;br /&gt;
//The function to control ultrasonic sensor function controlling ultrasonic&lt;br /&gt;
float checkdistance() {&lt;br /&gt;
  digitalWrite(Trig, LOW);&lt;br /&gt;
  delayMicroseconds(2);&lt;br /&gt;
  digitalWrite(Trig, HIGH);&lt;br /&gt;
  delayMicroseconds(10);&lt;br /&gt;
  digitalWrite(Trig, LOW);&lt;br /&gt;
  float distance = pulseIn(Echo, HIGH) / 58.20;  //58.20, that is , 2*29.1=58.2&lt;br /&gt;
  delay(10);&lt;br /&gt;
  return distance;&lt;br /&gt;
}&lt;br /&gt;
//****************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(5)Test Result&lt;br /&gt;
&lt;br /&gt;
Upload code successfully, DIP switch is dialed to right end, the servo rotates to 90°, “V” is shown on 8X16 LED panel and smart car moves as the obstacle moves.&lt;br /&gt;
&lt;br /&gt;
=== Project 13: IR Remote Robot Tank === &lt;br /&gt;
&lt;br /&gt;
[[File:0428-148.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(1)Description&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IR remote control is one of most ubiquitous control, applied in TV, electric fan and some household appliances. In this project, we will make an IR remote smart car. And we’ve known every key value on IR remote control. Thus, we could control smart car via and display the patterns on dot matrix via corresponding key value &lt;br /&gt;
&lt;br /&gt;
The specific logic of infrared remote control robot is shown below:&lt;br /&gt;
&lt;br /&gt;
[[File:0428-149.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:0428-150.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(2)Flow Chart&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:0428-151.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;(3)Connection Diagram&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:04288-27.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Attention：GND,VCC, SDA, SCL of 8x16 LED panel are respectively linked with -（GND), +（VCC), SDA ,SCL. And “-”、“+” and S of IR receiver module are attached to G（GND), V（VCC) and A0 on sensor shield. On the condition of insufficient digital ports, the analog ports can be treat as digital ports. A0 equals to digital 14, A1 is like digital 15.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(4)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 13&lt;br /&gt;
 IR remote tank&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;IRremoteTank.h&amp;gt;&lt;br /&gt;
IRrecv irrecv(A0);  //set IRrecv irrecv to A0&lt;br /&gt;
decode_results results;&lt;br /&gt;
long ir_rec;  //save the IR value received&lt;br /&gt;
&lt;br /&gt;
//Array, used to store the data of the pattern, can be calculated by yourself or obtained from the modulus tool&lt;br /&gt;
unsigned char start01[] = {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01};&lt;br /&gt;
unsigned char front[] = {0x00,0x00,0x00,0x00,0x00,0x24,0x12,0x09,0x12,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char back[] = {0x00,0x00,0x00,0x00,0x00,0x24,0x48,0x90,0x48,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char left[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x28,0x10,0x44,0x28,0x10,0x44,0x28,0x10,0x00};&lt;br /&gt;
unsigned char right[] = {0x00,0x10,0x28,0x44,0x10,0x28,0x44,0x10,0x28,0x44,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char STOP01[] = {0x2E,0x2A,0x3A,0x00,0x02,0x3E,0x02,0x00,0x3E,0x22,0x3E,0x00,0x3E,0x0A,0x0E,0x00};&lt;br /&gt;
unsigned char clear[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
#define SCL_Pin  A5  //Set clock pin to A5&lt;br /&gt;
#define SDA_Pin  A4  //Set data pin to A4&lt;br /&gt;
&lt;br /&gt;
#define ML_Ctrl 13  //define the direction control pin of left motor&lt;br /&gt;
#define ML_PWM 11   //define PWM control pin of left motor&lt;br /&gt;
#define MR_Ctrl 12  //define the direction control pin of right motor&lt;br /&gt;
#define MR_PWM 3    //define PWM control pin of right motor&lt;br /&gt;
&lt;br /&gt;
#define servoPin 9 //pin of servo&lt;br /&gt;
int pulsewidth; //save the pulse width value of servo&lt;br /&gt;
&lt;br /&gt;
void setup(){&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  irrecv.enableIRIn();  //Initialize the IR reception library&lt;br /&gt;
  &lt;br /&gt;
  pinMode(ML_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(ML_PWM, OUTPUT);&lt;br /&gt;
  pinMode(MR_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(MR_PWM, OUTPUT);&lt;br /&gt;
  &lt;br /&gt;
  pinMode(SCL_Pin,OUTPUT);&lt;br /&gt;
  pinMode(SDA_Pin,OUTPUT);&lt;br /&gt;
  matrix_display(clear); //Clear Screen&lt;br /&gt;
  matrix_display(start01);  //show start picture&lt;br /&gt;
  &lt;br /&gt;
  pinMode(servoPin, OUTPUT);&lt;br /&gt;
  procedure(90);  //Servo rotates to 90°&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(){&lt;br /&gt;
  if (irrecv.decode(&amp;amp;results)) //receive the IR remote value&lt;br /&gt;
  {&lt;br /&gt;
    ir_rec=results.value;&lt;br /&gt;
    String type=&amp;quot;UNKNOWN&amp;quot;;&lt;br /&gt;
    String typelist[14]={&amp;quot;UNKNOWN&amp;quot;, &amp;quot;NEC&amp;quot;, &amp;quot;SONY&amp;quot;, &amp;quot;RC5&amp;quot;, &amp;quot;RC6&amp;quot;, &amp;quot;DISH&amp;quot;, &amp;quot;SHARP&amp;quot;, &amp;quot;PANASONIC&amp;quot;, &amp;quot;JVC&amp;quot;, &amp;quot;SANYO&amp;quot;, &amp;quot;MITSUBISHI&amp;quot;, &amp;quot;SAMSUNG&amp;quot;, &amp;quot;LG&amp;quot;, &amp;quot;WHYNTER&amp;quot;};&lt;br /&gt;
    if(results.decode_type&amp;gt;=1&amp;amp;&amp;amp;results.decode_type&amp;lt;=13){&lt;br /&gt;
      type=typelist[results.decode_type];&lt;br /&gt;
    }&lt;br /&gt;
    Serial.print(&amp;quot;IR TYPE:&amp;quot;+type+&amp;quot;  &amp;quot;);&lt;br /&gt;
    Serial.println(ir_rec,HEX);&lt;br /&gt;
    irrecv.resume();&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  if (ir_rec == 0xFF629D) //Go forward&lt;br /&gt;
  {&lt;br /&gt;
    Car_front();&lt;br /&gt;
    matrix_display(front);  //Display front image&lt;br /&gt;
  }&lt;br /&gt;
  if (ir_rec == 0xFFA857)  //Robot car goes back&lt;br /&gt;
  {&lt;br /&gt;
    Car_back();&lt;br /&gt;
    matrix_display(front);  //Go back&lt;br /&gt;
  }&lt;br /&gt;
  if (ir_rec == 0xFF22DD)   //Robot car turns left&lt;br /&gt;
  {&lt;br /&gt;
    Car_T_left();&lt;br /&gt;
    matrix_display(left);  //Display left-turning image&lt;br /&gt;
  }&lt;br /&gt;
  if (ir_rec == 0xFFC23D)   //Robot car turns right&lt;br /&gt;
  {&lt;br /&gt;
    Car_T_right();&lt;br /&gt;
    matrix_display(right);  //Display right-turning image&lt;br /&gt;
  }&lt;br /&gt;
  if (ir_rec == 0xFF02FD)   //Robot car stops&lt;br /&gt;
  { &lt;br /&gt;
    Car_Stop();&lt;br /&gt;
    matrix_display(STOP01);  //show stop image&lt;br /&gt;
  }&lt;br /&gt;
  if (ir_rec == 0xFF30CF)   //robot car rotates anticlockwise&lt;br /&gt;
  {&lt;br /&gt;
    Car_left();&lt;br /&gt;
    matrix_display(left);  //show anticlockwise rotation picture&lt;br /&gt;
  }&lt;br /&gt;
  if (ir_rec == 0xFF7A85)  //robot car rotates clockwise&lt;br /&gt;
  {&lt;br /&gt;
    Car_right();&lt;br /&gt;
    matrix_display(right);  //show clockwise rotation picture&lt;br /&gt;
 }&lt;br /&gt;
}&lt;br /&gt;
/******************Control Servo*******************/&lt;br /&gt;
void procedure(int myangle) {&lt;br /&gt;
  for (int i = 0; i &amp;lt;= 50; i = i + (1)) {&lt;br /&gt;
    pulsewidth = myangle * 11 + 500;&lt;br /&gt;
    digitalWrite(servoPin,HIGH);&lt;br /&gt;
    delayMicroseconds(pulsewidth);&lt;br /&gt;
    digitalWrite(servoPin,LOW);&lt;br /&gt;
    delay((20 - pulsewidth / 1000));&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/******************Dot Matrix****************/&lt;br /&gt;
// this function is used for dot matrix display &lt;br /&gt;
void matrix_display(unsigned char matrix_value[])&lt;br /&gt;
{&lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0xc0);  //Choose address&lt;br /&gt;
   for(int i = 0;i &amp;lt; 16;i++) //The picture has 16 bits&lt;br /&gt;
  {&lt;br /&gt;
     IIC_send(matrix_value[i]); //data to convey patterns&lt;br /&gt;
  }&lt;br /&gt;
  IIC_end();   //end to convey data pattern&lt;br /&gt;
  &lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0x8A);  //display control, set pulse width to 4/16&lt;br /&gt;
  IIC_end();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//The condition starting to transmit data&lt;br /&gt;
void IIC_start()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
//传输数据&lt;br /&gt;
void IIC_send(unsigned char send_data)&lt;br /&gt;
{&lt;br /&gt;
  for(char i = 0;i &amp;lt; 8;i++)  //Each byte has 8 bits 8bits for every character&lt;br /&gt;
  {&lt;br /&gt;
      digitalWrite(SCL_Pin,LOW);  //pull down clock pin SCL Pin to change the signals of SDA      &lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      if(send_data &amp;amp; 0x01)  //set high and low level of SDA_Pin according to 1 or 0 of every bit&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
      }&lt;br /&gt;
      else&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
      }&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      digitalWrite(SCL_Pin,HIGH); //pull up clock pin SCL_Pin to stop transmitting data&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      send_data = send_data &amp;gt;&amp;gt; 1;  // detect bit by bit, so move the data right by one&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
//The sign that data transmission ends&lt;br /&gt;
void IIC_end()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
/***************the function to run motor***************/&lt;br /&gt;
void Car_front()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_back()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
void Car_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
void Car_Stop()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,0);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,0);&lt;br /&gt;
}&lt;br /&gt;
void Car_T_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,180);&lt;br /&gt;
}&lt;br /&gt;
void Car_T_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,180);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
 //****************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(5)Test Result&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upload code successfully and power on, the smart robot can be controlled by IR remote, at same time, the corresponding pattern is shown on 8X16 LED panel.&lt;br /&gt;
&lt;br /&gt;
===Project 14: Bluetooth Control Robot === &lt;br /&gt;
&lt;br /&gt;
[[File:0428-153.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(1)Description&lt;br /&gt;
&lt;br /&gt;
We’ve learned the basic knowledge of Bluetooth, in this lesson, we will make a Bluetooth remote smart car. In the experiment, we default the HM-10 Bluetooth module as a Slave and the cellphone as a Host. &amp;lt;br&amp;gt; &lt;br /&gt;
keyes BT car is an APP rolled out by keyestudio team. You could control the robot car by it readily.&amp;lt;br&amp;gt; &lt;br /&gt;
There is a guide to how to download and install APP in the document as for your reference. The interface is shown below.&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[File:0428-154.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;APP DOWNLOAD&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
https://play.google.com/store/apps/details?id=com.keyestudio.tankcar3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(2)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 14.1&lt;br /&gt;
 bluetooth test&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
char ble_val; //character variables, used to save the value of Bluetooth reception&lt;br /&gt;
void setup() {&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
}&lt;br /&gt;
void loop() {&lt;br /&gt;
  if(Serial.available() &amp;gt; 0)  //judge if there is data in buffer area&lt;br /&gt;
  { ble_val = Serial.read();  //read the data from serial buffer&lt;br /&gt;
    Serial.println(ble_val);  //print out&lt;br /&gt;
  }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pull off the Bluetooth module, upload test code, reconnect Bluetooth module, open serial monitor and set baud rate to 9600. Point at Bluetooth module and press keys on APP, the corresponding character is shown below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Ks0446图片97.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The detected character and corresponding function:&lt;br /&gt;
&lt;br /&gt;
[[File:0428-156.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In compliance with the above table, we make a flow chart to assist you to understand well. The flow chart is below:&lt;br /&gt;
&lt;br /&gt;
[[File:0428-157.png|700px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(3)Connection Diagram&lt;br /&gt;
&lt;br /&gt;
[[File:04288-28.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Wiring Attention：&lt;br /&gt;
&lt;br /&gt;
[[File:0428-158.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(4)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=color:red&amp;gt; &amp;lt;big&amp;gt;Note: Remove the Bluetooth module before uploading test code, otherwise, you will fail to upload test code&amp;lt;/big&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 keyestudio Robot Car v2.0&lt;br /&gt;
 lesson 14.2&lt;br /&gt;
 bluetooth car&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
//Array, used to store the data of pattern, can be calculated by yourself or obtained from the modulus tool&lt;br /&gt;
unsigned char start01[] = {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01};&lt;br /&gt;
unsigned char front[] = {0x00,0x00,0x00,0x00,0x00,0x24,0x12,0x09,0x12,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char back[] = {0x00,0x00,0x00,0x00,0x00,0x24,0x48,0x90,0x48,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char left[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x28,0x10,0x44,0x28,0x10,0x44,0x28,0x10,0x00};&lt;br /&gt;
unsigned char right[] = {0x00,0x10,0x28,0x44,0x10,0x28,0x44,0x10,0x28,0x44,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char STOP01[] = {0x2E,0x2A,0x3A,0x00,0x02,0x3E,0x02,0x00,0x3E,0x22,0x3E,0x00,0x3E,0x0A,0x0E,0x00};&lt;br /&gt;
unsigned char clear[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
#define SCL_Pin  A5  //Set clock pin to A5&lt;br /&gt;
#define SDA_Pin  A4  //Set data pin to A4&lt;br /&gt;
&lt;br /&gt;
#define ML_Ctrl 13  //define direction control pin of left motor&lt;br /&gt;
#define ML_PWM 11   //define PWM control pin of left motor&lt;br /&gt;
#define MR_Ctrl 12  //define direction control pin of right motor&lt;br /&gt;
#define MR_PWM 3    //define PWM control pin of right motor&lt;br /&gt;
&lt;br /&gt;
char bluetooth_val; //save the value of Bluetooth reception&lt;br /&gt;
&lt;br /&gt;
void setup(){&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  &lt;br /&gt;
  pinMode(SCL_Pin,OUTPUT);&lt;br /&gt;
  pinMode(SDA_Pin,OUTPUT);&lt;br /&gt;
  matrix_display(clear);    //Clear the display&lt;br /&gt;
  matrix_display(start01);  //display start pattern&lt;br /&gt;
&lt;br /&gt;
  pinMode(ML_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(ML_PWM, OUTPUT);&lt;br /&gt;
  pinMode(MR_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(MR_PWM, OUTPUT);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(){&lt;br /&gt;
  if (Serial.available())&lt;br /&gt;
  {&lt;br /&gt;
    bluetooth_val = Serial.read();&lt;br /&gt;
    Serial.println(bluetooth_val);&lt;br /&gt;
  }&lt;br /&gt;
  switch (bluetooth_val) &lt;br /&gt;
  {&lt;br /&gt;
     case &#039;F&#039;:  //forward command&lt;br /&gt;
        Car_front();&lt;br /&gt;
        matrix_display(front);  // show forward design&lt;br /&gt;
        break;&lt;br /&gt;
     case &#039;B&#039;:  //Back command&lt;br /&gt;
        Car_back();&lt;br /&gt;
        matrix_display(back);  //show back pattern&lt;br /&gt;
        break;&lt;br /&gt;
     case &#039;L&#039;:  // left-turning instruction&lt;br /&gt;
        Car_left();&lt;br /&gt;
        matrix_display(left);  //show “left-turning” sign &lt;br /&gt;
        break;&lt;br /&gt;
     case &#039;R&#039;:  //right-turning instruction&lt;br /&gt;
        Car_right();&lt;br /&gt;
        matrix_display(right);  //display right-turning sign&lt;br /&gt;
       break;&lt;br /&gt;
     case &#039;S&#039;:  //stop command&lt;br /&gt;
        Car_Stop();&lt;br /&gt;
        matrix_display(STOP01);  //show stop picture&lt;br /&gt;
        break;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**************The function of dot matrix****************/&lt;br /&gt;
//this function is used for dot matrix display&lt;br /&gt;
void matrix_display(unsigned char matrix_value[])&lt;br /&gt;
{&lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0xc0);  //Choose address&lt;br /&gt;
  &lt;br /&gt;
  for(int i = 0;i &amp;lt; 16;i++) //pattern data has 16 bits&lt;br /&gt;
  {&lt;br /&gt;
     IIC_send(matrix_value[i]); //data to convey patterns&lt;br /&gt;
  }&lt;br /&gt;
  IIC_end();   //end to convey data pattern&lt;br /&gt;
  &lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0x8A);  //display control, set pulse width to 4/16&lt;br /&gt;
  IIC_end();&lt;br /&gt;
}&lt;br /&gt;
//The condition starting to transmit data&lt;br /&gt;
void IIC_start()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
//transmit data&lt;br /&gt;
void IIC_send(unsigned char send_data)&lt;br /&gt;
{&lt;br /&gt;
  for(char i = 0;i &amp;lt; 8;i++)  //Each byte has 8 bits&lt;br /&gt;
  {&lt;br /&gt;
      digitalWrite(SCL_Pin,LOW);  //pull down clock pin SCL Pin to change the signals of SDA      &lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      if(send_data &amp;amp; 0x01)  //set high and low level of SDA_Pin according to 1 or 0 of every bit&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
      }&lt;br /&gt;
      else&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
      }&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      digitalWrite(SCL_Pin,HIGH); //pull up clock pin SCL_Pin to stop transmitting data&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      send_data = send_data &amp;gt;&amp;gt; 1;  // Detect bit by bit, so move the data right by one&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
//The sign that data transmission ends&lt;br /&gt;
void IIC_end()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
/*************the function to run motor**************/&lt;br /&gt;
void Car_front()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_back()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
void Car_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
void Car_Stop()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,0);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,0);&lt;br /&gt;
}&lt;br /&gt;
void Car_T_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,180);&lt;br /&gt;
}&lt;br /&gt;
void Car_T_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,180);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
  //****************************************************************&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(5)Test Result&lt;br /&gt;
&lt;br /&gt;
Upload code successfully, DIP switch is dialed to right end and power on. After connecting Bluetooth, we could drive smart car to move by Bluetooth App.&lt;br /&gt;
&lt;br /&gt;
[[File:0428-160.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Project 15: Multi-purpose Robot Car === &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[File:0428-162.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(1)Description&lt;br /&gt;
&lt;br /&gt;
In previous projects, the tank car only performs single function, however, in this lesson, we integrate all of function to control smart car via Bluetooth control.&lt;br /&gt;
Here is a simple flow chart of multi-purpose robot car as for your reference.&lt;br /&gt;
&lt;br /&gt;
[[File:0428-163.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(2)Connection Diagram&lt;br /&gt;
&lt;br /&gt;
[[File:04288-29.png|800px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Attention：Confirm that every component is connected.&lt;br /&gt;
&lt;br /&gt;
Wire-up Guide:&lt;br /&gt;
&lt;br /&gt;
[[File:0428-165.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:0428-166.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:0428-167.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:0428-173.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:0428-174.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:0428-175.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:0428-176.png|500px|frameless|thumb]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(3)Test Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    /*&lt;br /&gt;
 keyestudio Mini Tank Robot v2.0&lt;br /&gt;
 lesson 15&lt;br /&gt;
 multiple functions&lt;br /&gt;
 http://www.keyestudio.com&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
//Array, used to store the data of the pattern, can be calculated by yourself or obtained from the modulus tool&lt;br /&gt;
unsigned char start01[] = {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01};&lt;br /&gt;
unsigned char front[] = {0x00,0x00,0x00,0x00,0x00,0x24,0x12,0x09,0x12,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char back[] = {0x00,0x00,0x00,0x00,0x00,0x24,0x48,0x90,0x48,0x24,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char left[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x28,0x10,0x44,0x28,0x10,0x44,0x28,0x10,0x00};&lt;br /&gt;
unsigned char right[] = {0x00,0x10,0x28,0x44,0x10,0x28,0x44,0x10,0x28,0x44,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
unsigned char STOP01[] = {0x2E,0x2A,0x3A,0x00,0x02,0x3E,0x02,0x00,0x3E,0x22,0x3E,0x00,0x3E,0x0A,0x0E,0x00};&lt;br /&gt;
unsigned char clear[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};&lt;br /&gt;
#define SCL_Pin  A5  //Set clock pin to A5&lt;br /&gt;
#define SDA_Pin  A4  //Set data pin to A4&lt;br /&gt;
&lt;br /&gt;
#define ML_Ctrl 13  //define direction control pin of left motor&lt;br /&gt;
#define ML_PWM 11   //define PWM control pin of left motor&lt;br /&gt;
#define MR_Ctrl 12  //define direction control pin of right motor&lt;br /&gt;
#define MR_PWM 3   //define PWM control pin of right motor&lt;br /&gt;
&lt;br /&gt;
#define Trig 5  //ultrasonic trig Pin&lt;br /&gt;
#define Echo 4  //ultrasonic echo Pin&lt;br /&gt;
int distance; //save the distance value detected by ultrasonic, follow function&lt;br /&gt;
int random2; //save the variable of random numberssave the variable of random numbers&lt;br /&gt;
//save the distance value detected by ultrasonic, obstacle avoidance function&lt;br /&gt;
int a;  &lt;br /&gt;
int a1;&lt;br /&gt;
int a2;&lt;br /&gt;
&lt;br /&gt;
#define servoPin 9  //servo Pin&lt;br /&gt;
int pulsewidth;&lt;br /&gt;
&lt;br /&gt;
#define light_L_Pin A1   //define the pin of left photo resistor sensor&lt;br /&gt;
#define light_R_Pin A2   //define the pin of right photo resistor sensor&lt;br /&gt;
int left_light;&lt;br /&gt;
int right_light;&lt;br /&gt;
&lt;br /&gt;
char bluetooth_val; //save the value of Bluetooth reception&lt;br /&gt;
int flag;  //flag variable, it is used to entry and exist function&lt;br /&gt;
void setup(){&lt;br /&gt;
  Serial.begin(9600);&lt;br /&gt;
  pinMode(Trig, OUTPUT);&lt;br /&gt;
  pinMode(Echo, INPUT);&lt;br /&gt;
  pinMode(ML_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(ML_PWM, OUTPUT);&lt;br /&gt;
  pinMode(MR_Ctrl, OUTPUT);&lt;br /&gt;
  pinMode(MR_PWM, OUTPUT);&lt;br /&gt;
  &lt;br /&gt;
  pinMode(servoPin, OUTPUT);&lt;br /&gt;
  procedure(90); //set servo to 90°&lt;br /&gt;
 pinMode(SCL_Pin,OUTPUT);&lt;br /&gt;
  pinMode(SDA_Pin,OUTPUT);&lt;br /&gt;
  matrix_display(clear);    //Clear the display&lt;br /&gt;
  matrix_display(start01);  //display start pattern&lt;br /&gt;
  pinMode(light_L_Pin, INPUT);&lt;br /&gt;
  pinMode(light_R_Pin, INPUT);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(){&lt;br /&gt;
  if (Serial.available())&lt;br /&gt;
  {&lt;br /&gt;
    bluetooth_val = Serial.read();&lt;br /&gt;
    Serial.println(bluetooth_val);&lt;br /&gt;
  }&lt;br /&gt;
  switch (bluetooth_val) &lt;br /&gt;
  {&lt;br /&gt;
    case &#039;F&#039;:  //Forward instruction &lt;br /&gt;
      Car_front();&lt;br /&gt;
      matrix_display(front);  //display forward pattern&lt;br /&gt;
      break;&lt;br /&gt;
    case &#039;B&#039;:  //Back instruction&lt;br /&gt;
      Car_back();&lt;br /&gt;
      matrix_display(back);  // display back pattern&lt;br /&gt;
      break;&lt;br /&gt;
    case &#039;L&#039;:  //left-turning instruction&lt;br /&gt;
      Car_left();&lt;br /&gt;
      matrix_display(left);  //show left-turning pattern&lt;br /&gt;
      break;&lt;br /&gt;
    case &#039;R&#039;:  //right-turning instruction&lt;br /&gt;
      Car_right();&lt;br /&gt;
      matrix_display(right);  //show right-turning pattern&lt;br /&gt;
      break;&lt;br /&gt;
    case &#039;S&#039;:  //stop instruction&lt;br /&gt;
      Car_Stop();&lt;br /&gt;
      matrix_display(STOP01);  //display stop pattern&lt;br /&gt;
      break;&lt;br /&gt;
   case &#039;Y&#039;:&lt;br /&gt;
      matrix_display(start01);  //show start pattern&lt;br /&gt;
      follow();&lt;br /&gt;
      break;&lt;br /&gt;
   case &#039;U&#039;:&lt;br /&gt;
      matrix_display(start01);  //show start pattern&lt;br /&gt;
      avoid();&lt;br /&gt;
      break;&lt;br /&gt;
   case &#039;X&#039;:&lt;br /&gt;
      matrix_display(start01);  //show start pattern&lt;br /&gt;
      light_track();&lt;br /&gt;
      break;&lt;br /&gt;
  }}&lt;br /&gt;
/*****************Obstacle Avoidance Function**************/&lt;br /&gt;
void avoid() &lt;br /&gt;
{&lt;br /&gt;
  flag = 0;  //the design that enter obstacle avoidance function&lt;br /&gt;
  while (flag == 0) &lt;br /&gt;
  {&lt;br /&gt;
    random2 = random(1, 100);&lt;br /&gt;
    a = checkdistance();  //assign the front distance detected by ultrasonic sensor to variable a&lt;br /&gt;
    &lt;br /&gt;
    if (a &amp;lt; 20) //when the front distance detected is less than 20cm&lt;br /&gt;
    {&lt;br /&gt;
      Car_Stop();  //robot stops&lt;br /&gt;
      delay(200); //delay in 200ms&lt;br /&gt;
      &lt;br /&gt;
      procedure(160);  //Ultrasonic platform turns left&lt;br /&gt;
      for (int j = 1; j &amp;lt;= 10; j = j + (1)) { ///for statement, the data will be more accurate if ultrasonic sensor detect a few times.&lt;br /&gt;
        a1 = checkdistance();  //assign the left distance detected by ultrasonic sensor to variable a1&lt;br /&gt;
      }&lt;br /&gt;
      delay(200);&lt;br /&gt;
      procedure(20); //Ultrasonic platform turns right&lt;br /&gt;
      for (int k = 1; k &amp;lt;= 10; k = k + (1)) {&lt;br /&gt;
        a2 = checkdistance(); //assign the right distance detected by ultrasonic sensor to variable a2&lt;br /&gt;
      }&lt;br /&gt;
      if (a1 &amp;lt; 50 || a2 &amp;lt; 50)  //robot will turn to the longer distance side when left or right distance is less than 50cm.if the left or right distance is less than 50cm, the robot will turn to the greater distance&lt;br /&gt;
      {&lt;br /&gt;
        if (a1 &amp;gt; a2) //left distance is greater than right&lt;br /&gt;
        {&lt;br /&gt;
          procedure(90);  //Ultrasonic platform turns back to right ahead ultrasonic platform turns front&lt;br /&gt;
          Car_left();  //robot turns left&lt;br /&gt;
          delay(500);  //turn left 500ms&lt;br /&gt;
          Car_front(); //go forward&lt;br /&gt;
        } &lt;br /&gt;
        else &lt;br /&gt;
        {&lt;br /&gt;
          procedure(90);&lt;br /&gt;
          Car_right(); //robot turns right&lt;br /&gt;
          delay(500);&lt;br /&gt;
          Car_front();  //go forward&lt;br /&gt;
        }&lt;br /&gt;
      } &lt;br /&gt;
      else  //both distance on two side is greater than or equal to 50cm, turn randomly&lt;br /&gt;
      {&lt;br /&gt;
        if ((long) (random2) % (long) (2) == 0)  //when the random number is even&lt;br /&gt;
        {&lt;br /&gt;
          procedure(90);&lt;br /&gt;
          Car_left(); //robot turns left&lt;br /&gt;
          delay(500);&lt;br /&gt;
          Car_front(); //go forward&lt;br /&gt;
        } &lt;br /&gt;
        else &lt;br /&gt;
        {&lt;br /&gt;
          procedure(90);&lt;br /&gt;
          Car_right(); //robot turns right&lt;br /&gt;
          delay(500);&lt;br /&gt;
          Car_front(); ///go forward&lt;br /&gt;
       } } } &lt;br /&gt;
  else  //If the front distance is greater than or equal to 20cm, robot car will go front&lt;br /&gt;
  {&lt;br /&gt;
      Car_front(); //go forward&lt;br /&gt;
  }&lt;br /&gt;
  // receive the Bluetooth value to end the obstacle avoidance function&lt;br /&gt;
  if (Serial.available())&lt;br /&gt;
  {&lt;br /&gt;
    bluetooth_val = Serial.read();&lt;br /&gt;
    if (bluetooth_val == &#039;S&#039;)  //receive S&lt;br /&gt;
    {&lt;br /&gt;
      flag = 1;  //when assign 1 to flag, end loop&lt;br /&gt;
    }}}}&lt;br /&gt;
/*******************Follow****************/&lt;br /&gt;
void follow() {&lt;br /&gt;
  flag = 0;&lt;br /&gt;
  while (flag == 0) {&lt;br /&gt;
    distance = checkdistance();  //assign the distance detected by ultrasonic sensor to distance&lt;br /&gt;
    if (distance &amp;gt;= 20 &amp;amp;&amp;amp; distance &amp;lt;= 60) //the range to go front&lt;br /&gt;
    {&lt;br /&gt;
      Car_front();&lt;br /&gt;
    }&lt;br /&gt;
    else if (distance &amp;gt; 10 &amp;amp;&amp;amp; distance &amp;lt; 20)  //the range to stop&lt;br /&gt;
    {&lt;br /&gt;
      Car_Stop();&lt;br /&gt;
    }&lt;br /&gt;
    else if (distance &amp;lt;= 10)  // the range to go back&lt;br /&gt;
    {&lt;br /&gt;
      Car_back();&lt;br /&gt;
    }&lt;br /&gt;
    else  //other situations, stop&lt;br /&gt;
    {&lt;br /&gt;
      Car_Stop();&lt;br /&gt;
    }&lt;br /&gt;
    if (Serial.available())&lt;br /&gt;
    {&lt;br /&gt;
      bluetooth_val = Serial.read();&lt;br /&gt;
      if (bluetooth_val == &#039;S&#039;) &lt;br /&gt;
      {&lt;br /&gt;
        flag = 1;  //end loop&lt;br /&gt;
      }}}}&lt;br /&gt;
//The function to control ultrasonic sensor the function controlling ultrasonic sensor&lt;br /&gt;
float checkdistance() {&lt;br /&gt;
  digitalWrite(Trig, LOW);&lt;br /&gt;
  delayMicroseconds(2);&lt;br /&gt;
  digitalWrite(Trig, HIGH);&lt;br /&gt;
  delayMicroseconds(10);&lt;br /&gt;
  digitalWrite(Trig, LOW);&lt;br /&gt;
  float distance = pulseIn(Echo, HIGH) / 58.00;  //58.20 means 2*29.1=58.2&lt;br /&gt;
  delay(10);&lt;br /&gt;
  return distance;&lt;br /&gt;
}&lt;br /&gt;
//The function to control servo the function controlling servo&lt;br /&gt;
void procedure(int myangle) {&lt;br /&gt;
  for (int i = 0; i &amp;lt;= 50; i = i + (1)) {&lt;br /&gt;
    pulsewidth = myangle * 11 + 500;&lt;br /&gt;
    digitalWrite(servoPin,HIGH);&lt;br /&gt;
    delayMicroseconds(pulsewidth);&lt;br /&gt;
    digitalWrite(servoPin,LOW);&lt;br /&gt;
    delay((20 - pulsewidth / 1000));&lt;br /&gt;
  }}&lt;br /&gt;
&lt;br /&gt;
/****************Light Follow******************/&lt;br /&gt;
void light_track() {&lt;br /&gt;
  flag = 0;&lt;br /&gt;
  while (flag == 0) {&lt;br /&gt;
    left_light = analogRead(light_L_Pin);&lt;br /&gt;
    right_light = analogRead(light_R_Pin);&lt;br /&gt;
    if (left_light &amp;gt; 650 &amp;amp;&amp;amp; right_light &amp;gt; 650) //the value detected by photo resistor, go forward&lt;br /&gt;
    {  &lt;br /&gt;
      Car_front();&lt;br /&gt;
    } &lt;br /&gt;
    else if (left_light &amp;gt; 650 &amp;amp;&amp;amp; right_light &amp;lt;= 650)  //the value detected by photo resistor, turn left&lt;br /&gt;
    {&lt;br /&gt;
      Car_left();&lt;br /&gt;
    } &lt;br /&gt;
    else if (left_light &amp;lt;= 650 &amp;amp;&amp;amp; right_light &amp;gt; 650) //the value detected by photo resistor, turn right&lt;br /&gt;
    {&lt;br /&gt;
      Car_right();&lt;br /&gt;
    } &lt;br /&gt;
    else  //other situations, stop&lt;br /&gt;
    {&lt;br /&gt;
      Car_Stop();&lt;br /&gt;
    }&lt;br /&gt;
    if (Serial.available())&lt;br /&gt;
    {&lt;br /&gt;
      bluetooth_val = Serial.read();&lt;br /&gt;
      if (bluetooth_val == &#039;S&#039;) {&lt;br /&gt;
        flag = 1;&lt;br /&gt;
     }}}}&lt;br /&gt;
/***************Dot Matrix *****************/&lt;br /&gt;
// this function is used for dot matrix display &lt;br /&gt;
void matrix_display(unsigned char matrix_value[])&lt;br /&gt;
{&lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0xc0);  //Choose address&lt;br /&gt;
  &lt;br /&gt;
  for(int i = 0;i &amp;lt; 16;i++) //pattern data has 16 bits&lt;br /&gt;
  {&lt;br /&gt;
     IIC_send(matrix_value[i]); //convey the pattern data&lt;br /&gt;
  }&lt;br /&gt;
  IIC_end();   //end the transmission of pattern data&lt;br /&gt;
  IIC_start();&lt;br /&gt;
  IIC_send(0x8A);  //display control, set pulse width to 4/16&lt;br /&gt;
  IIC_end();&lt;br /&gt;
}&lt;br /&gt;
//The condition starting to transmit data&lt;br /&gt;
void IIC_start()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
//convey data&lt;br /&gt;
void IIC_send(unsigned char send_data)&lt;br /&gt;
{&lt;br /&gt;
  for(char i = 0;i &amp;lt; 8;i++)  //each byte has 8 bits&lt;br /&gt;
  {&lt;br /&gt;
      digitalWrite(SCL_Pin,LOW);  //pull down clock pin SCL Pin to change the signals of SDA&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      if(send_data &amp;amp; 0x01)  //set high and low level of SDA_Pin according to 1 or 0 of every bit&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
      }&lt;br /&gt;
      else&lt;br /&gt;
      {&lt;br /&gt;
        digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
      }&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      digitalWrite(SCL_Pin,HIGH); //pull up clock pin SCL_Pin to stop transmitting data&lt;br /&gt;
      delayMicroseconds(3);&lt;br /&gt;
      send_data = send_data &amp;gt;&amp;gt; 1;  // detect bit by bit, so move the data right by one&lt;br /&gt;
  }}&lt;br /&gt;
//The sign that data transmission ends&lt;br /&gt;
void IIC_end()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(SCL_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,LOW);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SCL_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
  digitalWrite(SDA_Pin,HIGH);&lt;br /&gt;
  delayMicroseconds(3);&lt;br /&gt;
}&lt;br /&gt;
/*************the function to run motor*************/&lt;br /&gt;
void Car_front()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_back()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,200);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,200);&lt;br /&gt;
}&lt;br /&gt;
void Car_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
void Car_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,HIGH);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
void Car_Stop()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,0);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,0);&lt;br /&gt;
}&lt;br /&gt;
void Car_T_left()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,255);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,180);&lt;br /&gt;
}&lt;br /&gt;
void Car_T_right()&lt;br /&gt;
{&lt;br /&gt;
  digitalWrite(MR_Ctrl,LOW);&lt;br /&gt;
  analogWrite(MR_PWM,180);&lt;br /&gt;
  digitalWrite(ML_Ctrl,LOW);&lt;br /&gt;
  analogWrite(ML_PWM,255);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
(4)Test Result&lt;br /&gt;
&lt;br /&gt;
Note:Remove the Bluetooth module before uploading test code, otherwise, you will fail to upload test code. Reconnect Bluetooth module after uploading test code&lt;br /&gt;
&lt;br /&gt;
Upload test code successfully, insert Bluetooth module, power on, and connect to Bluetooth. The tank robot can show distinct function by App.&lt;br /&gt;
&lt;br /&gt;
Alright, the whole projects are finished. Please feel free to contact us if you confront some problems.&lt;br /&gt;
There are some hot-selling items below. You could log in our website to browse them if you’re interested.&lt;br /&gt;
&lt;br /&gt;
== 9. Resources ==  &lt;br /&gt;
                                          &lt;br /&gt;
Wiki page:https://wiki.keyestudio.com/Ks0428_keyestudio_Mini_Tank_Robot_V2&lt;br /&gt;
&lt;br /&gt;
Official website: https://keyestudio.com/&amp;lt;br&amp;gt;&lt;br /&gt;
Assembly Video Link: http://video.keyestudio.com/ks0428/&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to try with Mixly software, enter https://fs.keyestudio.com/KS0428.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35054</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35054"/>
		<updated>2024-05-30T08:28:14Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Arduino IDE Setting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Interfaces Description==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Special Interfaces Description==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on Windows System====&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on MAC System====&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Arduino IDE Setting===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
===Start Your First Program===&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35053</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35053"/>
		<updated>2024-05-30T08:27:29Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== Specification ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Interfaces Description==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Special Interfaces Description==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on Windows System====&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on MAC System====&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
===Start Your First Program===&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35052</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35052"/>
		<updated>2024-05-30T08:26:31Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on Windows System====&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on MAC System====&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
===Start Your First Program===&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35051</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35051"/>
		<updated>2024-05-30T08:25:32Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Start Your First Program */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on Windows System====&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on MAC System====&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
===Start Your First Program===&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35050</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35050"/>
		<updated>2024-05-30T08:24:11Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on Windows System====&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on MAC System====&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35049</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35049"/>
		<updated>2024-05-30T08:23:24Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on Windows System====&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on MAC System====&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35048</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35048"/>
		<updated>2024-05-30T08:22:11Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Install CP2102 Driver on MAC System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on Windows System====&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on MAC System====&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35047</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35047"/>
		<updated>2024-05-30T08:21:47Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Install CP2102 Driver on Windows System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
====Install CP2102 Driver on Windows System====&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35046</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35046"/>
		<updated>2024-05-30T08:21:22Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* B. Mac System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
====B. Mac System====&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35045</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35045"/>
		<updated>2024-05-30T08:21:00Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* A. Windows System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====A. Windows System====&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
==B. Mac System==&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35044</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35044"/>
		<updated>2024-05-30T08:20:23Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* A. Windows System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===A. Windows System===&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
==B. Mac System==&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35043</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35043"/>
		<updated>2024-05-30T08:17:02Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Start Your First Program */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==A. Windows System==&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
==B. Mac System==&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35042</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35042"/>
		<updated>2024-05-30T08:16:31Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Start Your First Program */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==A. Windows System==&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
==B. Mac System==&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35041</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35041"/>
		<updated>2024-05-30T08:13:24Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Arduino IDE Setting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==A. Windows System==&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
==B. Mac System==&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35040</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35040"/>
		<updated>2024-05-30T08:07:57Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* B. Mac System */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==A. Windows System==&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
==B. Mac System==&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;40%&amp;quot; height=&amp;quot;40%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35039</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35039"/>
		<updated>2024-05-30T08:07:17Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Start Your First Program */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==A. Windows System==&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
==B. Mac System==&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;35%&amp;quot; height=&amp;quot;35%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
	<entry>
		<id>https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35038</id>
		<title>KS0499 KEYESTUDIO Mega 2560 Plus Board</title>
		<link rel="alternate" type="text/html" href="https://wiki.keyestudio.com/index.php?title=KS0499_KEYESTUDIO_Mega_2560_Plus_Board&amp;diff=35038"/>
		<updated>2024-05-30T08:05:59Z</updated>

		<summary type="html">&lt;p&gt;Keyestudio: /* Arduino IDE Setting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:7FFG51P%(CW.png|600px|right|frameless|]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
KEYESTUIDO Mega 2560 plus Board, whose processor core is ATMEGA2560-16AU, is fully compatible with ARDUINO MEGA 2560 REV3.&lt;br /&gt;
USB to TTL chip adopts more economic and stable CP2012.&lt;br /&gt;
This plus board consists of 54-channel digital input and output ports, of which 15 pins are served as PWM output, 16 analog inputs, 4 serial communication ports, one 16MHz crystal oscillator, 1 USB port, 1 power socket, 1 ICSP interface and 1 reset button.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Specification&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Microcontroller: ATMEGA2560-16AU&lt;br /&gt;
* USB to TTL chip：CP2102&lt;br /&gt;
* Operating Voltage:	5V&lt;br /&gt;
* Input Voltage (recommended):DC 7-12V&lt;br /&gt;
* Digital I/O Pins: 54 (D0-D53)&lt;br /&gt;
* PWM Digital I/O Pins：15(D2-D13 D44-D46)&lt;br /&gt;
* Analog Input Pins:	16(A0-A15)&lt;br /&gt;
* DC Current per I/O Pin: 20 mA&lt;br /&gt;
* DC Current for 3.3V Pin: 50 mA&lt;br /&gt;
* Flash Memory: 256 KB of which 8 KB used by bootloader&lt;br /&gt;
* SRAM: 8 KB&lt;br /&gt;
* EEPROM: 4 KB&lt;br /&gt;
* Clock Speed: 16 MHz&lt;br /&gt;
* LED_BUILTIN:D13&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Special Interfaces Description&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
* Serial communication interface(4 channel): Serial（D0 =RX0, D1 =TX0）, Serial1（D19 is RX1, D18 is TX1)  &lt;br /&gt;
* Serial2 （D17 is RX2, D16 equals to TX2）, Serial3（D15 is RX3, D14 is TX3), D0 and D1 are connected to ATMEGA16U2-MU&lt;br /&gt;
* PWM port（Pulse width modulation): D2-D13 and D44-D46&lt;br /&gt;
* External interrupt pins：D2（interrupt 0), D3(interrupt 1), D21（interrupt 2), D20 (interrupt 3), D19(interrupt 4）and D18（interrupt 5）&lt;br /&gt;
* SPI communication interface：D53 stands for SS, D51 is MOSI, D50 is MISO, D52 equals to SCK&lt;br /&gt;
* IIC communication interface：D20 represents SDA, D21 is SCL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Install Arduino IDE and Driver ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Download Arduino IDE ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==A. Windows System==&lt;br /&gt;
You could download Arduino IDE from the official website: https://www.arduino.cc/&lt;br /&gt;
&lt;br /&gt;
Enter the link and click SOFTWARE:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165128482-1685496644801-1.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are various versions of IDE for Arduino. Just download a version compatible with your system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112709308.png&amp;quot; width=&amp;quot;50%&amp;quot; height=&amp;quot;50%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here we will show you how to download and install the windows version of Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
There are two versions of IDE for WINDOWS system. You can choose between the installer (.exe) and the Zip file. For installer, it can be directly downloaded, without the need of installing it manually while for Zip package, you will need to install the driver manually.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230331165316657-1685496675570-5.png&lt;br /&gt;
&lt;br /&gt;
You just need to click JUST DOWNLOAD.&lt;br /&gt;
&lt;br /&gt;
==B. Mac System==&lt;br /&gt;
The versions of Arduino IDE vary from operation systems.&lt;br /&gt;
&lt;br /&gt;
For how to download Arduino IDE on Mac, please refer to Windows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img src=&amp;quot;https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230531112759668.png&amp;quot; width=&amp;quot;35%&amp;quot; height=&amp;quot;35%&amp;quot;&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After downloading, double-click to open it and follow the installation instructions.&lt;br /&gt;
&lt;br /&gt;
C.Detailed installation steps：&lt;br /&gt;
1.Save the .exe file downloaded from the software page to your hard drive and simply run the file .&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111507277.png&lt;br /&gt;
&lt;br /&gt;
2.Read the License Agreement and agree it.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111548510.png&lt;br /&gt;
&lt;br /&gt;
3.Choose the installation options.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111609783.png&lt;br /&gt;
&lt;br /&gt;
4.Choose the install location.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111627536.png&lt;br /&gt;
&lt;br /&gt;
5.Click finish and run Arduino IDE&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20231030111656023.png&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Installing Driver&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on Windows System==&lt;br /&gt;
&lt;br /&gt;
Now, let’s install the driver of keyestudio MEGA PLUS control board. Its chip is CP2102 serial chip.&amp;lt;br&amp;gt;&lt;br /&gt;
Some system（WIN11） can’t install automatically driver but you could install it by hand.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;big&amp;gt;Download CP2102 driver: https://fs.keyestudio.com/CP2102-WINDOWS&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;big&amp;gt;Or Download the driver of CP2102: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&amp;lt;/big&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click the link to download https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100746100.png, and we unzip it to https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426100852988.png.&lt;br /&gt;
&lt;br /&gt;
Unzip again and we will get the folder https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230426101012182.png. Please remember the path of this folder for later use.&lt;br /&gt;
&lt;br /&gt;
Right click Computer—– Properties—– Device Manager.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps5.jpg&lt;br /&gt;
&lt;br /&gt;
The yellow exclamation mark on the page implies an unsuccessful installation and you should double click img, then click “Update Drive…”to update the driver.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps7.jpg&lt;br /&gt;
&lt;br /&gt;
Click “Browse my computer for drivers” to find the downloaded Arduino software.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps8.jpg&lt;br /&gt;
&lt;br /&gt;
There is a DRIVERS folder in Arduino software installed package, please open this folder and check the driver of CP210X series chips.&lt;br /&gt;
&lt;br /&gt;
Click “Browse…”, then search the driver of CP2102 and click“Next”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps9.png&lt;br /&gt;
&lt;br /&gt;
After a while, the driver is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps10.jpg&lt;br /&gt;
&lt;br /&gt;
When opening the device manager, we will find that the yellow exclamation mark disappears, which means the driver of CP2102 is installed successfully.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/wps11.jpg&lt;br /&gt;
&lt;br /&gt;
==Install CP2102 Driver on MAC System==&lt;br /&gt;
&lt;br /&gt;
Connect board we provide to your computer, and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/40A968D312A8B080E52C4559201F498A.png&lt;br /&gt;
&lt;br /&gt;
Click “Tools” to select Board: Arduino Uno and Port: /dev/cu.usbserial-0001.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3123378638D9C83554A2C90BFA436BCF.png&lt;br /&gt;
&lt;br /&gt;
Tap https://getting-started-with-arduino.readthedocs.io/en/latest/_images/image-20230601153931790.png to upload code, if burn successfully, you will view Done uploading.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/E97244571B69D21FF31DE3B879B8B0E5.png&lt;br /&gt;
&lt;br /&gt;
Note: If burn unsuccessfully, you need to install driver of CP2102, please continue to follow the instructions as below:&lt;br /&gt;
&lt;br /&gt;
Download the driver of CP2102:https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads&lt;br /&gt;
&lt;br /&gt;
1. Select Mac OSX edition&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/6E53A3DACDEC57D5EE0B15B48D771A5B.png&lt;br /&gt;
&lt;br /&gt;
2. Unzip the downloaded package&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/8DCED2768D5F86D3D0C3F6076D87A9A8.png&lt;br /&gt;
&lt;br /&gt;
3. Open folder and double-click SiLabsUSBDriverDisk.dmg file.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/61AE3E706A1C4AFA7948D5FB2E797A6D.png&lt;br /&gt;
&lt;br /&gt;
4. You will view the following files as follows:&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3FFD0525E16492EDE92BDB8C84198DB9.png&lt;br /&gt;
&lt;br /&gt;
5. Double-click Install CP210x VCP Driver, tick Don’t warn me and tap Open.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/14F6EBB088E654ABC2F0149645E34ED1.png&lt;br /&gt;
&lt;br /&gt;
6. Tap Continue&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/A243872CDBB520E4D298C006E001FFF5.png&lt;br /&gt;
&lt;br /&gt;
7. Tap Continue and Agree&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/AE367C1894DF6745E46BBDFC460C1F99.png&lt;br /&gt;
&lt;br /&gt;
8. Click Continue and input your password&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/27B7214283D7F76ABA3557DD629BD965.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/29BBCA3360D806164717733460574356.png&lt;br /&gt;
&lt;br /&gt;
9. Select Open Security Preferences&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/CA6BC6E536202F07A53C09201A0996FF.png&lt;br /&gt;
&lt;br /&gt;
10. Click the lock to unlock security &amp;amp; privacy preference.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/379CAA1889F4A45614B27C9B2B934869.png&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/88A1B169A192EE6C49E95947D6287FC2.png&lt;br /&gt;
&lt;br /&gt;
11. Then click Allow&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/19E43624EFDE1B223800201C944D25E9.png&lt;br /&gt;
&lt;br /&gt;
12. Back to installation page, and wait to install.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/BB0E17AFD8BAD8B8013F19D7A9DA0FD9.png&lt;br /&gt;
&lt;br /&gt;
13. Successfully installed&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/3BD5BB3752ABF97E9BAB6BF950A75BED.png&lt;br /&gt;
&lt;br /&gt;
14. Then enter ArduinoIDE, click Tools and select Board: Arduino Uno and /dev/cu.SLAB_USBtoUAPT&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/73AED810D216D7DA3A3CE9CC0E4DBA4A.png&lt;br /&gt;
&lt;br /&gt;
15. Click0486-23.png to upload code and you will see “Done uploading”.&lt;br /&gt;
&lt;br /&gt;
https://getting-started-with-arduino.readthedocs.io/en/latest/_images/D918E2E31A9632F8B272A16595C46A83.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Arduino IDE Setting&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
Clickicon and open Arduino IDE.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/4f4f33bb23c495e81b1cfad163653b59.png&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Then come back to the Arduino software, you should click Tools→Board, select the board. (as shown below)&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/d27e784f35475d633be807e115c7358f.png&lt;br /&gt;
&lt;br /&gt;
Then select the correct COM port (you can see the corresponding COM port after the driver is successfully installed)&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/a653ae3296bbac0dcf12901534fcdd45.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/9995706530f3327b61cd4455d9945299.png&lt;br /&gt;
&lt;br /&gt;
5.4 Start Your First Program&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/54cde01d6569a2b0d61d160775779ed8.png&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/39e05c310f6766d92bb4c3c2b279feaf.png&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/5fa8949b0b013180bde1f64f324568af.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start compiling the program, and check errors.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/e06bf758d9a42d81b346d79e45ca2b29.png&lt;br /&gt;
&lt;br /&gt;
Clickicon to start upload the program, upload successfully.&lt;br /&gt;
&lt;br /&gt;
https://docs.keyestudio.com/projects/KS0499/en/latest/_images/c2355513a37fe793976e97d827fe8d8e.png&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;br /&gt;
&lt;br /&gt;
==Resources ==&lt;br /&gt;
&#039;&#039;&#039;Download the PDF:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://fs.keyestudio.com/KS0499&lt;br /&gt;
&lt;br /&gt;
==Start Your First Program==&lt;br /&gt;
Open file to choose Examples—&amp;gt;BASIC—&amp;gt;BLINK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:048610png.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499-4.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set board and COM port, the bottom right corner of the IDE displays the corresponding board and COM port.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499-5.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click[[Image:0486-20.png|500px|frameless]]icon to start compiling the program, check errors.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499-6.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Click[[Image:0486-23.png |500px|frameless]]icon to start upload the program, upload successfully.&lt;br /&gt;
&amp;lt;br&amp;gt;[[Image:0499-7.png|500px|frameless]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program is uploaded successfully, LED of board lights on for 1s, and lights off for 1s.&lt;/div&gt;</summary>
		<author><name>Keyestudio</name></author>
	</entry>
</feed>