My Relay Module
-
thank you! I apologize for my level , I hope to fix with your help.
-
Here is the improved code that I used on my Arduino Mega to create a home automation controller
New optimized code to arduino mega
-
Update: Forget it, the code works with Arduino Mini and 2 relay. I tried one after the code of Arduino Mega and not working. Something wrong but I do not know what I require help

I found mistakes on Arduino Mega solvable at the following link
http://forum.mysensors.org/topic/2161/the-mysensor-1-5-code-is-not-compiling-for-my-arduino-mega-2560-board/1
but I do not have this kind of problem you can get support? I connected NRF24L01 to Arduino Mega, as if it were an Arduino Nano, right? -
I connected the radio module as follows
AtMega 2650 Arduino Step Down Module/Radio
GND > GND
5V > Step Down module VCC
14 > SCK
15 > MOSI
16 > MISO
17 > CE
18 > CSN
I tried but it did not work I tried to connect also IrQ
2 > IRQ
it did not work. I tried to connect to 3v3 with the capacitor. it did not work. I tried adding the line in the code
#include <MyTransportNRF24.h>
#include <MyHwATMega328.h>
but to no avail. I am groping in the dark -
I have "check wires" error on the serial arduino....
where do I fit in debug mode there is a guide?
I saw a video that uses MQTT program on mac.
I have downloaded windows MYSController I can be of help? How do I connect my PC? It is all new and are a little confused. :dizzy_face: :u7a7a:I "atmega adk" is a problem?
https://www.arduino.cc/en/uploads/Main/ArduinoADK_R3_Front_450px.jpg -