I put an Arduino-controlled WS2811 LED strip by my little one's tent bed and gave her a keychain for on/off by RF relay. I want to use the concepts presented here so she can not only turn the lights on/off but access full capabilities of WS2811 from Dumbo controller like switching between color palettes and adjusting brightness. This is so exciting! Thank you for sharing.
Brilliant video. I'm using an actuator to steer my electric outboard using RC. Your example was perfect. The only thing I can seem to get to work is the potentiometer feedback automatically bringing the actuator back to a mid position after the RC steering is centred.
I will be doing a video about that hopefully soon. I am waiting for my feedback actuator to arrive from China. (Of course I ordered it during their new year when they shut down for two weeks....)
flysky fs-i6 transmitter , receiver, arduino uno and l298n, Work perfectly to mee, Thanks a lot Science Fun, and wit your six channel transmitter, you can control a RC mini excavator whit 4 Linear Actuator, 2 motors , arduino, and 2 more L298N driver
Great video, thank you for that! I have one question: How would you solve the idea of self-centering the actuator in a middle position. In detail: I would like it to steer a trolling motor. It would be great if it would just go straight when I let go.
I have been meaning to do that video for quite some time, but life keeps getting in the way. Hopefully I can get that one before the end of the year. Thanks for watching.
Thank you! This is the information I was looking for. You laid it out very nice and explained it well! I am an RC/Arduino newbee and needed help. I did "Like" and Subscribed, I have an idea you have more great videos to learn from.
Great video, precise and to the point! Followed your video to get my 3d printed actuator working with an RC controller which just happen to be the same DumboRC unit. Thanks for sharing!
Hello, great project, thanks for sharing. I would like to know if we could write a command to steer back to the starting point after a manouver. For example, imagine you are driving a boat with an outboard engine; when you turn right, you don't want the engine to stay that way. When you release the steering, can the outboard (the actuator) can return to the starting point?
Great channel and cool projects! Just subscribed! What is the speed of the actuator you are using? I am working on a tiller pilot for my boat and I turned an actuator into a servo using gears and a potentiometer. My model looks like yours but seems to be not that fast.
I'm not sure, but I would guess about 1 in per second. Most are designed for force instead of speed, but there are some actuators out there that can go faster, like 4 inches per second. A little bit more $$ though... Thanks for watching!
Yes, but they may travel at different speeds. You could always use two channels from the RC to control each one separately. Also, just did another video about actuator position control that you may be interested in.
Hi, I am French and live in France and I have 3 projects to carry out. 1st project: Build a system with tilting hatch that will be operated by a 20kg servomotor controlled by an ultrasonic presence sensor HCSR04 (for distance 4 to 25cm) I will use an Arduino UNO + shield L298P 9V External Power Supply 2nd project: Build a system with tilting hatch that will use a 12V linear Actuator, 150mm stroke, 150 mm/s speed. controlled by an ultrasonic presence sensor HCSR04 (for distance 4 to 25cm) I will use an Arduino UNO + shield L298P 12V external power supply 3rd project: Build a system that will use a 12V linear Actuator, 100mm stroke, 14 mm/s speed, controlled by a light sensor for opening a door in the morning and closing it in the evening I will use an Arduino UNO + shield L298P 12V external power supply By consulting the various tutorials available, I did not find the solution to my projects . Could you help me find the programming of my Arduino boards If you need additional renderings, I am at your disposal. Cordially
@@ScienceFunInnovations I had the idea from this video: ruclips.net/video/BF_mSsvssYw/видео.html as i can see he has a module that looks very similar to motor driver l298n, a receiver and a potentiometer hooked up to the wheels.
This is awesome. I’m building a miniature boat for my kids and I’d like to use this for Rudder control. Would it be possible to have the actuator at halfway at steering neutral and then proportional extend/ retract based on steering input and return to halfway when the steering is neutral? I work in automation and instrumentation in industrial systems but I’m very new to Arduinos
They do make linear actuators with build in position feedback. Otherwise you could use a linear position sensor for position feedback. Perhaps that would be a good idea for a future video...
Yes. I will be doing another video about that soon. I am waiting for some parts to arrive (may take a few weeks) then I'm planning on discussing that. Subscribe and turn on notifications so you don't miss it. Thanks for watching.
If you want it to return all the way retracted or extended, that would be easy to do. Just command it to retract or extend when in the neutral position. The built in limit switches will stop if from going too far. If you are trying to stop somewhere in the middle, you would need some sort of position indicator to provide feedback. Perhaps in a future video...
Can you please help me converting the arduino program from analog joystick to Rc joystick (flysky fs-i6) right gimbal(auto centre) 👇👇👇👇👇👇. ruclips.net/video/cYIL5gxRogM/видео.html
@@chaithanyaprasadch3474 Are you trying to match the position of the slide with the position of the joystick? Or are you simply trying to make it go left when pushed left and go right when pressed right? Same travel speed or variable travel speed based on joystick position? You may want to check out my easydriver video and my RC library on my channel.
It would depend on the current rating of the board. Linear actuators can pull a lot of amps depending on the load. Even the L298N can only handle low loads.
Depends on the actuator and voltage. The L298N can only handle medium loads. I am now using the BTS7960 for my actuator projects. I can handle much more current.
Hi! What’s the name of the product that inserts into the pin on the wiring? It looks like a black object, maybe an inch long. I’m trying to figure out what it is because when I use just the wiring, it’s too loose to stay clamped down
@@ScienceFunInnovations it’s at 2:27 on the video. The red and black wires connect to the Arduino. It’s looks like the red and black wires have a black piece at the end the makes it easier for them to connect to the Arduino instead of just the wiring being bare
@@DadHacks dupont jumper wires. You can buy wires prebuilt with male and/or female end. You can also just buy the dupont connectors and crimper tool. Check Amazon or Ebay for pre built jumpers. Hope that helps.
@@ScienceFunInnovations are you buying one with a feedback pot already installed or are you adding one? i looked at the ones with the feedback already installed and they were just to dang expensive
@@MichaelRHead-zv2zf Yes, I'm getting one with an internal pot. You can also get an external pot (I'll show it in the video as well) which can save some money.
I am using a Fly Sky FS-GT5 with an aurduino Uno and a Cytron Shield-MDD10 to control a linear actuator to extend and retract. The Cytron Shield-MDD10 can operate in a dual PWM mode and output on the Arduino pins 3 and 9 for the for the motor. According to Cytron I would use a "PWM_PWM" Command example "(PWM_PWM, 3, 9); ". Can you tell me how and where I would incorporate it into your code for the RC control?
@@ScienceFunInnovations OK, Thanks for the reply> Have you gone any further with the RC controls, added any functions? I am working on a project to remote control a go kart for a young disabled boy. Using Linear actuators for the steering and brakes.
@@tommilner5415 I am assuming you would want to control all 3 separately? You would need to use 3 channels of the RC and 2 motor control boards (the L298N can control 2 actuators). If you just want extend and retract, you can use digitalWrite, which is easier like in the video with 3 buttons. If you want speed control you would need 6 PWM pins and copy what I did in the RC video 3 times. Does that help?
@@ScienceFunInnovationsso I need 3 - 4 actuators that have work separately on the remote control so all they need to do is connect to a receiver which I was planning on using an Uno and 4 relays with a receiver with 6 channels so I have room if I need anymore. Does this sound like it could work? thank you Tom Milner
Hi, What a great video! It was very helpful to understand some basics. I have a little project of my own trying to do exactly as in your video but not with an RC remote, but a simple potmeter. I tried to rework your code to make it work but since I don't know what i'm doing yet it doesn't work. Can you help me out? this is what I turned it into: const int pot = A0; //connect to POTMETER channel A0 const int Extend = 10; //Connect to L298N Pin In1 const int Retract = 9; //Connect to L298N Pin In2 int val; void setup() { pinMode(pot, INPUT); pinMode(Extend, OUTPUT); pinMode(Retract, OUTPUT); digitalWrite(Extend, LOW); digitalWrite(Retract, LOW); } void loop() { if (val = 500) { analogWrite(Extend,0); analogWrite(Retract,0); } if (val > 520) { analogWrite(Extend,0); analogWrite(Retract,map(val,520, 1023, 51, 255)); } if (val < 500) { analogWrite(Extend,map(val,500, 0, 51, 255)); analogWrite(Retract,0); } delay(100); }
@@ScienceFunInnovations Thanks, too bad I later blew up my L298N by trying out an additional code to add some buttons that would need to override the POT meter. I suspect that not using the PULL_UP function caused the actuator to move back and forth until the L298N got so hot it damaged internally.....
@@ScienceFunInnovations I'm trying to do this on an airplane controller. So-far I've been told 3 different ways to do it. Your way is making my head hurt.... lol
I put an Arduino-controlled WS2811 LED strip by my little one's tent bed and gave her a keychain for on/off by RF relay. I want to use the concepts presented here so she can not only turn the lights on/off but access full capabilities of WS2811 from Dumbo controller like switching between color palettes and adjusting brightness. This is so exciting! Thank you for sharing.
Glad it was helpful!
Brilliant video. I'm using an actuator to steer my electric outboard using RC. Your example was perfect. The only thing I can seem to get to work is the potentiometer feedback automatically bringing the actuator back to a mid position after the RC steering is centred.
I will be doing a video about that hopefully soon. I am waiting for my feedback actuator to arrive from China. (Of course I ordered it during their new year when they shut down for two weeks....)
thank you for so much help I have looked at loads of stuff on how to connect L298N to and RC Transmitter/Receiver today and this is by far the best.
Glad I could help
flysky fs-i6 transmitter , receiver, arduino uno and l298n, Work perfectly to mee, Thanks a lot Science Fun, and wit your six channel transmitter, you can control a RC mini excavator whit 4 Linear Actuator, 2 motors , arduino, and 2 more L298N driver
It would be very fun to build an excavator or front end loader. I'll put it on my bucket list.
Great video, thank you for that! I have one question: How would you solve the idea of self-centering the actuator in a middle position. In detail: I would like it to steer a trolling motor. It would be great if it would just go straight when I let go.
I have been meaning to do that video for quite some time, but life keeps getting in the way. Hopefully I can get that one before the end of the year. Thanks for watching.
Thank you! This is the information I was looking for. You laid it out very nice and explained it well! I am an RC/Arduino newbee and needed help. I did "Like" and Subscribed, I have an idea you have more great videos to learn from.
Awesome, thank you!
Great video, precise and to the point! Followed your video to get my 3d printed actuator working with an RC controller which just happen to be the same DumboRC unit. Thanks for sharing!
Glad it helped
Great video could I apply this to just a switch on the controller? So either all the way in or all the way out ?
Yes you can! I have other linear actuator videos which may help you do that.
Hello, great project, thanks for sharing.
I would like to know if we could write a command to steer back to the starting point after a manouver.
For example, imagine you are driving a boat with an outboard engine; when you turn right, you don't want the engine to stay that way. When you release the steering, can the outboard (the actuator) can return to the starting point?
Yes you can! I will be doing a video about that in a few weeks. Stay tuned for that video.
hi, excelent work and well explained, i have a question, ¿ how many actuators we can activate with this rc?
Depends how you want to control them, but up to 6 since this has 6 channels
Great channel and cool projects! Just subscribed! What is the speed of the actuator you are using? I am working on a tiller pilot for my boat and I turned an actuator into a servo using gears and a potentiometer. My model looks like yours but seems to be not that fast.
I'm not sure, but I would guess about 1 in per second. Most are designed for force instead of speed, but there are some actuators out there that can go faster, like 4 inches per second. A little bit more $$ though... Thanks for watching!
Awesome project! Can two actuators be controlled using this set up?
Yes, but they may travel at different speeds. You could always use two channels from the RC to control each one separately. Also, just did another video about actuator position control that you may be interested in.
Hi,
I am French and live in France and I have 3 projects to carry out.
1st project: Build a system with tilting hatch that will be operated by a 20kg servomotor controlled by an ultrasonic presence sensor HCSR04 (for distance 4 to 25cm)
I will use an Arduino UNO + shield L298P
9V External Power Supply
2nd project: Build a system with tilting hatch that will use a 12V linear Actuator, 150mm stroke, 150 mm/s speed. controlled by an ultrasonic presence sensor HCSR04 (for distance 4 to 25cm)
I will use an Arduino UNO + shield L298P
12V external power supply
3rd project: Build a system that will use a 12V linear Actuator, 100mm stroke, 14 mm/s speed, controlled by a light sensor for opening a door in the morning and closing it in the evening
I will use an Arduino UNO + shield L298P
12V external power supply
By consulting the various tutorials available, I did not find the solution to my projects .
Could you help me find the programming of my Arduino boards
If you need additional renderings, I am at your disposal.
Cordially
I hope to make more linear actuator videos soon.
wow cool ! is it possible to make it self center ?
I will be doing a video about that soon. Waiting for some parts to arrive in the mail.
@@ScienceFunInnovations oooh cool. I'm working on a hydraulic steering monster truck and i try to figure out how to make it self center.
@@ScienceFunInnovations I had the idea from this video: ruclips.net/video/BF_mSsvssYw/видео.html
as i can see he has a module that looks very similar to motor driver l298n, a receiver and a potentiometer hooked up to the wheels.
This is awesome. I’m building a miniature boat for my kids and I’d like to use this for Rudder control. Would it be possible to have the actuator at halfway at steering neutral and then proportional extend/ retract based on steering input and return to halfway when the steering is neutral? I work in automation and instrumentation in industrial systems but I’m very new to Arduinos
They do make linear actuators with build in position feedback. Otherwise you could use a linear position sensor for position feedback. Perhaps that would be a good idea for a future video...
i think you could also just connect an RC DC ESC to it and control it directly without the Adruino. I use it to steer my boat :)
Yes, could be done without the Arduino.
Is it possible to use the Arduino to read the position of the actuator?
Yes. I will be doing another video about that soon. I am waiting for some parts to arrive (may take a few weeks) then I'm planning on discussing that. Subscribe and turn on notifications so you don't miss it. Thanks for watching.
I want to make the actuator return to the original position after releasing the steering on the controller.
If you want it to return all the way retracted or extended, that would be easy to do. Just command it to retract or extend when in the neutral position. The built in limit switches will stop if from going too far. If you are trying to stop somewhere in the middle, you would need some sort of position indicator to provide feedback. Perhaps in a future video...
I always have a good fit. Does this bear a high weight like 80 or 90 kg?
I think this actuator is rated to 150kg.
I will Use it for Self made rc car. Butt Cold also work on an rc window opener for our attic 😅
Nice!
Great work👍👍 can you help me with controlling linear acurator with 3 position switch (CH4)
Something like this? ruclips.net/video/qLltghqVrvI/видео.html
Science Fun yeah 😊 thanks👍
Can you please help me converting the arduino program from analog joystick to Rc joystick (flysky fs-i6) right gimbal(auto centre) 👇👇👇👇👇👇. ruclips.net/video/cYIL5gxRogM/видео.html
@@chaithanyaprasadch3474 Are you trying to match the position of the slide with the position of the joystick? Or are you simply trying to make it go left when pushed left and go right when pressed right? Same travel speed or variable travel speed based on joystick position? You may want to check out my easydriver video and my RC library on my channel.
@Science Fun i want to match the position of slide with the joystick
Hi, i just tried it flysky fs-i6 transmitter and receiver, uno and l298n.
It just doesn’t work
Can you please help
What exactly is going on? Is the Uno reading the pulse width from the receiver?
So how would you make it self center?
I have another video about that. Check it out. Thanks!
how about not using arduino,just use tiny servo module board? can we?and how to wiring the cables?thanks
It would depend on the current rating of the board. Linear actuators can pull a lot of amps depending on the load. Even the L298N can only handle low loads.
how much current is required to drive the linear actuator using the L298N motor driver?
Depends on the actuator and voltage. The L298N can only handle medium loads. I am now using the BTS7960 for my actuator projects. I can handle much more current.
Hello sir I need your help please help me 🙏
What is the problem?
@@ScienceFunInnovations sir i am working on my dream project so i need your help please help me sir
Awesome work dude....❣️❣️
Thank you so much 😀
If I want motor work , Example motor movie 30 turn . This code can control with motor .
Not sure that this code would work for that, it would need to be modified.
Hi! What’s the name of the product that inserts into the pin on the wiring? It looks like a black object, maybe an inch long. I’m trying to figure out what it is because when I use just the wiring, it’s too loose to stay clamped down
Not sure which part you are referring to... part of the actuator? arduino?
@@ScienceFunInnovations it’s at 2:27 on the video. The red and black wires connect to the Arduino. It’s looks like the red and black wires have a black piece at the end the makes it easier for them to connect to the Arduino instead of just the wiring being bare
@@DadHacks dupont jumper wires. You can buy wires prebuilt with male and/or female end. You can also just buy the dupont connectors and crimper tool. Check Amazon or Ebay for pre built jumpers. Hope that helps.
what if i want it to work like a servo? any help with that?
Yes. I am waiting for a new actuator to arrive from China (might take 3-4 weeks), then I'm planning on doing a video about that.
@@ScienceFunInnovations are you buying one with a feedback pot already installed or are you adding one? i looked at the ones with the feedback already installed and they were just to dang expensive
@@MichaelRHead-zv2zf Yes, I'm getting one with an internal pot. You can also get an external pot (I'll show it in the video as well) which can save some money.
I am using a Fly Sky FS-GT5 with an aurduino Uno and a Cytron Shield-MDD10 to control a linear actuator to extend and retract. The Cytron Shield-MDD10 can operate in a dual PWM mode and output on the Arduino pins 3 and 9 for the for the motor. According to Cytron I would use a "PWM_PWM" Command example "(PWM_PWM, 3, 9); ". Can you tell me how and where I would incorporate it into your code for the RC control?
Not familiar with that board, but I would imagine the PWM commands would just replace the AnalogWrite commands in my example.
@@ScienceFunInnovations OK, Thanks for the reply> Have you gone any further with the RC controls, added any functions? I am working on a project to remote control a go kart for a young disabled boy. Using Linear actuators for the steering and brakes.
@@bobhodgens5096 Still waiting for some parts to arrive from China, but then I do hope to do another RC linear actuator video soon.
hye i am using one of these for my project that I'm making could you explain the basics a bit more
If you haven't seen it already...this video may help: ruclips.net/video/qLltghqVrvI/видео.html. Do you have any specific questions? Thanks!
@@ScienceFunInnovations if i did a remote control to three actuators what would everything look like can you help me out
@@tommilner5415 I am assuming you would want to control all 3 separately? You would need to use 3 channels of the RC and 2 motor control boards (the L298N can control 2 actuators). If you just want extend and retract, you can use digitalWrite, which is easier like in the video with 3 buttons. If you want speed control you would need 6 PWM pins and copy what I did in the RC video 3 times. Does that help?
@@ScienceFunInnovationsso I need 3 - 4 actuators that have work separately on the remote control so all they need to do is connect to a receiver which I was planning on using an Uno and 4 relays with a receiver with 6 channels so I have room if I need anymore. Does this sound like it could work? thank you Tom Milner
How could I do this using the BTS 7860?
The BTS is very similar except that it doesn't have 5V power supply. Perhaps soon I will do a video using one. Thanks!
Hi, What a great video! It was very helpful to understand some basics. I have a little project of my own trying to do exactly as in your video but not with an RC remote, but a simple potmeter. I tried to rework your code to make it work but since I don't know what i'm doing yet it doesn't work. Can you help me out? this is what I turned it into:
const int pot = A0; //connect to POTMETER channel A0
const int Extend = 10; //Connect to L298N Pin In1
const int Retract = 9; //Connect to L298N Pin In2
int val;
void setup() {
pinMode(pot, INPUT);
pinMode(Extend, OUTPUT);
pinMode(Retract, OUTPUT);
digitalWrite(Extend, LOW);
digitalWrite(Retract, LOW);
}
void loop() {
if (val = 500) {
analogWrite(Extend,0);
analogWrite(Retract,0);
}
if (val > 520) {
analogWrite(Extend,0);
analogWrite(Retract,map(val,520, 1023, 51, 255));
}
if (val < 500) {
analogWrite(Extend,map(val,500, 0, 51, 255));
analogWrite(Retract,0);
}
delay(100);
}
Hey, never mind my question, I figured it out and got it working!!
Glad you got it to work!
@@ScienceFunInnovations Thanks, too bad I later blew up my L298N by trying out an additional code to add some buttons that would need to override the POT meter. I suspect that not using the PULL_UP function caused the actuator to move back and forth until the L298N got so hot it damaged internally.....
Hi. Im trying to do the same system with a potentiometer but i never did an arduino so it s a bit complicated.
Can you please explain this in English?
Too much tech jargon???
@@ScienceFunInnovations I'm trying to do this on an airplane controller. So-far I've been told 3 different ways to do it. Your way is making my head hurt.... lol
hi do you have any contact platform for pm. Email or Facebook?
sciencefunbiz@gmail.com