User Tools

Site Tools


here_rtk_kit


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
here_rtk_kit [2025/11/25 15:50] – [Table] millerjshere_rtk_kit [2025/11/28 05:45] (current) admin
Line 43: Line 43:
 | IMU           | [[https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf|TDK MPU-9250]]         | 0x71           | | IMU           | [[https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf|TDK MPU-9250]]         | 0x71           |
 | Barometer     | [[https://www.te.com/usa-en/product-MS561101BA03-50.datasheet.pdf|TE MS5611]]                           | 0x77           | | Barometer     | [[https://www.te.com/usa-en/product-MS561101BA03-50.datasheet.pdf|TE MS5611]]                           | 0x77           |
 +
 +==== Sample Code ====
 +=== TCA62724 ====
 +Solid purple, lowest brightness (still quite bright!)
 +
 +<file c TCA62724_Purple.ino>
 +#include <Wire.h>
 +
 +#define TCA62724_ADDR   0x55
 +#define SDA_PIN         10
 +#define SCL_PIN         9
 +
 +void setup() {
 +    Wire.begin(SDA_PIN, SCL_PIN);
 +    delay(10);
 +    
 +    // Enable the LED driver
 +    Wire.beginTransmission(TCA62724_ADDR);
 +    Wire.write(0x84);  // Enable register
 +    Wire.write(0x03);  // Turn on
 +    Wire.endTransmission();
 +    
 +    // Set Purple: Red=1, Green=0, Blue=1 (lowest brightness)
 +    Wire.beginTransmission(TCA62724_ADDR);
 +    Wire.write(0x81);  // Blue register
 +    Wire.write(1);     // Blue = 1
 +    Wire.write(0x82);  // Green register
 +    Wire.write(0);     // Green = 0
 +    Wire.write(0x83);  // Red register
 +    Wire.write(1);     // Red = 1
 +    Wire.endTransmission();
 +}
 +
 +void loop() {
 +    // Nothing - LED stays purple
 +}
 +</file>
here_rtk_kit.1764085818.txt.gz · Last modified: by millerjs

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki