New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Other modulation types supported (2-FSK)? #4
Comments
Hey, I've tested out 2FSK briefly and it seems to work. You can configure the registers manually via the CC1101's datasheet or use TI's SmartRF Studio (free - requires TI login though) and let it generate the registers for you. These are the RF settings I used to test (2FSK @ 433.9MHz, 82.5KHz deviation) This is the output (annotated) You can configure your desired RF settings, export the registers (1), choose the correct output type and copy the text (2) and import it into CCManager through pasting into the dialog in "Import SimpliciTI Settings" (3) Hope it helps! |
Thanks a lot for that! Such a nice and detailed guide! Anyway, the particular rolling code system I have has a symbol rate of around 18kHz, which the CC1101 can do, however it does have ~1000 symbols that need to be transmitted ... I see that your program only supports 61 bytes. Do you have any idea on how to tackle this challenge (I am using an Arduino Pro Mini, 3.3V, 8MHz)? Also, is there a way to run your CCManager program without the GUI, just with a CLI in Linux shell/Windows command prompt? I'd like to be able to automate this on a Raspberry Pi -> analyses/decodes FSK -> sends code to CC1101. Sorry for the many questions, I am still a n00b with this hardware. |
Hey no worries! With regards to your requirements on ~1k symbols, the hardware you have (CC1101, 3.3V Arduino) is enough to do so - however you may wish to write your own firmware on the Arduino itself as CCManager is not able to solve the issue as-is. CCManager works by queuing bytes into the CC1101's internal TX FIFO (limited to 61 bytes), then requesting the CC1101 to TX the buffer's content. This allows timing flexibility between the host/bridge/CC1101. There is also a second mode (serial synchronous/asynchronous mode) on the CC1101. Upon enabling TX, the CC1101 will generate a clock signal and read data from its GDO pins. In this mode, the CC1101 acts more like a simple modulator and you should be able to send a transmission of arbitrary length. This is the literature from TI which might help you in the alternative mode: Unfortunately I have not implemented a CLI version of CCManager. Perhaps in the future ^_^ Might I suggest looking at rfcat for similar features, but more powerful in the "expert mode" and automation department? (Different hardware though) |
Thanks for all the help. |
Hi again, Then I could simply go on by looping and keeping the TX FIFO filled (not sure on how to do this, but there are libraries I suppose)? Would this work? |
Hey, It might work, though it sounds somewhat hacky given that the data would be sent in blocks of 61 bytes with an unknown interval, and I don't think I am able to give more advice than that. It would be easier and more reliable to get the Arduino to do the work via asynchronous mode with the CC1101 in your case for long packets. Asynchronous mode is similar to the method you describe, where you store your data on the microcontroller, and configure the CC1101 to both transmit and read the next packet's data simultaneously. |
Thanks again for so much help. Crazy how this is the stuff protecting my car! 1 byte of data. So much for rolling code security. |
Congrats! Do remember that rolling code can be desynchronized (by accident usually) and there probably is a sequence of actions you may have to take to re-synchronize it. Hopefully CCManager is capable of opening your car for you :^) |
Hey trishmapow, You have succeeded? I am looking for information to use a CC1101 on arduino to try on my car. Sorry for my bad english Thanks |
Hi,
First of all, this is such a great piece of software.
I haven't been able to test the Arduino sketch yet, because I'm having issues compiling. However, in the PDF replay tutorial you mentioned that this only supports OOK.
Is it possible to transmit FSK with this, as I know the CC1101 chip itself supports it? If not, could you please point me to something about transmitting FSK on the CC, I haven't found any good sources,
Thanks
The text was updated successfully, but these errors were encountered: