Hw-044 Datasheet -

void loop() xValue = analogRead(xPin); // Range: 0-1023 yValue = analogRead(yPin); swState = digitalRead(swPin); // LOW when pressed, HIGH when released

. Using 5V on a 3.3V-only pin can damage your microcontroller. Cross the TX/RX Pins : Remember that TX (Transmit) on the module goes to RX (Receive) hw-044 datasheet

A formal datasheet would list absolute maximum ratings and recommended operating conditions. The following table compiles verified data from component-level analysis and manufacturer testing. void loop() xValue = analogRead(xPin); // Range: 0-1023

The HW-044 is a widely used, low-cost RS232 to TTL converter module built around the MAX3232 IC, which operates between 3.0V and 5.5V, making it compatible with 3.3V and 5V systems. As a generic module, its technical specifications generally align with the Texas Instruments MAX3232 datasheet , which supports data rates up to 250 kbit/s and includes ESD protection on the RS232 side. Where R_wiper changes as you move the joystick

Where R_wiper changes as you move the joystick.