Introduction: Micro Magnetic Actuator for Rudder/Aileron Control.
So today I am sharing a tutorial of micro magnetic actuator for RC foam plane's Aileron and Rudder control. I have used an Arduino to test it and it worked really well, You can use RC transmitter and receiver too . There are many actuators available online but they are too costly so I decided to make my own . Not very hard takes about 15-20 minuets to complete the build including the testing circuit.
Its just a part for my Arduino controlled Plane.
P.S : I Have participated in the Invention challenge here, If you like this post and think it is useful, please vote for me. you can find the "vote" button on top right corner.... :)
Step 1: Gathering Parts :-
1.Arduino UNO (For testing but I will replace it with Pro mini).
2.Bread Board.(This is the best one as it has everything you need to use breadboard)
3. Arduino Cable (A-B)
4. A Straw or small Paintbrush (To wind wire around)
5. Small cardboard piece (with hole of the size of straw or brush)
6. L293D dual H bridge IC .
7. Bread board Jumpers and male to male wires.
8. Thin copper wire. (got mine from an old broken clock)
9. 2 small neodymium magnets (salvaged from broken earphones)
Step 2: Understand Arduino and L293D IC.
This step is for beginners who don't know much about arduino and motor drive IC. You can refer to thee Images provided to know the Pinouts of the board and L293D. Arduino is a microcontroller and L293D is a motor drive IC. Here the PWM (pin 11) of arduino is used to control the power for the actuator and pins 9 and 10 are used to control the directions. The code will be provided at the end of this post.
L293D is used to control the coils direction , an H-bridge is used as the coil cannot be connected to the Arduino directly. the direction pins 9 & 10 are connected to input 1 and 2 of the L293D. and PWM pin 11 is connected to enable 1.
Step 3: Making the Actuator : -
Making an actuator is very simple. you just need a copper wire from old clock .
1. Take the straw/paintbrush and put the small cardboard piece on it like in the picture above.
2. Now wind the wire around the Straw/brush, make about 400-450 turns.
3. As you are winding the wire , use some white glue to stick the wires in place. just a little .
4. Once the coil is made apply glue around it and let it dry. then slowly and gently slide the cardboard piece over the straw/brush so that the coil is free.
That's all about the coil.
Now you need to make an arm for the actuator. For that you can use a small strip of cardboard or plastic and place the two magnets to the strip.
Refer the Picture for the Idea.
Step 4: Making Connections:-
1. Place the L293 on breadboard and make connections as shown in the Diagram above. connect the Vcc to +ve and ground pins to -ve .
2. Connect the coil to output pins of the IC . (refer to the diagrams and pinouts.)
3. Connect Pin 11 of arduino to pin 1 (enable1) of L293D.
4. Connect Pins 9 and 10 of arduino to Input pins of the IC .
5. Connect arduino's 5v to +ve and Ground to -ve .
Thats all, Now next step is to write and upload the code.
Step 5: Uploading Code:-
Here is the controlling /testing part. You can use a reciver to directly connect the actuator , or use Arduino to test it.
Code is very simple and basic.
Here if you want to increase or decrease the power of the actuator/have position control you can reduce or increase the PWM value of "en" you can keep it anywhere between (0-255)
int en = 11;
int R = 10;
int L = 9;
If you have any problem/questions feel free to ask.