how to hack an electric hoist (ac motor)

For this project, we were hired to do a small hack for the trade show.
I did this with Kuo mol Kuo.
Special thanks to Eric Rosenthal, a consulting firm at electronics, and Zach for their support of the code.
The electric hoist we\'re giving has a built-in-
In the motor controller, capacitors and suspension switches that allow the direction to be adjusted manually.
The goal of the project is to lift and put down several pallets that have something else attached to the hook of this winch rather than being unified on time.
So we invaded the motor to be able to control the direction from Arduino UNO but still allow any manual control from the suspension switch (
When arduino is not running).
Material: 1 electric hoist 4 Solid State Relays 1 Arduino 1 breadboard 200 K ohm resistor ac wire 5 v wire heat shrink tube or tape plastic box tool: the idea of the welding equipment stripping the suspension switch is to copy the function of the suspension switch with arduino.
To do this, we understand how the switch works, and through the multimeter, we realize that when you press the switch, the switch connects two pairs of wires (
Red and white, black/green and black).
Similar to what you press (
Red white and pink Black). [photo 1]
So the up and down switch is like a pair of switches, each switch lights up a light, that\'s why we need 4 relays, we will control each pair with arduino, to move the motor in each direction.
You can see the following figure [photo 2]
This is the same in our Motors.
We had a problem on the admin side, but Eric Rosenthal gave us a way to explain and solve the problem.
When we control the AC motor with a solid state relay, the relay will not discharge the capacitor, but the switch will discharge in some way.
Therefore, when the capacitor is not discharged, the motor will be in the same direction as the charge.
The solution is to include resistance (200KΩ)
Between the two terminals of the capacitor, when the motor is not working, the capacitor will discharge (
We don\'t have a 200 k Ω resistor, so we used two 100 k Ω in series).
After doing this, we also invaded another motor, but this motor has two capacitors in parallel, so I connected 200 k Ω in each capacitor (
I\'m not entirely sure about this, but at least it works)[photo 8].
To finish it, we packed everything in a plastic box and we made a hole to place the hang switch, and being able to get from the box without touching any electronic parts because we are using AC power, so we want to be safe.
This is the code we use to control the winches.
You can also find it here: The code includes a delay, that is, 25%, depending on the duty cycle of the motor.
This means that if you use it for 30 seconds, you have to wait about 2 minutes to use it again to avoid damaging the motor.
We use two Solid State Relays to control the AC motor with Arduino Uno/Connect 200 k resistance between the two terminals of the motor capacitor/allow the motor to have 10 seconds per operation time/code based on 25% duty cycle the AC motor/relay pins are connected to the digital PWM pins 10 and 11 of the arduino, ground/SSR circuits developed with Eric Rosenthal/yesyesno LLC January, 2013 mail to: Molmol @ openmolmol.
Com int PinDown = 6;
/Select pins for relay int PinUp = 5;
/Select the pin for relay int nsecond moving = 10;
In seconds;
Not less than 10 seconds in nsecond move up = nsecond move * 1. 2;
/Motor up 1.
The time of the month is lower than that of it,
/This is the month of nsecond moving--
We need to wait 2 minutes if we have moved for 30 seconds.
This is nsecond movind * 4, something needs to be added for randomness, that is, 10 seconds. .
For the first time; void setup(){Serial. begin(9600); pinMode(PinUp, OUTPUT);
/Declare relayPin as output/motor will be in the first pinMode (Output);
/Declare relayPin as output = true for the first time; }void loop(){
digitalWrite(PinUp, LOW);
/Close digitalWrite (PinDown, LOW);
/If (
First time = true){delay(1 * 1000);
/1 second delay on first start}else {delay(random(
Nsecondspudmin, nsecondspudmax)* 1000);
Random delay between each operation
digitalWrite(PinUp, HIGH);
/Turn on the delay relay (
Nsecond movingup * 1000);
digitalWrite(PinUp, LOW);
/Shutdown relay delay (random(
Nsecondspudmin, nsecondspudmax)* 1000);
digitalWrite(PinDown, HIGH);
/Turn on the delay relay (
Nsecond moving * 1000);
digitalWrite(PinDown, LOW);
/Turn relay off for the first time = false;
//end down }

Comments

Popular posts from this blog

ChiShui River canyon bridge

Face mask machine

The development of China inverter in inverter high-end brand market