Challenge

Project 1 - Controlling a DC motor using PWM and monitoring its Running status

Dear sir/madam,

Please find attached my submission file for this module's first project. Note that I have used a Makefile for this challenge; the expected location of the Makefile is included in a first-line comment within the file. The directory structure I've used is:

Project1/p1-pwm-lcd.simu

Project1/code/Makefile

Project1/code/p1-pwm-lcd.c

Project1/code/p1-pwm-lcd.hex

When observing my motor's PWM, you might notice that the displayed power level (represented by a green semi-circle on the motor itself) tends to fluctuate erratically. I am unsure as to why this happens, my guess is probably because of the simulide continuously calculates the received power level instantaneously, but the program as a whole is functional as is the waveform generated by the PWM Pin that drives the motor.

Looking forward to your feedback,

Best regards,

Rahul Singh

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.