Difference between revisions of "Microduino NRF communication-201KIT"

From Microduino Wiki
Jump to: navigation, search
Line 37: Line 37:
 
In order to facilitate debugging, reduce the height of module combination, add the extension board Microduino Duo-V.
 
In order to facilitate debugging, reduce the height of module combination, add the extension board Microduino Duo-V.
  
[[File:201KIT.jpg|600px|center|thumb|201KIT图片]]
+
[[File:module.jpg|600px|center|thumb|201KIT]]
  
 
==Document==
 
==Document==
Line 58: Line 58:
 
Button connection:use internal pull up, set it in program by yourself.
 
Button connection:use internal pull up, set it in program by yourself.
  
[[File:201KIT-button.jpg|600px|center|thumb|201KIT-button图片]]
+
[[File:201KIT-button.jpg|600px|center|thumb|201KIT-button]]
  
 
|-
 
|-
 
|
 
|
 
The whole systme picture:
 
The whole systme picture:
[[File:201KIT-ok.jpg|600px|center|thumb|201KIT]]
+
[[File:201KIT-system.jpg|600px|center|thumb|201KIT]]
 
|-
 
|-
 
|
 
|

Revision as of 05:54, 24 February 2014

Outline

  • Project:Microduino nrf24 communication
  • Objective:Use the microduino nrf24 module to wireless conrotl LED and use the button to control LED on or off.
  • Difficulty:Elementary
  • Time-consuming:Half an hour
  • Maker:Microduino Studio-YLB

Bill of Materials

  • Microduino equipment
Module Number Function
Microduino-Core+ 1 Master,send the control signal (You can use Microduino-Core too)
Microduino-Core 1 Slave,receive the control signal
Microduino-FT232R 1 Download program
Microduino-nRF24 2 Wireless communication
  • Other equipment
Button 1 Function selection
LED 1 Display communication state
bread board 1 Set up circuit
Jumper 1 connect the circuit
  • Module

In order to facilitate debugging, reduce the height of module combination, add the extension board Microduino Duo-V.

201KIT

Document

Debugging

  • Step 1:Set up system

Prepare master module: Microduino-Core+, Microduino-FT232R, Microduino-nRF24, button, bread board

Prepare slave module: Microduino-Core, Microduino-NRF24,Microduino Duo-V, LED

  • Setp 2:Set up button

Button connection:use internal pull up, set it in program by yourself.

201KIT-button

The whole systme picture:

201KIT
  • Setp 3:Download the example program

download the program:

Choose "Microduino Core +(Atmega644P@16M,5V)" on master, and choose "Microduino Core (Atmega328P@16M,5V)" on slave, download directly.

download-core
download-core+

Result

Download the program to core board, press the button on master to contorl the LED on slave, light and off in turn.


Note

  • The parameters should be match in NRF's communication function of sending and receiving.
  • The button use the internal pull up which need to define in program.