Hey,
Can someone point me to a code on how to light up an LED wirelessly. I am using 2 transceiver connected to 2 separate arduino pro mini boards.
Using nrf24l01
Pin 2 on board 1 push button
Led light on pin 6 on board 2
I push button 1 ,led should turn on on 2
rf24 library included.
thanks
But the way i tried maniac examples but couldnt make sense of it .
I also installed 10UF on nrf24l01 and it blew it - the plus minus correctly soldered.
as recommended for noise .. any ideas why ??
46 views , no help come on people
destiny2008:
no help come on people
Rest assured, if anyone who views a thread has anything to say, they'll say it.
Rule number 1.... post your code and schematics so far
The connexions I'm using in both arduinos are:
RF24 Arduino
GND GND
3V3 3V3
CE 9
CSN 10
SCK 13
MOSI 11
MISO 12
Arduino1 push button on pin2
Arduino2 LED with resistor on pin6
Hi,
Can you please post a copy of your sketch, using code tags?
They are made with the </> icon in the reply Menu.
See section 7 http://forum.arduino.cc/index.php/topic,148850.0.html
Have you looked in the examples section of the IDE?
Tom..... 
I have searched all over the place:
TX
#include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
#include "printf.h"
int msg[1];
RF24 radio(9,10);
const uint64_t pipe = 0xE8E8F0F0E1LL;
int SW1 = 7;
void setup(void){
Serial.begin(9600);
radio.begin();
radio.openWritingPipe(pipe);}
void loop(void){
if (digitalRead(SW1) == HIGH){
Serial.println("switch High");
msg[0] = 111;
radio.write(msg, 1);
Serial.println(msg[0]);
}
}
RX
#include <SPI.h>
#include "nRF24L01.h"
#include "RF24.h"
int msg[1];
RF24 radio(9,10);
const uint64_t pipe = 0xE8E8F0F0E1LL;
int LED1 = 3;
void setup(void){
Serial.begin(9600);
radio.begin();
radio.openReadingPipe(1,pipe);
radio.startListening();
pinMode(LED1, OUTPUT);}
void loop(void){
if (radio.available()){
bool done = false;
while (!done){
done = radio.read(msg, 1);
Serial.println(msg[0]);
if (msg[0] == 111){delay(10);digitalWrite(LED1, HIGH);}
else {digitalWrite(LED1, LOW);}
delay(10);}}
else{Serial.println("No radio available");}}
What can you read in the Serial Monitor?
it shows actually "No radio available" ,
capacitor is installed on both transceivers.