Quick Start
Getting Started
Follow these steps to set up your Snake-V1 and verify its core functionality.
1. Powering the Device
Snake-V1 is powered and programmed via the onboard USB-C connector.
- Connect a USB-C cable to the GCT USB4135-GF-A port.
- Connect the other end to a PC or a 5V power supply.
- The device will initialize. If you are using a microSD card for logging or data storage, ensure it is inserted into the Molex 47352-1001 slot before powering on.
2. Connecting via Serial
Snake-V1 typically interacts with a host computer via a serial interface (UART over USB). Use a serial terminal like PuTTY, Tera Term, or the Arduino Serial Monitor to communicate with the STM32WB35.
- Baud rate: 115200
- Data bits: 8
- Parity: None
- Stop bits: 1
3. Performing Your First Peripheral Test (IR)
The easiest way to verify the hardware is by testing the Infrared (IR) subsystem using the onboard transmitter and receiver.
To test the IR Transmitter/Receiver:
- Open your serial console.
- Enter the IR test command (if using standard firmware):
ir --scan - Point a standard remote control at the TSOP38238 receiver.
- If successful, the console will output the detected protocol and hex code:
[IR DATA]: Protocol=NEC, Address=0x00, Command=0xAD
4. Testing Sub-GHz Connectivity
To test the CC1101 transceiver, you can initiate a frequency sweep to detect nearby signals.
- Ensure the tapered helical antenna is securely attached.
- Run the Sub-GHz frequency analyzer:
subghz --analyze 433.92M - The device will begin listening for packets on the specified frequency.
Hardware Interface Overview
| Peripheral | Component | Role | | :--- | :--- | :--- | | Microcontroller | STM32WB35CEU6A | Main logic and BLE control | | Sub-GHz | CC1101RGPR | Transceiving data (300-928 MHz) | | Infrared | TSAL6400 / TSOP38238 | Sending and receiving IR signals | | Storage | microSD Slot | Configuration and payload storage | | Communication | USB-C | Power and Serial CLI |