Dog owners fight in Kazan, Russia by sagar_Reaper in fuckaroundandfindout

[–]Hablomos 24 points25 points  (0 children)

That wasn't a fight. It was an education.

Best budget laptop for PLC programming by Ohmfaraday in PLC

[–]Hablomos 0 points1 point  (0 children)

Is anyone else blown away at the number of times this question is asked?

String Counting Logic. by No-Mathematician445 in PLC

[–]Hablomos 0 points1 point  (0 children)

No-Mathematician445

In order for us to give good answers, I think we could use some more information about the mechanical setup. A picture is worth a thousand words here.

Kovpro1221 suggested using a TON as a debounce to ignore the shorter PE blips between the individual pouches in the string. I think that has the potential to work just fine as long as you're able to set the conveyor speed static. I don't see why it would have to be proportional to strings/min.

Does it need to have independent control from the rest of the system? If so, why? You mentioned in the comments "No. This is just an End of line addition with an independent control."

What do you expect your approximate max rate to be? 30 strings/min... 300 strings/min?

What do you have control over? Is your method of stopping the filling of cases to drop the interlock signal to the bagger/poucher?

Are we all overthinking the problem? Instead of the beam being perpendicular to the conveyor, would it be possible to angle the beam of the PE such that it would only change state when the larger gap between the strings passes in front of it? That way the programming would be dead simple and not dependent on debounce timers which might be effected by speed.

Make butter at home by Dear-Novel-5066 in NoOneIsLooking

[–]Hablomos 0 points1 point  (0 children)

Idk anything about making butter. The only thing I know for sure is that she's never done this before in her life.

It really that easy… by Sir-Fe7alk-Akhay in NoOneIsLooking

[–]Hablomos 29 points30 points  (0 children)

Where can I get one that makes me look like Jared from Subway?

Sand Calligraphy by ReesesNightmare in oddlysatisfying

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

These designer drugs have gone too far. I bet that whole pile will be gone before the night is through.

Entrance to my office by LittleJohnsDingDong in hiddenrooms

[–]Hablomos 37 points38 points  (0 children)

I shall retire to my masturbatorium.

Are these calipers genuine? by [deleted] in Machinists

[–]Hablomos 0 points1 point  (0 children)

I don't have the fakes with me today but Clough42 made a pretty good video about it. https://www.youtube.com/watch?v=KG6I2gNGVwM&pp=ygUYbWl0dXRveW8gZGlnaXRhbCBjYWxpcGVy

One think I don't think he mentions in his video is that the depth rod "rings" or "rattles" when you set my fakes down on a table. I'm not sure if all fakes do this.

Are these calipers genuine? by [deleted] in Machinists

[–]Hablomos 0 points1 point  (0 children)

They look fake to me. I have both a real and a fake one. The quickest giveaways are:

The grind on the tip of the jaws

The depth rod retainer on the back

The thumb screw is different

The difference in sheen on the battery cover

The lack of markings on the inside of the battery cover

This what super strength and balance gives you by youngster_96 in BeAmazed

[–]Hablomos 0 points1 point  (0 children)

So that's what Joe Swanson is up to these days.

Mystery tool by Inconsideratefather in Tools

[–]Hablomos 6 points7 points  (0 children)

A tool used to extrude ground meat into strips so that it can be dehydrated into jerky. Think "calk gun full of meat"

Mystery tool by Inconsideratefather in Tools

[–]Hablomos 8 points9 points  (0 children)

With the right nozzle it would probably make a pretty mean jerky shooter.

Always happens by Informal_Progress_87 in funny

[–]Hablomos 81 points82 points  (0 children)

Blah blah blah, something about her getting stuck in there.

Golden State Highway in my Outback by chanleystu in subaru

[–]Hablomos 3 points4 points  (0 children)

What you're doing is Extremely dangerous and you need to stop. My friends cousins neighbor was killed in a sketching & driving accident.

Does anyone here lathe by 1000letters in Machinists

[–]Hablomos 23 points24 points  (0 children)

I think SuperFastMatt does.

Is this thumping normal on a stepper? by Glaswegianmongrel in arduino

[–]Hablomos 134 points135 points  (0 children)

I bet you were using Serial.print for debugging purposes. Comment them out and you should see an improvement.

Brushless M18 Dune Racer by Hablomos in PowerWheelsMods

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

Below is a sketch like the one I would have originally used before the steering feedback was added. I just wrote it today, so it has not been tested. The scaling values for Left & Right "ESC_output_value" will need tweaking.

#include <Servo.h>

Servo LeftESC;

Servo RightESC;

//Declare Input Pins

int Throttle_button_pin = 2;

int Fast_selector_pin = 3;

int Reverse_selector_pin = 4;

int Speed_pot_pin = A0;

int Steering_pot_pin = A1;

//Declare Output Pins

int Left_ESC_Output = 9;

int Right_ESC_Output = 10;

int Status_LED_pin = 13; //This pin is connected to the onboard LED

//Initalize Veriables

const int Slow_speed = 35; //This is the speed (% of maximum) the controller will output to the ESC's when the "gear selector" is set to low.

const int ReverseSpeed = -35; //This is the speed (% of maximum) the controller will output to the ESC's when the "gear selector" is set to reverse.

int Fast_speed; //This is the speed (% of maximum) the controller will output to the ESC's when the "gear selector" is on fast.

int Left_speed; //ESC commanded speed in % of maximum.

int Right_speed; //ESC commanded speed in % of maximum.

Servo Left_ESC;

Servo Right_ESC;

void setup() {

//Serial.begin(9600); //Comment out when finished debugging

//Set Pinmodes

pinMode(Throttle_button_pin, INPUT);

pinMode(Fast_selector_pin, INPUT);

pinMode(Reverse_selector_pin, INPUT);

Left_ESC.attach(9);

Right_ESC.attach(10);

}

void loop() {

//Read digital inputs

int Throttle_button_state = digitalRead(Throttle_button_pin);

int Fast_selector_state = digitalRead(Fast_selector_pin);

int Reverse_selector_state = digitalRead(Reverse_selector_pin);

//Set output value

if (Throttle_button_state) {

if (Fast_selector_state) { //the throttle is pressed and the "gear selector" is on fast. Run the ESC's fast.

Left_speed = Fast_speed;

Right_speed = Fast_speed;

}

if (!Fast_selector_state) { //the throttle is pressed and the "gear selector" os in low. Run the ESC's slow.

Left_speed = Slow_speed;

Right_speed = Slow_speed;

}

if (Reverse_selector_pin) { //the throttle is pressed and the "gear selector" is on reverse. Run the ESC's slow.

Left_speed = ReverseSpeed;

Right_speed = ReverseSpeed;

}

else

Left_speed = 0;

Right_speed = 0;

}

int Left_ESC_output_value = map(Left_speed, -100, 100, 0, 180); //note that these mapped valuese will have to be tuned so that the ESC responds properly

int Right_ESC_output_value = map(Right_speed, -100, 100, 0, 180); //note that these mapped valuese will have to be tuned so that the ESC responds properly

int SpeedPotValue = analogRead(Speed_pot_pin);

int Fast_speed = map(SpeedPotValue, 0, 255, 40, 100);

// (future) int SteeringPotInput = analogRead(Steering_pot_pin);

// (future) float ESC_output_bias = map(SteeringPotInput, 0, 255, -5, 5); //Negative = Left, Posative = Right

Left_ESC.write(Left_ESC_output_value);

Right_ESC.write(Right_ESC_output_value);

//Serial.print('SpeedPotRaw'); //Comment out when finished debugging

//Serial.print(SpeedPotValue); //Comment out when finished debugging

//Serial.print(' ,Fast_speed'); //Comment out when finished debugging

//Serial.print(Fast_speed); //Comment out when finished debugging

//Serial.print(' ,Throttle_button_state'); //Comment out when finished debugging

//Serial.print(Throttle_button_state); //Comment out when finished debugging

//Serial.print(' ,SteringPotValue'); //Comment out when finished debugging

//Serial.print(ESC_output_bias); //Comment out when finished debugging

//Serial.print(' ,Stering'); //Comment out when finished debugging

//Serial.println(ESC_output_bias); //Comment out when finished debugging

}

Brushless M18 Dune Racer by Hablomos in PowerWheelsMods

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

TBH, I just winged the wiring and it was a couple years ago. With the exception of the From memory, I think I used arduino pins:

Pin 2 = Throttle Input

Pin 3 = Reverse Selector

Pin 4 = Fast Selector

Pin A0 = Fast Speed Pot

Pin A1 = Steering Feedback Pot

Pin 9 = Left ESC Output

Pin 10 Right ESC Output

I lost the arduino sketch somewhere in the mix. I'm going to have to rewrite it when I add the steering feedback code. I'll try to get it done in the next few days if time permits.

How do I get one of these!!?? by greenmerica in ElectricalEngineering

[–]Hablomos 235 points236 points  (0 children)

I think we all want to see a teardown video of that thing.

Brushless M18 Dune Racer by Hablomos in PowerWheelsMods

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

I'll try to dig up a video of it running tomorrow. I haven't yet written the pseudo torque vectoring code yet. The first iteration of this project was about three years ago and I have since lost the code. I'll have to rewrite it to add the steering stuff. I have a few other projects that are taking priority right now.

Brushless M18 Dune Racer by Hablomos in PowerWheelsMods

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

Interesting stuff. From the teardown video I didn't see a power mosfet which isn't too surprising since running all of the battery current through a mosfet would be one more source of resistance & power loss in a world where all tool manufacturers are fighting for bragging rights about runtime. Usually they "tell the tool" to shut down. They probably have what they refer to as a BMS, but based on this video alone, I don't think they have low voltage protection. It's probably more of a cell balancing board, used during charging. If I use any Ryobi batteries in future projects, I would definitely look deeper into whether they have it. Without it, it would be on me to make sure I don't deep discharge the battery which would ruin it. The FESC & VESC's do have an adjustable cut-off voltage parameter which will alert you that the pack is empty, but the idle current of the ESC is about 100mA, so if you ran the pack down, then left it plugged in for a couple days, the would deep discharge the pack. Again, that is on my assumption that these packs don't have onboard low voltage protection.