• About us
  • Advertising
  • Send Press Release
  • ICT Indicators
Thursday, January 28, 2021
  • Login
  • Register
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण
No Result
View All Result
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण
No Result
View All Result
TechSansar.com • Nepal Information and Technology Navigator Website from Nepal
No Result
View All Result

How to Control a Linear Actuator with Arduino

3 years ago
in Computing
Reading Time: 5min read
A A
4
Arduino as a computing device

Arduino as a computing device

Linear actuators are integral devices in our world. Usually, they are used for opening, closing doors, drawers  and so on. Geeks can build a robot and raise its limbs with linear actuators. Of course, you may not need a home robot, but controlling automatic movements of your furniture really comes in handy sometimes. Especially when it can be controlled with the help of compatible board that makes the controlling process much easier. Today, we will give you a comprehensive guide on how to control linear actuator with a joystick, rotation knob, three buttons with preset positions. And you will never believe, but you will hardly be in a driver’s seat. The ruler is the code. Let us tell you about each possible way – on how to control a linear actuator with Arduino.

Understanding Linear Actuator

First of all, let us make sure that you know what a basic linear actuator is. This is a device that does linear movements in and out. Strengths, lengths, speed. You can choose whatever works best for your project. We have them used in car stereos to push the display out and bring it back.

To begin with, you will have to plug the linear actuator into different ports. Having an Arduino by your side, 4 actuators can work simultaneously with this code. That is why the first thing you want to do is to upload the code to your Arduino. There are a bunch of them that work for electric actuators all around the Internet. Be careful as the code differs depending on the things you plug in.

Direct Control Arduino

Arduino oard power and pin configuration for use with actuator
Arduino board power and pin configuration for use with actuator
 

The first type of connection is a direct plug. It is usually carried out with the help of the slider. A 0 to 1023 signal comes in off of analog sensors and that’s out to the PMW output on linear actuator. This is the way we have one of these mapped each letter actuator and they actually remove the position that the sensor is that so.

Therefore, if you move the slider, actuator is pulling in, it’s going to go out until it reaches the position that that’s at and the bigger one is usually attached to the knob. Therefore, when you rotate the knob, the actuator’s in and out.

Other similar Posts

Fix for “Sorry, another account from your organization is already signed in on this computer.”

Create Watermark of image using PHP

Incremental Control

This type of control occurs with the help of a joystick. A joystick usually goes into the sensor shield and an output goes to the linear actuator. A pleasant thing to know is that as you move the joystick in different directions, you have your actuator moving in one and then the opposite direction. The time of shaft’s movement will depend on the time you’re pulling the joystick.

Everything comes from the code where the dead band in the center of the joystick is looking to see the joist that has moved out of that dead band. When it comes out in one direction we start incrementing the position of the actuator in one direction by small units and vice versa.

Press control

This one is for those who want to preset positions because the project requires 2 or 3 positions within the code. This is the sample code to get you started on how to do that. You take the input through three different buttons in order to tell the position you know to move.

But, of course, you don’t need to have buttons, so you can just do it directly in code or any other sensors that you may have set up to trigger your response from your actuator. You want to have your buttons plugged into the sensor shield. Again, the code moves it to different directions. For instance, if you have three buttons, it will stop on the necessary length three times. The code will include all the preset settings.

You see, Arduino would be quite helpful when using an actuator. It happened so that my colleagues and I decided to install a lock with combination on our door, because we were always running in and out of the office, not to mention that we used to forget keys at work all the time. Therefore, we decided that the combination lock is an excellent way out.

Having rummaged Chinese markets and eBay, I did not find anything cheap and more or less serious and decided to make it myself. The Arduino platform was chosen for its simplicity, since I had no experience with micro-controllers at all. And you know what, it had worked out just great.

Thanks for reading my experience on controlling linear actuators with Arduino. Suggestions welcomed.

Tags: ArduinoHardwareMicrochipProgrammingTutorials
Previous Post

नेपालमा इन्टरनेट महँगिने, सरकारले लगायो थप १३ प्रतिशत कर

Next Post

Global Startup Labs in Nepal launched by MIT

Also check out other Similar posts

Enable public Live Events aka Webinar in Microsoft Teams
How To

[How to] Enable public Live Events aka Webinar in Microsoft Teams #MSTeams #LiveEvents #Webinar

December 26, 2020
It Is Important to Consider Using Electronic Signature for Your Businesses
Computing

Why It Is Important to Consider Using Electronic Signature for Your Businesses

November 16, 2020
Top 5 Programming Language to learn Nepal
Computing

Top 5 Programming Language to learn Nepal

September 14, 2020
How to Send a Wireless Fax on A Printer in 3 steps?
Computing

How to Send a Wireless Fax on A Printer in 3 steps?

July 16, 2020
Factory reset Google Nest Hub
Computing

How to factory reset Google Nest Hub

March 6, 2020
Nepal AI Expo 2019 1 scaled
Computing

Nepal's first and biggest Artificial Intelligence (AI) Expo 2019

August 24, 2019
Next Post
MIT Global Startup Labs is a multidisciplinary group of MISTI (MIT International Science and Technology Initiatives) that promotes development in emerging regions by cultivating young technology entrepreneurs.

Global Startup Labs in Nepal launched by MIT

Comments 4

  1. Sagar Shakya says:
    2 years ago

    where can i get Linear Actuators in Kathmandu, Nepal. Any idea and how much will be cost, size.

  2. Sagar Shakya says:
    2 years ago

    where can i get Linear Actuators in Kathmandu, Nepal. Any idea and how much will be cost, size.

  3. Chandani Nepal says:
    1 year ago

    Did you try bangemuda,mahankal, mahabouddha? These are the places for these micro electronics.

  4. Chandani Nepal says:
    1 year ago

    Did you try bangemuda,mahankal, mahabouddha? These are the places for these micro electronics.

No Result
View All Result

Recent Posts

  • Samsung Galaxy S21 Ultra vs iPhone 12 Pro Max – True Battle
  • Samsung Galaxy Buds Pro – Truly Adventurous
  • Galaxy S21 and S21+ 5G – Truly Dazzling
  • Samsung Galaxy S21 Ultra – New Flagship
  • Samsung Exynos 2100 the success
  • Elon Musk’s Tesla a success
  • Latest iPhone Prices in Nepal
  • 12 productivity keyboard shortcuts for Microsoft Teams
  • [How to] Enable public Live Events aka Webinar in Microsoft Teams #MSTeams #LiveEvents #Webinar
  • Why It Is Important to Consider Using Electronic Signature for Your Businesses

Recent Comments

  • Durlav Shrestha on History of Computers & Information Technologies (IT) in Nepal
  • Samsung Galaxy S21 Ultra vs iPhone 12 Pro Max - True Battle • TechSansar.com on Galaxy S21 and S21+ 5G – Truly Dazzling
  • Samsung Galaxy S21 Ultra - True Flagship • TechSansar.com on Galaxy S21 and S21+ 5G – Truly Dazzling
  • Rohit Nepali on Samsung Galaxy S21 Ultra – New Flagship
  • 15 Great Programming Tips for Nepali Programmers on Projects initiated by Team TechSansar

Listen to TechSansar Podcast

Categories

RoboForm: Learn more...
  • QnA Platform
  • Gadgets
  • Tech News
  • Tips & Tricks
  • About us
  • ICT in Nepal
  • Market

By continuing to use this site, you agree to our cookies and privacy policies • Here is our Do Not Track (DNT) Guide. Hosted on a VPS in Singapore • Uses this beautiful theme. You can also subscribe to our newsletter.Creating tech contents for the bots humans since 2009 Team TechSansar • NTRC With ❤ from Nepal

No Result
View All Result
  • Startups
  • Tech Events
    • Submit Tech Events in Nepal
  • Services
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
  • QnA
    • Ask a Question
  • नेपाली संस्करण

By continuing to use this site, you agree to our cookies and privacy policies • Here is our Do Not Track (DNT) Guide. Hosted on a VPS in Singapore • Uses this beautiful theme. You can also subscribe to our newsletter.Creating tech contents for the bots humans since 2009 Team TechSansar • NTRC With ❤ from Nepal

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In