Arduino Forum

Topics => Home Automation and Networked Objects => Topic started by: dorji_com on Aug 26, 2019, 09:26 am

Title: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Aug 26, 2019, 09:26 am
Recently DORJI released a type of long range wireless module DRF1268DS. The module has up to 22dBm output power and 10mA receive current. It provides four power modes which make it very suitable for battery-powered applications. The line of sight distance can be 3~5km according to the testing environment.

Features:
*433MHz ISM frequency band
* High sensitivity: -143dBm @ power mode 0
* Max. Output power: 22dBm
* RF data rate: 0.073~62.5k bps
* UART data rate: 1.2~57.6k bps
* Standard /star network mode
* Multiple channel & air wake-up
* Receive current: 10mA
* Sleep current: 2uA
* Working voltage: 2.8~6V
* Working temperature: -40~+85℃

The module provides standard communication (transparent data transmission) and star network communication. In star network communication, the module can be worked in central mode or node mode which makes the projects for home automation much easier. It has the standard UART interface and can easily communicate with Arduino UNO or other Arduino kits. The arduino codes based on Arduino UNO is in the attachments.

If you have the interest in testing these modules and would like to share your experience of using the products with other users here, you can reply this topic and send your address (post code and telephone number are needed for the logistics company) to me by email or private message. For the first ten replies (independant users here), we will offer 1 pair of modules for each users. If you don't like 433MHz, we can offer 868Mhz or 915MHz version of DRF1262DS module instead.


(https://scontent-hkg3-2.xx.fbcdn.net/v/t1.0-0/c28.0.200.200a/p200x200/69262137_2453447538210306_9065437984777568256_n.jpg?_nc_cat=106&_nc_oc=AQkVGXBCuGkpYZxylJKnQ5GfNETzojIYtYih6tOF1IB4A1Naen2Q08PFhRkG3lT_OR0&_nc_ht=scontent-hkg3-2.xx&oh=0f3e37fc3263858394e88740e340650b&oe=5E08000C)
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: steve_mcdonald on Aug 26, 2019, 10:00 am
I would be interested in trialing a 433 MHz version.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Aug 26, 2019, 10:11 am
I would be interested in trialing a 433 MHz version.
Thank you for your interest. Please send me your shipment address by PM
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: Oldtron on Aug 26, 2019, 08:59 pm
The 915 MHz version is just exactly what I would like to try.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Aug 27, 2019, 03:05 am
The 915 MHz version is just exactly what I would like to try.
Sure :-). The item number will be 915MHz DRF1262DS.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: jgromes on Sep 05, 2019, 08:30 am
I'd like to have one of those, see how it performs when compared to the "bare" SX126x.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Sep 05, 2019, 11:00 am
I'd like to have one of those, see how it performs when compared to the "bare" SX126x.
Thank you. Jan, We will inform the tracking number when the samples are shipped.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: al1fch on Sep 10, 2019, 12:05 pm
Hi

I'm interested in evaluating your  868MHz modules (sx1262 ?)
(I wrote about LoRa and LoRaWan in french Arduino forum and I currently evaluate 868MHz  CDEbyte E32 modules for p2p under LoRa)

Regards
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Sep 10, 2019, 12:10 pm
Hi

I'm interested in evaluating your  868MHz modules (sx1262 ?)
(I wrote about LoRa and LoRaWan in french Arduino forum and I currently evaluate 868MHz  CDEbyte E32 modules for p2p under LoRa)

Regards
Thank you for your interest. Would you be kind to send me your detailed shipment addres by private message or email?

Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: al1fch on Sep 11, 2019, 09:04 am
PM sent
Regards
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: Artouste on Sep 11, 2019, 11:00 am
Hello

I am also interested to evaluate your product

868 MHz band (EUROPE FRANCE)

personal information for shipment provided to you by PM

Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Sep 12, 2019, 03:57 am
PM sent
Regards
Thank you. The tracking number was sent to you by PM.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: srnet on Sep 14, 2019, 12:19 pm
On the Dorji DRF1268 modules there is a pin labeled 'SW'.

The data sheet shows that this pin is connected via a 100R resistor to the VCC pin of the output RF switch.

Is the intention that this pin is normally connected direct to VCC on the module ?

 
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Sep 16, 2019, 04:46 am
On the Dorji DRF1268 modules there is a pin labeled 'SW'.

The data sheet shows that this pin is connected via a 100R resistor to the VCC pin of the output RF switch.

Is the intention that this pin is normally connected direct to VCC on the module ?

 
Hello Stuart,

The SW pin is connected to the /CTRL(or VDD) pin of RF switch PE4259. In normal operation, it should be connected to VCC but in sleep mode, it should be connnected to GND in order to reduce the static current. Therefore you can use a I/O pin to control it.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: kayel on Sep 16, 2019, 06:44 am
 Hello,

 I am also interested in testing the 868 MHz version.

 Thanks.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: srnet on Sep 16, 2019, 08:43 am
The SW pin is connected to the /CTRL(or VDD) pin of RF switch PE4259. In normal operation, it should be connected to VCC but in sleep mode, it should be connnected to GND in order to reduce the static current. Therefore you can use a I/O pin to control it.
Are you absolutly sure about that ?

The data sheet for the DRF1268F seems very clear;

DIO2 controls the /CTRL pin of RF switch PE4259.

and

The SW pin is connected to the VDD pin of RF switch PE4259.

Seems to me that you need to use both SW and DIO2 for controlling the DRF1268F, DIO2 when switching between RX and TX and SW when you want to put the device to sleep.

I am aware thet you would normally use the SetDIO2AsRfSwitchCtrl option to control DIO2 automatically.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Sep 16, 2019, 12:34 pm
Are you absolutly sure about that ?

The data sheet for the DRF1268F seems very clear;

DIO2 controls the /CTRL pin of RF switch PE4259.

and

The SW pin is connected to the VDD pin of RF switch PE4259.

Seems to me that you need to use both SW and DIO2 for controlling the DRF1268F, DIO2 when switching between RX and TX and SW when you want to put the device to sleep.

I am aware thet you would normally use the SetDIO2AsRfSwitchCtrl option to control DIO2 automatically.
Thanks for the update. The DIO2 pin is used to switch RX and TX of sx1262 when the SW is connected to VCC. If you want to minimize the sleep current (<1uA) of DRF1268T, the PE4259 should be shut up totally by setting SW and DIO2 pins to GND.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Sep 16, 2019, 12:39 pm
Hello,

 I am also interested in testing the 868 MHz version.

 Thanks.

Thank you. We will send you the tracking number by PM very soon.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: Oldtron on Sep 16, 2019, 02:08 pm
In the original post I notice that the DRF1262DS is connected directly to a Arduino UNO.
The UNO digital pins are 5v. But in the DRF1262DS data sheet it states that:

Rx 3.3v
Tx 3.3v
Mo grd or 3.3v

Wonder which I should believe ?
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Sep 17, 2019, 04:10 am
In the original post I notice that the DRF1262DS is connected directly to a Arduino UNO.
The UNO digital pins are 5v. But in the DRF1262DS data sheet it states that:

Rx 3.3v
Tx 3.3v
Mo grd or 3.3v

Wonder which I should believe ?
Thanks for your update. The logic level of DRF1262DS is 3.3V so it will be better to connect it to 3.3V I/O pins. Anyway we add serial resistor on the I/O pins of the modules to restrict the current so these pins can be connected to 5V pins of UNO.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: Oldtron on Sep 17, 2019, 12:01 pm
Thank you very much for the clarification.
I will continue with the testing.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: kayel on Sep 28, 2019, 10:24 pm
 Hi,

I received my modules today. Thanks.

MO and AU are inverted. Which one is right? I suppose it doesn't matter if I use the DAD07?


(https://forum.arduino.cc/index.php?action=dlattach;topic=633215.0;attach=326228)
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: dorji_com on Sep 29, 2019, 03:36 am
Hi,

I received my modules today. Thanks.

MO and AU are inverted. Which one is right? I suppose it doesn't matter if I use the DAD07?


Hello Kevin, It should be the mistake of the layout engineer. The silkscreen of MO and AU on the module should be swapped. We will correct it in next version. The pin sequence and pin names in the datasheet and on the testing board DAD07 are correct. Therefore you can solder it directly on the DAD07 without problem. It's really sorry for the inconvenience.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: kayel on Oct 06, 2019, 11:02 am
 Hello testers,

I had more or less given up with my modules. I thought I'd destroyed them while soldering. I decided to give them another go after a PM from another tester who wasn't getting anywhere with his modules either.

I dumped the example programs. The compiler complained at the second line of the first two programs so I didn't feel like trusting the rest. It was just a mis-spelling of an included library, but it makes me wonder if anyone at Dorji tests their examples before publishing them.

I don't have Windows, so the the usb-ttl converter and the configuration tool are useless to me.

With the modules 20cm apart the receiver doesn't miss a beat, as long as I hold the receiver's antenna between thumb and forefinger. If I let go, I get more errors than data.

I use a push-button pulled up to 3.3V and connected to GND in order to be able to reset the module independantly of the Arduino Pro Mini 3.3V, 8MHz.

I haven't tried sending AT commands, so the modules are configured as sold.

The modules are powered from 5V phone chargers connected to VDD. MO and EN are connected to GND using the jumpers on the modules.

The Arduinos are powered from each computer's USB port.

That's enough for now.

:smiley-cool:

(https://forum.arduino.cc/index.php?action=dlattach;topic=633215.0;attach=327168)


(https://forum.arduino.cc/index.php?action=dlattach;topic=633215.0;attach=327170)
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: al1fch on Oct 06, 2019, 03:37 pm
Hi kayel !

Quote
With the modules 20cm apart the receiver doesn't miss a beat, as long as I hold the receiver's antenna between thumb and forefinger. If I let go, I get more errors than data.
Maybe 20cm is to short for

Code: [Select]
High sensitivity: -143dBm @ power mode 0/1
                   -132dBm @ power mode 2
 Max. Output power: 22dBm

too strong signal  on receiver side ?
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: kayel on Oct 06, 2019, 06:56 pm
 Hi Al1fch,

 I thought my modules were probably too close to each other too, but at 1 metre apart I didn't even get errors, not even a blink from the receiver's LED, although that might have something to do with my crappy breadboards!
 :)
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: kayel on Oct 07, 2019, 09:39 pm
 These modules seem to be able to heal themselves!

 Here are my results using the lora_main example:


(https://forum.arduino.cc/index.php?action=dlattach;topic=633215.0;attach=327391)


(https://forum.arduino.cc/index.php?action=dlattach;topic=633215.0;attach=327393)

 I hope I haven't woken anyone up!

 :smiley-cool:
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: kayel on Oct 07, 2019, 10:04 pm
PS:

 Look! No hands!

 I didn't have to hold the aerial!

 :)
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: Oldtron on Oct 11, 2019, 05:18 pm
Finally success !

I had about given up on getting these to work. But after seeing that Kayel got his working I decided to give them another try. I connected each module to a Arduino UNO then connected one UNO to my desktop computer and one to my laptop. Then I loaded each UNO with the LORA_Main example sketch. I then opened up the serial monitor and typed in some data and pressed send. The module's Tx led came on and the other module's Rx led came on. But no data was displayed in the receiving serial monitor. No joy here. Then I decided to reset both modules to their factory settings using the LORA Modem Configuration Tool.
I fired everything back up and typed data into the desktop's serial monitor and pressed send. And after a slight delay data appeared on the laptop serial monitor about ten feet away. Next I moved my laptop about sixty feet away and tried sending again. Everything I sent came through with no errors. I can sent and receive from either module with no problems.
It appears that these modules are working as advertised. Next I will try some longer distances and check out some of their other features.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: Oldtron on Oct 12, 2019, 12:23 am
Just did a test at approximately 300' and had no problems. I believe these may replace my NRF24's that
seem to be really glitchy.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: ManukaNZ on Oct 18, 2019, 01:21 am
Dorji recently kindly supplied me several of their UART friendly SX1268 based 433 MHz modules & these have been tested to very good effect here in NZ.  Several quick points -

* Dorji's new configuration tool is very involved & perhaps needs simplification -advanced tweaks often need NOT be shown for basic setups.

* The RSSI reporting feature is marvellous & offers all sorts of IoT prospects !

* Due to crystal matching tolerances, temperature & aging drift the initial SX127x based  modules were usually limited to 62.5 kHz BW. An apparently superior Rakon crystal (~1ppm) is now used, implying tighter BW could be beneficially employed. Such more closely matched Rx & Tx freqs suggest range improvements of perhaps 50 -100% could arise with narrower BW. (Refer the attached table -organised in conjunction with SRNET back in 2015.) 
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: ROUGEXIII on Jan 13, 2020, 09:04 am
Hi,
Is this operation still active?
I'm looking for trying some LoRa communication.
I'm searching a really low consumption emitter while sleeping and a high sensitivity receiver.
Title: Re: Long range sx1268 wireless module DRF1268DS with Arduino UNO for home automation
Post by: srnet on Jan 13, 2020, 09:24 am
Hi,
Is this operation still active?
I'm looking for trying some LoRa communication.
I'm searching a really low consumption emitter while sleeping and a high sensitivity receiver.
There is an example of a low current transmitter used as a remote control for a LoRa receiver here;

https://github.com/LoRaTracker/SX12XX-LoRa (https://github.com/LoRaTracker/SX12XX-LoRa)

The 'transmitter' uses a bare bones ATMega328P and uses around 2uA when asleep. Press one of the buttons and  the transmitter wakes up and sends the packet to control the remote.

At the moment it runs on SX127X only, but SX126x support will be added soon.

UART front ended modules have their place, but the standard SPI based modules are very much more flexible.