Overriding maximum volume level of door chime circuit

Discussion in 'Embedded Systems and Microcontrollers' started by Mikezoe65, Jul 6, 2016.

  1. Mikezoe65

    Thread Starter New Member

    Jun 18, 2016
    9
    0
    [DEVICE SETTING]
    NUM SUPPORT FLASH TYPE = 17
    DATA_START_ADDRESS = 0x100000
    CLUSTER_SIZE = 0x400
    POWER_SWTICH_TIME = 0xFFFF
    LED_FLASH_HALF_PERIOD = 0xFFFF
    MAX_VOLUME_LEVEL = 0xFFFF
    DEFAULT_MRC = Silence

    Can someone advise me how to override the Max volume level in the above inf file (part of inf file controlling the sound from a Siemens wifi door chime unit). Thanks
     
  2. AlbertHall

    Well-Known Member

    Jun 4, 2014
    1,889
    375
    I suspect the value 0xFFFF is the maximum it can be. You might change this to a lower value to reduce the volume.
     
  3. Mikezoe65

    Thread Starter New Member

    Jun 18, 2016
    9
    0
    Can anyone explain in "paint by numbers" simplicity what that value means? Thanks! Why would it be the maximum value I can set?
     
  4. AlbertHall

    Well-Known Member

    Jun 4, 2014
    1,889
    375
    Note that I don't know that this is the maximum value, but I will explain why I think it is.
    0xFFFF is a way of expressing a hexadecimal number with each 'F' representing four binary digits each set to '1'.
    So 0xFFFF equals 1111 1111 1111 1111 in binary, that is sixteen binary digits. This can be stored in two full bytes (8 bits per byte) - a fairly common size for storing numbers in a microcontroller. To make this number bigger (which would presumably represent 'louder') would require extra storage space.

    Does that help?
     
  5. Mikezoe65

    Thread Starter New Member

    Jun 18, 2016
    9
    0
    Thanks!
     
Loading...