stanleypa / eleropy

Python code to control elero blinds
GNU General Public License v3.0
15 stars 7 forks source link

What CC1101 device to use ? #2

Closed pierok13 closed 1 year ago

pierok13 commented 1 year ago

Hi, I've high interest in your work and I think it's a great work. What CC1101 device did you use ? Would this one be a good catch ? https://www.amazon.fr/gp/product/B07YX92NMP/ thank's

stanleypa commented 1 year ago

The modules i used looked like this:

But I'm pretty sure the one you linked would work.

On Wed 5 Jul 2023, 11:06 pierok13, @.***> wrote:

Hi, I've high interest in your work and I think it's a great work. What CC1101 device did you use ? Would this one be a good catch ? https://www.amazon.fr/gp/product/B07YX92NMP/ thank's

— Reply to this email directly, view it on GitHub https://github.com/stanleypa/eleropy/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRJUX3OTJNO3FA365E73P3XOUVC5ANCNFSM6AAAAAAZ6UXYDI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

stanleypa commented 1 year ago

Sorry Image file didn't work

https://www.aliexpress.com/item/4001159064538.html?spm=a2g0o.productlist.main.25.208538b3iKuE1p&algo_pvid=3de533c2-65d9-4a11-8598-cef2447d820c&algo_exp_id=3de533c2-65d9-4a11-8598-cef2447d820c-12&pdp_npi=3%40dis%21EUR%212.33%211.89%21%21%212.48%21%21%40212243c016885521261167853d0784%2110000014938416272%21sea%21IE%21143095164&curPageLogUid=WkP6pbeNSiGf

On Wed 5 Jul 2023, 11:06 pierok13, @.***> wrote:

Hi, I've high interest in your work and I think it's a great work. What CC1101 device did you use ? Would this one be a good catch ? https://www.amazon.fr/gp/product/B07YX92NMP/ thank's

— Reply to this email directly, view it on GitHub https://github.com/stanleypa/eleropy/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRJUX3OTJNO3FA365E73P3XOUVC5ANCNFSM6AAAAAAZ6UXYDI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pierok13 commented 1 year ago

The one I saw looks like it's only 433 MHZ and I think elero needs 868 right ?

stanleypa commented 1 year ago

There's 868, 433 and 915mhz versions - i believe only difference is the passive component values.

On Wed 5 Jul 2023, 13:20 pierok13, @.***> wrote:

The one I saw looks like it's only 433 MHZ and I think elero needs 868 right ?

— Reply to this email directly, view it on GitHub https://github.com/stanleypa/eleropy/issues/2#issuecomment-1621557422, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRJUXZQMFKDNDGULJRTYOLXOVEYXANCNFSM6AAAAAAZ6UXYDI . You are receiving this because you commented.Message ID: @.***>

pierok13 commented 1 year ago

Thank's for your reply, I'll try the same than yours, I don't want to risk and have to order a new one.

pierok13 commented 1 year ago

@stanleypa I have the CC1101 and the remotes , installed on RPI spiDEV 0 The scripts shows only dots, waiting ofr clear channel. My question is how to sniff to identify the remotes and fill the conf.py ? I'm sorry, I'm new in the CC1101 world.

edit : OK I think I didn't connect all the pins. GD0 is not connected. I'll try with all 8 pins from cc1101 connected tomorrow

edit2 : With GDO0 attached script is running. But I still cannot see any message, nor know how to get the remote ID to put in conf.py

stanleypa commented 1 year ago

At startup you should see something like:

Starting main.py check 114 Waiting for clear channel... ........channel cleared

The "check" is a read of the a register just written (0x0E - the middle byte of the frequency). What is the value? If this is 0 then the SPI bus is not okay (probably should abort) in which case I'd suggest you make sure you have enabled SPI on the PI and double-check your wiring to the module.