rfquack / RFQuack

RFQuack: the versatile RF-analysis tool that quacks!
https://rfquack.org
GNU General Public License v2.0
217 stars 32 forks source link

Pinout? #34

Closed Crsarmv7l closed 1 year ago

Crsarmv7l commented 1 year ago

Hi,

Looking to get started with rfquack. I have an ESP32 and cc1101 on hand and just soldered the headers to the esp32. What I can't seem to find after looking through all the docs and the wiki is the pinout.

I have my cc1101 pinout Screenshot 2023-01-21 2 43 41 PM

and I have my esp32 pinout (on the board). What needs to be connected? I understand assigning the pins in the build env.

phretor commented 1 year ago

@Crsarmv7l good point. You need to have the radio (CC1101) correctly connected to the SPI bus of the MCU (ESP32). So, at the bare minimum, you need this:

You'll find pinouts (which are specific to your board) by googling for (example) "Feather HUZZAH32 pinout" (relevant result).

Feel free to contribute back into the documentation with what you think may be useful to other users!

Crsarmv7l commented 1 year ago

Thank you for the response. Would you mind leaving this open for a a few days while I try getting it working? I will close it once successful.

Got my detailed pinout will give it a shot in the next few days ESP32-WeMos-LOLIN32-pinout-mischianti

Crsarmv7l commented 1 year ago

While I am working on this I do have a question regarding the build env. In certain lines there are multiple definitions of RadioA_RST, they are * in the below code. I assume this is an oversight and they should be for RadioB given two of them are under RADIOB?

# These settings are not guaranteed to work: they're only for CI/CD purposes

RADIOA=RF69
RADIOA_CS=13
RADIOA_IRQ=26
*RADIOA_RST=32*

RADIOB=RF69
RADIOB_CS=33
RADIOB_IRQ=25
*RADIOA_RST=27*

RADIOB=nRF24
RADIOB_CS=34
RADIOB_IRQ=26
*RADIOA_RST=28*

Also CS and IRQ correspond to which pins? The GDOs and CSn?

Crsarmv7l commented 1 year ago

@phretor

Ah yep looks like GDO = IRQ

The question though does CSn connect to CS or an unused pin? My ESP32 has a CS/SS pin.

phretor commented 1 year ago

Yes, you can use the CS pin if your board comes with one.

Yes, that was an oversight.

Crsarmv7l commented 1 year ago

I believe I have my pinout correct, and I have flashed my board, however the rfq command is not found. Some further digging and it appears to be in the docker image.

I think at this point I am going to step back from attempting to get this going. I will circle back in a few months.