SD/Serial Loader
- Send/receive files to/from SD card from/to serial port
- Menu driven program
Features
- Supports SD cards up to 32GB
- Serial interface
- Full hardware Handshake support
Cards
NANO-BKOUT
SD CARD X49
Level Shifter (Optional)
Cabling
NANO-BKOUT to Level Translator Cabling
NANO-BKOUT
|
SIGNAL
|
GRID49
|
COLOR
|
D0
|
RX (TO NANO)
|
G12
|
BRN
|
D1
|
TX (FROM NANO)
|
F12
|
ORA
|
D2
|
RTS FROM NANO)
|
E12
|
YEL
|
D3
|
CTS (TO NANO)
|
D12
|
WHT
|
+5V
|
+5V
|
C12
|
RED
|
GND
|
GND
|
H12
|
BLK
|
NANO-BKOUT
|
SIGNAL
|
MyMenu
|
COLOR
|
H7-1
|
GND
|
P2-1
|
BLK
|
H7-2
|
+5V
|
P2-2
|
RED
|
H7-3
|
SDA
|
P2-3
|
WHT
|
H7-4
|
SCL
|
P2-4
|
BRN
|
H7-5
|
INT(D6)
|
P2-5
|
GRY
|
NANO-BKOUT to SD_CARD_X49 Cabling
NANO-BKOUT
|
SIGNAL
|
SD_CARD_X49
|
COLOR
|
ISP-1
|
D12 / MISO
|
J1-2
|
BRN
|
ISP-2
|
+5V
|
J1-8
|
RED
|
ISP-3
|
D13 / SCK
|
J1-3
|
BLU
|
ISP-4
|
D11 / MOSI
|
J1-4
|
WHT
|
ISP-5
|
RST*
|
N/C
|
OR
|
ISP-6
|
GND
|
J1-1
|
BLK
|
D9
|
D9/ SDCS*
|
J1-5
|
GRY
|
Software
Human Interface Design (HID)
SD Card
** SCLK - CLK - pin 13
** MISO - SDI - pin 12
** MOSI - SDO - pin 11
** SS - CS - depends on your SD card shield or module.
Serial
- Serial Reference
- Serial.begin(speed)
- Serial.available()
- Get the number of bytes (characters) available for reading from the serial port.
- This is data that’s already arrived and stored in the serial receive buffer (which holds 64 bytes).
- Turn off/on receive handshake based on Serial.available() count and storage
References