You are reading a single comment by @Robin and its replies.
Click here to read the full conversation.
-
Looks like the RMF96 and SX12xx modules have different parameters. The RFM69's connect's first parameter should be the SPI object, not an object with an
spi
property:// from the docs: rfm = require("RFM69").connect(SPI2, {cs:B10, rst:B1, freq:434}, ... // your code: rfm = require("RFM69").connect({spi:SPI, cs:D8, freq:915}, ...
Thr 2019.06.13
Okay - Found this:
but, unable to locate how this one hdwr SPI is setup. Pin map for 'cs' 'rst' anyone?
When using the hdwr setup from pin map link below - second image from end post #1 - and
I am led to believe that these are valid pins, as print does kick back what I sent without error:
as when using the little loopback trick from #5
Now on to RFM95
But, when I attempt to connect applying a pin value for 'cs' or 'rst'
I'm faced with un-initialized pins: (Note that 'rst' omitted for simple error return)
The resultant "send" not found! error seems to be as the pin for 'cs' D8 doesn't seem to initialize.
Successes so far:
While an overly ambitious desire to get working and provide a tutorial for the RFM69/95 module, as others seem to be having difficulty also, and realizing that most forum post references ended 2 years ago (late 2016), this task may be near impossible, but might be fun learning to see if the module could be re-written.
"To Boldly Go Where No Man Has Gone Before!"
I understand this is un-supported, uncharted waters:
ESP8266 closest match
Found an article that had SPI running with Arduino on a D1 mini. Wanted to see if Espruino would work instead.
After reading the headaches from this install attempt, Jan 2018:
and having a WavGat D1 variant, see image @MaBe link#18 lying around from a previous CN massive sale discount order I just couldn't resist, gave it a whirl. Surprisingly, in my case, after botching the wrong pull-up pin for flash, was able to get Espruino running with no headache on my part. 'Hello World' in under an hour!
In the meantime, I'll continue to research and will update here as I discover more. . . .