|
|
|
|
|
|
|
NanoPi֮רΪǶʽLinuxߡ͡ƵһARMذ壬ijߴֻRaspberry Pi(RPi)һСҼRPiGPIOӿڣNanoPiWiFi4.0ģ飬вͷӿڣȫLCDӿڣɴTFLinux/DebianϵͳdzʺСˡͼʶ˻Ӧÿ |
Դ |
- CPU: Samsung S3C2451,ARM926EJƵ400Mhz߿ɴ533Mhz
- DDR2 RAM: 64MB
- Wireless: 802.11b/g/n, 4.0
- USB Host: Type AͿڣUSB 1.1
- Դ: 4 pins, 2.54mm pitch
- MicroSD Slot x1
- microUSB x1: ֹ֧ݴ䣬ģΪں̫
- LCDӿ: 0.5mmƬFPC֧ȫLCD (RGB:8-8-8)
- DVP Cameraӿڣ0.5mm pitchֱƬFPCITU-R BT 601/656 8-bitI2CIO
- GPIO1: 40 pins, 2.54mm pitch, Raspberry Pi 2չGPIOUART, SPI, I2C, IOȹܽԴ
- GPIO2: 12 pins, 2.54mm pitch, I2S, I2C, UARTȹܽԴ
- PCB Size: 75 x 30mm, ΪRaspberry Pi 2ߴ1/2
- Power Supply: DC 5V
- OS/Software: u-boot, Linux-4.1, Debian
|
|
|
|
|
|
ӿڲֺܽŶ |
|
|
|
GPIO2 Pin Spec |
Pin# |
Name |
Pin# |
Name |
1 |
VDD_5V |
2 |
VDD_SYS_3.3V |
3 |
TXD2 |
4 |
RXD2 |
5 |
SDA0 |
6 |
SCL0 |
7 |
IISSDO0 |
8 |
IISSDI0 |
9 |
IISSCLK0 |
10 |
IISLRCK0 |
11 |
IISCDCLK0 |
12 |
DGND |
|
Debug Port CON1UART0
|
Pin# |
Name |
1 |
VDD_5V |
2 |
TXD2 |
3 |
SDA0 |
4 |
IISSDO0 |
|
|
|
DVP Camera IF Pin Spec |
Pin# |
Name |
1,2 |
VDD_SYS_3.3V |
7,9,13,15,24 |
DGND |
3 |
SCL0 |
4 |
SDA0 |
5 |
GPH13 |
6 |
GPJ12 |
8 |
XCLK |
10 |
NC |
11 |
VSYNC |
12 |
HREF |
14 |
PCLK |
16-23 |
Data bit7-0 |
|
|
еߴ |
|
Unit: mm |
|
|
|
|
ҪNanoPiߣӲ
- NanoPi
- microSD/TF: СϵͳҪ64M
- microUSB
- һ̨LinuxĵԣҪ
һŴϵͳmicroSD
- 1) microSDUbuntuĵԣ鿴SD豸
dmesgϢ sdc: sdc1 sdc2ʱʾSDӦ豸Ϊ /dev/sdcҲͨcat /proc/partitions鿴
- 2)ع̼microSD
git clone https://github.com/friendlyarm/sd-fuse_nanopi.git
cd sd-fuse_nanopi
su
./fusing.sh /dev/sdx |
(ע/dev/sdx滻ΪʵʵSD豸ļ)
ϵͳ
õmicroSDNanoPiʹmicroUSBӵԣNanoPiϵԶϵɫLED˸˵ϵͳѾʼˡ
ͨmicroUSB½NanoPi
microUSB߽NanoPiӵԺڵdmesgϢʾӳɹ
[12601.100339] usb 2-1.7: Product: FriendlyARM Gadget v2.4
[12601.100343] usb 2-1.7: Manufacturer: Linux 4.1.2-FriendlyARM with s3c-hsudc
[12601.103192] cdc_acm 2-1.7:2.0: This device cannot do calls on its own. It is not a modem.
[12601.103368] cdc_acm 2-1.7:2.0: ttyACM0: USB ACM device
[12601.105300] cdc_ether 2-1.7:2.2 usb0: register 'cdc_ether' at usb-0000:00:1d.0-1.7, CDC Ethernet Device, 46:a1:e7:6d:5c:32 |
ڵifconfigԿһusb0豸ʱͨssh192.168.100.1ַ¼NanoPi:
ʾʱԤfaɵ롣
ʹWi-Fi
ʹsshNanoPiWiFi
wpa_passphrase YourWiFiESSID 'YourWiFiPassword' >> /etc/wpa.conf
wpa_cli -iwlan0 reconfigure |
УYourWiFiESSIDYourWiFiPassword滻ҪӵAPƺ룬 ԺÿοԶӸWiFiͨ༭ /etc/wpa.conf APã ĬͨdhcpķʽIPַijɾ̬IPַɱ༭ /usr/sbin/wpa_actionеudhcpcøijʹifconfigá
ɨAP
ܱߵAP:
wpa_cli -iwlan0 scan
wpa_cli -iwlan0 scan_result |
|
|
Դ |
|
|
|