I have two machines for metal (Chinese): milling and turning.
From time to time I make products of varying degrees of complexity on them (I am not a turner or a milling machine operator, this is just a hobby). And, if the product is difficult, then you had to take a calculator in hand and calculate the course of the cutter or cutter. And also, if the cutter / cutter stroke turned out to be quite large, then it was necessary to count the revolutions of the caliper handles, which frankly strained. As a result, I thought about the DRO (digital calipers were bought for a long time just for this purpose, but the lack of time was constantly delaying production).
Before I started developing my DRO, I had to answer two questions regarding the appropriateness of my own design:
- why not buy a finished product?
- There are many DRO projects in the network, of different levels of complexity, with detailed descriptions of making it yourself. So why not collect one of them?
I answer myself.
Yes, there are many products on the market, both domestic and foreign, with different prices and with different functionality. The same Ali offers ready-made DRO with three optical lines at a price of about 13,000 rubles. - very low price for such a device. But the manufacturing process itself is interesting to me, so the option “bought and put” disappeared.
Answering the second question, I put myself in the place of a person who will assemble the device according to some description, and what he should do. Namely:
- purchase the necessary components: processor, display, buttons and small things such as resistors, capacitors, stabilizers, etc. (without this, of course, nowhere);
- depending on the complexity of the project, make / purchase a printed circuit board;
- then solder everything and flash the processor;
- after, make work on the bugs;
And only after these steps, you get a finished product. Each step takes some time, and since a person is lazy and impatient (in the good sense of these words), he wants to see the result of the device operation as soon as possible, even if it is intermediate. And I nevertheless decided to develop my device so that a person even at the very beginning of the assembly process, saw the intermediate results of his work.
Now it was necessary to choose a board for implementation.
Choose between Arduino based on Atmega and STM.
I am a top-level programmer, but I had to program Atmega and MSP-430 microcontrollers for work, I was not familiar with STM. Therefore chose Atmega. I chose the cheapest board (or not? I just had them) Arduino Nano based on Atmega328 microcontroller.