Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

abobija/dc-motor-pwm-regulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dc-motor-pwm-regulation

DC Motor PWM speed regulation and IR tachometer

Description

One MCU is responsible for regulation speed of DC motor with Pulse Width Modulation (PWM), while other MCU have responsibility for measuring that speed. Everything will be easy if there is wire connection between this two MCUs, but there are no physical connection between them. CD which contains four drilled holes, rotates between IR emitting diode, and phototransistor on opposite side. When the hole drilled on CD comes to the sensor, and IR light pass from diode to transistor, internal MCU interrupt will be triggered. Applications for both MCUs are written in plain C.

Demo

Tachometer - Optical Infra Red

Microcontrollers

  • PWM Generator - PIC12F628
  • Tachometer - PIC16F886

About

DC Motor PWM speed regulation and IR tachometer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages