Motor controller on Arduino
To it 2 control buttons - when pressing on one output val, the REDUCTOR must turn to the right corner on the clock, and the other to the same corner against the clock.Angles less than 360 degrees.Thus, to position, you probably need to use the encoder on the output wave from the reducer, not on the engine axis.The scheme is built for testing and prototyping of the device, because what angle you need to turn when you press the button is adjusted.You need to be able to put this corner.For example, pressing the button gives us a shift of 1 degrees.By pressing we find the position we need and remember as a step of shift.After setting, the same or other buttons are used to move already on a shift step.I think it’s a good solution to use Arduino + Motor Shield + Hall sensor unit for implementation.It would be bad to install the screen to display parameters - step, direction, etc.Or something like this with the buttons:
Thus, from you, the choice of components, the development of schemes and programming to solve the task above.
-

это что то "живое" или просто дипломный\курсовой проект?
если "живое" то чем обусловлен выбор именно таких комплектующих? (я не про мотор, а про все остальное)
какая именно задача стоит?
если дипломный проект то какие требования к коду, выходным значениям и тд?
чем не подошло просто раз прокрутить плоскогубцами вал на 360, получить количество тактов с енкодера и поделив это количество на 360 иметь кривую константу на 1 градус? -
это прототип живого., не связано с учебой)
чем обусловен выбор:
- выходной вал редуктра поворачивается на 90 градусов и тем самым покрывает все 12 дискретных положений нужных в конструкции. покрывает нелинейно - не получится просто разделить 90 градусов на 12 - изза мезанизма после выходного вала, он линейно двигает конструкцию. да, можно руками двигать вал (хотя он маленький и неудобный) и смотреть когда мы станем в первое нужное положение и посмотреть показания на энкодере, потом второе и пр. но зачем? разве есть неразрешимая задача двигать по кнопке?
для позиционирования - датчики Холла. резистивный зависит от температуры, не подходит. можно как в весах по разностному принципу (компенсируя тепловое изменение температуры) но зачем? есть же точный Холл не зависит ни от чего, не содержит контактных деталей. хотя тут открыты к конструктивному спору. однако, забегая вперед, в существующих на рынке устройствах применяется именно датчик Холла
остальное - кнопки и экран - стандартные вещи
мотор маленький и не инертный. однако нужно ли будет замедление при подходе к нужной позиции или возврат обратно если проехали положение - непонятно. потому возможно придется отрабатывать это в коде управления -
Current freelance projects in the category Embedded Systems & Microcontrollers
Tuya smart projectFor a Wi-Fi device. Looking for a specialist with Tuya IoT Platform / Tuya Panel Studio experience, working with CBU is a must! Tasks to be completed: Account registration 1. Product configuration in Tuya IoT Platform 2. Data Points (DP) configuration 3. Interface development in… Embedded Systems & Microcontrollers, Hybrid Mobile Apps ∙ 17 hours 28 minutes back ∙ 4 proposals |
AI Automation Engineer
22 USD
Need an AI Automation Engineer, a specialist for creating a system for active client search and smart outreach (not a regular chatbot-autoresponder) for a B2B project Data collection: automatic parsing of contacts from "blind" databases by name. Smart mailing: integration… AI & Machine Learning, Embedded Systems & Microcontrollers ∙ 2 days 14 hours back ∙ 15 proposals |
Consultation of a microelectronics engineer / Embedded Developer
445 USD
We are looking for a project - electronics engineer / Embedded Developer. Needed - to develop an electronic circuit; Program several microcontrollers C/C++ / Embedded development of the logic for the operation and connection of the hardware computing unit and sensors testing… Engineering, Embedded Systems & Microcontrollers ∙ 6 days 2 hours back ∙ 2 proposals |
Research the electronic module "pulse current generator"It is necessary to investigate the electronic block "pulse current generator." Required measurements: pulse frequency, signal shape, pulse duration, duty cycle, output voltage to the coil, current through the coil, power consumption, resistance/inductance of the coil, heating… Embedded Systems & Microcontrollers ∙ 7 days 20 hours back ∙ 2 proposals |
We need a specialist or a team to develop a complete smart home ecosystem.We need a specialist or a team to develop a complete smart home ecosystem. Project idea: to create a central device/hub that can connect various smart home devices: lighting, sockets, climate control, heating, sensors, cameras, locks, appliances, security scenarios, and other… Web Programming, Embedded Systems & Microcontrollers ∙ 8 days 22 hours back ∙ 29 proposals |