Microduino NRF communication-201KIT

来自Microduino Wikipedia
Pkj讨论 | 贡献2014年8月20日 (三) 09:54的版本 Bill of Materials
跳转至: 导航搜索
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+/Microduino-Core 1 Used as a master machine to send the control signal
Microduino-Core 1 Used as a slave machine to receive the control signal
Microduino-FT232R 1 For program download
Microduino-nRF24 2 For wireless communication
  • Other equipment
Button 1 For function selection
LED 1 For displaying communication status
bread board 1 For circuit buildup
Jumper 1 For circuit connection
  • Module

For ease of debugging and lowering the height of the module combination, here we need an extension board Microduino-Duo-V1.

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.