Auto lubricator for automatic lubrication of motorcycle chains The control module chain lubrication on the basis of the STM32F103C8T6 (BluePill). Works on the principle of processing interrupts from the hall sensor from the wheel to calculate the number of revolutions.
Модуль управления смазкой цепи на базе STM32F103C8T6 (BluePill). Работает по принциру обработки прерывания от датчика холла с коллеса для подсчета количества оборотов.
When an interrupt is received from the hall sensor (wheel rotation), the variable is incremented. When the specified threshold number of revolutions is reached, the static pump is switched on through the TIP120 transistor.
- The duration of pump operation (lube)
- The lubrication frequency (number of revolutions of the wheel)
При поступлении прерывания от датчика холла (оборот колеса) происходит приращение переменной. При достижении заданного порогового количества совершенных оборотов, происходит включение перестатического насоса через транзистор TIP120.
- Длительность работы насоса (смазки)
- Частота смазки (количество оборотов колеса)


