I2C Codes for various Devices that will/should work with PICAXE

DEVICES--

i2cslave  %01010000, i2cslow, i2cbyte        'sets up i2c addressing for MAX5392-xx - Dual Digital Linear Potentiometer  $A0

i2cslave  %00110100, i2cslow, i2cbyte        'sets up i2c addressing for MAX31782 - System Management Microcontroller   $34

i2cslave  %01101000, i2cslow, i2cbyte        'sets up i2c addressing for DS3232SN# - Precesion RTC w/ Internal Crystal & SRAM  $68

i2cslave  %01101000, i2cslow, i2cbyte        'sets up i2c addressing for DS3231SN# - Extremely Accurate RTC/TCXO/Internal Crystal  $68

i2cslave  %11010 000, i2cslow, i2cbyte        'sets up i2c addressing for DS3231M - I2C Real-Time Clock  $D0   

i2cslave  %11001100, i2cslow, i2cbyte        'sets up i2c addressing for DS1821+ - Electronic Digital Rheostat  $CC

i2cslave %11001100, i2cslow, i2cbyte         'sets up i2c addressing for DS18B20 - Temperature Module 1-Wire $CC

i2cslave  %01010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1805E-010+ - Addressable Digital Potentiometer  $50
See the Datasheet on this device to determine what the last 3 digits should be set to.  A2, A1, A0

i2cslave  %11010 000, i2cslow, i2cbyte        'sets up i2c addressing for DS1775R - Tiny Digital Thermometer and Thermostat  $D0
The above devices' I2C, have 3 pins that determine what the I2C address will be. This is done by: A0, A1, A2 legs on the chip.
DS1775R  = 000   DS1775R1 = 001   DS1775R2 & R3 = 010   DS1775R4 = 100   DS1775R5 = 101   DS1775R6 = 110   DS1775R7 = 111


i2cslave  %10010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1721U+ - Digital Thermometer & Thermostat  $90
See the Datasheet on this device to determine what the last 3 digits should be set to.  A2, A1, A0

i2cslave  %10010000, i2cslow, i2cbyte        'sets up i2c addressing for D1621+ - Digital Thermometer & Thermostat  $90
See the Datasheet on this device to determine what the last 3 digits should be set to.  A2, A1, A0

i2cslave  %11010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1388Z-33+  - RTC/Supervisor/Trickle-Charge  512-Byte RAM   $D0

i2cslave  %11010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1388Z-5+  - RTC/Supervisor/Trickle-Charge  512-Byte RAM   $D0

i2cslave  %11010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1388Z-3+  - RTC/Supervisor/Trickle-Charge  512-Byte RAM   $D0

i2cslave  %11010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1388  - RTC/Supervisor/Trickle-Charge  $D0

i2cslave  %11010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1341U+ - Low-Current RTCs High-ESR Xtals  $D0

i2cslave  %01101000, i2cslow, i2cbyte        'sets up i2c addressing for DS1340 - RTC with Trickle Charger  $68  

i2cslave  %01101000, i2cslow, i2cbyte        'sets up i2c addressing for DS1338U - RTC Clock  w/ NVRAM  $68

i2cslave  %01101000, i2cslow, i2cbyte        'sets up i2c addressing for DS1338C - RTC Clock  w/ NVRAM  $68


-----

Hardware Devices already tested--

i2cslave  %11000110, i2cslow, i2cbyte        'sets up i2c addressing for AXE033 LCD - Driver  $C6

i2cslave  %11000110, i2cslow, i2cbyte        'sets up i2c addressing for SPE030 - Speech  $C6

i2cslave  %11100000, i2cslow, i2cbyte        'sets up i2c addressing for SRF08 - Sonar Module  $E0    <-- I'm told that this will be changing to $EC

i2cslave  %11101100, i2cslow, i2cbyte        'sets up i2c addressing for SRF05 - Ultra Sonic Range Finder  $EC

i2cslave  %11000010, i2cslow, i2cbyte        'sets up i2c addressing for SD21 - Servo Controller  $C2 

i2cslave  %01101000, i2cslow, i2cbyte        'sets up i2c addressing for DS1337+  - RTC Clock  $68

i2cslave  %11010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1307+ - RTC Clock & 64x8 Serial  $D0

i2cslave  %11010000, i2cslow, i2cbyte        'sets up i2c addressing for DS1307 - w/ PCB,  RTC Clock & 64x8 Serial  $D0

i2cslave  %01001000, i2cslow, i2cbyte        'sets up i2c addressing for DS75 - Thermometer & Thermostat  $48  

i2cslave  %01100111, i2cslow, i2cbyte        'sets up i2c addressing for Parallax 27903 - Optical Finger Navigator (OFN)  $67

-----

Other Hardware Devices--

i2cslave  %10110100, i2cslow, i2cbyte        'sets up i2c addressing for MLX90614 - Infrared Thermometer  $5A

i2cslave  %10010000, i2cslow, i2cbyte        'sets up i2c addressing for TC1321 - 10-BIT DAC  $90

i2cslave  %00110000, i2cslow, i2cbyte        'sets up i2c addressing for DC-SS503 -  Dual-Axis Magnetic Sensor  $30

i2cslave  %01010011, i2cslow, i2cbyte        'sets up i2c addressing for-  FLEXEL-1  $53   

i2cslave  %00111010, i2cslow, i2cbyte        'sets up i2c addressing for MAX5978 -  8-Channel  0-16V, Hot-Swap Controller, Voltage Monitor, 4-LED Drivers   $3A  

i2cslave  %10011010, i2cslow, i2cbyte        'sets up i2c addressing for MAX6581 -  Accurate 8-Channel Tempeerature Sensors  $9A  

i2cslave  %010010 00, i2cslow, i2cbyte        'sets up i2c addressing for MAX6642 -  Remote/Local Temp. Sensors w/ Overtemp Alarm, SMBus  $48
See the Datasheet on this device to determine what the last 2 digits should be set to.  ADD0 - ADD1

i2cslave  %000011 00, i2cslow, i2cbyte        'sets up i2c addressing for MAX6657 -  Remote/Local Temp. Sensors w/ Overtemp Alarm, SMBus  $C0
See the Datasheet on this device to determine what the last 2 digits should be set to.  ADD0 - ADD1
This has multiple control modes; so you will need to consult the Datasheet.

i2cslave  %000110 00, i2cslow, i2cbyte        'sets up i2c addressing for MAX6660 -  Remote-Junction Temp.-Controlled Fan-Speed Regulator w/ SMBus  $30
See the Datasheet on this device to determine what the last 2 digits should be set to.  ADD0 - ADD1

i2cslave  %001100 00, i2cslow, i2cbyte        'sets up i2c addressing for MAX6680 -  Fail-safe Remote/Local Temp. Sensors Temp. Threshold w/ SMBus  $18
See the Datasheet on this device to determine what the last 2 digits should be set to.  ADD0 - ADD1, CRIT0 - CRIT1
This has multiple control modes; so you will need to consult the Datasheet.

i2cslave  %1001 100, i2cslow, i2cbyte        'sets up i2c addressing for MAX6692 -  Remote/Local Temp. Sensors w/ Overtemp Alarm, SMBus  $4C

i2cslave  %00011 000, i2cslow, i2cbyte        'sets up i2c addressing for MAX6695 -  Dual Remote/Local Temp. Sensors w/ SMBus  $30

i2cslave  %0111 0000, i2cslow, i2cbyte        'sets up i2c addressing for MAX6956 -  2.5-5.5+ 20-Port or 28-Port LED Display Driver & I/O Expander  $70
See the Datasheet on this device to determine what the last 4 digits should be set to.  A3, A2, A1, A0

i2cslave  %01001100, i2cslow, i2cbyte        'sets up i2c addressing for MAX7302 -  Interfaced 9-Port, Level-Translating GPIO and LED Driver with CLA   $4C 

i2cslave  %11000000, i2cslow, i2cbyte        'sets up i2c addressing for MAX8952 -  2.5V Step-Down Regulator w/ Differential Remote Sense   $C0   

i2cslave  %00010000, i2cslow, i2cbyte        'sets up i2c addressing for MAX98088 -  Stereo Audio Codec /w FLEXSOUND Technology   $10  

i2cslave  %10110100, i2cslow, i2cbyte        'sets up i2c addressing for MAX44007 -  Low-Power Digital Ambient Light Sensor  w/ Enhanced Sensitivity   $B4    

i2cslave  %11101000, i2cslow, i2cbyte        'sets up i2c addressing for MAX11068 -  12-Channel, Hi-Voltage-Sensor, Smart Data-Acquisition  $E8   

i2cslave  %00000000, i2cslow, i2cbyte        'sets up i2c addressing for MAX11386 -  TacTouch™ Haptic Actuator and Touch-Pressure Measurement Controller   $xx  
(Waiting on Datasheet for the above device.)

i2cslave  %01101000, i2cslow, i2cbyte        'sets up i2c addressing for MAX11613 -  4-Channel, Single-Ended, 4-Bit ADC  $34 

i2cslave  %01100110, i2cslow, i2cbyte        'sets up i2c addressing for MAX11615 -  8-Channel, Single-Ended, 8-Bit ADC  $33 

i2cslave  %01101010, i2cslow, i2cbyte        'sets up i2c addressing for MAX11617 -  12-Channel, Single-Ended, 12-Bit ADC  $35 

i2cslave  %10010100, i2cslow, i2cbyte        'sets up i2c addressing for MAX44009 -  Industry's Lowest-Power Ambient Light Sensor with ADC   $94 

i2cslave  %10001111, i2cslow, i2cbyte        'sets up i2c addressing for 73S1209F -  PinPAD, Smart Card Reader & IC UART to ISO7816  $8F  

i2cslave  %10001111, i2cslow, i2cbyte        'sets up i2c addressing for 73S1210F -  PinPAD, Smart Card Reader & Power Management  $8F

i2cslave  %01110000, i2cslow, i2cbyte        'sets up i2c addressing for Si1141/42/43 -  Proximity/Ambient Light Sensor   $70   NEW

-----

Memory--

i2cslave  %10100000, i2cslow, i2cbyte        'sets up i2c addressing for 24LC16B - memory - 16k     $A0

i2cslave  %10100000, i2cslow, i2cbyte        'sets up i2c addressing for 24LC128 - memory  - 128k   $A0

i2cslave  %10100000, i2cslow, i2cbyte        'sets up i2c addressing for 24LC256 - memory - 256k    $A0

i2cslave  %10100000, i2cslow, i2cbyte        'sets up i2c addressing for 24AA512 - memory - 512k   $A0

i2cslave  %10100000, i2cslow, i2cbyte        'sets up i2c addressing for MAX16047A, 12/8-Channel EEPROM w/ Nonvolatile Fault Register's  - memory - $A0

I'll continue to add devices as I run into them for I2C use...so check-back from time to time.
You will also notice that I give you both the Binanry and the HEX code.


Copyright © 2008-2015  Ted J. Mieske
All Rights Reserved.