meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sensor:digipot [2026/04/11 15:37] – [Arduino example code] vamsansensor:digipot [2026/04/11 16:29] (current) – [Renesas X9C series] vamsan
Line 24: Line 24:
   * **Resistance Tolerance:** ±20% end-to-end.   * **Resistance Tolerance:** ±20% end-to-end.
   * **Typical Wiper Resistance:** 40 Ω at 1 mA   * **Typical Wiper Resistance:** 40 Ω at 1 mA
 +
 +{{page>:tarhal}}
  
 {{ :sensor:x9c_1.png |Renesas X9C series block diagram}} {{ :sensor:x9c_1.png |Renesas X9C series block diagram}}
Line 99: Line 101:
 } }
  
-// Function to reset wiper to 0 (by moving down 100 times)+// Function to reset the wiper to 0 (by moving down 100 times)
 void resetToZero() { void resetToZero() {
   for (int i = 0; i < 100; i++) {   for (int i = 0; i < 100; i++) {
Line 130: Line 132:
   * **Direction:** The U/D pin indicates whether the resistance increases or decreases.   * **Direction:** The U/D pin indicates whether the resistance increases or decreases.
   * **The "Pulse":** The INC pin is negative-edge triggered. A transition from HIGH to LOW triggers the movement.   * **The "Pulse":** The INC pin is negative-edge triggered. A transition from HIGH to LOW triggers the movement.
-  * **No Feedback:** These chips cannot tell the Arduino their current position. The resetToZero() function ensures you start at a known point by forcing the wiper down 100 times.+  * **No Feedback:** These chips cannot tell the Arduino their current position. The //resetToZero()// function ensures you start at a known point by forcing the wiper down 100 times.
  
-===== Communication topics on lamaPLC ===== +===== Sensor topics on lamaPLC ===== 
-{{topic>communication}}+{{topic>sensor}}
  
-{{tag>BMP280 AHT20 temperature humidity pressure sensor arduino oled SH1106 arduino_code}}+{{tag>sensor module arduino_code Renesas X9C_series X9C102 X9C103 X9C104 X9C503 XDCP digitally_controlled_potentiometer}}
  
 This page has been accessed for: Today: {{counter|today}}, Until now: {{counter|total}} This page has been accessed for: Today: {{counter|today}}, Until now: {{counter|total}}