Week #14 & #15 (4/22-5/3): PING Sensor & 4x4 Keypad

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

Week #14 & #15 (4/22-5/3): PING Sensor & 4x4 Keypad

Post by rjagodowski »

The instructions and pdf files to investigate the PING sensor and 4x4 Keypad are found below.

4x4 Keypad:

The lab procedure is in the pdf below. You might have two "tweak" the spacing for the DEBUG window lines to get things to line up when copy and pasting the program into your BS2.
4x4matrixmembranekeypad-v1.2.pdf
(120.52 KiB) Downloaded 147 times



PING Sensor:

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 (1).pdf
(1.79 MiB) Downloaded 232 times
A printed copy will be available for you in the lab.


Here's a document on using the PING as a fluid level detector (Do Not Build!) This is an FYI only. :
WaterLevelwithPing-v1.0.pdf
(136.54 KiB) Downloaded 213 times

Here's a link of using the BS2, a standard servo and a PING sensor, along with the DEBUG output to generate a RADAR type display. BS2, PING Sensor & Servo to RADAR

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 210 times



You MUST demonstrate at least one of your completed PING experiments to your instructor or you will not receive credit for your posts. I will then verify your post with an edit added to your post with a statement similar to "Verified 4/29/23 by RJ"



EXTRA CREDIT:

If you're interested in an exercise which mounts the PING Sensor to a Standard Servo to make an "Ultrasonic Radar", follow this link and demonstrate it's operation. See me for the mounting hardware & servo.

The Servo/PING does not have to be mounted to a Boebot. As long as the servo is immobilized (screwed to a wooden block or even taped to the table top) this will work. Ideally you want about 6-10 feet of clear space in front of the Servo/PING combination. This should work like a "radar" display, showing an "X" where the PING sensor is located and a "*" appears where the PING "sees" an object.

When the Debug display pops up, "grab" a corner of it and expand the Debug Window so it fills a good part of your display, both vertically and horizontally. If the program is working properly, the PING sensor will sweep back and forth and an ultrasonic "scan" of the area should appear on your computer screen in the Debug area. Take a screenshot of one of these scans and post it, if you're able.
Ping)))Dar.bs2
(5.33 KiB) Downloaded 203 times
PingServoCenter.bs2
(688 Bytes) Downloaded 206 times
TestPingDirection.bs2
(1.11 KiB) Downloaded 204 times
ajgomez2201
Posts: 56
Joined: Tue Sep 19, 2023 8:32 am

Re: Week #14 & #15 (4/22-5/3): PING Sensor & 4x4 Keypad

Post by ajgomez2201 »

Completed and had all work verified.
EX14_ALexisGomez.png
EX14_ALexisGomez.png (369.03 KiB) Viewed 61 times
EX14-1_Alexis.png
EX14-1_Alexis.png (187.52 KiB) Viewed 61 times
IMG_4991.jpeg
IMG_4991.jpeg (3.9 MiB) Viewed 60 times
image.jpg
image.jpg (3.07 MiB) Viewed 42 times
image.jpg
image.jpg (3.1 MiB) Viewed 42 times
Last edited by ajgomez2201 on Tue Apr 02, 2024 3:58 pm, edited 1 time in total.
crivera0001
Posts: 55
Joined: Mon Feb 20, 2023 8:48 am

Re: Week #14 & #15 (4/22-5/3): PING Sensor & 4x4 Keypad

Post by crivera0001 »

Week 14
Attachments
IMG_2829.jpeg
IMG_2829.jpeg (384.09 KiB) Viewed 47 times
Post Reply

Return to “EET-260 Lab”