Ks0099 keyestudio EASY plug Control Board

From Keyestudio Wiki
Revision as of 14:31, 14 November 2016 by Keyestudio (talk | contribs)
Jump to navigation Jump to search

Introduction

Keyestudio Easy-plug control board is a microcontroller board based on the ATmega328P-PU. It has 14 digital input/outputs (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.You can tinker with your UNO without worrying too much about doing something wrong, worst case scenario you can replace the chip for a few dollars and start over again.
For convenience of wire connection, we simplify pins GND and VCC into each plug, so you only need one wire to connect a module, no need to separately connect the VCC and GND. The pins on the original UNO are all redesigned into plug interface. On the board, you can find ports D2-D13, A0 to A5, an IIC port and a COM port. All in one simple plug.].
Ks0099-1.png

Cautions

The warnings and wrong operations possible cause dangerous.

Specifications

Microcontroller core: ATmega328P-PU
Working voltage: +5V
External input voltage: +7V~+12V(suggest)
External input voltage ( extremum ): +6V≤ Vin ≤ +20V
Digital signal I/O interface: 14 (of which 6 provide PWM output)
Analog signal input interface: 6
DCI/O interface current: 20 mA
FlashMemory: 32KB (ATmega328) of which 0.5 KB used by bootloader
SRAM static storage capacity: 2KB
EEPROM storage capacity: 1 KB
EEPROM storage capacity: 16 MHz



Board test

Following is a board test example called “Hello World!”.
First, open Arduino IDE. In this example sketch, we program Arduino to display “Hello World!” in serial monitor when it receives a specific character string “R”; also the on-board D13 LED will blink once each time it receives “R”.
First, set up board; In “Tools”, select “Arduino Uno”.
Ks0099-2.png

Next, set up COM port; In “Tools”, select “COM3”.
Ks0099-3.png

After selection, you can see indicated area is the same with settings in “Device manager”.
Ks0099-4-1.jpg

Copy the example sketch and paste it to the IDE; click “Verify ” to check compiling mistakes; click “Upload ” to upload the program to the board.
Ks0099-5.jpg

After uploading is done, open “serial monitor ”; enter “R”; click “Send”, the serial monitor will display “Hello World!” and the D13 LED will blink once.
Ks0099-6.png

Programming

int val;
int ledpin=13
void setup()
{
Serial.begin(9600);
pinMode(ledpin,OUTPUT);
}
void loop()
{
val=Serial.read();
if(val=='R')
{
digitalWrite(ledpin,HIGH);
delay(500);
digitalWrite(ledpin,LOW);
delay(500);
Serial.println("Hello World!");
}
}

Resources

Datasheet:

http://www.keyestudio.com/files/index/download/id/1463975752/

Get One Now

http://www.keyestudio.com/easy-plug-control-board.html