Hi Folks,
I am trying to use the E32-TTL-100 with the following library:
I am not sure if something is not connected in the right way or if it is my code.
M0=D2
M1=D3
AUX=D4
RX=D12
TX=D11
GND=GND
VCC=5V
RX & TX have a 4.7k Ohm resistor.
SoftwareSerial ESerial(12, 11);
EBYTE Transceiver(&ESerial, 2, 3, 4);
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, INPUT);
The Output is the following:
Model no.: 0
Version : 0
Features : 0
Mode (HEX/DEC/BIN): 0/0/0
AddH (HEX/DEC/BIN): 0/0/0
AddL (HEX/DEC/BIN): 0/0/0
Sped (HEX/DEC/BIN): 0/0/0
Chan (HEX/DEC/BIN): 0/0/0
Optn (HEX/DEC/BIN): 0/0/0
Addr (HEX/DEC/BIN): 0/0/0
SpeedParityBit (HEX/DEC/BIN) : 0/0/0
SpeedUARTDataRate (HEX/DEC/BIN) : 0/0/0
SpeedAirDataRate (HEX/DEC/BIN) : 0/0/0
OptionTrans (HEX/DEC/BIN) : 0/0/0
OptionPullup (HEX/DEC/BIN) : 0/0/0
OptionWakeup (HEX/DEC/BIN) : 0/0/0
OptionFEC (HEX/DEC/BIN) : 0/0/0
OptionPower (HEX/DEC/BIN) : 0/0/0
Thanks for any help.
srnet
December 20, 2019, 9:17am
2
MCKraemer:
I am not sure if something is not connected in the right way or if it is my code.
Do the examples provided with that library work ?
srnet:
Do the examples provided with that library work ?
I just copied the example code. At the moment it doesn't work.
srnet
December 20, 2019, 2:05pm
4
MCKraemer:
I just copied the example code. At the moment it doesn't work.
So assume you have the wiring wrong ......................
Or your Arduino or the modules are faulty.
srnet:
So assume you have the wiring wrong ......................
Or your Arduino or the modules are faulty.
Is there a good way to check that? I mean i wrote my wiring in the description.
srnet
December 20, 2019, 3:18pm
7
MCKraemer:
Is there a good way to check that? I mean i wrote my wiring in the description.
Sure, download a library with some working examples.
Then wire it correctly, with proper logic level conversion on all pins .........................
ieee488:
How to Use the E32-TTL-100 SX1278 LoRa Module | Microcontroller Tutorials
I tried your example, output is:
SleepModeCmd: 0xC1
RET_DATA_SIZE_NOT_MATCH - Readcnt: 0
SleepModeCmd: 0xC3
RET_DATA_SIZE_NOT_MATCH - Readcnt: 0
SwitchMode: from 3 to 0
.
Setup init OK!!
Maybe this is a stupid question but should I not be able to receive the signal of a 433 Mhz remote control?
srnet
December 20, 2019, 10:03pm
9
MCKraemer:
Maybe this is a stupid question but should I not be able to receive the signal of a 433 Mhz remote control?
If your '433 Mhz remote control' is LoRa based then possibly.
Is your '433 Mhz remote control' LoRa based ?