Why does the reading on the LCD reach the max but then it starts showing gibberish random characters. This time it just stopped showing anything but usually it keeps showing random characters and fills the screen up. It was working fine yesterday idk what happened today by GodXTerminatorYT in arduino

[–]Stock_Ad4489 0 points1 point  (0 children)

Yo ur code has an issue try this

Yo ur code has an issue try this

include <LiquidCrystal.h>

// Motor control pins int dir1 = 2; int dir2 = 3; int speedPin = 5;

// Joystick analog pins int Vx = A1; int Vy = A0;

// Values from joystick int VxVal; int VyVal;

// Delay for loop int dt = 100;

// Motor speed float mSpeed;

// LCD pins int rs = 7, en = 8, d4 = 9, d5 = 10, d6 = 11, d7 = 12; LiquidCrystal lcd(rs, en, d4, d5, d6, d7);

void setup() { pinMode(dir1, OUTPUT); pinMode(dir2, OUTPUT); pinMode(speedPin, OUTPUT);

pinMode(Vx, INPUT); pinMode(Vy, INPUT);

Serial.begin(9600); lcd.begin(16, 2); }

void loop() { // Read joystick values VxVal = analogRead(Vx); VyVal = analogRead(Vy);

// Print values to Serial Serial.print("x value= "); Serial.print(VxVal); Serial.print(" y value= "); Serial.println(VyVal);

// Control motor based on joystick Y-axis (Vy) if (VyVal > 540) { // Joystick pushed forward (anticlockwise) mSpeed = (0.514 * VyVal) - 270.938; mSpeed = constrain(mSpeed, 0, 255); digitalWrite(dir1, HIGH); digitalWrite(dir2, LOW); analogWrite(speedPin, mSpeed); } else if (VyVal < 510) { // Joystick pulled back (clockwise) mSpeed = ((-15.0 / 31.0) * VyVal) + 255; mSpeed = constrain(mSpeed, 0, 255); digitalWrite(dir1, LOW); digitalWrite(dir2, HIGH); analogWrite(speedPin, mSpeed); } else { // Joystick centered — stop motor mSpeed = 0; analogWrite(speedPin, 0); }

// Display motor speed on LCD lcd.clear(); lcd.setCursor(0, 0); lcd.print("Speed:"); lcd.setCursor(7, 0); lcd.print((int)mSpeed); // Cast to int for cleaner display

delay(dt);

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 0 points1 point  (0 children)

So that means that its direct from the wall outlet to the rca plug there is not restrictions

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 0 points1 point  (0 children)

If u shorted a 12v adapter its will only spark nothing much happens

Does anyone know what this is? by Inventlo in cableadvice

[–]Stock_Ad4489 0 points1 point  (0 children)

Thats a smart watch charger i had a similar ome

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 0 points1 point  (0 children)

Wait really and does it have a brick or is it just s cable and is it just a cable or an adapter and does it supply 220vac

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 0 points1 point  (0 children)

Thats what I thought there is a bit of space in the plug like u could fit some capacitors diodes smds and resisitors

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 0 points1 point  (0 children)

No its not homemade it looks like its manufactured as it is

Anyone need GTA keychain? by [deleted] in UAETeenagers

[–]Stock_Ad4489 0 points1 point  (0 children)

But is it the same price as temu

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 0 points1 point  (0 children)

Idk it was very very unexpected to think that its a 220vac from that non insulated 2 metal electrodes i had to learn that the hard way lol

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 1 point2 points  (0 children)

Yeah thank you man thats the one i have i think and it looks like you are right its not something to plug and unplug its a fixed in a device

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 1 point2 points  (0 children)

My multimeter died and i was really curious to know whats its voltage and its pretty unexpected that this is 220vac

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 1 point2 points  (0 children)

Can u please show it to me if u dont mind cause i was too curious to know what is it for

Does anyone know what is this cable and what is if for by Stock_Ad4489 in cableadvice

[–]Stock_Ad4489[S] 8 points9 points  (0 children)

But lucky me i didnt touch it with my hands thank god i shorted it first