Post a new topicPost a reply Page 1 of 1   [ 4 posts ]
Author Message
 Post subject: Atmega2560 + Shield LoRa
PostPosted: Thu Jan 31, 2019 7:43 pm 

Joined: Wed Jan 30, 2019 6:02 pm
Posts: 2
Greetings Coocking Friends Hacks,

We are developing a module that requires an ATMEGA2560 to handle the Shield LoRa of which several tens are available in the last adquisition to Coocking Hacks.

When compiling for the ATMEGA2560 the code does not generate errors, which is working correctly on the Arduino Uno. But the problem is generated in the execution of the when done on the ATMEGA2560 does not detect the LoRa module and generates the typical "1" when the activation commands of the LoRA module are executed, for example:

e = sx1272.ON();
Serial.println(e, DEC);
e |= sx1272.setMode(1);
...

We appreciate your valuable collaboration, indicating the procedure to solve this problem.

We were very attentive.

Brian Lara


Top
 Profile  
 
 Post subject: Re: Atmega2560 + Shield LoRa
PostPosted: Mon Feb 04, 2019 10:18 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11304
Hi,

Are you using the multiprotocol shield to attach the LoRa module to Arduino?

How you connected the module to the Arduino mega?

We have tested the LoRa module over Arduino UNO and multiprotocol shield.

Regards


Top
 Profile  
 
 Post subject: Re: Atmega2560 + Shield LoRa
PostPosted: Mon Feb 04, 2019 1:32 pm 

Joined: Wed Jan 30, 2019 6:02 pm
Posts: 2
Hello friends,

Thank you very much for your attention.

We are using the Shield Multiprotocol for Arduino. The first connection is made between this shield and the Arduino Mega 2560 direct connection is being made, that is, placing directly the shield over the board of the Atmega 2560, as it is done between the shield and the Arduino Uno.

The problem is that after executing the code on the Atmega 2560, the character 1 is received as a response and not 0 which indicates that the microcontroller is recognizing the LoRa module.

Thank you very much, we remain attentive,

Brian Lara


Top
 Profile  
 
 Post subject: Re: Atmega2560 + Shield LoRa
PostPosted: Mon Feb 11, 2019 10:53 am 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11304
Hi,

The Arduino Mega has the I2C pins located in different position that Arduino UNO. So you need to wire the pins to the correct positions if you want to use Arduino Mega with Multiprotocol shield.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 4 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.