Shop OBEX P1 Docs P2 Docs Learn Events
Parallax Blacklit LCD shows distance through Ultrasonic Ping Distance Sensor — Parallax Forums

Parallax Blacklit LCD shows distance through Ultrasonic Ping Distance Sensor

PPraPPra Posts: 10
edited 2014-04-06 07:39 in General Discussion
Before I order the Blacklit LCD, I just want to know if the item is able to display changing distances if programmed with the Ultrasonic Ping Distance Sensor. For example, instead of just showing the distances on the computer screen, will it be able to show the same detected distances on this little LCD screen, attached to the robot?

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2014-04-05 12:27
    The display on the LCD screen is driven (usually) by the Stamp or other micro. Similarly, the distance sensor provides its information to the Stamp.

    In your scenario, the Stamp will get the distance value from the Ping and then display it on the LCD.

    Cheers,
  • PublisonPublison Posts: 12,366
    edited 2014-04-05 12:30
    PPra wrote: »
    Before I order the Blacklit LCD, I just want to know if the item is able to display changing distances if programmed with the Ultrasonic Ping Distance Sensor. For example, instead of just showing the distances on the computer screen, will it be able to show the same detected distances on this little LCD screen, attached to the robot?

    Yes,
    Instead of using the DEBUG command, us the SEROUT command.

    Check the demo code at:

    http://www.parallax.com/product/27977
  • GenetixGenetix Posts: 1,754
    edited 2014-04-06 07:39
    PPra, Parallax used to sell a kit that can do exactly what you want but the text is still downloadable.

    http://www.parallax.com/downloads/smart-sensors-and-applications-text

    Chapter 7, Activity #2 - Horizontal Bar Graphs for Ping))) Distance (p. 281 in the text or p. 291 of the PDF)
    Figure 4-17 on page 154 (page 166 of the PDF) shows how to mount the LCD to the Board of Education (BOE) which the BOE-Bot uses.
    You can still order most of the parts for mounting the LCD but Parallax no longer has the 1/2 screw or 1/4 spacer. It's standard hardware that is not difficult to find elsewhere.

    Parallax also has promotions from time to time and also look at The Daily Deal in the lower left corner of the Parallax main web page.
Sign In or Register to comment.