Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Hello everyone here, my question is I want to design a simple wireless sensor mote, give me tips regarding that.

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2014/02/12
mohamed noor Antabe Antabe
par mohamed noor Antabe Antabe , محاسب مالي , مول أدلبي+شركة العجم لتنفيذ الأعمال الهندسية والميكانيكية

E-Project in the diverse, sometimes you need to connect wirelessly to the pieces together, whether for sending or receiving data or send signals to control the operation or shut down the project which pieces!

This means exceed between speed and range and energy exchange rate.

Of these ways:

1) Wifi.

2) Xbee.

3) RF Radio Frequency.

4) bluetooth.

The way in which we will talk about is the widget is a piece nrfL and a wireless transmitter operates commercial and as the future together! It has many advantages such as

1) Work on the2.4GHz frequency

2) multiple speeds to send "kHz,1MB,2MB" data

3) low energy consumption.5mA-3.3V

4) the existence and status of energy-savingnA

5) Use the SPI protocol in programming

6) the possibility of reception for more than a signal of more than one transmitter at the same time Multiceiver.

In Technical Bulletin for this piece all the necessary information for programming in addition to the optimal design for this piece on the printing plates PCB

Generally connect with this piece Alordueno and easy to get started in programming you have to find out in the beginning of the protocol and is a fast SPI communication protocol between controllers Minimal MCU and other electronic parts and allows communication and data transfer at very high speed.

To learn more about this protocol you can read the link here.

What you'll need it in the beginning of the implementation of a simple circuit to send and receive using this piece.

1) Arduino UNO card number2.

2) Item number2 NRFL.

3) connecting wires Female-male number.

4) breadBoard number1.

5) variable resistance PotentiometerKohm.

6) connecting wires Male-Male.

What will work is to read the value of the variable resistance and send this value to the other party and the value on the display screen cereals.

Delivery:

Preferably use of Arduino version R3 because the piece nrfL working on voltage of3.3V and Alordueno in various versions operate on5 volts! The solution is to connect the entrance IOREF3.3V and thus becomes the level of income-output logical Arduino3.3V instead of5V.

Delivery will depend on the latest Arduino UNO LAUNCH R3.

Transmitters circuit:

Circuit Reception:

the program :

We can write the program without the need for any library, but the use of the library is easily accessible for multiple orders in this piece and makes the code simpler and more likely to develop or add in larger projects.

#include <ELECHOUSE_NRFL.h>

const int TX_ADR_WIDTH =5; // TX address width

const int TX_PLOAD_WIDTH =1; // TX payload width1byte

byte TX_ADDRESS [TX_ADR_WIDTH] = {0x,0x,0x,0x,0x}; // TX address

byte TX_buffer [TX_PLOAD_WIDTH] = {0}; // Data buffer to transmit

void setup ()

{Serial.begin (); ELECHOUSE_nRFL.Init (); // initialization ELECHOUSE_nRFL.RegConfigSettings (); // RF, address width, enable AA

More Questions Like This