Anshgrover23/rfm69-breakout

The RFM69HCW module is a 16-pin radio transceiver with SPI and GPIO interfaces, featuring antennas, reset, and data I/O pins.

Usage: To import and use the RFM69HCW component: 1. Import the component: ```tsx import { RFM69HCW } from "@tsci/Anshgrover23.rfm69-breakout" ``` 2. Use in a circuit: ```tsx <board> <RFM69HCW name="RF1" /> </board> ``` The component includes 16 pins with predefined labels like GND, MISO, MOSI, SCK, NSS, RESET, and various DIO pins. You can place it on a board and connect traces to its specific pins using the `sel` selector.

Version
1.0.0
License
unset
Stars
1

RFM69HCW.tsx

PCBPCB preview for RFM69HCW.tsx
SchematicSchematic preview for RFM69HCW.tsx
import { type ChipProps } from "@tscircuit/props"

export const pinLabels = {
  pin1: "GND",
  pin2: "MISO",
  pin3: "MOSI",
  pin4: "SCK",
  pin5: "NSS",
  pin6: "RESET",
  pin7: "DIO5",
  pin8: "GND",
  pin9: "ANT",
  pin10: "GND",
  pin11: "DIO3",
  pin12: "DIO4",
  pin13: "3.3V",
  pin14: "DIO0",
  pin15: "DIO1",
  pin16: "DIO2",
}

export const RFM69HCW = (props: ChipProps<typeof pinLabels>) => (
  <chip
    manufacturerPartNumber="RFM69HCW"
    {...props}
    pinLabels={pinLabels}
    schPinArrangement={{
      leftSide: {
        direction: "top-to-bottom",
        pins: ["3.3V", "MISO", "MOSI", "SCK", "NSS", "RESET"],
      },
      rightSide: {
        direction: "top-to-bottom",
        pins: [
          "DIO0",
          "DIO1",
          "DIO2",
          "DIO3",
          "DIO4",
          "DIO5",
          "pin8",
          "ANT",
          "pin1",
        ],
      },
    }}
    schPinStyle={{
      RESET: { marginTop: "0.4" },
      MISO: { marginTop: "0.4" },
      pin8: { marginTop: "0.3" },
    }}
  />
)