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

Post Reply
rjagodowski
Posts: 2393
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 142 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 228 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 212 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 211 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 202 times
PingServoCenter.bs2
(688 Bytes) Downloaded 207 times
TestPingDirection.bs2
(1.11 KiB) Downloaded 202 times
jrvicenty2101
Posts: 65
Joined: Fri Sep 10, 2021 2:30 pm

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

Post by jrvicenty2101 »

I Completed Chpt 2 Ping Sensor & 4x4 Keypad.
Attachments
Chpt 2 ping sensor.jpg
Chpt 2 ping sensor.jpg (643.63 KiB) Viewed 2419 times
20230504_124235.jpg
20230504_124235.jpg (3.59 MiB) Viewed 2396 times
Last edited by jrvicenty2101 on Thu May 04, 2023 12:53 pm, edited 1 time in total.
jhgirouard2101
Posts: 62
Joined: Thu Sep 08, 2022 3:24 pm

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

Post by jhgirouard2101 »

Completed PING sensor and 4x4 Keypad labs, Rick checked both
Attachments
IMG_04421024_1.jpg
IMG_04421024_1.jpg (80.73 KiB) Viewed 2406 times
Last edited by jhgirouard2101 on Tue May 02, 2023 1:44 pm, edited 1 time in total.
Jbraco0001
Posts: 44
Joined: Fri Sep 06, 2019 9:43 am

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

Post by Jbraco0001 »

completed ping sensor and 4x4 keypad
Attachments
IMG_1586.jpg
IMG_1586.jpg (1.76 MiB) Viewed 2406 times
rpoznyur2101
Posts: 65
Joined: Thu Sep 08, 2022 10:49 pm

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

Post by rpoznyur2101 »

Week 14/15
Attachments
IMG-6722.jpg
IMG-6722.jpg (1.79 MiB) Viewed 2386 times
pagarcia2101
Posts: 63
Joined: Thu Sep 23, 2021 9:12 am

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

Post by pagarcia2101 »

Paula Garcia Week #14&#15 Completed the 4x4 Keypad with Vincent
Attachments
Keypad.png
Keypad.png (13.91 KiB) Viewed 2355 times
vaseleznev2001
Posts: 59
Joined: Tue Nov 09, 2021 9:12 am

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

Post by vaseleznev2001 »

Vlad Seleznev
Attachments
40EB1F68-3E82-4F79-8F49-599B787BB919.jpeg
40EB1F68-3E82-4F79-8F49-599B787BB919.jpeg (3.02 MiB) Viewed 2339 times
hnle
Posts: 54
Joined: Mon Sep 12, 2022 6:29 pm

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

Post by hnle »

All done with keypad experiment.
Attachments
Keypad.png
Keypad.png (13.91 KiB) Viewed 2322 times
Post Reply

Return to “EET-260 Lab”