Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PWM in zilog microcontroller

Status
Not open for further replies.

akoangsimula

Member level 5
Joined
Aug 3, 2010
Messages
84
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Batangas - Malvar
Activity points
1,763
hi..
can u help me with my problem regarding PWM in zilog here's are the scenarios:
.
1. A user inputs numeric combinations using the keypad. Any 10-digit combination is
possible however numbers from “00” – “99” are the only acceptable inputs. Scrolling
is also done here.

2. If the inputs are between “00” – “99”, this becomes a valid duty cycle input to your
PWM. Set the direction of the motor to a clockwise rotation and observe the speed.
Study the datasheet of the L298 motor driver.

3. Extend this machine problem such the given a valid duty cycle input to the PWM, the
motor will have a soft-stop, i.e. continuously and slowly coming to a stop. You may
decrement your PWM by 1% until it reaches 0%. You may want to experiment on
how long the interval between this duty cycle transition.

4. Extend this machine problem such the given a valid duty cycle input to the PWM, the
motor will have a soft-start, i.e. continuously and slowly rising until the desired duty
cycle is achieved.. You may increment your PWM by 1% until it reaches input. You
may want to experiment on how long the interval between this duty cycle transition.

5. Now combine parts (3) and (4) with the twist that during soft-start, the motor rotates
in a clockwise direction and during soft-stop, the motor rotates in a counter-clockwise
direction.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top