Difference between revisions of "Microduino NRF communication-201KIT"
(→Note) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
| | | | ||
==Outline== | ==Outline== | ||
− | * | + | *Project: Microduino nrf24 communication |
− | * | + | *Objective: To have a wireless control of the LED light via Microduino-NRF24. |
− | * | + | *Difficulty: Elementary |
− | *Time- | + | *Time-consuming: Half an hour |
− | * | + | *Maker: Microduino Studio-YLB |
==Bill of Materials== | ==Bill of Materials== | ||
Line 20: | Line 20: | ||
|Microduino-Core||1||Used as a slave machine to receive the control signal | |Microduino-Core||1||Used as a slave machine to receive the control signal | ||
|- | |- | ||
− | |Microduino-FT232R ||1||For program download | + | |Microduino-USBTTL(FT232R) ||1||For program download |
|- | |- | ||
|Microduino-nRF24||2||For wireless communication | |Microduino-nRF24||2||For wireless communication | ||
Line 45: | Line 45: | ||
|- | |- | ||
| | | | ||
− | *Step | + | *Step 1: Set up the system |
|- | |- | ||
| | | | ||
− | Prepare master | + | Prepare master module: |
Microduino-Core+, Microduino-FT232R, Microduino-nRF24, a button and a bread board | Microduino-Core+, Microduino-FT232R, Microduino-nRF24, a button and a bread board | ||
|- | |- | ||
| | | | ||
− | Prepare slave | + | Prepare slave module: |
Microduino-Core, Microduino-NRF24,Microduino Duo-V and an LED | Microduino-Core, Microduino-NRF24,Microduino Duo-V and an LED | ||
|- | |- | ||
| | | | ||
− | * | + | *Step 2: Set up the button |
− | Button | + | Button connection: Adopt internal pull up. (You need to define it in program.) |
[[File:201KIT-button.jpg|600px|center|thumb|201KIT-button]] | [[File:201KIT-button.jpg|600px|center|thumb|201KIT-button]] | ||
Line 63: | Line 63: | ||
|- | |- | ||
| | | | ||
− | The whole system | + | The whole system picture: |
[[File:201KIT-system.jpg|600px|center|thumb|201KIT]] | [[File:201KIT-system.jpg|600px|center|thumb|201KIT]] | ||
|- | |- | ||
| | | | ||
− | * | + | *Step 3: Download the example program |
− | Download the | + | Download the program: |
|- | |- | ||
| | | | ||
Line 83: | Line 83: | ||
==Note== | ==Note== | ||
*The sending and receiving parameters of Microduino-NRF24's communication function should be matched. | *The sending and receiving parameters of Microduino-NRF24's communication function should be matched. | ||
− | *The button adopts internal | + | *The button adopts internal pull up, needed to be defined in program. |
|} | |} |
Latest revision as of 05:44, 30 September 2016
Language: | English • 中文 |
---|
Outline
Bill of Materials
For ease of debugging and lowering the height of the module combination, here we need an extension board Microduino-Duo-V1. DocumentDebugging | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Prepare master module: Microduino-Core+, Microduino-FT232R, Microduino-nRF24, a button and a bread board | |||||||||||||||||||||||||||
Prepare slave module: Microduino-Core, Microduino-NRF24,Microduino Duo-V and an LED | |||||||||||||||||||||||||||
Button connection: Adopt internal pull up. (You need to define it in program.) | |||||||||||||||||||||||||||
The whole system picture: | |||||||||||||||||||||||||||
Download the program: | |||||||||||||||||||||||||||
Choose "Microduino Core +(Atmega644P@16M,5V)" as the board of the master machine and "Microduino Core (Atmega328P@16M,5V)" as that of the slave machine, then download directly. ResultJust download the program to the core board and you can control the LED on the slave machine through the button on the master machine. Note
|