Home › Forums › The libraries hosted on the site › EByte LoRa e32 UART devices sx1262/sx1268 › Pins for AUX and M0 and M1 ESP32
Tagged: Question
- This topic has 9 replies, 2 voices, and was last updated 3 years, 7 months ago by
Renzo Mischianti.
-
AuthorPosts
-
-
13 September 2021 at 13:56 #14443
As per title. I was just wondering what pin I can use instead of the one that you mentioned in the example, for AUX, M0 and M1. I’m talking about the E22 Ebyte lora module.
I was going to use for AUX pin 13 and for M1 pin 4 and for M0 pin 25. Is it possible? They are not just some pins to get and set some configuration?
Because I know TX and RX is better to use the hardware serial, but for the rest can you use some available pin?
Thanks! By the way great library!
-
13 September 2021 at 16:45 #14448
Hi Eugenio,
in general for AUX I prefer to use RTC GPIO
ESP32 practical power saving: preserve gpio status, external and ULP wake up – 5For M1 and M2 I exclude special pin like EN GPIO0 or similar for the tedious problem with initial state
But If you can use the pin of the shield, that are tested a lot.
Ebyte LoRa E32 device for Arduino, esp32 or esp8266: WOR (wake on radio) and new ESP32 shield – 8Bye Renzo
-
14 September 2021 at 03:26 #14458
Thanks for the reply! I was looking also on the other library regarding the E22 module that is very interesting. I think the pin configuration should be the same. Am I right?
For the AUX pin I can use pin 15 as the shield with a pull up resistor, but for M1 and M0 I can use pin 27 and pin 25 if I read correctly, they should be fine.
In final production phase I will probably just connect M0 and M1 directly to 3.3V or GND depending on the use. I was wondering: I know that the module works better with higher voltage than 3.3V, I’m powering up everything with an 18650 battery, can I power also the E22 module with the battery in order to have higher voltage than 3.3V, instead of power the E22 with the 3.3V from the ESP?
-
14 September 2021 at 10:28 #14460
Hi Eugenio,
to get the best performance you must power the E22/E32 with 5v and a sufficient amperage.
If you use 3.3v you lost some kilometres.
Bye Renzo -
14 September 2021 at 12:01 #14461
Hi Renzo,
Yeah I know, in fact I was unfortunately doubt about the 3.7V from the battery as well. The problem is that I want to find a reliable source of 5V for outdoor use. What about something like 3 AA battery in series 4.5V
I’ve a solar circuit designed for my board that charge the lithium battery, but I don’t have anything to recharge the Alkaline battery 1.5V. In that case I may need to change them often, even the module doesn’t consume much power when sleeping, when active I think it use something like 100mA. I’m not sure how long it will last with a battery pack
-
14 September 2021 at 12:26 #14462
Hi Eugenio,
The step up raise the voltage from 2v to 5v to a fixed 5v.I think a good solution (I use this with 18650) is a step up like the one used here
Emergency power bank homemadeNow I find a little module that do recharge and step up to 5v, but I don’t tested yet
If I test It I’m going to inform you.
Bye Renzo
-
14 September 2021 at 13:45 #14470
Thanks for the suggestion! Very appreciated!
I’m actually already using a specific circuit for recharging that use a solar panel, so it will be just useful to use the step up. I didn’t think about that!
By the way, this is my first version of the project, but I’m going to expand it with even more feature, and the radio module is one of them, together with a multiplexer for many I2C devices with same address
-
14 September 2021 at 14:18 #14471
It’s very beautiful, would you like to write some articles about that on this site?
I’d like to create a section for this purpose.
Bye Renzo -
14 September 2021 at 14:38 #14475
Thanks!
Yeah why not, I can create an article here and I can do one in Italian as well. I’m Italian by the way 😀
How to create an article? When I’ve a bit of time I will do it
-
14 September 2021 at 15:15 #14478
I add you to Author role, now on this link you can create post upload image and so on.
When I have some time I’d like to help you to improve the weather station with web interface and other.
But first the article, where I’m going to study the solution 😉
I send you an email so you can grab my email address and if you need some help write directly to that.
Thanks Renzo
-
-
AuthorPosts
- You must be logged in to reply to this topic.