Week #14 & #15: PING Sensor & 4x4 Keypad

Locked
rjagodowski
Posts: 2362
Joined: Fri Sep 04, 2015 6:59 pm

Week #14 & #15: 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 70 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.Only do the experiments up to the LCD display. Don't do those, but skip to the part below labelled "EXTRA CREDIT".
PING from SmartSensorsText_v14.1 (1).pdf
(1.79 MiB) Downloaded 160 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!):
WaterLevelwithPing-v1.0.pdf
(136.54 KiB) Downloaded 149 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 145 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/21 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 145 times
PingServoCenter.bs2
(688 Bytes) Downloaded 150 times
TestPingDirection.bs2
(1.11 KiB) Downloaded 144 times
npdesantis
Posts: 58
Joined: Fri Sep 25, 2020 10:35 am

Re: Week #14 & #15: PING Sensor & 4x4 Keypad

Post by npdesantis »

completed ping sensor and 4x4 keypad experiment
wmpenalo0001
Posts: 35
Joined: Tue Sep 21, 2021 1:00 pm

Re: Week #14 & #15: PING Sensor & 4x4 Keypad

Post by wmpenalo0001 »

William, Issan, Abdul
Ping sensor and 4x4 keypad Complete 5/10/2022
cclozinski2001
Posts: 56
Joined: Fri Sep 25, 2020 10:16 am

Re: Week #14 & #15: PING Sensor & 4x4 Keypad

Post by cclozinski2001 »

Cole Lozinski and Korey Houle

We have finished the ping sensor and 4x4 keypad.
jrgonzalez2001
Posts: 54
Joined: Fri Sep 25, 2020 10:38 am

Re: Week #14 & #15: PING Sensor & 4x4 Keypad

Post by jrgonzalez2001 »

Jorge Gonzalez

I have completed the PING Sensor and 4x4 Keypad experiments on 5/10/2022
Locked

Return to “EET-260 Lab”