My PIC Journey - L293D H-bridge with DC MOTOR controlled by PIC12F675 via PWM

Просмотров: 343   |   Загружено: 1 год.
icon
Ricardo Caratti
icon
14
icon
Скачать
iconПодробнее о видео
In this experiment, a fan speed (or PWM signal) is controlled by the analog value obtained from one of the ADC interfaces of the PIC12F675 microcontroller. This analog value can be acquired from a potentiometer, a photoresistor, or even a sensor like the LM35. For example: based on the analog value read, the fan speed can be adjusted proportionally to the increase in temperature measured by the sensor. Minimum and maximum limits for the fan speed can be defined. Thus, if the temperature is below 20°C, the fan will not operate, and if the temperature is above 60°C, the fan will reach its maximum speed.

More details:

Schematic and source code:

#l293d #pic12f675 #pwm #microchip

Похожие видео

Добавлено: 56 год.
Добавил:
  © 2019-2021
  My PIC Journey - L293D H-bridge with DC MOTOR controlled by PIC12F675 via PWM - RusLar.Me