Component: Digital Potentiometer (AD528X) (Analog Output): Difference between revisions
Appearance
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| Line 128: | Line 128: | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | I2C Properties | | width="90%" class="mtx-class-propfolder" | I2C Properties | ||
|- | |- | ||
| Line 162: | Line 162: | ||
| colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | | colspan="2" | On older microcontroller devices there is a potential for the I2C hardware channel to lock up if there is not a 10ms delay between an I2C stop event and the next I2C start event. Most modern microcontrollers will not have a problem so this property can be disabled to speed up the I2C communications. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Device Properties | | width="90%" class="mtx-class-propfolder" | Device Properties | ||
|- | |- | ||
| Line 181: | Line 181: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Simulation | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
| Line 190: | Line 190: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | I2C Simulation | | width="90%" class="mtx-class-propfolder" | I2C Simulation | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Analog Output |
Digital Potentiometer (AD528X) component
The AD528X device range supports up to 2 digital potentiometers or rheostat outputs. 256 possible output resistance values for each channel. Note: The initial value of both channels will start at 0.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
DecrementWiper
| DecrementWiper | |
| Decrements a single volatile wiper value | |
| Index | |
| 0=Channel1 /1=Channel2 | |
| Return | |
IncrementWiper
| IncrementWiper | |
| Increments a single volatile wiper value | |
| Index | |
| Range: 0-1 | |
| Return | |
Initialise
| Initialise | |
| Startup the I2C peripheral ready for communications. | |
| Return | |
ReadTapValue
| ReadTapValue | |
| Reads the tap value of the seelcted channel | |
| Index | |
| 0=Channel 1 / 1=Channel 2 | |
| Return | |
SetWiper
| SetWiper | |
| Sets the value of a single wiper | |
| Index | |
| 0=Channel 1 / 1=Channel 2 | |
| Value | |
| 256 Taps Range: 0-255 | |
| Return | |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_AD528x_Digital_Pot.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_AD528x_Digital_Pot.fcfx