/pico-ruler

An ultrasonic measuring device with a Raspberry Pi Pico

Primary LanguagePythonMIT LicenseMIT

Raspberry Pi Pico Ultrasonic Ruler

A handy frame mounted ultrasonic sensor, Raspberry Pi Pico and round lcd display.

Latest

  • 5 Apr 2023 - Genesis
  • 7 Apr 2023 - Added some new UIs

DSC_0010

image

Hardare requirements:

  • Raspberry Pi Pico-W
  • 1.3" SPI Round LCD Screen (240x240)
  • Ultrasonic Sensor - HC-SR04
  • 10 x M2 x 4mm screws

Round LCD 1.3" SPI

https://thepihut.com/products/1-3-spi-colour-round-lcd-240x240-breakout

Pico W

https://thepihut.com/products/raspberry-pi-pico-w

LCD Wiring

  • 3-5V to any 5V or 3V pin
  • CS to GP17
  • SCK to GP18
  • MOSI to GP19
  • DC to GP16
  • BL to GP20
  • GND to any ground pin

UltraSonic Wiring

  • Trigger to GP4
  • Echo to GP3
  • GND to any ground pin
  • VCC to 3.5v out

Python MModules

Installed MicroPython with Pimoroni graphics via Thonny

https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/modules/picographics

Printing

Printed on an Ender 3 Neo v2 with standard settings and PLA filament. Use tree supports for best results.

DSC_0003

Notes

Freeware - use as you wish

DSC_0015

DSC_0014

DSC_0008