My Experience with Length Control for a DC Actuator | HackerNoon

  • 📰 hackernoon
  • ⏱ Reading Time:
  • 49 sec. here
  • 2 min. at publisher
  • 📊 Quality Score:
  • News: 23%
  • Publisher: 51%

United States Headlines News

United States Latest News,United States Headlines

It all started when we ordered an actuator, with an encoder, from China for a project. But something went wrong, and a month later, we received actuators withou - arduino encoding

It was necessary to complete the project code urgently, but it would not be possible to control the actuators without encoders. For the project, you need to know the rod extension length, and for this, you need to know the number of engine rotations. So we decided to spend one day and make our encoder for actuators. At first, we thought to put a multi-turn potentiometer.Then we wanted to use an encoder likebut such encoders have a very small resource of work.

And knowing the sequence of turning on and off the sensors, we can determine the direction of rotation.No place was there, and magnets could not be glued because everything was oily with grease. Then we decided to throw away the original cap of the actuator, which will have a built-in gear with magnets and two hall sensors. The gear will be driven, and we will place the gear on a separate axis. And the gear will spin without load from the drive gear of the engine.

All that’s left is to write the code to calculate the length of the rod extension. For the test, we took the Arduino MEGA 2560 board; there are six pins with hardware interrupts. You can make the code without interruptions, but if at least one pulse is skipped, the error will be 1.6mm, and this is already a lot for our task. Tests have shown that without interruptions, the error can accumulate to large values with active use. Therefore, we use two interrupt pins for each actuator.

 

Thank you for your comment. Your comment will be published after being reviewed.
Please try again later.
We have summarized this news so that you can read it quickly. If you are interested in the news, you can read the full text here. Read more:

 /  🏆 532. in US

United States Latest News, United States Headlines

Similar News:You can also read news stories similar to this one that we have collected from other news sources.

China Meheco to distribute Pfizer's COVID treatment in ChinaChina Meheco Group Co Ltd said on Wednesday it signed an agreement with Pfizer Inc to import and distribute the U.S. drugmaker's oral COVID-19 treatment Paxlovid in mainland China, as the country braces for a surge in COVID patients after scaling back its 'zero COVID' policy. Step 1, spread lies and misinformation about western vaccines Step 2, keep in 3-year lockdown with your non fictional domestic vaccine Step 3, import western vacciness
Source: Reuters - 🏆 2. / 97 Read more »

High on Life Has a Full-Length Paul Walker MovieHigh on Life is finally out and it includes a strange bonus: a full-length Paul Walker [...]
Source: ComicBook - 🏆 65. / 68 Read more »

Azealia Banks says performing in Australia was ‘most racist’ experience of her life, cancels showAzealia Banks has canceled another Australian show and said she won’t return because the country makes her “utterly miserable”. This is probably a man 'tell us how you suck without telling us you suck' Who?
Source: nypost - 🏆 91. / 67 Read more »

Capturing matches volumetrically could enhance TV viewing experienceHow people watch soccer is changing each year with multiple camera angles giving fans immersive viewing but capturing games volumetrically could lead to a whole new TV experience.
Source: Reuters - 🏆 2. / 97 Read more »

AI to play major role in shopper experience, internal brand decision-makingCustomer lifetime value will continue to take precedence over conversion rate and average order value as a crucial metric for retailers to consider.
Source: LuxuryDaily - 🏆 325. / 59 Read more »

Representation matters: The Black Santa ExperienceSanta Chris to put smiles on faces at the annual Black Business Bazaar from Don't Sleep on the city's Northwest Side I've never looked at white Santa and thought, he looks like me.
Source: wrtv - 🏆 598. / 51 Read more »