Author Topic: Using the sx1276 inair4 module with Arduino  (Read 2018 times)

saramirez

  • Newbie
  • *
  • Posts: 3
    • View Profile
Using the sx1276 inair4 module with Arduino
« on: November 01, 2015, 08:16:28 PM »
Hi

I am having trouble using the sx1276 inair4 Lora module (http://modtronix.com/inair4.html) with my arduino. I am using the code given in this example: http://wiki.modtronix.com/doku.php?id=projects:arduino-lora-server-client1, though I'm using an Arduino UNO instead of the Pro Micro. I'm supplying power to the modules from the 3.3V output of the arduino, and everything else is connected acording to the example, but ported to the UNO. The code seems to get stuck in the main loop of the program, on the server side. The clientone seems to be working as expected.

I also tried using the RadioHead library avalable at http://www.airspayce.com/mikem/arduino/RadioHead/classRH__RF95.html, and it actually worked with the examples given there (RF95_client and server), but i'm getting really low signal power. At about 20 cm appart, i'm reading an RSSi of -75 mdB.

Thank you for your assistance


modtro2

  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
Re: Using the sx1276 inair4 module with Arduino
« Reply #1 on: December 07, 2015, 02:24:20 AM »
Hi, the UNO is 5V, and can not be directly connected to these 3.3V modules. Are you using level translation chips for connecting the 3.3V I/Os of the inAir4 board to the UNO? If not, it can(will) cause damage to the inAir4 module. The SX1276 chip is very complicated, and there can be many things that can cause it not to work. It is impossible to say what the fault can be. You say it is actually working, but just very low signal power. This could potentially be caused by configuring the chip to use the wrong output. For the inAir4 module, the antenna is connected to the RTI_LF output of the SX1276 chip. Ensure that your code configures this output to be used, and not the RFO_LF or PA_BOOST outputs. Also, ensure the Jumper J4 on the back of the board is made. This enables the antenna switch and logic chip. This jumper should be made by default, but just confirm it is made. See schematic on inAir4 product page for details.

manimuthukumar

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Using the sx1276 inair4 module with Arduino
« Reply #2 on: April 26, 2016, 02:54:17 AM »
Hi ,
I am facing similar problem in InAir4 Module on aurdino due . And i have coded for RFO_LF as output.  i am getting around -66 Dbm signal.
Please suggest how you have solved the problem

mani

saramirez

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Using the sx1276 inair4 module with Arduino
« Reply #3 on: May 09, 2016, 07:20:33 AM »
Hi manimuthukumar,

I think you should code to use the RTI_LF not the RFO_LF output, but i don't really know because i did not make the code I'm using myself. I ended up using the RadioHead library, which has been modified to support the modtronix module properly, and have had good results. http://www.airspayce.com/mikem/arduino/RadioHead/classRH__RF95.html

Greetings
« Last Edit: May 09, 2016, 07:22:35 AM by saramirez »