- Products
- Power Management
- Connectivity
- Audio
- Sensors
- Lighting
- Custom Mixed-Signal ICs (ASICs)
- Power Conversion
- Power Switching
- Memory
- Silicon IP
- GreenPAK Configurable Mixed-Signal
- Timing
- Communications
- IO-Link
- Industrial and Automotive ASICs
- Industrial Edge Computing
- IOX Expansion Module
- IzoT Commissioning Tool (CT)
- IzoT Net Server
- IzoT SDK 2
- IzoT ShortStack SDK
- LNS DDE Server
- LON Upgrade
- LonScanner FX Protocol Analyzer
- Smart Edge Platform
- SmartServer IoT
- SmartServer IoT™ Partner Program
- SmartServer™ IoT Edge Server
- U10 USB Network Interface
- U20 USB Network Interface
- U60 DIN USB Expansion Modules
- U60 FT USB Network Interface Module
- U70 PL-20 USB Network Interface
- Current Control
- Motor Control
- Display
- Modules
- Longevity Program
- Product Selector
- Document Search
- Applications
- Application Solution Diagrams
- Connected Health
- Connected Consumer
- Connected rechargeable E-cigarette
- True Wireless Stereo
- USB Type-C ANC Headset
- Beacon, Tracker, Findable
- DECT Ambient Noise Cancellation (ANC) Headset
- Rechargeable E-Cigarette
- Game Controller
- Feature-rich Rechargeable E-Cigarette
- Rechargeable Game Controller
- Bluetooth ANC Headset
- Toothbrush
- Electric MP3 toothbrush
- Voice RCU
- Animal Tracker / Location Tracker
- POS Terminals
- Wall-to-Battery & Direct Charging
- Smart Home
- Smart Appliances
- Industrial & Infrastructure
- Smart Lighting
- Wearables
- Configurable Mixed-signal IC Solutions
- Smart Home
- Home Appliances
- Networking
- Automotive
- Industrial
- Smart Meters
- SoC PMIC Solutions
- Communications
- Connected Medical
- Transportation
- Application Solution Diagrams
- Support
- Company
You are here
Distance Sense

Distance Sense
Signal Conditioning Application

Ultrasonic ranging modules provide a non-contact measurement function. This design is a controller for an ultrasonic rangefinder based on the HC-SR04.
Ingredients
- Any GreenPAK
- Eight LEDs
- Eight resistors

GreenPAK Diagram
Design Steps
- Configure GPIO input for Echo and output for Trig.
- Add LUT logic and CNT/DLY0 to create a generator with ENABLE signal.
- Add Pipe Delay and CNT/DLY2 to create a generator for detect distance.
- Configure CNT/DLY blocks to rising-edge delay mode to measure varied distances.
- Add and configure DFFs to latch distance data.
- Connect each DFF output to the desired output pins and configure as open-drain.
Resources
GreenPAK Designer files
- Distance Sense GP (5.69 KB)