-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIN MAPPING PROBLEM #295
Comments
Arduino Uno = 5V device. RFM95 = 3.3V device. Try an Arduino Pro Mini. |
it's not a problem, all i have to do is connect it to the 3.3v pin on the 328p. Am just asking about the pin mapping for the 328p or the uno rather than the mini |
if the mapping is the problem you will be stopped at the running time with an error. |
Hello, I thought at first it was a pin mapping problem but I still have the same problem. //Smart Waste #include <lmic.h> // LoRaWAN NwkSKey, network session key // LoRaWAN AppSKey, application session key // LoRaWAN end-device address (DevAddr) // These callbacks are only used in over-the-air activation, so they are static uint8_t mydata[] = "Hello, world!"; // Schedule TX every this many seconds (might become longer due to duty // Pin mapping void onEvent (ev_t ev) { void do_send(osjob_t* j){
} void setup() { // LMIC init
} //---------------------------------------------------------------------- } |
@Phairou18 if you look at the first warning of the readme of this repo you can see it's no longer maintained and suggest to use MCCI library instead, that is more up to to date and with an 2560 would perfectly fits into. I would not expect any support from here. |
@hillard I hadn't noticed I'm new here. |
A good start is documentation on the according MCCI LMIC repository. |
OK, thank you @hallard |
So, I have a bare RF95 Module with the following schematic
and am using an arduino UNO as well with the following pinouts
and this is my pin mapping
const lmic_pinmap lmic_pins = { .nss = 10, .rxtx = LMIC_UNUSED_PIN, .rst = 9, .dio = {2, 6, 7}, };
am always stuck at joining, do you think the mapping is the problem? thanks in advance
The text was updated successfully, but these errors were encountered: