Difference between revisions of "Microduino NRF Wireless Gateway based on Enc Gateway -304 KIT"

From Microduino Wiki
Jump to: navigation, search
(Debugging)
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
|
 
|
 
==Outline==
 
==Outline==
Project:Microduino-NRF Wireless Communication Based on Microduino-Enc Gateway  
+
Project: Microduino-NRF Wireless Communication Based on Microduino-Enc Gateway  
  
Objective:To set up a network with Microduino-Enc, PC and router,using Microduino-NRF to control the LED in the LAN.
+
Objective: To set up a network with Microduino-Enc, PC and router,using Microduino-NRF to control the LED in the LAN.
  
Difficulty:Elementary
+
Difficulty: Elementary
  
Time-consuming:Two-hour
+
Time-consuming: Two-hour
  
Maker:Microduino Studio-YLB
+
Maker: Microduino Studio-YLB
  
 
|-
 
|-
Line 18: Line 18:
  
 
==Bill of Materials==
 
==Bill of Materials==
*Microduino equipment:
+
*Microduino equipment:
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 35: Line 35:
 
|Microduino Duo-V||1||For ease of building the circuit and debugging  
 
|Microduino Duo-V||1||For ease of building the circuit and debugging  
 
|}
 
|}
*Other equipment:
+
*Other equipment:
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
Line 55: Line 55:
 
|
 
|
 
==Debugging==
 
==Debugging==
Step 1:Build the hardware
+
Step 1: Build the hardware
  
Master machine control:
+
Master machine control:
  
Equipment:Microduino-Core+, Microduino Duo-V, Microduino-Enc, Microduino-nRF24, Router and network cables.
+
Equipment: Microduino-Core+, Microduino Duo-V, Microduino-Enc, Microduino-nRF24, Router and network cables.
  
Slave machine control:
+
Slave machine control:
  
Equipment:Microduino-Core, Microduino-nRF24 and Microduino-FT232R
+
Equipment: Microduino-Core, Microduino-nRF24 and Microduino-FT232R
 
|-
 
|-
 
|
 
|
Line 69: Line 69:
 
|-
 
|-
 
|
 
|
Step 2: Build the network
+
Step 2: Router network
  
Power router and connect the PC to network.
+
Power the router and connect the PC to network.
  
 
Step 3: Download the program
 
Step 3: Download the program
Line 85: Line 85:
  
 
==Result==
 
==Result==
After download, Microduino core accessed the network, then open the gateway, click button on control interface to control the corresponding node led, each time you press the button, the led will have a state transition. Because it is a node control, so only the node that slave program seted can be controled by the gateway control interface's node.
+
After finishing the download and getting the Microduino core networked, you can just open the gateway, click the ImageButton on the control interface to control the LED. Every time you click the button, the LED will have a status transmission, by which wireless network control can be achieved. Since it is a node-control, only the node set by the slave machine program can be controlled by the corresponding node of the gateway control interface.
 +
 
  
 
|-
 
|-
 
|
 
|
 +
 
==Note==
 
==Note==
 
*Microduino Enc must be used with Microduino RJ45 together.
 
*Microduino Enc must be used with Microduino RJ45 together.
*Need configure the MAC address and ip address in local network.
+
*Networking the devices needs to configure MAC and IP address of the Ethernet interface in the LAN.  
*The gateway node and slave machine node should be matched.
+
*The node of the gateway and the slave machine should be matched.
  
 
==Video==
 
==Video==
http://v.youku.com/v_show/id_XNjY1NzE3NDQ0.html
+
 
 
|}
 
|}

Latest revision as of 05:40, 30 September 2016

Language: English  • 中文

Outline

Project: Microduino-NRF Wireless Communication Based on Microduino-Enc Gateway

Objective: To set up a network with Microduino-Enc, PC and router,using Microduino-NRF to control the LED in the LAN.

Difficulty: Elementary

Time-consuming: Two-hour

Maker: Microduino Studio-YLB

Bill of Materials

  • Microduino equipment:
Module Number Function
Microduino-Core+/Microduino-Core 1 It is served as a host machine,sending control signal
Microduino-Core 1 It is served as a slave machine, receiving control signal
Microduino-FT232R 1 For program download
Microduino-Enc 1 For network communication
Microduino-nRF24 2 For wireless communication between the host and the slave machine
Microduino Duo-V 1 For ease of building the circuit and debugging
  • Other equipment:
Router one
Network cable one
Micro USB cable Two
LED one
304201KIT-module

Document

Debugging

Step 1: Build the hardware

Master machine control:

Equipment: Microduino-Core+, Microduino Duo-V, Microduino-Enc, Microduino-nRF24, Router and network cables.

Slave machine control:

Equipment: Microduino-Core, Microduino-nRF24 and Microduino-FT232R

304201KIT-system

Step 2: Router network

Power the router and connect the PC to network.

Step 3: Download the program

Start Arduino IED, open the Microduino example program and choose "Microduino Core +(Atmega644P@16M,5V)" as the board of the master machine and "Microduino Core (Atmega328P@16M,5V)" as the board of the slave machine, then download directly.

Step 4: Control the LED in the LAN

Open a new webpage, enter your IP address and you'll enter the control interface if you can connect the network successfully.

Myip

Result

After finishing the download and getting the Microduino core networked, you can just open the gateway, click the ImageButton on the control interface to control the LED. Every time you click the button, the LED will have a status transmission, by which wireless network control can be achieved. Since it is a node-control, only the node set by the slave machine program can be controlled by the corresponding node of the gateway control interface.


Note

  • Microduino Enc must be used with Microduino RJ45 together.
  • Networking the devices needs to configure MAC and IP address of the Ethernet interface in the LAN.
  • The node of the gateway and the slave machine should be matched.

Video