here_rtk_kit
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| here_rtk_kit [2025/11/25 15:05] – [Rover] millerjs | here_rtk_kit [2025/11/28 05:45] (current) – admin | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ===== Rover ===== | ===== Rover ===== | ||
| - | The rover hardware includes a GNSS + antenna and six I2C devices. It has an eight pin connector which is externally accessible by way of a cable passthrough in the case which carries the UART and I2C to the flight controller. | + | The rover hardware includes a GNSS + antenna and six I2C devices. It has an eight pin JST-GH |
| The Here+ v1 rover differs significantly from the 2/3/4 in that the sensors are connected to the I2C bus directly, and the module does not support the CAN protocol. In the 2/3/4, the sensors are connected to an STM32 which can either emulate I2C devices, or provide the data on a CAN bus. For the purposes of tinkering/ | The Here+ v1 rover differs significantly from the 2/3/4 in that the sensors are connected to the I2C bus directly, and the module does not support the CAN protocol. In the 2/3/4, the sensors are connected to an STM32 which can either emulate I2C devices, or provide the data on a CAN bus. For the purposes of tinkering/ | ||
| + | |||
| + | === 8 Pin JST-GH Pinout === | ||
| + | ^ Pin ^ Color ^ Use ^ Notes ^ | ||
| + | | 1 | Purple | ||
| + | | 2 | Blue | GNSS Rx | | | ||
| + | | 3 | Green | GNSS Tx | | | ||
| + | | 4 | Yellow | ||
| + | | 5 | Orange | ||
| + | | 6 | Red | Safety Button | ||
| + | | 7 | Brown | Button LED | Pull low to illuminate | ||
| + | | 8 | Black | Ground | ||
| ==== GNSS ==== | ==== GNSS ==== | ||
| The rover' | The rover' | ||
| Line 25: | Line 36: | ||
| ==== I2C devices ==== | ==== I2C devices ==== | ||
| - | ^ Device Type ^ Part ^ Address | + | ^ Device Type ^ Part ^ Address |
| - | | Magnetometer | + | | Magnetometer |
| - | | Magnetometer | + | | Magnetometer |
| - | | Magnetometer | + | | Magnetometer |
| - | | LED Driver | + | | LED Driver |
| - | | IMU | MPU-9250 | + | | IMU |
| - | | Barometer | + | | Barometer |
| + | |||
| + | ==== Sample Code ==== | ||
| + | === TCA62724 ==== | ||
| + | Solid purple, lowest brightness (still quite bright!) | ||
| + | |||
| + | <file c TCA62724_Purple.ino> | ||
| + | #include < | ||
| + | |||
| + | #define TCA62724_ADDR | ||
| + | #define SDA_PIN | ||
| + | #define SCL_PIN | ||
| + | |||
| + | void setup() { | ||
| + | Wire.begin(SDA_PIN, | ||
| + | delay(10); | ||
| + | |||
| + | // Enable the LED driver | ||
| + | Wire.beginTransmission(TCA62724_ADDR); | ||
| + | Wire.write(0x84); | ||
| + | Wire.write(0x03); | ||
| + | Wire.endTransmission(); | ||
| + | |||
| + | // Set Purple: Red=1, Green=0, Blue=1 (lowest brightness) | ||
| + | Wire.beginTransmission(TCA62724_ADDR); | ||
| + | Wire.write(0x81); | ||
| + | Wire.write(1); | ||
| + | Wire.write(0x82); | ||
| + | Wire.write(0); | ||
| + | Wire.write(0x83); | ||
| + | Wire.write(1); | ||
| + | Wire.endTransmission(); | ||
| + | } | ||
| + | |||
| + | void loop() { | ||
| + | // Nothing - LED stays purple | ||
| + | } | ||
| + | </ | ||
here_rtk_kit.1764083153.txt.gz · Last modified: by millerjs
