WordPress database error: [Table './meandr_base/anzpz_usermeta' is marked as crashed and last (automatic?) repair failed]
SELECT user_id, meta_key, meta_value FROM anzpz_usermeta WHERE user_id IN (1) ORDER BY umeta_id ASC

0

Velospidometr microcontroller ATtiny2313

A cyclocomputer is a device mounted on a Bicycle to measure speed, distance traveled, and control the brightness of lights. The scheme consists of a distributed microcontroller ATtiny2313, standard indicator and several discrete components.

The main parameters of the device:

  • Напряжение питания: 4,5…5,5 В
  • Current consumption: less than 10mA (without light indicator)

Measured parameters:

  • Speed.
  • The complete path.
  • The intermediate path.

Диапазон измеряемых скоростей: 3 км/ч…60 км/ч;
The speed measurement accuracy: 1 km/h;
Дисплей: 16×2 с HD44780-совместимым контроллером;

Принципиальная схема велоспидометра на микроконтроллере ATtiny2313

Принципиальная схема велоспидометра на микроконтроллере ATtiny2313

instruction manual

Основной режим

In the main operation mode the screen displays the current speed and distance covered (full and interim). Depending on the number of strings changes the location of the parameters on the display. If the indicator line, the speed shown in the first row, and both of the distances in the second.

2

Дисплей велоспидометра

If single line, the speed shown in the beginning of the line, and behind it there is a distance counter, and alternately are shown in full and the intermediate distance value.

Full distance traveled is stored in the nonvolatile memory of the microcontroller at the time of the stop. In contrast to full, the intermediate counter is not retained when the power is lost.

Кнопками + и – плавно регулируется яркость фары. Для регулировки используется ШИМ, поэтому дополнительных потерь мощности не происходит, в отличии от более простых схем.

Configuring

Для сброса промежуточного счетчика пройденного пути нажмите кнопку “CLEAR”.
Настройка длины колеса

При нажатой кнопке CLEAR кнопки +, – изменяют калибровочный коэффициент для подбора длины колеса. По умолчанию длина колеса примерно 2 метра.

Because the traversed path is obtained by multiplying the speed at the time (by integrating the speed over time), to control the proper speed ratio to compare indications of the counter of the passed way after a trip to the precisely known distance. If the readings are correct, and the speed is shown correctly.

Сброс настроек

Для сброса коэффициента в значение по умолчанию и обнуления счетчика пройденного пути, одновременно нажмите все три кнопки. Чтобы случайно не произошло сброса, можно сделать кнопки + и – на одном переключателе.

Firmware

admin

Leave a Reply

Your email address will not be published. Required fields are marked *