Wednesday, 17 February 2016

DIY Mini Drill Controller

Scene-1: The Cause

I was using a small MiniCraft drill machine for drilling holes into my home made PCBs and also for some cutting activity with some attachments. The problem that I had was that when I bought the drill it didn't come with any sort of controller. I used to use it with direct connection to battery.

It was difficult to every time remove the drill once it got stuck, because there was no way to reverse.

Scene-2: The Idea

So one fine Sunday I thought of building this drill controller.

The basic concept was that I have to build a controller circuit for :

  1. Speed Control; so that if there is any delicate job to be done then I can start slowly and increase the speed as and when reuired.
  2. Direction Control; for when the drill would get stuck/jammed I could reverse easily by the push of button.
  3. It should have a Power ON-OFF control.
  4. And finally everything should fit into a Compact box and all the controls should be user friendly and easily accessible. (don't want any tricky controls when you are handling a high speed sharp tool right :D )

Scene-3: Component Selection

To achieve this I thought of a simple idea which is to use motor-driver IC for reversing the direction and controlling the speed and a microcontroller to control the motor-driver.

I initially thought of using relays to control the direction, but then it could have become bulky and speed control would anyhow raise the need of some linear components.

Finally I ended up with L293D, which has 4 individual PUSH-PULL driver and every two of them can be paired to form a H-Bridge channel. It has a current capacity of 600mA per channel with in SOA (Safe Operating Area), beyond which it would require a heatsink (which I don't intend to provide, lack of space).

So I coupled 2 channels which would effectively double the current capacity now to 1.2A. 

The goal was to control the direction of the motor by Input signals of L293D  and speed by providing PWM to L293D input. Both of which would be from a simple low cost microcontroller, and nowadays we can pick up a cheap arduino-pro mini clone for around 200 INR, which is relatively cheap.

The advantage of using a pro-mini kind of board is that all the essential circuity for the microcontroller like clock, power are already present on board and it is quite sleek to fit into my box, and why not go for a pro-micro-328p board for 200 INR when a DIP atmega328p would cost 150 INR.

For speed control I used a 10k POT generally available in market.

I also used two tactile switches:
  1. For toggling direction.
  2. For turning it ON or OFF.
Other components used are a couple of leds, resistors, a plastic knob for POT and a DC barrel Jack.

Scene-4: Realization and Testing

The schematic of the circuit is shown below:

I have added a mechanism to detect Over-current, by which I can prevent L293D from Over-heating, if the motor really gets jammed.

Since it is a brushed motor if the rotor gets stuck then current starts continuously flowing from the same part of the coil which eventually heats-up the armature and reduces its life, and also the Motor-driver can get damaged because of high-current flow, remember the peak limit is 1.2A even when both channels are combined.

So for that I used a shunt resistor of 0.08Ohm and used to measure the voltage drop across it using ADC of atmega328p. So when voltage across it reaches 96mV (1.2A x 0.08Ohm) then we should disable the L293D in the program.

I also added a functionality to prevent transients which is called Soft-start (mostly used for powering high-current loads), which is basically slowly increasing speed (using PWM) during POWER-UP instead of instantly supplying full power.

All these and other features are present in the program.

Click the link below to get the design files (schematic) and program for it.
Code and Schematic

I have written the program using Atmel Studio, however it can be easily adapted for use with Arduino.

The programming is almost complete however there are a few glitches which I am not getting time to resolve (documented in the Readme file). Feel free to make any changes and customize according to your needs.

Scene-END: Result

Below is the result of what I built :)

The demo can be seen in the video below :


Unknown An Electronics and Tech Enthusiast

I am a Tech enthusiast who loves to build stuff like new gadgets and tinker around with electronic devices doing some DIY stuff, writing some code and in the process providing something back to the community.


  1. You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. Magnetic Drill Press Finder

    1. The effectiveness of IEEE Project Domains depends very much on the situation in which they are applied. In order to further improve IEEE Final Year Project Domains practices we need to explicitly describe and utilise our knowledge about software domains of software engineering Final Year Project Domains for CSE technologies. This paper suggests a modelling formalism for supporting systematic reuse of software engineering technologies during planning of software projects and improvement programmes in Final Year Projects for CSE.

      Software management seeks for decision support to identify technologies like JavaScript that meet best the goals and characteristics of a software project or improvement programme. JavaScript Training in Chennai Accessible experiences and repositories that effectively guide that technology selection are still lacking.

      Aim of technology domain analysis is to describe the class of context situations (e.g., kinds of JavaScript software projects) in which a software engineering technology JavaScript Training in Chennai can be applied successfully

      The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

  2. After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article. best impact driver

  3. This comment has been removed by the author.

  4. We have transformed ourselves from the era of knowledge scarcity to era of knowledge abundance. We have hundreds of thousands of pages for each and every product we search for, Suncoast Precision Tools in Google or Yahoo. But the real talent lies in choosing the best product from the variety of choices. The same concept applies for cordless drills.

  5. I love the way you write and share your niche! Very interesting and different! Keep it coming! footcare drill equipment

  6. It's very useful blog post with inforamtive and insightful content and i had good experience with this information. We, at the CRS info solutions ,help candidates in acquiring certificates, master interview questions, and prepare brilliant resumes.Find top Salesforce admin interview questions in 2020.
    These Salesforce developer interview questions are highly helpful in 2020. You can read these Salesforce lightning interview questions and Salesforce integration interview questions which are prepared by industry experts.

  7. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. podiatry drill

  8. Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. best impact wrench for cars

  9. With Dewalt DC618KA, the temporary worker can play out all the completion works that require nailing on the agreement easily and proficiency. It produces quality work inside a brief period.

  10. It has headlights that gives expanded perceivability where there are low light conditions and in bound zones that have low light flexibly.

  11. Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. footcare drills

  12. I am attracted by the presentation of this article. This information about mini drill controller is really good. I really appreciate your work. It is a gainful article for us. Keep posting. Thank you. Tracking Machine Downtime

  13. With special privileges and services, UEFA BET offers opportunities for small capitalists. Together ufa with the best websites that collect the most games With a minimum deposit starting from just 100 baht, you are ready to enjoy the fun with a complete range of betting that is available within the website

    ufabet , our one another option We are a direct website, not through an agent, where customers can have great confidence without deception The best of online betting sites is that our Ufa will give you the best price

  14. อีกทั้งเรายังให้บริการ เกมสล็อต ยิงปลา แทงบอลออนไลน์ รองรับทุกการใช้งานในอุปกรณ์ต่าง ๆ HTML5 คอมพิวเตอร์ แท็บเล็ต สมาทโฟน คาสิโนออนไลน์ และมือถือทุกรุ่น เล่นได้ตลอด 24ชม. ไม่ต้อง Downloads เกมส์ให้ยุ่งยาก ด้วยระบบที่เสถียรที่สุดในประเทศไทย

  15. หาคุณกำลังหาเกมส์ออนไลน์ที่สามารถสร้างรายได้ให้กับคุณ เรามีเกมส์แนะนำ เกมยิงปลา รูปแบบใหม่เล่นง่ายบนมือถือ คาสิโนออนไลน์ บนคอม เล่นได้ทุกอุปกรณ์รองรับทุกเครื่องมือ มีให้เลือกเล่นหลายเกมส์ เล่นได้ทั่วโลกเพราะนี้คือเกมส์ออนไลน์แบบใหม่ เกมยิงปลา

  16. กับบริการที่สะดวก รวดเร็ว ครบวงจร ของ UFABET ไม่ว่าจะ ฝาก-ถอน สอบถามการใช้งานต่างๆ และสามารถวางเดิมพันได้ทุกที่ มีเกมพนันให้เลือกเล่นมากมาย UFA88WIN ยูฟ่า88วิน ตอบโจทย์คุณได้ดีที่สุด หมดปัญหาเรื่องการโดนโกง เพราะเราให้บริการตรงจากเว็บแม่ ยูฟ่าเบทประเทศไทย ปลอดภัย 100% รองรับการพนันบอลออนไลน์ ufa ผ่านอินเตอร์เน็ต และคาสิโนออนไลน์ที่มีให้เลือกมากกว่า 1000 เกมส์ ufa

  17. Acknowledges for paper such a beneficial composition, I stumbled beside your blog besides decipher a limited announce. I want your technique of inscription... Bubbler Bong Shop Online

  18. Baccarat is money making and it's outstanding accessibility. The best In your case it's found that you'll find rather fascinating choices. And that is considered to be a thing that's rather different And it's very something that's rather happy to strike with The most wonderful, as well, is a very good alternative. Furthermore, it's a truly fascinating alternative. It's the simplest way which could generate profits. Superbly prepar The variety of best earning baccarat is the accessibility of generting by far the most cash. Almost as possible is so suitable for you A substitute which can be assured. To a wide variety of efficiency and availability And find out excellent benefits as well.บาคาร่า

  19. pgslot ซึ่งเกมคาสิโนออนไลน์เกมนี้เป็นเกมที่เรียกว่าเกม สล็อตเอ็กซ์โอ คุณรู้จักเกมส์เอ็กซ์โอหรือไม่ 90% ต้องรู้จักเกมส์เอ็กซ์โออย่างแน่นอนเพราะในตอนนี้เด็กนั้นเราทุกคนมักที่จะเอาก็ได้ขึ้นมา สล็อต เล่นเกมส์เอ็กซ์โอกับเพื่อนเพื่อนแล้วคุณรู้หรือไม่ว่าในปัจจุบันนี้เกมส์เอ็กซ์โอนั้นกลายมาเป็นเกมซะลอสออนไลน์ที่ให้บริการด้วยเว็บคาสิโนออนไลน์คุณสามารถเดิมพันเกมส์เอ็กซ์โอกับเว็บคาสิโนออนไลน์ได้โดยที่จะทำให้คุณนั้นสามารถสร้างกำไรจากการเล่นเกมส์เดิมพันออนไลน์ได้เราแนะนำเกมส์ชนิดนี้ให้คุณได้รู้จักก็เพราะว่าเชื่อว่าทุก

  20. Thanks for defining the concept of drill machine in broad way. It will really help me out. Best Industrial Automation Company in India - Industrial Automation

  21. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! footcare tools

  22. You composed this post amazing about this topic. I got data from your article, it is precious for me and furthermore for other people. Continue sharing this sort of information. Industrial Equipment Supplier in Dubai

  23. You've created an excellent post about Cordless Drill Driver Set Online in Usa. Your blog gave me some unique and useful information. Thank you for bringing this article to our attention.

  24. I will share it with my other friends as the information is really very useful. Keep sharing your excellent work. Read more info about Buy Cordless Ratchet Wrench Online in Usa

  25. Physical fitness is also important when they want to chase and arrest criminals, or when they have top security companies in London
    to deal with situations that require stamina and strength. Even if you don't want your bodyguards to be involved in a fight, a situation may arise that it's only through a fight that they can save your life and their lives.

  26. A very delightful article that you have shared here.electronics parts distributor Canada Your blog is a valuable and engaging article for us, and also I will share it with my companions who need this info. Thankful to you for sharing an article like this.

  27. Awesome! Thanks for sharing this informative post and Its really worth reading.

    Why Dating Apps Fail? Read More Here: Dating App Fails . The App Ideas is leading web and Mobile App development. We provide the best IT Services at best rates. Contact us now!