Skip to content
Mathias edited this page Apr 22, 2024 · 4 revisions

there is a small sot23-5 EEprom on board marked as U2. It shares serial clock line with sleep of the RF.

EEPROM

  • address is 0b10100000 for reading and 0b10100001 for writing.
  • always a read before write is performed:
    • read position
    • compare with write value
    • if not equal: write position
  • @startup the MCU reads back few values from eeprom @addresses 00, 03, 02, 01, 04

EEprom content

control register

  • 0x00 = 0x0D ( if changed to 0x0c all eeprom-contend is set to default values)
  • 0x01 = MASTER group register ( register@ value + 0x08 is read as group )
  • 0x02 =
  • 0x03 =
  • 0x04 = 0x00 RX-mode / 0x11 eeprom-mode
  • 0x05 =
  • 0x06 =
  • 0x07 =

group register

  • 0x08 - 0x0f = group register 0 - 7

custom color register

colorValue = RX*4, checksum = (sum of colorValues) & 0xff

  • 0x10 : custom color 0x0 green

  • 0x11 : custom color 0x0 red

  • 0x12 : custom color 0x0 blue

  • 0x13 : custom color 0x0 checksum (green + red + blue) & 0xff

  • 0x14 - 0x17 : custom color 0x1 (G,R,B,sum)

  • 0x18 - 0x1B : custom color 0x2 (G,R,B,sum)

  • 0x1C - 0x1F : custom color 0x3 (G,R,B,sum)

  • 0x20 - 0x23 : custom color 0x4 (G,R,B,sum)

  • 0x24 - 0x27 : custom color 0x5 (G,R,B,sum)

  • 0x28 - 0x2B : custom color 0x6 (G,R,B,sum)

  • 0x2C - 0x2F : custom color 0x7 (G,R,B,sum)

  • 0x30 - 0x33 : custom color 0x8 (G,R,B,sum)

  • 0x34 - 0x37 : custom color 0x9 (G,R,B,sum)

  • 0x38 - 0x3B : custom color 0xA (G,R,B,sum)

  • 0x3C - 0x3F : custom color 0xB (G,R,B,sum)

  • 0x40 - 0x43 : custom color 0xC (G,R,B,sum)

  • 0x44 - 0x47 : custom color 0xD (G,R,B,sum)

  • 0x48 - 0x4B : custom color 0xE (G,R,B,sum)

  • 0x4C - 0x4F : custom color 0xF (G,R,B,sum)

eeprom Mode

  • 0x50 - eeprom Mode: green RX value << 2
  • 0x51 - eeprom Mode: red RX value << 2
  • 0x52 - eeprom Mode: blue RX value << 2
  • 0x53 - eeprom Mode: attack 0, 2, 6, 12, 30, 60, 150, 240 (0x00, 0x02, 0x06, 0x0c, 0x1e, 0x3c, 0x96, 0xf0)
  • 0x54 - eeprom Mode: hold 0, 2, 6, 12, 30, 60, 150, 240
  • 0x55 - eeprom Mode: release 0, 2, 6, 12, 30, 60, 150, 240
  • 0x56 - eeprom Mode: from mem 0-f to mem 0-f? = 0bfffftttt
  • 0x57 - eeprom Mode: random 0x00 - 0x07
Clone this wiki locally