RFQuack icon indicating copy to clipboard operation
RFQuack copied to clipboard

Can RFQuack be used with RF1100-232 USB device ?

Open arthurlutz opened this issue 3 years ago • 7 comments

Describe the bug

I am trying to use RFQuack with an RF110-232 USB device such as https://aliexpress.com/item/1005003285561543.html I can see it as /dev/ttyUSB0 so typing this :

PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python rfquack tty -P /dev/ttyUSB0 -b 19200 
# or with futher options
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python rfquack tty -P /dev/ttyUSB0 -b 19200 -p N -S 1 -s 8

RFQuack start correctly but no dongles are detected (q._dongles returns a {} so I can't select by id).

I have access to some software to configure the CC1101 chip via the USB / CP2102 USB to UART Bridge Controller (Silicon Labs). This device seems to be build by a defunct company by the name of fytoo. Firmware and PDFs (in chinese) are to be found here https://github.com/acontini/CC1101_USB

Am I trying to do something completely out of the scope of RFQuack ?

Additional info (please complete)

  • MCU: ttyUSB via CP2102 (?)
  • Wireless module type : CC1101
  • Host environment : Linux Ubuntu 22.02
  • RFQuack version, branch, or tag : master
  • RadioLib version, branch, or tag : n/a ?

arthurlutz avatar Mar 13 '23 21:03 arthurlutz

Not out of the box. The radio transceiver CC1101 is supported by RFQuack, but the board may not be supported by PlatformIO and/or Arduino.

Do you know what MCU is onboard the RF110-232?

Have you checked it it's supported by PlatformIO?

phretor avatar Mar 14 '23 12:03 phretor

The MCU seems to be an ATMEL MEGA48PA. It seems supported by plateformio : https://docs.platformio.org/en/latest/boards/atmelavr/ATmega48P.html

arthurlutz avatar Mar 15 '23 19:03 arthurlutz

OK, that's half good news. Now, in order to use RFQuack you need to figure out how the MCU's SPI bus is wired to the CC1101.

On Wed, Mar 15, 2023 at 8:49 PM Arthur Lutz @.***> wrote:

The MCU seems to be an ATMEL MEGA48PA. It seems supported by plateformio : https://docs.platformio.org/en/latest/boards/atmelavr/ATmega48P.html

— Reply to this email directly, view it on GitHub https://github.com/rfquack/RFQuack/issues/39#issuecomment-1470740794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPCNEXWDV6W3KI5NEDV7TW4IMNJANCNFSM6AAAAAAVZUOURU . You are receiving this because you commented.Message ID: @.***>

phretor avatar Mar 15 '23 20:03 phretor

Here are a few quick picture, if this a way forward I can probably do some higher resolution pictures to make it easier to read.

IMG_20230315_204153 IMG_20230315_204149 IMG_20230315_204143 IMG_20230315_204137 IMG_20230315_204104 IMG_20230315_204050

I believe some information about this USB stick is archived here : https://github.com/acontini/CC1101_USB/ (most documents in Chinese)

Another source of information is http://www.yesyes.info/index.php/electronics/rf1100-232-rf-433mhz-transceiver-module/

arthurlutz avatar Mar 15 '23 21:03 arthurlutz

I think you don’t need to follow the wiring. Instead, you can figure out the pinout from that source code.

On Wed, 15 Mar 2023 at 22:18 Arthur Lutz @.***> wrote:

Here are a few quick picture, if this a way forward I can probably do some higher resolution pictures to make it easier to read.

[image: IMG_20230315_204153] https://user-images.githubusercontent.com/108437/225445714-d25457c9-2908-4d19-af18-81e28675acbc.jpg [image: IMG_20230315_204149] https://user-images.githubusercontent.com/108437/225445723-9733bf59-6843-487c-836a-60c8fede2950.jpg [image: IMG_20230315_204143] https://user-images.githubusercontent.com/108437/225445727-e62c723b-72ca-4f0e-87f0-efc2bd040538.jpg [image: IMG_20230315_204137] https://user-images.githubusercontent.com/108437/225445731-939581f5-e878-4d26-92bd-cf4016b12da9.jpg [image: IMG_20230315_204104] https://user-images.githubusercontent.com/108437/225445734-8f9c2a85-e662-4455-a391-d680fd18ace2.jpg [image: IMG_20230315_204050] https://user-images.githubusercontent.com/108437/225445736-048daa00-b3a1-46c5-a4da-0b0c478e4960.jpg

I believe some information about this USB stick is archived here : https://github.com/acontini/CC1101_USB/ (most documents in Chinese)

Another source of information is https://github.com/acontini/CC1101_USB/

— Reply to this email directly, view it on GitHub https://github.com/rfquack/RFQuack/issues/39#issuecomment-1470857683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPCNDZEP6A3VITKX2KVMTW4IW2LANCNFSM6AAAAAAVZUOURU . You are receiving this because you commented.Message ID: @.***>

phretor avatar Mar 15 '23 21:03 phretor

Hello, @arthurlutz , let me know if you got it running, I have the same device.

jradm87 avatar May 04 '23 13:05 jradm87

me too! Let us know.

adminy avatar May 25 '24 11:05 adminy