• Home
  • Products
    • Inline Nexus Micro Linear Actuator
    • Inline Stealth Micro Linear Actuator
    • Micro Pen Linear Actuator
  • FAQ’s
    • Resources
    • Blogs
  • About
    • About Us
    • Contact Us

Contact us today!

[email protected]
Login

Login
Morai MotionMorai Motion
Morai MotionMorai Motion
  • Home
  • Products
    • Inline Nexus Micro Linear Actuator
    • Inline Stealth Micro Linear Actuator
    • Micro Pen Linear Actuator
  • FAQ’s
    • Resources
    • Blogs
  • About
    • About Us
    • Contact Us
How to Control a Micro Linear Actuator Using Relays and Microcontrollers

How to Control a Micro Linear Actuator Using Relays and Microcontrollers

December 14, 2016 No Comments

For many applications, a simple, manually activated controller is not sufficient to control your micro linear actuators the way you need to.

For example, you may want to activate the actuators based on certain events, such as time, motion, light or temperature. This is where relays, microcontrollers and sensors come in.

It’s very easy to control a micro linear actuator using relays and microcontrollers. The microcontroller does exactly what the name implies – controls devices based on the instructions you set in the code. However, the microcontroller does not power the device. To put simply, the microcontroller can tell the device what to do, but it cannot make it perform the action. Hence the relay, which gives power to the device so it can follow directions set by the microcontroller.

In this tutorial, we will go over the simple step-by-step instructions on how to control a micro linear actuator using relays and microcontrollers.

Please note, this is a basic tutorial only – we will not be coving how to control a micro linear actuator using a sensor – that will be covered in later tutorials.

Also note, there are many different ways to control micro linear actuators. This is just one simple way. Again, we will be covering other ways in future tutorials.

How to Control a Micro Linear Actuator Using Relays and Microcontrollers

 

You Will Need:

  • 1 x Morai Motion Micro Linear Actuator
  • 1 x Arduino – or compatible microcontroller w/USB cable
  • 1 x 2-Channel Relay Module
  • 1 x Power Source
  • Insulated wires or jumper wires
  • Arduino Code

Get the Complete Micro Linear Actuator Relay Package at MicroMechTronic

Shop Now

The reason we use a 2-channel relay module is simply that one relay powers the actuator one way and the other relay reverses the direction.

In front of each relay (on the relay side of the module), there are three screw terminals. These terminals represent:

  • Top: Normally Closed (NC)
  • Middle: Common (COM)
  • Bottom: Normally Open (NO)
How to Control a Micro Linear Actuator Using Relays and Microcontrollers
Normally Open (NO)
How to Control a Micro Linear Actuator Using Relays and Microcontrollers
Normally Closed (NC)

Image credit: http://www.circuitbasics.com/

You may use the Arduino code provided to get you started. In this example, the actuator is set on a loop to activate and deactivate every two seconds. Two seconds is the shortest recommended time in order to not burn out the relays. Most real-life applications will require longer activation/deactivation settings, this is just a simple example for demonstration purposes.

Wiring it Together

morai-motion-micro-linear-actuator-relay-img_4731-2
Connecting the Relay Module to the Arduino Microcontroller:

Connect the two IN pins on the relay module to its corresponding IN pin in the Arduino (as instructed in the code). In this demo, we have chosen pins #7 and #6.

Note: You may connect the wires to any pin number you choose, however your code will need to reflect that.

Connect VCC and GND pins from the relay module to the corresponding VCC and GND pins in the Arduino (or compatible microcontroller).


Connecting the Relay Module to the Micro Linear Actuator:

Relay #1 – Red Wires:

Top: Normally Closed (NC)

Connect the power source wire and a red male-to-male jumper wire

Middle: Common (COM)

Connect the wire from the micro linear actuator

Bottom: Normally Open (NO)

Connect a black male-to-male jumper wire

Relay #2 – Black Wires:

Top: Normally Closed (NC)

Connect the power source wire and the other end of the black male-to-male jumper wire from relay #1

Middle: Common (COM)

Connect the wire from the micro linear actuator

Bottom: Normally Open (NO)

Connect other end of the red male-to-male jumper wire from relay #1


Once you connect both the relay module and the microcontroller to a power source, it should immediately switch on, activate the programmed code and effectively control your micro linear actuator.

Conclusion

Incorporating relays and micro controllers in conjunction with other motion control systems, such as sensors and timers, you will have far greater automation options and flexibility for controlling your micro linear actuators.

To learn more about how to use our micro linear actuators, you can check out our blog category Education.

No Comments
Share
0

Leave a Reply

Your email is safe with us.
Cancel Reply

Recent Posts

  • Brushed vs Brushless DC Motors
  • Four Types of Motion Control
  • Build a Smart Man Cave with Home Automation Ideas for Father’s Day
  • Vehicle Automation Ideas to Customize Your Ride
  • Home Automation Hacks for Mother’s Day
Advertisment
Advertisment
Advertisment

Contact Us

Have questions? Send us an email and we'll get back to you within 24 hours.

Send Message
Experience unparalleled precision automation with our new micro linear actuators. Take a Look
Morai-Motion
Makers of multi-purpose micro linear actuators. Versatile options for any miniature application.
BROWSE PRODUCTS
FIND RETAILERS

Contact Info

  • Morai Motion
  • sales@microlinearactuator.com

Lastest News

  • Brushed vs Brushless DC Motors
  • Four Types of Motion Control
  • Build a Smart Man Cave with Home Automation Ideas for Father’s Day
  • Vehicle Automation Ideas to Customize Your Ride
  • Home Automation Hacks for Mother’s Day
  • Micro Linear Actuators in Aerospace

Where to Buy

  • RobotShop USA
  • RobotShop Canada
  • MicroMechTronic
  • Oz Robotics
  • Tindie
  • CRD Devices UK

© 2021 — MicroLinearActuator.com  | Privacy | Terms

  • Home
  • Products
    • Inline Nexus Micro Linear Actuator
    • Inline Stealth Micro Linear Actuator
    • Micro Pen Linear Actuator
  • FAQ’s
    • Resources
    • Blogs
  • About
    • About Us
    • Contact Us
Prev Next