HC-SR04 + vibration motor+ Nrf24L01

Hi !
i need some advise for my project , i was mistake but dunno where is wrong someone help me for this project ,also sory for my english i want to say my problems :confused:

here is my diagram;
http://i.hizliresim.com/BPXL1j.jpg

Also my codes;
nano;
#include
#include “nRF24L01.h”
#include “RF24.h”
int bilgi[1];
RF24 radio(9,10); // ce , csn
const uint64_t pipe = 0xE8E8F0F0E1LL;
int motor = 3;

void setup()
{
Serial.begin(9600);
radio.begin();
radio.openReadingPipe(1,pipe);
radio.startListening();
pinMode(motor, OUTPUT);
}

void loop()
{
if (radio.available())
{
bool done = false;

done = radio.read(bilgi, 1);
if (bilgi[0] == 111)
{
digitalWrite(motor, HIGH);
}

if (bilgi[0] == 000)
{
digitalWrite(motor, LOW);
}

}

}


Uno;
#include
#include “nRF24L01.h”
#include “RF24.h”
int bilgi[1];
RF24 radio(8,9);
const uint64_t pipe = 0xE8E8F0F0E1LL; // Pipe
int trigPin=2;
int echoPin=3;

void setup()
{
Serial.begin(9600);
radio.begin(); //
radio.openWritingPipe(pipe); //

pinMode(trigPin, INPUT);
pinMode(echoPin, INPUT);
}

void loop()
{
int duration,distance;

digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);

distance = (duration/2)/29.1;
Serial.print(distance);
Serial.println(“cm”);
delay(500);

if (distance <10) {
bilgi[0] = 111;
radio.write(bilgi, 1);
}

if (distance <30) {
bilgi[0] = 000;
radio.write(bilgi, 1);
}

}

i want to make like this

i attach sensors to uno also nano has vibration motor.