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

From Microduino Wiki
Jump to: navigation, search
(Outline)
Line 5: Line 5:
 
==Outline==
 
==Outline==
 
*Project:Microduino nrf24 communication
 
*Project:Microduino nrf24 communication
*Objective:Use the microduino nrf24 module to wireless conrotl LED and use the button to control LED on or off.
+
*Objective:To have a wireless control of the LED light via Microduino-NRF24.  
 
*Difficulty:Elementary
 
*Difficulty:Elementary
 
*Time-consuming:Half an hour
 
*Time-consuming:Half an hour

Revision as of 09:39, 20 August 2014

Language: English  • 中文

Outline

  • Project:Microduino nrf24 communication
  • Objective:To have a wireless control of the LED light via Microduino-NRF24.
  • 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.