{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Homework_Ch5_Checkoff - Name Date ME 456 Experiment...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Name:___________________ Date:___________________ ME 456 Experiment Hardware Checkoff What’s A Microcontroller? Chapter #5: Measuring Rotation Project 5. Program the BASIC Stamp to scale the value measured by the RCTIME command so that the full range of the time measurements that result from the potentiometer’s motion maps to a range of servo PULSOUT values between 650 and 850. HINTS: You will need to multiply using the * operator and divide using the / operator to scale your time measurement to a range of 200. For example, if it turns out that you need to scale it to 2/5 of the value, multiply time by 2 first, and then divide time by 5. After that, you will still need to go through the process of adding an offset as shown in Activity #4. This project functions: Name: _______________________________________ Date: _______________________________________ Note: STAPLE to this coversheet, all your program code and answers for all 1) “Activities” 2) “Questions” 3) “Exercises” and 4) “Projects”
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Chapter 5 Questions 1. What are five examples of devices that use dials and knobs?
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}