รหัสสินค้า | AS20009 |
หมวดหมู่ | Memory/SD Card Adapter |
ราคา | 350.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | ชิ้น |
Connection Diagram
Pinout
Num | Silkprint | Description |
---|---|---|
1 | VCC | Power VCC |
2 | GND | Power GND |
3 | RX | UART Receive |
4 | TX | UART Transmit |
5 | S | SAVE pin/button, save the current file, and create a new file to store the following data, save data at low level. |
SD LED indicator is the one for data interaction between module and storage. It blinks when data is being written or a new file is being created.
Write data to the module through Serial.print, save a file every once in a while.
#define SPIN 6 //Connect to the module Pin S, trigger to save files at low level
uint16_t i = 0;
void setup(void)
{
Serial.begin(9600);
delay(2000); //To aviod data lost, delay a period of time to wait for the module to start
pinMode(SPIN, OUTPUT);
digitalWrite(SPIN, HIGH);
}
void loop(void)
{
Serial.println(String(i));
i++;
if((i % 10) == 0){
digitalWrite(SPIN, LOW);
delay(500);
digitalWrite(SPIN, HIGH);
}
delay(300);
}
NOTE: In the config.txt file, set FileFormat to 1
#define SPIN 6 //Connect to the module Pin S, trigger to save files at low level
uint16_t i = 0;
void setup(void)
{
Serial.begin(9600);
delay(2000); //To aviod data lost, delay a period of time to wait for the module to start
pinMode(SPIN, OUTPUT);
digitalWrite(SPIN, HIGH);
}
void loop(void)
{
Serial.println(String(i));
i++;
if((i % 10) == 0){
digitalWrite(SPIN, LOW);
delay(500);
digitalWrite(SPIN, HIGH);
}
delay(300);
}
Q&A | Some general Arduino Problems/FAQ/Tips |
---|---|
Q | The CONFIG.TXT file isn't automatically generated when the module is powered on. |
A | Check whether the USB host is used to power the module first, and then check whether the file system for storage is FAT32. |
Q | The SD indicator is not lit when data is rapidly written to the module. |
A | The SD card has write endurance cycles of 100 thousand times. In order to ensure the SD life, write to SD card once about 50ms or 512 bytes after the module writes to data. |
Q | When will the module enter USB flash drive mode? When to enter data storing mode? |
A | When a USB host is used to connect the module, the module enters the USB flash drive mode, at the time data can't be stored in the module and the CONFIG.TXT file and new blank files will not be automatically generated when the module is powered on. In other cases, the module enters the data storing mode, and the CONFIG.TXT file and new blank files will be generated automatically if the module doesn't have a CONFIG.TXT file. |
Q | What can I do if a file cannot be deleted? |
A | Please format the storage first, and then refer to the methods in "For First Time Use". |
A | For any questions, advice or cool ideas to share, please visit the DFRobot Forum. |
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,375,832 ครั้ง |
ผู้ชมทั้งหมด | 5,878,910 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 6 ก.ย. 2568 |