Week #9: (10/31) Stepper Motors, PING Sensor, 4x4 Key Pad

Post Reply
rjagodowski
Posts: 2370
Joined: Fri Sep 04, 2015 6:59 pm

Week #9: (10/31) Stepper Motors, PING Sensor, 4x4 Key Pad

Post by rjagodowski »

I'll spend a little time introducing Microsoft Visio, which was presented in Week #8.

STEPPER MOTORS:
This week we will discuss Stepper Motor Control with these links:

A pdf of Working with Stepper Motors:
Working_with_Stepper_Motors.pdf
(256.65 KiB) Downloaded 148 times
Stepper Motor Speed and Torque Relationship

In addition, we have this Wisc-Online Tutorials:

Variable Reluctance Stepper Motor

Stepper Motors and Micro-Stepping.


Two of the Experiments you must perform this semester in addition to the StampWorks list posted here, are using the PING Ultrasonic sensor and the 4x4 Matrix Keypad. If you would like to borrow either of these (short term) to perform the experiments at home, please see your instructor.


PING ULTRASONIC SENSOR:

The PING Ultrasonic Sensor is one of the required labs you will have to perform before the end of the semester. An introduction to this sensor is being presented this week in case anyone is considering using it as part of their Advanced Automation project.

Here's the link to the PING Sensor from Parallax and here is the Chapter from the Smart Sensors Text using the PING sensor. These are the exercises you should perform when using the PING.
PING from SmartSensorsText_v14.1.pdf
(1.79 MiB) Downloaded 158 times
Here's a document on using the PING as a fluid level detector:
WaterLevelwithPing-v1.0.pdf
(136.54 KiB) Downloaded 152 times
The PING sensor reports it's information to the BS2 using the PULSIN command. Here is the information about PULSIN from the Syntax & Reference Manual:
PULSIN from Syntax & Reference Manual.pdf
(121.55 KiB) Downloaded 133 times

4x4 Keypad:

Another required device you'll be using later in the semester is the 4x4 keypad which uses a matrix system to determine which key is pressed. This basic concept is common to most keypad & keyboard components. Here is the pdf for the keypad exercises:
4x4matrixmembranekeypad-v1.2.pdf
(120.52 KiB) Downloaded 157 times
NOTE: When copying and pasting the sample code in the pdf into the BS2 Editor, there might be a problem with the "spacing" of the keyboard grid generated in the subroutine. If this happens, you will notice that the right column or two might not "clear" when releasing the key. To remedy this, insert additional spaces as needed to allow the vertical bars "|" to align with the "+" signs in the row above. You grid should look like the example code in the keypad pdf.
bemmonds
Posts: 38
Joined: Sun Sep 11, 2016 11:50 am

Re: Week #9: (10/31) Stepper Motors, PING Sensor, 4x4 Key Pad

Post by bemmonds »

Ping and keypad labs complete.
Post Reply

Return to “EET-260 Lecture”