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

From Microduino Wiki
Jump to: navigation, search
(Outline)
(Bill of Materials)
Line 23: Line 23:
 
|Module||Number||Function
 
|Module||Number||Function
 
|-
 
|-
|Microduino-Core+||1||Master,send control signal (you can use Microduino-Core too)
+
|Microduino-Core+/Microduino-Core||1||It is served as a host machine,sending control signal
 
|-
 
|-
|Microduino-Core||1||Slave,receive control signal
+
|Microduino-Core||1||It is served as a slave machine, receiving control signal
 
|-
 
|-
|Microduino-FT232R ||1||Download program
+
|Microduino-FT232R ||1||For program download
 
|-
 
|-
|Microduino-Enc ||1||Network communication
+
|Microduino-Enc ||1||For network communication
 
|-
 
|-
|Microduino-nRF24||2||Wireless communication between master and slave
+
|Microduino-nRF24||2||For wireless communication between the host and the slave machine
 
|-
 
|-
|Microduino Duo-V||1||Easy to debug and install
+
|Microduino Duo-V||1||For ease of building the circuit and debugging
 
|}
 
|}
 
*Other equipment:
 
*Other equipment:
Line 42: Line 42:
 
|Network cable||one
 
|Network cable||one
 
|-
 
|-
|micro usb data cable||Two
+
|Micro USB cable||Two
 
|-
 
|-
 
|LED||one
 
|LED||one
Line 49: Line 49:
 
|-
 
|-
 
|
 
|
 +
 
==Document==
 
==Document==
  

Revision as of 03:54, 25 August 2014

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:Set up hardware

Control master:

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

Control slave:

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

304201KIT-system

Step 2: Set up network

Power on router, and connect the PC to network.

Step 3: Download program

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

Step 4: Control LED in local network

Open a new web page, enter into your ip address. Microduiono networking success can enter the control interface, or can not be opened.

Myip

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.

Note

  • Microduino Enc must be used with Microduino RJ45 together.
  • Need configure the MAC address and ip address in local network.
  • The gateway node and slave machine node should be matched.

Video

http://v.youku.com/v_show/id_XNjY1NzE3NDQ0.html