[Logo] Anarduino and HopeRF Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics     [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Anarduino LoRa power consumption  XML
Forum Index » Anarduino
Author Message
hexium



Joined: 01/12/2015 14:58:43
Messages: 1
Offline

Hi there!

I was wondering if anyone has any tips on for reducing the Anarduino LoRa (MiniWirelessLR-95-868Mhz) power consumption.

I am getting ~500uA current with the following code:

However, with similar code and RF69 module (Mini-WirelessHW-868Mhz) I am getting ~40uA:

Any help/ideas would be very much appreciated.

Thanks!

This message was edited 1 time. Last update was at 02/12/2015 01:02:07

d00m



Joined: 19/10/2015 17:21:10
Messages: 32
Offline

any updates on this?

I'm also experience same issues with LoRa modules..
svorres



Joined: 29/03/2015 22:49:48
Messages: 4
Offline

I use the RFM95 Anarduino Mini Wireless with lots of success:

I modify them by cutting out the Voltage regulator, and shorting pin Vin to 3.3V , there by by passing the regualtor and its losses and drop out voltage.

I run the devices from 2 L91 AA Lithium batteries for years.

Here is the setup code to get your current consumption down to 16 ua


*/


#include <SPI.h>
#include <EEPROM.h>
#include <RHDatagram.h>
#include <RH_RF95.h>
#include <Time.h>
#include <MCP7940RTC.h>
#include <LowPower.h> //get library from: https://github.com/lowpowerlab/lowpower
//writeup here: http://www.rocketscream.com/blog/2011/07/04/lightweight-low-power-arduino-library/
#include <Wire.h>

//Radio settings
#define POWER_LEVEL 22 // can vary from 5 to 23, 5 is the lowest.
#define FREQUENCY 913 // Default Transmission frequency, can be changed by EEPROM value
#define TIMEOUT 3000 // transmit timeout until ack is received
#define RETRANSMIT_DELAY 60 // Will retransmit an alarm after this number of seconds.
#define RETRANSMIT_TIMES 1 // How many times to retransmit
#define RETRIES 4 // how many initial retries are used
#define ATTEMPTS_TO_TRY 10 //This times radio setting of timeouts gives number of attempts before giving up

#define EI_NOTEXTERNAL
#define EI_ARDUINO_INTERRUPTED_PIN
#include <EnableInterrupt.h>

volatile uint8_t externalInterruptFlag=0;
volatile uint8_t pinChangeInterruptFlag=0;
volatile uint8_t pinState=0;

#ifdef ARDUINO_328
#define PINCOUNT(x) pin ##x ##Count

void interruptFunction () {
pinChangeInterruptFlag=arduinoInterruptedPin;
pinState=arduinoPinState;
}

void interruptExFunction () {
externalInterruptFlag=arduinoInterruptedPin;
pinState=arduinoPinState;
}

#define disablePCInterrupt(x) \
disableInterrupt( x | PINCHANGEINTERRUPT)

#define setupPCInterrupt(x) \
EI_printPSTR("Add PinChange pin: "); \
EI_printPSTR(#x); \
EI_printPSTR("\r\n"); \
pinMode( x, INPUT_PULLUP); \
enableInterrupt( x | PINCHANGEINTERRUPT, interruptFunction, CHANGE)

#define setupInterrupt(x) \
EI_printPSTR("Add pin: "); \
EI_printPSTR(#x); \
EI_printPSTR("\r\n"); \
pinMode( x, INPUT_PULLUP); \
enableInterrupt( x, interruptFunction, CHANGE)

#define setupExInterrupt(x) \
EI_printPSTR("Add External pin: "); \
EI_printPSTR(#x); \
EI_printPSTR("\r\n"); \
pinMode( x, INPUT_PULLUP); \
enableInterrupt( x , interruptExFunction, CHANGE)
#else
#error This sketch supports 328-based Arduinos only.
#endif

uint8_t client = 101; // we will change this with eeprom sn

RH_RF95 radio;
// Class to manage message delivery and receipt, using the driver declared above
RHDatagram manager(radio, client);

#define LED_BUILTIN 9 // mini-wireless board LED pin #
#define LED_ON digitalWrite(LED_BUILTIN,1)
#define LED_OFF digitalWrite(LED_BUILTIN,0)

//if we want to use a longer serial number this can be changed
#define SN_LENGTH 3
#define FULL_SN_LENGTH 7
#define FREQ_LENGTH 6
#define FULL_EEPROM_LEN 13
char serialNumber[4]; // this one gets transmitted
float frequency = 913.00; //this will get changed by value in eeprom
Niki0beas



Joined: 11/06/2017 21:51:28
Messages: 1
Offline

I am confused about that.

This message was edited 2 times. Last update was at 14/09/2017 20:59:15

ayukirana


[Avatar]

Joined: 21/04/2019 01:54:19
Messages: 8
Offline

situs bola terpercaya
situs bola terpercaya
situs bola terpercaya
situs agen bandar judi bola sbobet
situs agen bola resmi indonesia
Situs judi bola terbesar
situs agen bola terbesar
situs akun bola
situs bandar bola online terpercaya
situs judi bola online terpercaya
situs judi bola resmi
situs judi bola resmi dan terpercaya
situs judi bola resmi dan terpercaya
situs judi bola resmi indonesia
situs judi bola terbesar
[WWW]
tiwi19


[Avatar]

Joined: 22/04/2019 06:01:20
Messages: 8
Offline

bandar agen taruhan judi bola
bandar agen taruhan judi bola sbobet online
bandar judi bola online indonesia
bandar judi bola online terpercaya
bandar judi bola terbesar
bandar judi
daftar agen bola terpercaya
daftar bandar bola online terpercaya
daftar situs judi bola resmi
judi bola indonesia
situs judi bola resmi
situs judi bola resmi dan terpercaya
situs bola online
[WWW]
jenniferbrown80



Joined: 07/03/2019 06:49:11
Messages: 5
Location: Melbourne
Offline

Students can take criminology assignment help online from our experts as they refer to the different definitions and outlooks given by famous philosophers on criminology. Like Salmond has pointed out the difference between the lawful and unlawful acts. This is where the practice of seeking custom paper writing services came into existence. There are several students who end up searching for online assistance and instant support for completing the given assignment on time. If you’re one of them who’s facing a real tough time concerning such issues, then waste no time further and give us a call today to get the best of custom writing services.
[WWW]
jenniferbrown80



Joined: 07/03/2019 06:49:11
Messages: 5
Location: Melbourne
Offline

They are required to submit an impeccable and informative essay to get financial help. Those who do not want to undermine their chances of getting scholarship essay sample should seek online essay assistance for scholarship essays, from our seasoned writers. Our scholars will guide you to compose a winning essay. Many students often wonder, “Can somebody write my history assignment help”. Prime reason behind this is they come across several issues while composing academic papers on the significant topics or concepts covered under history.
[WWW]
darcyzara



Joined: 04/05/2019 07:35:42
Messages: 1
Offline

We guarantee authentic and original custom-made dissertations and nothing less to our customers. We keep our system as transparent as possible. So students who want to buy dissertations find the process of getting dissertation help online simpler.
jenniferbrown80



Joined: 07/03/2019 06:49:11
Messages: 5
Location: Melbourne
Offline

If you are unsure to do any of these, you can check our dissertation sample pdf exhibited online or you can take expert help to write best sample dissertation proposal. Before commencing your dissertation, you need to present the whole dissertation proposal before your dissertation committee, and get it approved. Myassignmenthelp.com serves the best dissertation consultation to the students so that they can significantly impress their professors and attain high marks at the end of their academic year. By availing our dissertation consulting service the students get a clear idea how to write a dissertation as dissertation writing has a definite style and a format to follow.
[WWW]
Rocky starnes



Joined: 25/01/2019 06:47:01
Messages: 1
Offline

Really this is a most useful And I hope you'll sharing more idea's and useful article with us IEEE citation generator 
twogolusingh



Joined: 03/06/2019 02:30:32
Messages: 1
Offline

Re:Anarduino LoRa power consumption
[WWW]
josef304



Joined: 25/02/2019 01:20:26
Messages: 3
Offline

Instantly amazed with all the useful vmware fusion coupon code information that is on it. Great post, just what i was looking for and I am looking forward to reading your other posts soon!
 
Forum Index » Anarduino
Go to:   
Powered by JForum 2.1.9 © JForum Team