KS0425 keyestudio NANO Shield: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
keyestudio Nano ch340 is a tiny control board based on Arduino platform, which is deeply popular.  <br>
keyestudio Nano ch340 is a tiny control board based on Arduino platform, which is deeply popular.  <br>
However, if want to connect several sensor modules to keyestudio Nano ch340, and connect external power, we need to use breadboard and a bunch of jumper wires, which is pretty inconvenient. <br>
However, if want to connect several sensor modules to keyestudio Nano ch340, and connect external power, we need to use breadboard and a bunch of jumper wires, which is pretty inconvenient. <br>
We specially design this NANO shield, fully compatible with keyestudio Nano ch340. <br>
We specially design this NANO shield, fully compatible with [https://wiki.keyestudio.com/Ks0173_keyestudio_Nano_ch340  keyestudio Nano ch340]. <br>


The NANO shield has brought out digital and analog pins of keyestudio Nano ch340 into 3PIN headers (GND, 5V, Signal) with pin pitch of 2.54mm. <br>
The NANO shield has brought out digital and analog pins of keyestudio Nano ch340 into 3PIN headers (GND, 5V, Signal) with pin pitch of 2.54mm. <br>
Line 20: Line 20:


<br>
<br>
== Features ==  
== Features ==  
* 1.Extends 12 digital pins into 3pin header
* 1.Extends 12 digital pins into 3pin header
Line 41: Line 42:
<br>
<br>
== Controller Compatible ==
== Controller Compatible ==
*keyestudio Nano ch340
*[https://wiki.keyestudio.com/Ks0173_keyestudio_Nano_ch340  keyestudio Nano ch340 ]


<br>
<br>
== PINOUTS ==
== PINOUTS ==
<br>[[File:0425-3.png|600px|frameless|thumb]]<br>
<br>[[File:0425-3.png|700px|frameless|thumb]]<br>


<br>
<br>
== Use Method ==
== Use Method ==
We can use keyestudio Nano ch340 as control board, separately connect 3 LED modules to D4~D6 3Pin interface. Then upload the test code to make LED flash one by one, achieving light flow effect.
We can use keyestudio Nano ch340 as control board, separately connect 3 LED modules to D4~D6 3Pin interface. Then upload the test code to make LED flash one by one, achieving light flow effect.
Line 53: Line 56:
<br>
<br>
=== Wiring Diagram ===
=== Wiring Diagram ===
<br>[[File:0425-4.png|600px|frameless|thumb]]<br>
<br>[[File:0425-4.png|700px|frameless|thumb]]<br>


<br>
<br>
=== Test Code ===
=== Test Code ===
<pre>
<pre>
Line 87: Line 91:
=== Test Result ===
=== Test Result ===
Upload well the code to keyestudio Nano ch340 shield, then press down Power_Switch, the LED module will flash one by one.
Upload well the code to keyestudio Nano ch340 shield, then press down Power_Switch, the LED module will flash one by one.
<br>[[File:0425-5.png.png|600px|frameless|thumb]]<br>
<br>[[File:0425-5.png|600px|frameless|thumb]]<br>




<br>
<br>
== Resource Links ==  
== Resource Links ==  
*Download the datasheet: <br>


*'''Download the code:''' <br>
https://fs.keyestudio.com/KS0425


*Download the code: <br>
https://drive.google.com/open?id=1oMEspWlB0a5LZEXxJ4nRNz14x35kEa31


<br>


<br>
==Get One Now ==
==Get One Now ==
*[ '''Get one now on aliexpress store''']
*[ '''Get one now on aliexpress store''']

Latest revision as of 12:06, 6 January 2021


Keyestudio NANO Shield (Black and Eco-friendly)


Overview

keyestudio Nano ch340 is a tiny control board based on Arduino platform, which is deeply popular.
However, if want to connect several sensor modules to keyestudio Nano ch340, and connect external power, we need to use breadboard and a bunch of jumper wires, which is pretty inconvenient.
We specially design this NANO shield, fully compatible with keyestudio Nano ch340.

The NANO shield has brought out digital and analog pins of keyestudio Nano ch340 into 3PIN headers (GND, 5V, Signal) with pin pitch of 2.54mm.
The NANO shield also leads out frequently-used communication pins, such as serial port communication and I2C communication. It’s greatly easy to connect keyestudio Nano ch340 and other sensor modules.
It comes with a power indicator and a reset button as well.
For external power, the NANO shield comes with a PH2.0-2P connector (input DC7-12V); a Power_Switch for power control.
To supply power for other sensors, the NANO shield comes with a 3-way DC3.3V power output pin header with pin pitch of 2.54mm.
It comes with 4 fixing holes with a diameter of 3mm, so easy to mount on other devices.


thumb



Features

  • 1.Extends 12 digital pins into 3pin header
  • 2.Extends 8 analog pins into 3pin header
  • 3.Comes with a serial communication pin header (for Bluetooth module)
  • 4.Comes with an I2C communication pin
  • 5.Comes with 3-way DC 3.3V power output pin
  • 6.Comes with a power indicator and a reset button
  • 7.Comes with an external power connector(PH2.0-2P)and a control button



Technical Parameters

  • Voltage input: DC7-12V
  • Power connector: PH2.0-2P
  • Pin/Female header: 2.54mm
  • Fixing hole diameter: 3mm
  • Dimensions: 57mm*54mm*17mm
  • Weight: 20.4g


Controller Compatible


PINOUTS


thumb


Use Method

We can use keyestudio Nano ch340 as control board, separately connect 3 LED modules to D4~D6 3Pin interface. Then upload the test code to make LED flash one by one, achieving light flow effect.


Wiring Diagram


thumb


Test Code

int BASE = 4;  // I/O pin connected to the first LED
int NUM = 3;   //the number of LED 
void setup()
{
   for (int i = BASE; i < BASE + NUM; i ++) 
   {
     pinMode(i, OUTPUT);   //set the digital I/O pin to output
   }
}

void loop()
{
   for (int i = BASE; i < BASE + NUM; i ++) 
   {
     digitalWrite(i, HIGH);    //set the digital I/O pin output to "HIGH",gradually turn on LED
     delay(200);        //delay
   }
   for (int i = BASE; i < BASE + NUM; i ++) 
   {
     digitalWrite(i, LOW);    //set the digital I/O pin output to "LOW",gradually turn off LED
     delay(200);        //delay
   }  
}



Test Result

Upload well the code to keyestudio Nano ch340 shield, then press down Power_Switch, the LED module will flash one by one.
thumb



Resource Links

  • Download the code:

https://fs.keyestudio.com/KS0425



Get One Now

  • [ Get one now on aliexpress store]