Zum Inhalt
NEU: Events vieler Veranstalter direkt auf R4F buchen. Bequem und einfach. Jetzt buchen

Hw-044 Datasheet Access

(Note: On some generic versions, DT and CLK might be labeled as "B" and "A". If your rotation direction is inverted in your code, simply swap these two pins in the wiring or software).


While a minor detail, the physical footprint matters for enclosure design. The HW-044 PCB typically measures:

The joystick cap itself is removable and compatible with standard PS2-style thumbstick caps (diameter ~12 mm). hw-044 datasheet


Using the LedControl.h library:

#include "LedControl.h"

// DIN, CLK, CS, number of devices LedControl lc = LedControl(11, 13, 10, 1); (Note: On some generic versions, DT and CLK

void setup() lc.shutdown(0, false); // wake up lc.setIntensity(0, 8); // medium brightness lc.clearDisplay(0); // clear matrix/segments

void loop() lc.setDigit(0, 0, 5, false); // show '5' at position 0 delay(1000); While a minor detail, the physical footprint matters

The HW-044 integrates a precision analogue front-end, A/D converter, microcontroller-based signal processing, and an I2C peripheral for host communication. The front-end conditions the transducer element (e.g., resistive, capacitive or MEMS sensor), applies excitation where needed, filters the signal (anti-aliasing), then digitizes with a high-resolution sigma-delta ADC. On-chip firmware performs temperature compensation, linearization, optional averaging, and error-checking. Data are presented over I2C as signed 16-bit words with a small status register. An interrupt/alert pin signals threshold crossings or data-ready.

Note: Standard Arduino Uno does not support I²S natively on all pins. Use an Arduino Due or Zero for best results, or a software bit-banging library.

For Arduino Due (True I²S): | HW-044 Pin | Arduino Due Pin | |------------|------------------| | BCLK | Pin 3 (DAC1) | | LRC | Pin 2 (DAC0) | | DIN | Pin 9 (DAC2) | | Others | Same as above |