Home › Forums › The libraries hosted on the site › EByte LoRa e22 UART devices sx1262/sx1268 › E22-900M22S Wiring (DIO1, DIO2, and BUSY)
- This topic has 6 replies, 2 voices, and was last updated 2 years ago by
Renzo Mischianti.
-
AuthorPosts
-
-
2 February 2022 at 22:57 #18305
ari
Hello,
I have put this as an issue in github before realising that there was a forum, apologies for the double posting.I am looking into the E22-900M22S chip. Can i use it with your library?
Also, in your examples you use the E22-900T22S U chip which has the pins M0, M1 and AUX but the E22-900M22S has DI01 and DIO2 and BUSY. Can i assume that DIO1 is M0, DIO2 is M1 and BUSY is AUX?Also, I have been looking but i cant seem to find what are M0 and M1 and AUX are used for. Could you tell me what are they used for?
Attachments:
You must be logged in to view attached files. -
3 February 2022 at 01:19 #18306
ari
one more question, in your examples for the esp32 you are using the following pins:
M0 —– 19 (or GND)
M1 —– 21 (or GND)
AUX —– 15 (PullUP)is it possible to use other pins? i would like to use 12 for M0 (DIO1) and 13 forM1 (DIO2)
thanks
-
3 February 2022 at 07:57 #18312
Hi Ari,
you can follow this pinout schemaNo. Name 1 GND 2 GND 3 GND 4 GND 5 Input M0 (weak pull-up) 6 Input M1 (weak pull-up) 7 Input RXD 8 Output TXD 9 AUX 10 VCC 11 GND 12 NRST 13 GND 14 NC 15 NC 16 NC 17 NC 18 NC 19 GND 20 GND 21 ANT 22 GND
And you can change the pin as you want, you must only pay attention to the microcontroller internal pull-up, but you can simply do a test to check if It’s work.
Bye Renzo
-
3 February 2022 at 08:45 #18314
ari
Hello Renzo,
Thanks for the answer, unfortunately, the pintout of the E22-900M22S is very different than the one you mentioned in your response.
The pinout for the E22-900M22S is:1 GND
2 GND
3 GND
4 GND
5 GND
6 RXEN
7 TXEN
8 DIO2
9 VCC
10 GND
11 GND
12 GND
13 DIO1
14 BUSY
15 NRST
16 MISO
17 MOSI
17 SCK
19 NSS
20 GND
21 ANT
22 GNDAs you can see there are no pin labels M0, M1 and AUX. Are the DIO1 and DIO2 equivalent to the M0 and M1 pins?
Also, pin 15 NRST is used to reset the chip, is it a good idea to have it connected to the esp32?
thanks
-
3 February 2022 at 11:41 #18315
Hi Ari,
no, your device is the SPI version not UART version, so isn’t compatible with my library.
Bye Renzo -
23 May 2023 at 19:10 #25870
Hi, Do you know some tutorial that could hell me to use E220-900M22S (SPI version) ?
-
24 May 2023 at 08:50 #25874
Hi rubert,
you can start from the datasheet, It’s well explained, and I think that there are some implementations on the web.
Bye Renzo
-
-
AuthorPosts
- You must be logged in to reply to this topic.