![]() To use RFM69, the following needs to be added before including MySensors.hīase defines for non-High Power 868Mhz radio, and Atmel 328p mcus (mini pro, nano, uno etc.) is : # define MY_RADIO_RFM69 // Define for using RFM69 radioĪnd if you need an advanced configuration, you may need to also add these defines : # define MY_RFM69_FREQUENCY RFM69_433MHZ // Define for frequency setting. MySensors is configured to use the NRF24 radio by default. ![]() Use an Arduino instead if you want to connect stuff. Gateways and nodes can use the same wiring, but be aware that the RFM radio uses all pins that are easy to work with except D2, so connecting anything might be a challenge. Use MY_RFM69_SPI_CS for older versions (before 2.2.0) // For RFM95 # define MY_RADIO_RFM95 # define MY_RFM95_IRQ_PIN D1 # define MY_RFM95_IRQ_NUM MY_RFM95_IRQ_PIN # define MY_RFM95_CS_PIN D8 # endif ** For the above wiring, the following defines should be used: # ifdef ESP8266 // For RFM69 # define MY_RADIO_RFM69 # define MY_RFM69_FREQUENCY RFM69_433MHZ // Set your frequency here # define MY_IS_RFM69HW // Omit if your RFM is not "H" # define MY_RFM69_IRQ_PIN D1 # define MY_RFM69_IRQ_NUM MY_RFM69_IRQ_PIN # define MY_RFM69_CS_PIN D8 // NSS. * Adafruit modules need RST connected to GND, or to MY_RFM69_RST_PIN ![]() This also works with other ESP8266-based boards such as NodeMCU and Wemos D1 Mini.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |