We will be having Diwali Festival holidays from 18th October to 24th October. Any orders placed during that time will ship from 25th October onwards. Good Wishes for a joyous Diwali and a Happy New Year with plenty of Peace and Prosperity.
SUNROM ELECTRONICS
Back to Audio (8)

M62429 - Digital Pot

FM62429, SOIC8, Dual channel electronic volume controlled with 2-wire serial data(its not I2C).

M62429 - Digital Pot

Sunrom Part# 4014

Available We dispatch same day if ordered by 4PM (excluding holidays), then courier usually takes 2-5 days.
Real Time Availability
Ready Stock: 22 nos.
Factory Leadtime for more quantity: 15 days
Quantity Pricing
Quantity :
Price (Discount%)
1-4 :
Rs.65/- (0%)
5-9 :
Rs.63/- (3%)
10-24 :
Rs.60/- (7%)
25-49 :
Rs.59/- (10%)
50-74 :
Rs.57/- (12%)
75-99 :
Rs.55/- (15%)
100-249 :
Rs.53/- (18%)
250-499 :
Rs.52/- (20%)
500-999 :
Rs.51/- (22%)
1000+ :
Rs.48.75/- (25%)

Downloads

M62429 Datasheet

Arduino Example

/*
Example to test M62429
*/

int x=0;
int VolumePinDAT=7; // connect to DATA
int VolumePinCLK=6; // connect to CLOCK




void setup (void)
{
  pinMode(VolumePinDAT, OUTPUT);
  pinMode(VolumePinCLK, OUTPUT);
}

void loop (void)
{

  // sweep from quiet to loud
  for (x=0;x<=100;x++)
{
  setVolume(x);
  delay(100);
  }
  
  // sweep back
  for (x=100;x>=0;x--)
{
  setVolume(x);
  delay(100);
  }
}


  

// this function does the job
void setVolume (uint8_t volume)
{
	uint8_t bits;
	uint16_t data = 0; // control word is built by OR-ing in the bits

	// convert attenuation to volume
	volume = (volume > 100) ? 0 : (((volume * 83) / -100) + 83); // remember 0 is full volume!
        // generate 10 bits of data
	data |= (0 << 0); // D0 (channel select: 0=ch1, 1=ch2)
	data |= (0 << 1); // D1 (individual/both select: 0=both, 1=individual)
	data |= ((21 - (volume / 4)) << 2); // D2...D6 (ATT1: coarse attenuator: 0,-4dB,-8dB, etc.. steps of 4dB)
	data |= ((3 - (volume % 4)) << 7); // D7...D8 (ATT2: fine attenuator: 0...-1dB... steps of 1dB)
	data |= (0b11 << 9); // D9...D10 // D9 & D10 must both be 1

	for (bits = 0; bits < 11; bits++) { // send out 11 control bits
		delayMicroseconds (2); // pg.4 - M62429P/FP datasheet
		digitalWrite (VolumePinDAT, 0);
		delayMicroseconds (2);
		digitalWrite (VolumePinCLK, 0);
		delayMicroseconds (2);
		digitalWrite (VolumePinDAT, (data >> bits) & 0x01);
		delayMicroseconds (2);
		digitalWrite (VolumePinCLK, 1);
	}
	delayMicroseconds (2);
	digitalWrite (VolumePinDAT, 1); // final clock latches data in
	delayMicroseconds (2);
	digitalWrite (VolumePinCLK, 0);
	//return data; // return bit pattern in case you want it :)
}

 

Bestselling Products

Sunrom Electronics & Sunrom Technologies are two companies, that are the foremost online e-commerce stores since 2004, providing innovative embedded systems, components & services. Our aim is to empower you to Make In India. We work closely with electronics manufacturing companies & individuals to understand & solve the challenges faced during production. We do not just sell things, We use them ourselves in our products, and provide you with high quality tested components for trouble free experience.

Sunrom Electronics GSTIN: 24AFBPT4632H1ZJ
Handles Online Payment by CCAvenue
Sunrom Technologies GSTIN: 24AJLPP4029L1ZW
Handles Offline Bank Payments / NEFT / P.O. / Telr