PDA

View Full Version : Bought this RF modules



cesar35
- 31st July 2015, 11:27
hello
http://www.dx.com/pt/p/rf1100-232-cc1101-433mhz-wireless-rf-transceiver-module-156755?tc=BRL&gclid=CKi9homUhccCFVaAkQod620CWQ#.VbtNY_NViko

Bought this RF modules is working there are times that he forgets the configurations have to connect the PC to reconfigure all
how could I send the configuration to it when I connect the PIC
The modules are configured in hexdecimal
Elguem have an idea how I do it or somebody already had this problem.
RF1100-232 command table

Set serial port baud rate

Text Command Code Baud Rate Description
Length 2 bytes 1 byte 0x01: 4800
Format hex hex 0x02: 9600
Fixed 0xA3, 0x3A 0x01/0x02/0x03 0x03: 19200





Example: sending 0xA3, 0x3A, 0x03 to the module sets the serial port baud rate to 19200.

Set channel communication rate (not supported/implemented according to the documents I found)

Text Command Code Channel Rate
Description
Length 2 bytes 1 byte
Format hex hex
Fixed 0xA5, 0x5A 0x64






Set channel

Text Command Code Channel Number
Description
Length 2 bytes 1 byte Channel number from
Format hex hex 0x00 - 0xFF
Fixed 0xA7, 0x7A 0x00-0xFF (256 channels)





Example: sending 0xA7, 0x7A, 0x10 to the module sets the channel to 16 (0x10 hex).

Set module ID

Text Command Code Module ID
Description
Length 2 bytes 2 bytes 2 bytes module ID
Format hex hex 0x0000 to 0xFFFF
Fixed 0xA9, 0x9A 0xFF, 0xFF






Example: sending 0xA9, 0x9A, 0x00, 0xFF to the module sets the module ID to 255 (0x00FF hex).

Set TX power

Text Command Code TX Power
Description
Length 2 bytes 1 byte transmit power (dbm)
Format hex hex 0x00, 0x05, 0x07
Fixed 0xAB, 0xBA 0x00/0x05/0x07/0x0A
or 0x0A (10 decimal)





Example: sending 0xAB, 0xBA, 0x0A to the module sets the TX power to 10dbm.

Read config from module

Text Command Code Returned Data Format
Length 2 bytes 1 byte 1 byte
1 byte 1 byte 1 byte 2 bytes
Format hex hex hex
hex hex hex hex
Fixed 0xA6, 0x6A 0xA6
Channel
Channel Rate Baud rate Power Module ID




Example: sending 0xA6, 0x6A to the module returns the following data containing the module's current config:

0xA6, 0x10, 0x64, 0x03, 0x0A, 0x00, 0xFF

0xA6 - start of config dump (fixed)
0x10 - Channel number 16 (0x10 hex)
0x64 - Channel rate (fixed)
0x03 - 19200 baud
0x0A - 10 dbm TX Power
0x00, 0xFF - 2 byte module ID

gadelhas
- 31st July 2015, 20:57
Hi Cesar;

Yep, the configuration sometimes disapears from those RF module. I really recommend the HC-12. They are cheaper than those, and works better.
By the way, are you brazilian or portuguese?

gunayburak
- 1st August 2015, 13:25
I'm having such issues with NRF24L01+ .. Especially when this RF chip , and an inductive load are on the same circuit .. I have solved this issue by adding a transistor design to the circuit for only a purpose of switching it off , switching it on and reconfiguring the registers on certain periods in each loop ...
Perhaps that may help you too ..

cesar35
- 1st August 2015, 15:46
Hi Cesar;

Yep, the configuration sometimes disapears from those RF module. I really recommend the HC-12. They are cheaper than those, and works better.
By the way, are you brazilian or portuguese?

Hello I am in Brazil.
I bought this modules can not use them
Every time I turn have set up again
Thanks for the tip

cesar35
- 1st August 2015, 15:52
I'm having such issues with NRF24L01+ .. Especially when this RF chip , and an inductive load are on the same circuit .. I have solved this issue by adding a transistor design to the circuit for only a purpose of switching it off , switching it on and reconfiguring the registers on certain periods in each loop ...
Perhaps that may help you too ..

Hello you have an example as you did isso.Eu'm very sad about this modules after waiting nearly a month to arrive and not to use them
thanks

gadelhas
- 1st August 2015, 19:51
Hello I am in Brazil.
I bought this modules can not use them
Every time I turn have set up again
Thanks for the tip

Yes, those modules suck!

Sim, esses módulos não valem nada, falham muito. Experimenta os que eu te disse, os HC-12. Comprei uns poucos e funcionam muito bem, e são mais baratos.
Ou então os NRF. Mas para trabalhar os HC-12 são melhores porque é UART puro, enquanto que os NRF não!

cesar35
- 2nd August 2015, 20:00
Yes, those modules suck!

Sim, esses módulos não valem nada, falham muito. Experimenta os que eu te disse, os HC-12. Comprei uns poucos e funcionam muito bem, e são mais baratos.
Ou então os NRF. Mas para trabalhar os HC-12 são melhores porque é UART puro, enquanto que os NRF não!

Remente dei uma pesquisada neste modulo gostei vou pedir um par o ruim que demora quase 30 dias para chegar
O brigado pela dica
Um abraço