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
Next revision
Previous revision
here_rtk_kit [2025/11/25 15:48] – [Table] millerjshere_rtk_kit [2025/11/28 05:45] (current) admin
Line 37: Line 37:
 ==== I2C devices ==== ==== I2C devices ====
 ^ Device Type   ^ Part                                                                                                    ^ Address  ^ Misc  ^ ^ Device Type   ^ Part                                                                                                    ^ Address  ^ Misc  ^
-| Magnetometer  | [[https://www.digikey.com/htmldatasheets/production/2044105/0/0/1/ak09916.html|AK09916]]                | 0x0C           |+| Magnetometer  | [[https://www.digikey.com/htmldatasheets/production/2044105/0/0/1/ak09916.html|AKM AK09916]]            | 0x0C           |
 | Magnetometer  | [[https://www.st.com/en/mems-and-sensors/lis3mdl.html|ST LIS3MDL]]                                      | 0x1C           | | Magnetometer  | [[https://www.st.com/en/mems-and-sensors/lis3mdl.html|ST LIS3MDL]]                                      | 0x1C           |
 | Magnetometer  | [[https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/411/HMC5983_DS.pdf|Honeywell HMC5983]]   | 0x1E           | | Magnetometer  | [[https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/411/HMC5983_DS.pdf|Honeywell HMC5983]]   | 0x1E           |
 | LED Driver    | [[https://media.digikey.com/pdf/Data%20Sheets/Toshiba%20PDFs/TCA62724FMG(O,S,EL.pdf|Toshiba TCA62764]]  | 0x55           | | LED Driver    | [[https://media.digikey.com/pdf/Data%20Sheets/Toshiba%20PDFs/TCA62724FMG(O,S,EL.pdf|Toshiba TCA62764]]  | 0x55           |
 | 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     | 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.1764085719.txt.gz · Last modified: by millerjs

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki