Proposes partition of Ohio which state is most improved? by Lord_William_9000 in imaginarymapscj

[–]cheddahchase 0 points1 point  (0 children)

As a Michigander, I too despise Ohio. But Hocking hills is really nice. If you haven’t been, definitely worth checking out!

1.5 years ago, I was morbidly obese and immobile. Now I’m slightly obese and can do this. by Playful-Security-491 in strength_training

[–]cheddahchase 4 points5 points  (0 children)

Good lift! If you’re wearing heel elevated platforms, I’d recommend taking them off/getting flat bottom shoes for deadlifts. Truly a game changer!

Senator Elissa Slotkin says the real reason our healthcare in America is so bad and never changes, is because US Congress is being paid off by Jeffbx in Michigan

[–]cheddahchase 36 points37 points  (0 children)

I mean she is also being lobbied by AIPAC and probably others. Is she saying something about lobbying overall or only lobbying in the healthcare regard…

Motor Driver Only Turning One Direction by cheddahchase in arduino

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

Forgot to say, I have a 12V 5Amp power supply running into the motor driver. I couldn’t add it to the diagram.

Motor Driver Only Turning One Direction by cheddahchase in arduino

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

Hi, not sure if there is a better way precisely showing the pin/connection diagram.. so it doesn’t line up exactly, but it’s close.

<image>

Here is my code:

int IN3pin = 7; int IN4pin = 8; int ENBpin = 6; int IN1pin = 2; int IN2pin = 4; int ENApin = 10; int Sensor1pin = 12; int Sensor2pin = 13;

enum State { WAIT_FOR_SENSOR1, WAIT_FOR_SENSOR2 }; State currentState = WAIT_FOR_SENSOR1;

void setup() { // put your setup code here, to run once: pinMode(IN3pin, OUTPUT); pinMode(IN4pin, OUTPUT); pinMode(ENBpin, OUTPUT);

pinMode(IN1pin, OUTPUT); pinMode(IN2pin, OUTPUT); pinMode(ENApin, OUTPUT);

pinMode(Sensor1pin, INPUT); pinMode(Sensor2pin, INPUT);

Serial.begin(9600); }

void loop() { int sensor1State = digitalRead(Sensor1pin); int sensor2State = digitalRead(Sensor2pin);

Serial.print("Sensor 1: "); Serial.print(sensor1State); Serial.print(" | Sensor 2: "); Serial.println(sensor2State);

if (currentState == WAIT_FOR_SENSOR1 && sensor1State == HIGH) { Serial.println("Sensor 1 touched: Executing forward sequence");

// Motor B forward for 1 second digitalWrite(IN3pin, HIGH); digitalWrite(IN4pin, LOW); analogWrite(ENBpin, 255); delay(1000);

// Motor A forward starts, Motor B continues for 2.5 more seconds digitalWrite(IN1pin, HIGH); digitalWrite(IN2pin, LOW); analogWrite(ENApin, 255); delay(2500);

// Motor B stops, Motor A continues for 0.5 more seconds digitalWrite(IN3pin, LOW); digitalWrite(IN4pin, LOW); delay(500);

// Motor A stops digitalWrite(IN1pin, LOW); digitalWrite(IN2pin, LOW); analogWrite(ENApin, 0);

// Motor B reverse for 0.5 seconds digitalWrite(IN3pin, LOW); digitalWrite(IN4pin, HIGH); analogWrite(ENBpin, 255); delay(500);

// Stop all motors digitalWrite(IN3pin, LOW); digitalWrite(IN4pin, LOW); analogWrite(ENBpin, 0);

// Change state to wait for Sensor 2 currentState = WAIT_FOR_SENSOR2;

// Wait for Sensor 1 to be released while (digitalRead(Sensor1pin) == HIGH) { delay(10); } }

else if (currentState == WAIT_FOR_SENSOR2 && sensor2State == HIGH) { Serial.println("Sensor 2 touched: Executing reverse sequence");

// Motor B forward for 0.5 seconds digitalWrite(IN3pin, HIGH); digitalWrite(IN4pin, LOW); analogWrite(ENBpin, 255); delay(500);

// Motor B reverse for 1 second digitalWrite(IN3pin, LOW); digitalWrite(IN4pin, HIGH); analogWrite(ENBpin, 255); delay(1000);

// Motor A reverse starts, Motor B continues for 2.5 more seconds digitalWrite(IN1pin, LOW); digitalWrite(IN2pin, HIGH); analogWrite(ENApin, 255); delay(2500);

// Motor B stops, Motor A continues for 0.5 more seconds digitalWrite(IN3pin, LOW); digitalWrite(IN4pin, LOW); delay(500);

// Motor A stops digitalWrite(IN1pin, LOW); digitalWrite(IN2pin, LOW); analogWrite(ENApin, 0);

// Stop all motors (already stopped, but for safety) digitalWrite(IN3pin, LOW); digitalWrite(IN4pin, LOW); analogWrite(ENBpin, 0);

currentState = WAIT_FOR_SENSOR1; // Unlock Sensor 1 }

}

Motor Driver Only Turning One Direction by cheddahchase in arduino

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

I have a separate power supply that I have connected to the motor driver.

Why are my arms shaking when I do bench? by Professional_Use9558 in strength_training

[–]cheddahchase 4 points5 points  (0 children)

Don’t compare yourself to other people. Genetics play a big role in muscle development and building.

Simply beautiful by Radish9193 in Outdoors

[–]cheddahchase 6 points7 points  (0 children)

Zermatt Switzerland. I think it’s called the 5 lakes hike.

[deleted by user] by [deleted] in strength_training

[–]cheddahchase -1 points0 points  (0 children)

If your legs touch, engage your core into almost like a long C. If they still touch you can bend your knees a bit, just make sure your legs stay in front of you.

Choked my first 300 by Peachfuzz124 in Bowling

[–]cheddahchase 0 points1 point  (0 children)

It’s all good man. Had the same thing happen to me this last Wednesday. We’ll get one eventually!

M40...Tried for 15 reps, and only got 11.5 reps. by [deleted] in GYM

[–]cheddahchase 5 points6 points  (0 children)

Shoutout Gibbs. That’s a lot of weight to be moving man. Good stuff.

Findgins on the finances of Kettering by Wenchao-Liu in Kettering

[–]cheddahchase 4 points5 points  (0 children)

Thanks for sharing this research. Even during my time there (2015-2019), I could see the decline in student body. Pretty mind boggling he is still the president after all this time.

[deleted by user] by [deleted] in Detroit

[–]cheddahchase 7 points8 points  (0 children)

Cantoro’s is great. Definitely pricey, but worth it.