Deskripsi
Brand new and high quality.
chip board ENC28J60-I/SO.
the board 25MHZ crystal.
the network interface board HR911105A.
3.3 V power supply pin.
Size:5.9cm x 3.5cm – 2.32inch x 1.38inch.
Debug reminder:
1, the IP address of the computer to a network segment and module such as IP module 192.168.1.2, IP computer set: 192.168.1.3; 192.168.1 is the 3 section;
2, cross the network cable connected to the mouth of the computer network module and mouth; (that is, the cable network 1 3,2 cross, and then do not understand that there are pictures Baidu);
3, the module and the MCU connection should pay attention to the connection of each line is reliable (the surface is not even connected to the good);
4, and the MCU port IO to confirm that is right;
5, the program recompile, download, confirm whether to download! STM32 and 51 IO
Wiring instructions:
############STM32 connection ##########
STM32f103VBT6 ENC28J60 module or other stm32
PC10———– RESET
PC12——— CS //PC12 pull-up output mode
//SPI1-
PA5———– SCK / / output mode
PA6———– SO / / input mode
PA7———– SI / / output mode
######51 microcontroller ########### //———————————
Change IP address and MAC address in uipopt.h
192.168.1.100
//——————————— port configuration in spi.h.
STC12C5A60S2 DIP OSC:18.432Msbit CSN = P1^0; / / 28J60– CS (SS)
Sbit SIN = P1^1; / / MOSI
Sbit SON = P1^2; / / MISO
Sbit SCKN = P1^3; / / SCK
Sbit RSTN = P1^4; / / RST
Sbit INTN = P3^3; / / INT
Ulasan
There are no reviews yet