“Microduino NRF communication-201KIT”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
Pkj讨论 | 贡献
第37行: 第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==
第58行: 第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]]
 
|-
 
|-
 
|
 
|

2014年2月24日 (一) 05:54的版本

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.

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:

  • 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.