Microduino Enc Wired network experiment -302KIT

From Microduino Wiki
Revision as of 09:18, 15 June 2016 by 172.31.23.3 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文

Outline

Project: Microduino-Enc Wired Networking Experiment

Objective:Enable Microduihno-Core to connect with the network via Microduino-Enc and Microduino-RJ45, control four LED lights inside the LAN and achieve network control.

Difficulty:Elementary

Time-consuming:One hour

Maker:Microduino Studio-YLB

Bill of Materials

  • Microduino equipment:
Module Number Function
Microduino-Core(Microduino Core+) 1 Served as the slave machine,receiving and controlling signal
Microduino-USBTTL(FT232R) 1 For program download
Microduino Enc(Microduino Rj45) 2 For wireless communication
  • Other equipment:
Router one
Network cable one
micro USB cable one
LED Four
Bread board one
Breadboard jumper one box
302KIT-module

Document

Debugging

Step 1:Set up router network

Power the router and connect the PC to network.

Step 2: Build the hardware

Install all Microduino modules needed and adopt the extension board Microduino Duo-V for easy debugging.

302KIT-module
302KIT-system

Step 3: Download program

Start Arduino IED, open the Microduino example program and choose the board "Microduino Core (Atmega328P@16M,5V)", then download directly.

Step 4:Connect the network

Connect Microduino-RJ45 to the LAN port of router.

Step 5:Wired control of the LED lights inside the LAN

Open a new page and enter the "myip" address in the program.You can only enter the control interface when Microduino connects the internet successfully. Otherwise, it can not be opened.

Myip

Result

After connecting the Microduino core to the internet, you can control the switch of the LED through the graphical button on the Gateway Control Interface, achieving the network control via the button.

Note

  • Microduino-Enc must be stacked with Microduino-RJ45 for use, forming networked devices;
  • Device network connection needs to configure MAC address and IP address with Ethernet interface inside the LAN.

Video